/*
Theme Name: Infotheme
Theme URI: http://melbourneinfo.net.au
Author: Info Team
Description: A modern, fast, and awesome city guide theme.
Version: 1.2.0
Text Domain: infotheme
*/

/* ==========================================================================
   1. CSS Variables & Reset for MelbourneInfo
   ========================================================================== */
:root {
  --color-primary: #006551;
  --color-primary-hover: #007f66;
  --color-primary-light: #e6f0ee;
  --color-text-main: #232323;
  --color-text-muted: #666666;
  --color-border: #e2e8f0;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  
  --font-heading: 'Sarabun', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-max-width: 1272px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  --guide-teal:       #007B8A;
  --guide-teal-light: #00A3B5;
  --guide-teal-dark:  #005E6B;
  --guide-sand:       #F5F0E8;
  --guide-charcoal:   #1C1C1E;
  --guide-mid:        #4A4A4A;
  --guide-soft:       #7A7A7A;
  --guide-border:     #D8D0C4;
  --guide-white:      #FFFFFF;

}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

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

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

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }

.section-padding {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: white;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 60;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  font-weight: 500;
  font-family: var(--font-heading);
}

.main-navigation a:hover {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-navigation {
    display: none; /* simple hide for mobile by default */
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    display: none;
  }
}

/* ==========================================================================
   4. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-light);
  padding: var(--spacing-xl) 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 0.5rem;
}

.widget ul li a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   5. WordPress Core Classes
   ========================================================================== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.entry-content a {
  color: var(--color-primary);  
}
.entry-content a:hover {
  color:#00A3B5;  
}
.wp-block-list li {
    margin-left:35px;
}
figcaption {font-size:.9em;font-family:arial;}
/* ==========================================================================
   6. Amendments
   ========================================================================== */
h1.entry-title{
  margin-top: var(--spacing-md);
  font-size: 2.2rem;  
}
.entry-content h2 {
  margin-top: var(--spacing-xl);
  font-size: 1.9rem;  
}
.entry-content p {
    margin-top: var(--spacing-md);  
}
.entry-content h3 {
  margin-top: var(--spacing-md);
  }

/* ==========================================================================
   7. Archive Pages
   ========================================================================== */
.archive-header {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.archive-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.archive-description {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.archive-description p {
  margin-bottom: var(--spacing-md);
}

.archive-post-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.archive-post-card:last-child {
  border-bottom: none;
}

@media (min-width: 992px) {
  .archive-post-card {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-xl);
  }
  
  .archive-post-card .post-thumbnail {
    flex: 0 0 400px;
  }
  
  .archive-post-card .post-content {
    flex: 1;
  }
}

.archive-post-card .post-thumbnail img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.archive-post-card .post-thumbnail a:hover img {
  transform: scale(1.02);
}

.archive-post-card .entry-title {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.archive-post-card .entry-title a:hover {
  color: var(--color-primary);
}

.archive-post-card .entry-summary {
  color: var(--color-text-muted);
}

.archive-post-card .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: var(--spacing-md);
}

.archive-post-card .read-more:hover {
  text-decoration: underline;
}
/* ==========================================================================
   8. content (transport)
   ========================================================================== */


.guide-wrap {
  margin: 0 auto;
}

/* ── Hero ── */
.guide-hero {
 background: #fff;
  margin-bottom: 28px;
}


.guide-hero-intro {
  opacity: 0.88;
  margin-bottom: 28px;
  color: var(--guide-white);
 background: var(--guide-teal-dark);
  color: var(--guide-white);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 48px;
  overflow: hidden;
}

/* ── Quick Facts ── */
.guide-facts {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  color: var(--guide-charcoal);
}

.guide-fact {
  padding: 13px 20px;
  border-right: 1px solid #ccc;
  flex: 1;
  min-width: 130px;
}

.guide-fact:last-child {
  border-right: none;
}

.guide-fact-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 3px;
  color: var(--guide-charcoal);
}

.guide-fact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--guide-charcoal);
}

/* ── Sections ── */
.guide-section {
  margin-bottom: 48px;
}

.guide-section-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--guide-teal);
  font-weight: 500;
  margin-bottom: 10px;
  margin-top:80px !important; 
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--guide-border);
}


.guide-section p {
  color: var(--guide-mid);
  margin-bottom: 13px;
}

/* ── Callout ── */
.guide-callout {
  background: var(--guide-white);
  border-left: 4px solid var(--guide-teal);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.guide-callout-title {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--guide-teal);
  font-weight: 500;
  margin-bottom: 5px;
}

.guide-callout p {
  margin: 0;
  font-size: 14.5px;
  color: var(--guide-mid);
}

/* ── Line Diagram ── */
.guide-line {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding: 20px 0 8px;
}

.guide-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--guide-white);
  border: 2.5px solid var(--guide-teal);
  flex-shrink: 0;
}

.guide-dot--major {
  width: 16px;
  height: 16px;
  background: var(--guide-teal);
}

.guide-stop-label {
  font-size: 10px;
  color: var(--guide-mid);
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
  max-width: 58px;
  line-height: 1.3;
}

.guide-stop-label--bold {
  font-weight: 600;
  color: var(--guide-charcoal);
}

.guide-seg {
  height: 3px;
  background: var(--guide-teal);
  flex: 1;
  min-width: 18px;
  margin-top: 6px;
}

/* ── Steps ── */
.guide-steps {
  margin-top: 18px;
}

.guide-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.guide-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--guide-teal);
  color: var(--guide-white);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 15px;
}


/* ── Features Grid ── */
.guide-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.guide-feature {
  background: var(--guide-white);
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 18px;
}

.guide-feature-icon {
  font-size: 20px;
  margin-bottom: 8px;
  display: block;
}



.guide-feature-desc {
  font-size: 14px;
  color: var(--guide-soft);
  line-height: 1.55;
  margin: 0;
}

/* ── Stations Grid ── */
.guide-stations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 18px;
}

.guide-station {
  background: var(--guide-white);
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 16px;
}

.guide-station-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--guide-charcoal);
}

.guide-station-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(0, 123, 138, 0.1);
  color: var(--guide-teal-dark);
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 9px;
  font-weight: 500;
}

.guide-station-desc {
  font-size: 14.5px;
  color: var(--guide-soft);
  line-height: 1.55;
  margin: 0;
}

/* ── Verdict ── */
.guide-verdict {
  background: var(--guide-white);
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 18px;
}

.guide-verdict-title {
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--guide-teal);
  font-weight: 500;
  margin-bottom: 12px;
}

.guide-verdict ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 20px;
}

.guide-verdict ul li {
  font-size: 14px;
  color: var(--guide-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.guide-verdict ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--guide-teal);
  font-weight: 600;
}

/* ── Divider ── */
.guide-divider {
  border: none;
  height: 1px;
  background: var(--guide-border);
  margin: 48px 0;
}

/* ── Closing ── */
.guide-closing {
  background: var(--guide-teal-dark);
  color: var(--guide-white);
  padding: 40px;
  border-radius: 14px;
}

.guide-closing h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--guide-white);
}

.guide-closing p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-bottom: 18px;
}

.guide-closing-link {
  display: inline-block;
  background: var(--guide-teal-light);
  color: var(--guide-white);
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .guide-hero {
    padding: 36px 24px;
  }

  .guide-hero-title {
    font-size: 30px;
  }

  .guide-facts {
    flex-direction: column;
  }

  .guide-fact {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .guide-fact:last-child {
    border-bottom: none;
  }

  .guide-features {
    grid-template-columns: 1fr;
  }

  .guide-stations {
    grid-template-columns: 1fr 1fr;
  }

  .guide-verdict ul {
    grid-template-columns: 1fr;
  }

  .guide-closing {
    padding: 28px 24px;
  }
}

@media (max-width: 420px) {
  .guide-stations {
    grid-template-columns: 1fr;
  }
}
.guide-lga-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--guide-white, #fff);
  border-bottom: 1px solid var(--guide-border, #D8D0C4);
  margin-bottom: 1.5rem;
}
.guide-lga-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--guide-teal, #007B8A);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  transition: background 0.15s, color 0.15s;
}
.guide-lga-menu a:hover {
  background: var(--guide-teal, #007B8A);
  color: #fff;
}
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 680px) {
  .guide-list { columns: 1; }
}
.guide-list li {
  break-inside: avoid;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--guide-border, #D8D0C4);
  font-size: 0.875rem;
  color: var(--guide-mid, #4A4A4A);
  line-height: 1.5;
}
.guide-list li strong {
  color: var(--guide-charcoal, #1C1C1E);
  font-weight: 600;
}
.suburb-map-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  color: var(--guide-teal, #007B8A);
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.suburb-map-link:hover { opacity: 1; }
.suburb-map-link svg {
  width: 13px;
  height: 13px;
}
.suburb-info {
  display: block;
  font-size: 0.78rem;
  color: var(--guide-soft, #7A7A7A);
  margin-top: 0.2rem;
  line-height: 1.5;
}
h2 .guide-station-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--guide-teal, #007B8A);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.jumpLink {
  border-top: 1px solid var(--guide-border, #D8D0C4); 
    padding-top:15px;
    margin-top:50px !important;
}
/* ==========================================================================
   8. gallery
   ========================================================================== */

/* Gallery grid */
.gallery {
  display: grid;
  gap: 12px;
}

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

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

/* Gallery item */
.gallery-item {
  margin: 0;
}

.gallery-icon {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.gallery-icon a {
  display: block;
  overflow: hidden;
}

.gallery-icon img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-icon a:hover img {
  transform: scale(1.04);
}

/* Caption */
.gallery-caption {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 8px 0 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .gallery-columns-2 {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   9. breadcrumb
   ========================================================================== */
.breadcrumb-nav { font-size: 0.9rem; color: #666; margin-bottom: 20px; }
.breadcrumb-nav a { color: #0073aa; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
/* ==========================================================================
   10. Melbourne Regions Page
   ========================================================================== */
/* Top Legend Section */
        .top-legend {
            display: flex;
            gap: 30px;
            align-items: center;
            margin-bottom: 40px;
            font-size: 0.95rem;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .box {
            width: 35px;
            height: 20px;
        }

        .lga-boundary { border: 2px solid #d4a017; }
        .mp-boundary { border: 2px solid #000080; }
        .mitchell-part {
            background: repeating-linear-gradient(
                90deg,
                #93af6a,
                #93af6a 2px,
                #fff 2px,
                #fff 4px
            );
        }

        /* Map Key Section */
        .map-key-title {
            font-weight: bold;
            margin-bottom: 15px;
        }

        .regions-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            border-top: 1px solid #ddd;
            padding-top: 15px;
        }

        .region-column {
            flex: 1;
            min-width: 90px;
        }

        .region-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .color-swatch {
            width: 25px;
            height: 18px;
            flex-shrink: 0;
        }

        .region-name {
            font-weight: bold;
            color: #666;
            font-size: 0.85rem;
            text-transform: uppercase;
        }

        .suburb-list {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 0.9rem;
        }

        .suburb-list li {
            margin-bottom: 2px;
        }

        /* Region Colors */
        .bg-inner-metro { background-color: #5d1a41; }
        .bg-inner-se { background-color: #4a6a63; }
        .bg-western { background-color: #514689; }
        .bg-northern { background-color: #93af4a; }
        .bg-eastern { background-color: #4b8a3e; }
        .bg-southern { background-color: #5999b1; }
        /* Define the specific h2 colors */
.inner-metro::before { background-color: #5d1a41;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.inner-se::before    { background-color: #4a6a63;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.western::before     { background-color: #514689;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.northern::before    { background-color: #93af4a;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.eastern::before     { background-color: #4b8a3e;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.southern::before    { background-color: #5999b1;content: ""; display: inline-block;width: 25px;height: 18px;margin-right: 10px;flex-shrink: 0; }
.map-wrapper {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  width: 100%;
  height: 70vh;           /* Take up full screen height */
  background-color: #fff; 
}

#map-container {
  width: 75%;              /* Adjust width as needed */
  height: 99%;             /* Adjust height as needed */
  background: white;
  border: 2px solid #ccc;
  border-radius:10px;  
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;        /* Keeps the zoom content inside the box */
}
/* ==========================================================================
   11. Tables
   ========================================================================== */
/* 1. Reset & Container */
table {
    width: 100%;
    border-collapse: separate; /* Required for rounded corners */
    border-spacing: 0;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden; /* Clips row backgrounds to the border-radius */
    font-family: sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 2. Header Style */
thead th, 
th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* 3. Cell Styling */
td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 4. Row Interactivity & Zebra Striping */
tbody tr:nth-child(even) {
    background-color: #fcfcfd;
}

tbody tr:hover td {
    background-color: #f3f4f6;
    transition: background 0.2s ease;
}

/* 5. Clean up last row */
tbody tr:last-child td {
    border-bottom: none;
}

/* 6. Mobile Responsiveness (Auto-Scroll) */
@media screen and (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* ==========================================================================
   9. Author Pages
   ========================================================================== */
.author-header {
  margin-bottom: var(--spacing-xl);
}

.author-bio-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .author-bio-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: var(--spacing-xl);
    gap: var(--spacing-xl);
  }
}

.author-avatar img {
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-bg-white);
}

.author-info {
  flex: 1;
}

.author-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.author-name {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-main);
}

.author-description {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.author-website a {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.author-website a:hover {
  text-decoration: underline;
}

.archive-posts .section-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-primary-light);
  display: inline-block;
}


/* Caption */
.gallery-caption {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 8px 0 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .gallery-columns-2 {
    grid-template-columns: 1fr;
  }
}
.updateBox{
 border:1px dashed #ccc;
 border-radius:4px;
 padding:8px;
    background:#fafafa
}