:root {
 --blog-bg: #fff7f2;            /* soft cream background */
--blog-card: #ffffff;         /* clean white card */
--blog-text: #1f2937;         /* dark readable text */
--blog-muted: #6b7280;        /* soft grey text */

--blog-accent: #f472b6;       /* lotus pink (main highlight) */
--blog-accent-dark: #be185d;  /* deep pink hover */

--blog-border: #f3e8d5;       /* soft warm border */
}

body {
background: linear-gradient(
  180deg,
  #fff7f2,
  #fde2e4,
  #e9f7ef,
  #f3e8d5
);
  color: var(--blog-text);
}

.blog-page,
.blog-article-page {
  width: min(1160px, 92vw);
  margin: 28px auto 52px;
}

.blog-hero {
 background: radial-gradient(
  circle at top right,
  rgba(244, 114, 182, 0.22),
  rgba(34, 197, 94, 0.15),
  transparent
) #fff7f2;
  border: 1px solid var(--blog-border);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 14px 38px rgba(67, 41, 13, 0.08);
  margin-bottom: 18px;
}

.blog-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f855a;
  font-weight: 700;
}

.blog-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1.2;
  color: #3f5f3a;
}

.blog-sub {
  margin: 0;
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  border: 1px solid var(--blog-border);
  border-radius: 20px;
  background: var(--blog-card);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(55, 35, 10, 0.09);
  margin-bottom: 22px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.featured-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: #be185d;
  background: #fde2e4;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

.featured-content h2,
.post-body h3 {
  margin: 0 0 10px;
  line-height: 1.28;
}

.featured-content h2 a,
.post-body h3 a {
  color: #7c2d12;
  text-decoration: none;
}

.featured-content p,
.post-body p,
.article-content p,
.article-content li {
  margin: 0 0 10px;
  color: #5b3f1f;
  line-height: 1.74;
}

.read-btn,
.post-link,
.article-cta {
  margin-top: 8px;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  font-weight: 700;
  color: #fff7f2;
 background: linear-gradient(135deg, #f472b6, #2f855a);
  border: 1px solid #f0af54;
  border-radius: 12px;
  padding: 10px 14px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.read-btn:hover,
.post-link:hover,
.article-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 146, 28, 0.36);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 16px;
}

.post-card {
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--blog-card);
  box-shadow: 0 10px 25px rgba(59, 36, 8, 0.08);
  display: flex;
  flex-direction: column;
}

.post-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.post-body {
  padding: 16px;
}

.article-shell {
  border: 1px solid var(--blog-border);
  background: #fff7f2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(45, 26, 4, 0.08);
}

.article-hero-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-content {
  padding: 24px;
}

.article-meta {
  color: #7a5a2f;
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.article-content h1 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: #7c2d12;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.15rem);
}

.article-content h2 {
  margin: 18px 0 8px;
  color: #5b3f1f;;
  font-size: 1.3rem;
}

.article-content ul {
  padding-left: 20px;
  margin: 0 0 10px;
}

.article-inline-image {
  margin: 12px 0 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f3e8d5;
}

.article-inline-image img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.import-query-box {
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  background: #fff7f2;
  padding: 16px;
  margin: 14px 0;
}

.import-query-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.import-query-form label {
  font-weight: 600;
  color: #5 53300;
  margin-top: 4px;
}

.import-query-form input,
.import-query-form select,
.import-query-form textarea {
  width: 100%;
  border: 1px solid #e4d4be;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #2f1f09;
  font: inherit;
}

.import-query-form input:focus,
.import-query-form select:focus,
.import-query-form textarea:focus {
  outline: 2px solid rgba(255, 146, 28, 0.35);
  border-color: #f0b561;
}

.back-link {
  display: inline-flex;
  margin-bottom: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #f472b6;
}

.back-link:hover {
  color: var(--blog-accent-dark);
}

@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-media img {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .blog-page,
  .blog-article-page {
    width: min(1160px, 94vw);
    margin-top: 14px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero,
  .featured-content,
  .post-body,
  .article-content {
    padding: 16px;
  }
}
