/* ============================================================
   anthonydbruno.com — Ghost Theme
   Colors: #2D3748 primary | #E8731A orange | #F7FAFCFF light bg
   Font: Georgia (system serif — zero load penalty)
   ============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1A202C;
  background: #FFFFFF;
}

a { color: #2D3748; text-decoration: none; }
a:hover { color: #E8731A; }

img { max-width: 100%; height: auto; display: block; }

/* ----- Container ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav__logo img {
  height: 40px;
  width: auto;
}

.site-nav__logo-text {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  font-weight: bold;
  color: #2D3748;
  letter-spacing: -0.01em;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-nav__links a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #4A5568;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.site-nav__links a:hover { color: #2D3748; }

.btn-nav {
  background: #E8731A !important;
  color: #FFFFFF !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.15s !important;
}

.btn-nav:hover { background: #C9611A !important; color: #FFFFFF !important; }

.site-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.site-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2D3748;
  transition: all 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: #2D3748;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  max-width: 640px;
  margin-left: 24px;
}

@media (min-width: 1248px) {
  .hero__content { margin-left: calc((100vw - 1200px) / 2 + 24px); }
}

.hero__title {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 1.0625rem;
  color: #E2E8F0;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.hero__form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: system-ui, sans-serif;
  color: #1A202C;
  background: #FFFFFF;
}

.hero__form input[type="email"]::placeholder { color: #A0AEC0; }

.hero__form button {
  background: #E8731A;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.hero__form button:hover { background: #C9611A; }

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.cred-bar {
  background: #F7FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 20px 0;
}

.cred-bar__inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cred-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cred-bar__value {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #2D3748;
}

.cred-bar__label {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   WHAT YOU'LL GET — 3 topic cards
   ============================================================ */
.topic-cards {
  padding: 56px 0;
  background: #FFFFFF;
}

.topic-cards__heading {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #718096;
  text-align: center;
  margin-bottom: 32px;
}

.topic-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 28px 24px;
  background: #FFFFFF;
}

.topic-card__tag {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E8731A;
  margin-bottom: 10px;
}

.topic-card__title {
  font-family: Georgia, serif;
  font-size: 1.0625rem;
  font-weight: bold;
  color: #2D3748;
  margin-bottom: 10px;
  line-height: 1.35;
}

.topic-card__desc {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 16px;
}

.topic-card__link {
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2D3748;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topic-card__link:hover { color: #E8731A; }

/* ============================================================
   LATEST ARTICLES
   ============================================================ */
.latest-articles {
  padding: 64px 0;
  background: #F7FAFC;
}

.section-label {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #718096;
  margin-bottom: 32px;
}

/* Featured post */
.post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.post-featured__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-featured__content {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-tag {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E8731A;
  margin-bottom: 12px;
  display: block;
}

.post-featured__title {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2D3748;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-featured__title a { color: inherit; }
.post-featured__title a:hover { color: #E8731A; }

.post-featured__excerpt {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-meta {
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #A0AEC0;
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #E2E8F0;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card__image img { transform: scale(1.03); }

.post-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__title {
  font-family: Georgia, serif;
  font-size: 1.0625rem;
  font-weight: bold;
  color: #2D3748;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card__title a { color: inherit; }
.post-card__title a:hover { color: #E8731A; }

.post-card__excerpt {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 64px 0;
  background: #FFFFFF;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 28px 24px;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2D3748;
}

.testimonial-card__role {
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  margin-top: 2px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: #E8731A;
  padding: 64px 0;
  text-align: center;
}

.cta-band__title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-band__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: #E8731A;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: #C9611A; color: #FFFFFF; }

/* White button for use on orange backgrounds */
.btn-white {
  display: inline-block;
  background: #FFFFFF;
  color: #E8731A;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

.btn-white:hover { background: #2D3748; color: #FFFFFF; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1A202C;
  padding: 48px 0 32px;
  color: #A0AEC0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 40px;
}

.site-footer__brand-name {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  color: #FFFFFF;
  font-weight: bold;
  margin-bottom: 8px;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: #718096;
  max-width: 320px;
  line-height: 1.6;
}

.site-footer__nav {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.site-footer__nav a {
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  color: #A0AEC0;
  transition: color 0.15s;
}

.site-footer__nav a:hover { color: #FFFFFF; }

.site-footer__divider {
  border: none;
  border-top: 1px solid #2D3748;
  margin-bottom: 24px;
}

.site-footer__dre {
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  line-height: 1.6;
}

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 48px;
}

.archive-header__title {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2D3748;
  margin-bottom: 8px;
}

.archive-header__desc {
  font-size: 1rem;
  color: #718096;
}

.tag-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tag-filter {
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #CBD5E0;
  color: #4A5568;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s;
}

.tag-filter:hover,
.tag-filter.active {
  background: #2D3748;
  color: #FFFFFF;
  border-color: #2D3748;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* ============================================================
   ARTICLE / POST PAGE
   ============================================================ */
.post-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 48px;
}

.post-header__tag {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E8731A;
  margin-bottom: 16px;
  display: block;
}

.post-header__title {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: bold;
  color: #2D3748;
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-header__subtitle {
  font-family: Georgia, serif;
  font-size: 1.1875rem;
  color: #4A5568;
  line-height: 1.5;
  margin-bottom: 24px;
  font-style: italic;
}

.post-header__meta {
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  color: #A0AEC0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-header__meta-author {
  color: #4A5568;
  font-weight: 600;
}

.post-hero-image {
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 48px;
}

/* Article body */
.post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #1A202C;
}

.post-content h2 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2D3748;
  margin: 48px 0 16px;
  line-height: 1.3;
}

.post-content h3 {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #2D3748;
  margin: 36px 0 12px;
}

.post-content p { margin-bottom: 24px; }

.post-content ul,
.post-content ol {
  padding-left: 28px;
  margin-bottom: 24px;
}

.post-content li { margin-bottom: 8px; }

.post-content strong { color: #2D3748; }

.post-content a { color: #E8731A; text-decoration: underline; }

.post-content blockquote {
  border-left: 3px solid #E8731A;
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  color: #4A5568;
  font-style: italic;
}

/* TL;DR callout (inline style from articles) */
.post-content div[style*="background"],
.callout {
  border-radius: 6px;
  margin: 32px 0;
}

/* Ghost editor cards (callout, image, etc.) — vertical rhythm */
.post-content .kg-card {
  margin: 32px 0;
}

/* In-article divider */
.post-content hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #E2E8F0;
}

/* Data tables (markdown) */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.post-content th,
.post-content td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: top;
}

.post-content thead th {
  background: #F7FAFC;
  color: #1a3a52;
  font-weight: bold;
  border-bottom: 2px solid #1a3a52;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .post-content table {
    display: block;
    overflow-x: auto;
  }
}

/* Article CTA */
.post-cta {
  margin: 48px 0;
  padding: 44px 40px;
  background: #1a3a52;
  border: none;
  border-radius: 8px;
  text-align: center;
}

.post-cta__title {
  font-family: Georgia, serif;
  font-size: 1.375rem;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.post-cta__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

/* Related posts */
.related-posts {
  padding: 56px 0;
  border-top: 1px solid #E2E8F0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 64px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 64px;
}

.about-hero__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: #E2E8F0;
  flex-shrink: 0;
}

.about-hero__photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #2D3748;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 3rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.about-hero__name {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2D3748;
  margin-bottom: 4px;
}

.about-hero__title {
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.about-hero__bio {
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-hero__credentials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.credential {
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: 3px;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.service-card {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 32px 24px;
}

.service-card__type {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E8731A;
  margin-bottom: 12px;
}

.service-card__title {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  font-weight: bold;
  color: #2D3748;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.7;
}

/* ============================================================
   BOOK / CONSULTATION PAGE
   ============================================================ */
.book-header {
  text-align: center;
  padding: 64px 0 48px;
  max-width: 640px;
  margin: 0 auto;
}

.book-header__title {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: bold;
  color: #2D3748;
  margin-bottom: 16px;
}

.book-header__desc {
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 32px;
}

.book-points {
  list-style: none;
  text-align: left;
  max-width: 480px;
  margin: 0 auto 48px;
}

.book-points li {
  font-size: 0.9375rem;
  color: #4A5568;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid #F7FAFC;
}

.book-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #E8731A;
  font-weight: bold;
}

.calendly-container {
  max-width: 900px;
  margin: 0 auto 64px;
  min-height: 700px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

/* ----- Two-column layout: value props left, Calendly right ----- */
.book-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: 56px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 0 72px;
}

.book-layout__intro {
  text-align: left;
  padding-top: 8px;
}

.book-layout__intro .book-header__desc {
  margin-bottom: 28px;
}

.book-points__label {
  font-size: 0.8125rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2D3748;
  margin-bottom: 12px;
}

.book-cred {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
}

.book-cred strong { color: #2D3748; }

/* override the centered single-column defaults inside the grid */
.book-layout .book-points {
  max-width: none;
  margin: 0;
}

.book-layout .calendly-container {
  max-width: none;
  margin: 0;
}

@media (max-width: 880px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 640px;
    padding: 40px 0 56px;
  }
  .book-layout__intro { text-align: center; }
  .book-points__label { text-align: center; }
  .book-layout .book-points {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   WORD ROTATOR — swipe up effect
   ============================================================ */
.word-rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.25em;
  min-width: 7em;
  position: relative;
}

.word-rotator__word {
  display: block;
  color: #E8731A;
  font-weight: bold;
  font-style: italic;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 1.25;
}

.word-rotator__word.active {
  transform: translateY(0);
}

.word-rotator__word.exit {
  transform: translateY(-110%);
  position: absolute;
  bottom: 0;
  left: 0;
}

.hero__line--nowrap {
  white-space: nowrap;
}

/* ============================================================
   GHOST KOENIG EDITOR — required width classes
   ============================================================ */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 24px);
  margin-right: calc(50% - 50vw + 24px);
  max-width: 1000px;
  width: calc(100vw - 48px);
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.kg-image { max-width: 100%; }

.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; gap: 8px; margin-bottom: 8px; }
.kg-gallery-image { flex: 1; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }

.kg-bookmark-card {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0;
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.kg-bookmark-content { padding: 20px; flex: 1; }
.kg-bookmark-title { font-weight: bold; color: #2D3748; margin-bottom: 4px; }
.kg-bookmark-description { font-size: 0.875rem; color: #718096; }
.kg-bookmark-thumbnail { width: 160px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.page-wrapper main { flex: 1; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 24px;
    gap: 16px;
    z-index: 99;
  }
  .site-nav__hamburger { display: flex; }

  .hero__content { margin-left: 24px; margin-right: 24px; }
  .hero__form { flex-direction: column; }
  .hero__form button { width: 100%; }
  .hero__line--nowrap { white-space: normal; }

  .cred-bar__inner { gap: 24px; }

  .topic-cards__grid,
  .post-grid,
  .archive-grid,
  .about-services,
  .testimonials__grid { grid-template-columns: 1fr; }

  .post-featured {
    grid-template-columns: 1fr;
  }
  .post-featured__content { padding: 24px; }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-hero__photo,
  .about-hero__photo-placeholder { margin: 0 auto; }
  .about-hero__credentials { justify-content: center; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .post-header__title { font-size: 1.625rem; }
  .cta-band { padding: 48px 0; }
}
