/* ========================================
   Modern CSS for Wellness Gastro & Liver Clinic
   ======================================== */

:root {
  /* Color Palette */
  --primary-color: #2D8B8B;
  --primary-light: #3FA5A5;
  --primary-dark: #1F6060;
  --secondary-color: #E8954A;
  --secondary-light: #F5A962;
  --accent-color: #5F4B8B;
  --accent-light: #7B62A8;

  /* Neutral Colors */
  --white: #FFFFFF;
  --bg-light: #F8FCF9;
  --bg-pale: #E8F5F1;
  --text-dark: #1E306E;
  --text-medium: #4A5568;
  --text-light: #718096;
  --border-color: #DDE0E9;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  /* Typography */
  --font-primary: "Gothic A1", sans-serif;
  --font-size-base: 1.125rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --line-height-base: 1.6;

  /* Borders & Radius */
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 15px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 139, 139, 0.1);
  --shadow-md: 0 4px 16px rgba(45, 139, 139, 0.15);
  --shadow-lg: 0 8px 32px rgba(45, 139, 139, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   Modern Layout Utilities
   ======================================== */

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* ========================================
   Enhanced Components
   ======================================== */

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  color: white !important;
}

/* Simple hover effect without covering text */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  box-shadow: var(--shadow-sm);
  color: white !important;
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white !important;
}

.btn-dark {
  background: linear-gradient(135deg, var(--text-dark), var(--accent-color));
  color: white !important;
}


/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Form Controls */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 139, 139, 0.1);
}

/* ========================================
   Gastro-Specific Styles
   ======================================== */

/* Hero Section */
.hero-gastro {
  background: linear-gradient(135deg, var(--bg-pale) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-with-bg {
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 252, 249, 0.75) 0%, rgba(255, 255, 255, 0.65) 100%);
  z-index: 1;
}

.hero-with-bg .container {
  position: relative;
  z-index: 2;
}

.hero-gastro::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 139, 139, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Services Grid — 4 columns, 2 rows */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

/* Service Card */
.service-card {
  background: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Icon Wrapper */
.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8f5f1, #d0eeea);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.service-icon-wrap.service-icon-orange {
  background: linear-gradient(135deg, #fef3ea, #fde3c8);
  color: var(--secondary-color);
}

.service-icon-wrap.service-icon-purple {
  background: linear-gradient(135deg, #f0ecfa, #e0d6f5);
  color: var(--accent-color);
}

.service-icon-wrap.service-icon-teal {
  background: linear-gradient(135deg, #e8f5f1, #d0eeea);
  color: var(--primary-color);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  transform: scale(1.1);
}

.service-card:hover .service-icon-wrap.service-icon-orange {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.service-card:hover .service-icon-wrap.service-icon-purple {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

/* Service Title */
.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

/* Service Description */
.service-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* Service Tag */
.service-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--bg-pale);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.03em;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem 1rem 1.25rem;
  }

  .service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 0.875rem;
  }

  .service-desc {
    font-size: 0.8125rem;
  }
}

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

/* Conditions Grid - 4 cards per row */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.condition-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 12px rgba(45, 139, 139, 0.08);
  transition: all var(--transition-base);
  text-align: center;
}

.condition-card:hover {
  box-shadow: 0 8px 24px rgba(45, 139, 139, 0.15);
  transform: translateY(-4px);
}

.condition-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Condition Icon Check Mark */
.condition-icon.onclinic-check::before {
  content: "✓";
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}


.condition-card h5 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 1.125rem;
}

.condition-card .small {
  color: #718096;
  line-height: 1.6;
}

/* Testimonials Grid - 4 cards per row (currently 3) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Responsive for Conditions & Testimonials */
@media (max-width: 991px) {
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .condition-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .condition-card {
    padding: 1.25rem;
  }
}

/* Icon Enhancements (legacy - kept for compatibility) */
.icon-gastro {
  width: 64px;
  height: 64px;
  padding: var(--spacing-md);
  background: linear-gradient(135deg, var(--bg-pale), var(--white));
  border-radius: var(--border-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-base);
}

/* ========================================
   Instagram Feed Section
   ======================================== */

.insta-section {
  background: linear-gradient(160deg, #fdf4ff 0%, #f0f7ff 50%, #f4fff8 100%);
}

/* Section header icon inline with h2 */
.insta-icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-bottom: 3px;
}

.insta-subhead {
  color: var(--text-medium);
  max-width: 520px;
  margin: 0.5rem auto 0;
  font-size: 1rem;
}

/* Feed wrapper */
.insta-feed-wrap {
  margin-top: 2.5rem;
}

/* ── Placeholder grid ── */
.insta-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.insta-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.insta-tile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-tile-icon {
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

/* Hover overlay */
.insta-tile-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.insta-tile:hover .insta-tile-hover {
  opacity: 1;
}

.insta-tile:hover .insta-tile-icon {
  opacity: 0;
}

/* Live feed container – constrains plugin output */
.insta-feed-live {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

/* Placeholder note */
.insta-placeholder-note {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.insta-placeholder-note code {
  background: rgba(45, 139, 139, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary-dark);
}

/* Follow button */
.insta-follow-wrap {
  margin-top: 2rem;
}

.btn-insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: white;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #4f5bd5 100%);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(238, 42, 123, 0.3);
}

.btn-insta-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 42, 123, 0.45);
  color: white;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .insta-placeholder-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
}

@media (max-width: 575px) {
  .insta-placeholder-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
}

/* ========================================
   Responsive Enhancements
   ======================================== */

@media (max-width: 768px) {
  :root {
    --font-size-base: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }

  .grid-auto-fit {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--primary-light);
  color: var(--white);
}

/* Focus Visible (Accessibility) */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ========================================
   SINGLE POST / PAGE / ARCHIVE
   ======================================== */

.single-main,
.archive-main,
.page-main {
    padding: 50px 0 80px;
    background: #f8fcf9;
    min-height: 70vh;
}

/* Breadcrumb */
.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.single-breadcrumb a { color: #2D8B8B; text-decoration: none; }
.single-breadcrumb a:hover { color: #1F6060; }
.breadcrumb-sep { color: #CBD5E0; }

/* Article wrapper */
.single-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(30,48,110,0.08);
    padding: 2.5rem 3rem;
    max-width: 820px;
    margin: 0 auto;
}

/* Category badge */
.single-cat {
    display: inline-block;
    background: rgba(45,139,139,0.1);
    color: #2D8B8B;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.single-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: #1e306e;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.single-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2ede9;
}

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #718096;
}
.single-meta-item svg { color: #2D8B8B; flex-shrink: 0; }

/* Thumbnail */
.single-thumb { margin-bottom: 2rem; border-radius: 10px; overflow: hidden; }
.single-thumb-img { width: 100%; height: auto; display: block; }

/* Post content */
.single-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4A5568;
}
.single-content h2,
.single-content h3,
.single-content h4 { color: #1e306e; margin: 1.5rem 0 0.75rem; }
.single-content p { margin-bottom: 1.25rem; }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content a { color: #2D8B8B; }
.single-content img { max-width: 100%; border-radius: 8px; }
.single-content blockquote {
    border-left: 4px solid #2D8B8B;
    padding: 1rem 1.5rem;
    background: #f0f8f6;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #1e306e;
}

/* Tags */
.single-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2ede9;
}
.single-tags-label { font-size: 0.875rem; color: #718096; font-weight: 500; }
.single-tag {
    display: inline-block;
    background: #f0f8f6;
    color: #2D8B8B;
    font-size: 0.8125rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.single-tag:hover { background: #2D8B8B; color: white; }

/* Back link */
.single-back { margin-top: 1.5rem; }
.single-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2D8B8B;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.25s ease;
}
.single-back-link:hover { gap: 12px; color: #1F6060; }

/* CTA box below post */
.single-cta {
    margin-top: 2.5rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.single-cta-inner {
    background: linear-gradient(135deg, #2D8B8B, #3FA5A5);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: white;
}
.single-cta-inner h3 { color: white; margin-bottom: 0.5rem; }
.single-cta-inner p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.single-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.single-cta-btns .btn-secondary { background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); }
.single-cta-btns .btn-secondary:hover { background: white; color: #2D8B8B; }

/* Archive */
.archive-header { margin-bottom: 3rem; }
.archive-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.archive-sub { color: #718096; font-size: 1.0625rem; }

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

.archive-pagination { text-align: center; }
.archive-pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    color: #1e306e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid #e2ede9;
    transition: all 0.25s ease;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover { background: #2D8B8B; color: white; border-color: #2D8B8B; }
.archive-pagination .prev, .archive-pagination .next { width: auto; padding: 0 1rem; }

.archive-empty { padding: 4rem 0; }

/* Page template */
.page-main { background: white; }
.page-article { max-width: 820px; margin: 0 auto; }
.page-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: #1e306e; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid #e2ede9; }
.page-content { font-size: 1.0625rem; line-height: 1.8; color: #4A5568; }
.page-content h2, .page-content h3 { color: #1e306e; margin: 1.5rem 0 0.75rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-content a { color: #2D8B8B; }

/* Responsive */
@media (max-width: 991px) {
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .single-article { padding: 1.5rem; }
    .single-cta-inner { padding: 1.75rem 1.25rem; }
    .archive-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
    .single-main, .archive-main, .page-main { padding: 30px 0 60px; }
}

/* ========================================
   BLOG SECTION (Homepage + Archive + Single)
   ======================================== */

.blog-section { background: #f8fcf9; }
.blog-header { margin-bottom: 2.5rem; }
.blog-sub { color: #718096; font-size: 1rem; max-width: 500px; margin: 0.5rem auto 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(30,48,110,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(30,48,110,0.13); }

.blog-thumb-link { display: block; overflow: hidden; }
.blog-thumb { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb { transform: scale(1.04); }
.blog-thumb-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #e8f5f1, #f0f8f6);
  display: flex; align-items: center; justify-content: center; color: #2D8B8B;
}

.blog-card-body { padding: 1.375rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.blog-meta { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-cat {
  background: rgba(45,139,139,0.1); color: #2D8B8B;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 3px 10px; border-radius: 20px;
}
.blog-date { display: flex; align-items: center; gap: 5px; font-size: 0.8125rem; color: #718096; }

.blog-title { font-size: 1.0625rem; line-height: 1.45; margin-bottom: 0.625rem; color: #1e306e; }
.blog-title a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.blog-title a:hover { color: #2D8B8B; }

.blog-excerpt { font-size: 0.875rem; color: #718096; line-height: 1.6; margin-bottom: 1.125rem; flex: 1; }

.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: #2D8B8B;
  text-decoration: none; transition: gap 0.25s ease; margin-top: auto;
}
.blog-read-more:hover { gap: 10px; color: #1F6060; }

/* Archive */
.blog-archive-main { min-height: 60vh; }
.archive-hero { background: linear-gradient(135deg, #1e306e, #2D8B8B); padding: 60px 0 50px; color: white; }
.archive-hero .title-1 { color: rgba(255,255,255,0.75); }
.archive-title { color: white; margin-bottom: 0.75rem; }
.archive-sub { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 520px; }

.archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; padding: 3rem 0; align-items: start; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.archive-pagination { margin-top: 2.5rem; }
.archive-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem;
  border-radius: 8px; background: white; color: #1e306e;
  font-weight: 500; text-decoration: none; border: 1.5px solid #DDE0E9;
  transition: all 0.25s ease; font-size: 0.9rem;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover { background: #2D8B8B; border-color: #2D8B8B; color: white; }

.no-posts { text-align: center; padding: 4rem 2rem; color: #718096; }
.no-posts svg { color: #a0aec0; margin-bottom: 1rem; }

.archive-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.25rem; }

/* Sidebar card */
.post-sidebar-card { background: white; border-radius: 14px; padding: 1.5rem; box-shadow: 0 2px 16px rgba(30,48,110,0.08); }
.post-sidebar-card h4, .post-sidebar-card h5 { color: #1e306e; margin-bottom: 0.625rem; }
.post-sidebar-card p { color: #718096; font-size: 0.875rem; margin-bottom: 1rem; }
.post-sidebar-review { text-align: center; }
.post-sidebar-review svg { margin-bottom: 0.5rem; }
.post-review-link { display: inline-flex; align-items: center; gap: 5px; color: #2D8B8B; font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: color 0.25s ease; }
.post-review-link:hover { color: #1F6060; }

/* Single post */
.single-post-main { min-height: 60vh; }
.post-hero { background: linear-gradient(135deg, #1e306e, #2D8B8B); padding: 50px 0 40px; }
.post-hero-inner { max-width: 800px; }

.post-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: rgba(255,255,255,0.65); margin-bottom: 1rem; flex-wrap: wrap; }
.post-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.post-breadcrumb a:hover { color: white; }

.post-cat-badge { display: inline-block; background: rgba(255,255,255,0.2); color: white; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.875rem; }
.post-title { color: white; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; margin-bottom: 1.25rem; }
.post-meta-bar { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.post-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.post-featured-img { background: #f8fcf9; padding: 2rem 0 0; }
.post-thumb-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 12px 12px 0 0; display: block; }

.post-content-wrap { padding: 3rem 0 4rem; background: #f8fcf9; }
.post-content-inner { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: start; }
.post-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.25rem; }

.post-body { background: white; border-radius: 14px; padding: 2.5rem; box-shadow: 0 2px 16px rgba(30,48,110,0.06); }
.post-body p { margin-bottom: 1.25rem; line-height: 1.75; color: #4A5568; }
.post-body h2, .post-body h3, .post-body h4 { color: #1e306e; margin: 2rem 0 0.875rem; }
.post-body img { border-radius: 8px; max-width: 100%; margin: 1.5rem 0; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: #4A5568; line-height: 1.75; }
.post-body blockquote { border-left: 4px solid #2D8B8B; margin: 1.5rem 0; padding: 1rem 1.5rem; background: #f0f8f6; border-radius: 0 8px 8px 0; color: #4A5568; font-style: italic; }

.post-tags { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #DDE0E9; }
.post-tags-label { font-weight: 600; color: #1e306e; font-size: 0.875rem; }
.post-tag { background: #f0f8f6; color: #2D8B8B; font-size: 0.8125rem; padding: 4px 12px; border-radius: 20px; text-decoration: none; transition: background 0.25s ease; }
.post-tag:hover { background: #2D8B8B; color: white; }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #DDE0E9; flex-wrap: wrap; }
.post-nav-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1e306e; padding: 0.875rem 1rem; border-radius: 10px; border: 1.5px solid #DDE0E9; transition: all 0.25s ease; max-width: 48%; flex: 1; }
.post-nav-link:hover { border-color: #2D8B8B; background: #f0f8f6; color: #2D8B8B; }
.post-nav-next { text-align: right; justify-content: flex-end; }
.post-nav-label { display: block; font-size: 0.75rem; color: #718096; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.post-nav-title { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }

.post-cta-strip { background: linear-gradient(135deg, #2D8B8B, #1e306e); padding: 2.5rem 0; }
.post-cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.post-cta-strip p { color: white; font-size: 1.125rem; font-weight: 500; margin: 0; }

/* Responsive */
@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .archive-sidebar .post-sidebar-card { flex: 1; min-width: 200px; }
  .post-content-inner { grid-template-columns: 1fr; }
  .post-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .post-sidebar .post-sidebar-card { flex: 1; min-width: 200px; }
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .archive-grid { grid-template-columns: 1fr; }
  .post-nav-link { max-width: 100%; }
  .post-body { padding: 1.5rem; }
  .post-cta-strip .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .archive-sidebar, .post-sidebar { flex-direction: column; }
}

/* ========================================
   APPOINTMENT SECTION
   ======================================== */

.appt-section {
  background: linear-gradient(160deg, #e8f5f1 0%, #f8fcf9 50%, #eef2fb 100%);
}

.appt-header {
  margin-bottom: 3rem;
}

.appt-header h2 {
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.appt-sub {
  color: #718096;
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Two booking cards ---- */
.appt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.appt-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(30, 48, 110, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30, 48, 110, 0.13);
}

.appt-card-featured {
  border: 2px solid #E8954A;
}

/* Badge */
.appt-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2D8B8B;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.appt-card-featured .appt-card-badge,
.appt-badge-orange {
  background: #E8954A !important;
}

/* Icon */
.appt-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.appt-icon-teal {
  background: rgba(45, 139, 139, 0.12);
  color: #2D8B8B;
}

.appt-icon-orange {
  background: rgba(232, 149, 74, 0.12);
  color: #E8954A;
}

.appt-card-title {
  font-size: 1.2rem;
  color: #1e306e;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.appt-card-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #718096;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.appt-card-loc svg {
  color: #2D8B8B;
  flex-shrink: 0;
}

.appt-card-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #4A5568;
  margin-bottom: 1.5rem;
  flex: 1;
}

.appt-card-hours svg {
  color: #718096;
  flex-shrink: 0;
}

/* Booking buttons */
.appt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.appt-btn-primary {
  background: linear-gradient(135deg, #2D8B8B, #3FA5A5);
  color: white;
  box-shadow: 0 4px 14px rgba(45, 139, 139, 0.3);
}

.appt-btn-primary:hover {
  background: linear-gradient(135deg, #1F6060, #2D8B8B);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 139, 139, 0.4);
}

.appt-btn-orange {
  background: linear-gradient(135deg, #E8954A, #F5A962);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 149, 74, 0.3);
}

.appt-btn-orange:hover {
  background: linear-gradient(135deg, #d17f35, #E8954A);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 149, 74, 0.4);
}

/* ---- Utility row: Call, Maps, Review ---- */
.appt-utility {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.appt-util-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 1rem 1.375rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(30, 48, 110, 0.07);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.appt-util-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 48, 110, 0.12);
}

.appt-util-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.appt-util-green  { background: rgba(72, 187, 120, 0.12); color: #38a169; }
.appt-util-blue   { background: rgba(66, 153, 225, 0.12); color: #3182ce; }
.appt-util-yellow { background: rgba(237, 185, 50, 0.12); color: #d69e2e; }

.appt-util-label {
  display: block;
  font-size: 0.75rem;
  color: #718096;
  font-weight: 500;
  margin-bottom: 2px;
}

.appt-util-value {
  display: block;
  font-size: 0.9rem;
  color: #1e306e;
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .appt-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

.appt-utility {
    gap: 0.875rem;
    padding-bottom: 59px;
}

  .appt-util-link {
    min-width: 100%;
    max-width: 100%;
  }

  .appt-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .appt-card {
    padding: 1.5rem 1.25rem;
  }

  .appt-btn {
    font-size: 0.875rem;
    padding: 12px 16px;
  }
}