/* ============================================
   LAUTH MISSING PERSONS - RAD Theme Redesign
   Color Scheme derived from Return Assets Division
   Navy: #161D30  |  Gold: #EEBB60  |  Cream: #FDF6EB
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #35373C;
  line-height: 1.7;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #EEBB60;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4a54a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', 'Inter', sans-serif;
  color: #161D30;
  line-height: 1.3;
  font-weight: 700;
}

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

/* === TOP BAR === */
.top-bar {
  background: #161D30;
  color: #BCBEC3;
  font-size: 0.85rem;
  padding: 10px 0;
  text-align: center;
}

.top-bar a {
  color: #EEBB60;
  font-weight: 600;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-right a {
  color: #BCBEC3;
  font-size: 0.8rem;
}

.top-bar-right a:hover {
  color: #EEBB60;
}

/* === NAVIGATION === */
.navbar {
  background: #FFFFFF;
  box-shadow: 0 2px 20px rgba(22, 29, 48, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Real Lauth wordmark logo in the header (white navbar -> navy logo) */
.logo-img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: #161D30;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #161D30;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo-text .division {
  font-size: 0.7rem;
  color: #8C8C8C;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  color: #35373C;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  color: #161D30;
  background: #FDF6EB;
}

.nav-links .cta-link a {
  background: #EEBB60;
  color: #161D30;
  font-weight: 700;
  padding: 10px 20px;
}

.nav-links .cta-link a:hover {
  background: #d4a54a;
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #161D30;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(135deg, #161D30 0%, #212838 60%, #2a3148 100%);
  color: #FFFFFF;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #FFFFFF;
  font-size: 3rem;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 .gold {
  color: #EEBB60;
}

.hero p {
  font-size: 1.15rem;
  color: #BCBEC3;
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #EEBB60;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: #BCBEC3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Page Hero (shorter, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, #161D30 0%, #212838 100%);
  color: #FFFFFF;
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero h1 {
  color: #FFFFFF;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: #BCBEC3;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #EEBB60;
  color: #161D30;
}

.btn-primary:hover {
  background: #d4a54a;
  color: #161D30;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 187, 96, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #EEBB60;
  color: #EEBB60;
}

.btn-outline {
  background: transparent;
  color: #161D30;
  border: 2px solid #161D30;
}

.btn-outline:hover {
  background: #161D30;
  color: #FFFFFF;
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}

.section-cream {
  background: #FDF6EB;
}

.section-navy {
  background: #161D30;
  color: #FFFFFF;
}

.section-navy h2,
.section-navy h3 {
  color: #FFFFFF;
}

.section-navy p {
  color: #BCBEC3;
}

.section-light {
  background: #F9F9FB;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #EEBB60;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: #8C8C8C;
  max-width: 600px;
  margin: 0 auto;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(22, 29, 48, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(22, 29, 48, 0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22, 29, 48, 0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: #FDF6EB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: #8C8C8C;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Team Cards */
.team-card {
  text-align: center;
}

.team-card .photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #161D30, #2a3148);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EEBB60;
  font-size: 2.2rem;
  font-weight: 700;
}

/* Real headshot variant: photo fills the round avatar */
.team-card .photo-placeholder.has-photo {
  background: none;
  overflow: hidden;
  font-size: 0;
}

.team-card .photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  color: #EEBB60;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.team-card .bio {
  color: #8C8C8C;
  font-size: 0.9rem;
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  padding-top: 48px;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 32px;
  font-size: 4rem;
  color: #EEBB60;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card .quote {
  font-style: italic;
  color: #35373C;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card .attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EEBB60;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #161D30;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card .name {
  font-weight: 700;
  color: #161D30;
  font-size: 0.95rem;
}

.testimonial-card .case {
  font-size: 0.8rem;
  color: #8C8C8C;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #EEBB60;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: #BCBEC3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, #161D30, #212838);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: #BCBEC3;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === TWO-COL LAYOUT === */
/* Reusable rule: text + visual columns share one height. The visual column
   stretches to match the text column (align-items: stretch), and the image
   fills that shared height with object-fit: cover. Guard rails keep the
   visual from becoming a sliver (min) or absurdly tall (max). */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

/* Vertically center the text within its (now stretched) column */
.two-col-content {
  align-self: center;
}

.two-col-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.two-col-content p {
  color: #8C8C8C;
  margin-bottom: 16px;
  line-height: 1.8;
}

.two-col-image {
  background: linear-gradient(135deg, #161D30, #2a3148);
  border-radius: 16px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EEBB60;
  font-size: 3rem;
}

/* Photo-filled variant: image conforms to the shared column height.
   No fixed/min height on the image itself, so it follows the text column.
   Guard rails (min/max) live on the container, not the image. */
.two-col-image.has-photo {
  display: block;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  height: 100%;        /* fill the stretched grid row */
  min-height: 320px;   /* guard: never a thin sliver */
  max-height: 560px;   /* guard: never absurdly tall */
}

.two-col-image.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* crop cleanly, no letterbox, no stretch */
  display: block;
  border-radius: inherit;
}

/* === MEDIA SECTION === */
/* Desktop: all press logos on ONE row */
.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
  justify-items: center;
}

/* Tablet: 3 per row */
@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 2 per row */
@media (max-width: 560px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.media-logo {
  background: #F9F9FB;
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 700;
  color: #8C8C8C;
  font-size: 0.9rem;
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.media-logo:hover {
  background: #FDF6EB;
  color: #161D30;
}

/* Uniform "as featured in" press-logo treatment: consistent grayscale, size, centering */
.media-logo img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.media-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* === PRESS RELEASES === */
.press-item {
  padding: 32px;
  border-bottom: 1px solid #E5E5E5;
}

.press-item:last-child {
  border-bottom: none;
}

.press-item .press-date {
  font-size: 0.8rem;
  color: #EEBB60;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.press-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.press-item p {
  color: #8C8C8C;
  font-size: 0.95rem;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: #FDF6EB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: #8C8C8C;
  font-size: 0.9rem;
}

.contact-form {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(22, 29, 48, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #161D30;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #35373C;
  transition: border-color 0.3s ease;
  background: #F9F9FB;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #EEBB60;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(238, 187, 96, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* === FOOTER === */
.footer {
  background: #0e1320;
  color: #BCBEC3;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* Real Lauth wordmark logo in the footer (dark footer -> white logo) */
.footer-brand .footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  color: #FFFFFF;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #BCBEC3;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #EEBB60;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BCBEC3;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #EEBB60;
  color: #161D30;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #8C8C8C;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: #8C8C8C;
}

/* === UTILITY === */
.gold-text { color: #EEBB60; }
.navy-text { color: #161D30; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: #EEBB60;
  margin: 16px auto;
  border-radius: 2px;
}

/* Feature list */
.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: #35373C;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #EEBB60;
}

/* === ACCORDION (for services) === */
.accordion-item {
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 24px;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #161D30;
  font-size: 1.05rem;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #FDF6EB;
}

.accordion-content {
  padding: 0 24px 20px;
  color: #8C8C8C;
  line-height: 1.8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Stacked: keep the image a tidy capped banner, not a giant tall block */
  .two-col-image.has-photo {
    height: 300px;
    min-height: 0;
    max-height: 300px;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  /* Smaller header logo on mobile so it never overflows the bar */
  .logo-img {
    height: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(22, 29, 48, 0.1);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .card-grid,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .stats-row {
    gap: 32px;
  }

  .stat-item .stat-number {
    font-size: 2.2rem;
  }

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

  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}


/* === BLOG STYLES === */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22, 29, 48, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #161D30, #2a3148);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card-meta time {
  font-size: 0.8rem;
  color: #8C8C8C;
  font-weight: 500;
}

.blog-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #EEBB60;
  background: #FDF6EB;
  padding: 3px 10px;
  border-radius: 4px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #161D30;
}

.blog-card p {
  color: #8C8C8C;
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.blog-card-read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #EEBB60;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-read-more {
  color: #d4a54a;
}

/* Blog Filters */
.blog-filters {
  margin-bottom: 40px;
}

.blog-filter-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-filter-btn {
  padding: 8px 20px;
  border: 1px solid #E5E5E5;
  border-radius: 24px;
  background: #FFFFFF;
  color: #35373C;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: #EEBB60;
  color: #161D30;
}

.blog-filter-btn.active {
  background: #EEBB60;
  border-color: #EEBB60;
  color: #161D30;
  font-weight: 700;
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.blog-page-btn {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.blog-page-current {
  background: #EEBB60;
  color: #161D30;
  font-weight: 700;
  border: 2px solid #EEBB60;
}

/* Blog Post Page */
.blog-post-page {
  padding: 48px 0 64px;
}

.blog-post-page .container {
  max-width: 800px;
}

.blog-post-header {
  margin-bottom: 40px;
}

.blog-post-header h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-post-meta time {
  font-size: 0.85rem;
  color: #8C8C8C;
  font-weight: 500;
}

.blog-post-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #EEBB60;
  background: #FDF6EB;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-category-badge:hover {
  background: #EEBB60;
  color: #161D30;
}

.blog-post-featured-image {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blog Post Content (WordPress HTML) */
.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #35373C;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-post-content h3 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-post-content h4 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

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

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.blog-post-content figure {
  margin: 24px 0;
}

.blog-post-content figcaption {
  font-size: 0.85rem;
  color: #8C8C8C;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.blog-post-content blockquote {
  border-left: 4px solid #EEBB60;
  padding: 16px 24px;
  margin: 24px 0;
  background: #FDF6EB;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #161D30;
}

.blog-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

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

.blog-post-content a {
  color: #EEBB60;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content a:hover {
  color: #d4a54a;
}

.blog-post-content iframe {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.blog-post-content th,
.blog-post-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E5E5E5;
}

.blog-post-content th {
  background: #FDF6EB;
  font-weight: 700;
  color: #161D30;
}

.blog-post-content pre,
.blog-post-content code {
  background: #F9F9FB;
  border-radius: 4px;
  font-size: 0.9rem;
}

.blog-post-content pre {
  padding: 16px;
  overflow-x: auto;
  margin: 24px 0;
}

.blog-post-content code {
  padding: 2px 6px;
}

.blog-post-content .wp-block-image,
.blog-post-content .wp-block-gallery {
  margin: 24px 0;
}

.blog-post-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-content .alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.blog-post-content .alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.blog-post-content .wp-caption {
  max-width: 100%;
}

.blog-post-content .wp-caption-text {
  font-size: 0.85rem;
  color: #8C8C8C;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Blog Post Footer */
.blog-post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #E5E5E5;
}

/* No posts message */
.blog-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: #8C8C8C;
  font-size: 1.1rem;
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-header h1 {
    font-size: 1.8rem;
  }

  .blog-post-content {
    font-size: 1rem;
  }

  .blog-post-content h2 {
    font-size: 1.5rem;
  }

  .blog-post-content h3 {
    font-size: 1.2rem;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-filter-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .blog-filter-btn {
    flex-shrink: 0;
  }
}
