/*
 * Happy Diwali Status Pro — Main Stylesheet
 * Version: 1.0.0
 * License: GPL-2.0+
 */

/* =====================================================================
   CSS VARIABLES (defaults — overridden by customizer/theme-options)
   ===================================================================== */
:root {
  --hds-primary:    #f97316;
  --hds-secondary:  #f59e0b;
  --hds-accent:     #dc2626;
  --hds-dark:       #1a1a1a;
  --hds-muted:      #6b7280;
  --hds-light:      #fff8f0;
  --hds-border:     #e5e7eb;
  --hds-white:      #ffffff;
  --hds-shadow:     0 1px 2px rgba(17,24,39,.04), 0 4px 16px rgba(17,24,39,.06);
  --hds-shadow-md:  0 8px 30px rgba(17,24,39,.10), 0 2px 8px rgba(17,24,39,.06);
  --hds-shadow-lg:  0 20px 50px rgba(17,24,39,.16);
  --hds-radius:     14px;
  --hds-radius-sm:  9px;
  --hds-radius-xl:  22px;
  --hds-font:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --hds-font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hds-max-width:  1200px;
  --hds-header-h:   72px;
  --hds-transition: 0.25s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--hds-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hds-dark);
  background: var(--hds-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hds-font-heading);
  line-height: 1.25;
  letter-spacing: -.01em;
}

::selection { background: var(--hds-primary); color: #fff; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--hds-primary); text-decoration: none; }
a:hover { color: var(--hds-secondary); }
ul, ol { list-style: none; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.container {
  max-width: var(--hds-max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-main { min-height: 60vh; }

/* =====================================================================
   SKIP LINK
   ===================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--hds-primary);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--hds-radius-sm) 0;
  z-index: 9999;
  transition: top var(--hds-transition);
}
.skip-link:focus { top: 0; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hds-border);
  box-shadow: 0 1px 0 rgba(17,24,39,.04);
  position: relative;
  z-index: 100;
}
.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--hds-primary), var(--hds-secondary), var(--hds-accent));
}

.site-header.header-sticky {
  position: sticky;
  top: 0;
  box-shadow: var(--hds-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--hds-header-h);
  flex-wrap: wrap;
}

/* Logo / branding */
.site-branding { flex-shrink: 0; }
.custom-logo { max-height: 54px; width: auto; }
.site-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hds-primary);
  letter-spacing: -.5px;
}

/* Primary nav */
.primary-nav { flex: 1; }
.nav-menu { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav-menu a {
  display: block;
  padding: .45rem .9rem;
  border-radius: var(--hds-radius-sm);
  color: var(--hds-dark);
  font-weight: 500;
  font-size: .92rem;
  transition: background var(--hds-transition), color var(--hds-transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { background: var(--hds-light); color: var(--hds-primary); }

/* Header search */
.header-search { margin-left: auto; }
.header-search .search-form { display: flex; align-items: center; gap: .5rem; }
.header-search input[type="search"] {
  border: 1.5px solid var(--hds-border);
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: .9rem;
  width: 200px;
  outline: none;
  transition: border-color var(--hds-transition), width var(--hds-transition);
}
.header-search input:focus { border-color: var(--hds-primary); width: 240px; }
.header-search button {
  background: var(--hds-primary);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--hds-transition);
}
.header-search button:hover { background: var(--hds-secondary); }

/* Mobile hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.hamburger-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--hds-dark);
  border-radius: 2px;
  transition: transform var(--hds-transition), opacity var(--hds-transition);
}

/* =====================================================================
   CATEGORY NAV
   ===================================================================== */
.category-nav {
  background: linear-gradient(90deg, var(--hds-primary), var(--hds-secondary));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-menu { display: flex; gap: .25rem; padding: .4rem 0; white-space: nowrap; }
.category-menu a {
  display: block;
  padding: .3rem .85rem;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: background var(--hds-transition);
}
.category-menu a:hover { background: rgba(255,255,255,.2); color: #fff; }

/* =====================================================================
   AD SLOTS
   ===================================================================== */
.ad-slot { text-align: center; overflow: hidden; }
.ad-slot--mobile_sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--hds-white);
  box-shadow: 0 -2px 8px rgba(0,0,0,.1);
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 50%, #fff8f0 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--hds-border);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(249,115,22,.08) 0%, transparent 60%),
                    radial-gradient(circle at 80% 50%, rgba(245,158,11,.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--hds-primary), var(--hds-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--hds-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.hero-search-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--hds-primary);
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hds-shadow-md);
}
.hero-search-form input {
  flex: 1;
  border: none;
  padding: .75rem 1.25rem;
  font-size: 1rem;
  outline: none;
  background: transparent;
}
.hero-search-form button {
  background: var(--hds-primary);
  border: none;
  color: #fff;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--hds-transition);
}
.hero-search-form button:hover { background: var(--hds-secondary); }

/* Category chips */
.category-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip {
  display: inline-block;
  padding: .35rem .9rem;
  background: var(--hds-white);
  border: 1.5px solid var(--hds-border);
  border-radius: 2rem;
  font-size: .85rem;
  color: var(--hds-dark);
  font-weight: 500;
  transition: all var(--hds-transition);
}
.chip:hover {
  background: var(--hds-primary);
  border-color: var(--hds-primary);
  color: #fff;
}

/* =====================================================================
   SECTION TITLES
   ===================================================================== */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--hds-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-title::before {
  content: '';
  width: 5px;
  height: 1.4rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--hds-primary), var(--hds-secondary));
}

/* =====================================================================
   CATEGORY BLOCKS
   ===================================================================== */
.category-blocks-section { padding: 3rem 0; }

.category-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.cat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 1rem;
  background: var(--hds-light);
  border: 1.5px solid var(--hds-border);
  border-radius: var(--hds-radius);
  text-align: center;
  color: var(--hds-dark);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--hds-transition);
  overflow: hidden;
}
.cat-block:hover {
  border-color: var(--hds-primary);
  background: var(--hds-white);
  box-shadow: var(--hds-shadow-md);
  transform: translateY(-2px);
  color: var(--hds-primary);
}
.cat-block img { width: 100%; height: 100px; object-fit: cover; border-radius: var(--hds-radius-sm); }
.cat-block-placeholder { font-size: 2.5rem; line-height: 1; }
.cat-block-count { font-size: .78rem; color: var(--hds-muted); font-weight: 400; }

/* =====================================================================
   TRENDING / SECTIONS
   ===================================================================== */
.trending-section, .latest-section, .popular-section { padding: 2.5rem 0; }
.trending-section { background: var(--hds-light); }

/* =====================================================================
   STATUS GRID
   ===================================================================== */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Status card */
.status-card {
  background: var(--hds-white);
  border: 1px solid var(--hds-border);
  border-radius: var(--hds-radius);
  overflow: hidden;
  box-shadow: var(--hds-shadow);
  transition: box-shadow var(--hds-transition), transform var(--hds-transition), border-color var(--hds-transition);
}
.status-card:hover {
  box-shadow: var(--hds-shadow-md);
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.35);
}

.card-img-link { display: block; position: relative; aspect-ratio: 1; overflow: hidden; }
.card-img-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.status-card:hover .card-img-link img { transform: scale(1.04); }

.card-no-img {
  width: 100%; height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #fff3e0, #fff8f0);
  display: grid; place-items: center;
  font-size: 3rem;
}
.card-no-img::before { content: '🪔'; }

.card-cat {
  position: absolute;
  top: .6rem; left: .6rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
}

.card-body { padding: .85rem; }

.card-title {
  font-size: .93rem;
  font-weight: 600;
  margin-bottom: .65rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { color: var(--hds-dark); }
.card-title a:hover { color: var(--hds-primary); }

.card-actions { display: flex; flex-wrap: wrap; gap: .4rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .75rem;
  border-radius: var(--hds-radius-sm);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--hds-transition);
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-download {
  background: var(--hds-primary);
  color: #fff;
}
.btn-download:hover { background: #ea6c0a; color: #fff; }

.btn-download-lg {
  padding: .65rem 1.4rem;
  font-size: 1rem;
  border-radius: var(--hds-radius);
}

.btn-copy {
  background: var(--hds-light);
  border-color: var(--hds-border);
  color: var(--hds-dark);
}
.btn-copy:hover { border-color: var(--hds-primary); color: var(--hds-primary); }
.btn-copy.copied { background: #ecfdf5; border-color: #10b981; color: #10b981; }

.btn-copy-lg { padding: .65rem 1.4rem; font-size: 1rem; border-radius: var(--hds-radius); }

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }

.btn-view {
  background: transparent;
  border-color: var(--hds-border);
  color: var(--hds-muted);
}
.btn-view:hover { border-color: var(--hds-primary); color: var(--hds-primary); }

.btn-load-more {
  display: block;
  margin: 2rem auto 0;
  padding: .75rem 2.5rem;
  background: var(--hds-primary);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--hds-transition);
}
.btn-load-more:hover { background: var(--hds-secondary); }
.btn-load-more:disabled { background: var(--hds-border); cursor: not-allowed; }

.btn-primary {
  background: var(--hds-primary);
  color: #fff;
  padding: .75rem 2rem;
  border: none;
  border-radius: var(--hds-radius);
  font-size: 1rem;
  font-weight: 600;
}
.btn-primary:hover { background: var(--hds-secondary); color: #fff; }

/* Load more wrapper */
.load-more-wrap { text-align: center; padding: 1.5rem 0; }
.load-more-spinner { display: none; }
.load-more-spinner.active {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid var(--hds-border);
  border-top-color: var(--hds-primary);
  border-radius: 50%;
  animation: hds-spin .7s linear infinite;
}

/* =====================================================================
   SINGLE POST
   ===================================================================== */
.single-wrap { padding: 2rem 0 3rem; }
.single-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.single-primary { min-width: 0; }

.single-header { margin-bottom: 1rem; }

.single-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: .75rem;
}

.single-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; }
.meta-cat {
  background: var(--hds-primary);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-weight: 600;
}
.meta-lang, .meta-platform {
  background: var(--hds-light);
  border: 1px solid var(--hds-border);
  padding: .2rem .65rem;
  border-radius: 2rem;
}
.meta-date { color: var(--hds-muted); }

.single-image-wrap {
  border-radius: var(--hds-radius);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--hds-shadow-md);
}
.single-featured-img { width: 100%; height: auto; }

.single-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

.single-caption {
  background: var(--hds-light);
  border-left: 4px solid var(--hds-primary);
  border-radius: 0 var(--hds-radius-sm) var(--hds-radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.caption-heading { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.caption-text { font-size: 1rem; line-height: 1.8; white-space: pre-wrap; }

.single-content { margin: 1.5rem 0; line-height: 1.8; }
.single-content p { margin-bottom: 1em; }

.single-stats { display: flex; gap: 1rem; margin: 1rem 0; font-size: .9rem; color: var(--hds-muted); }

.single-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.tag-chip {
  background: var(--hds-light);
  border: 1px solid var(--hds-border);
  border-radius: 2rem;
  padding: .2rem .7rem;
  font-size: .82rem;
  color: var(--hds-muted);
  transition: all var(--hds-transition);
}
.tag-chip:hover { background: var(--hds-primary); border-color: var(--hds-primary); color: #fff; }

/* Post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hds-border);
  border-bottom: 1px solid var(--hds-border);
  margin: 1.5rem 0;
}
.post-nav a {
  color: var(--hds-dark);
  font-weight: 600;
  font-size: .9rem;
  max-width: 45%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav a:hover { color: var(--hds-primary); }

/* Related posts */
.related-posts { margin-top: 2.5rem; }

/* Mobile sticky bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--hds-white);
  border-top: 2px solid var(--hds-primary);
  padding: .5rem;
  gap: .4rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .55rem .5rem;
  border-radius: var(--hds-radius-sm);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}
.sticky-download { background: var(--hds-primary); color: #fff; }
.sticky-whatsapp { background: #25d366; color: #fff; }
.sticky-copy { background: var(--hds-light); border: 1px solid var(--hds-border); color: var(--hds-dark); }
.sticky-native-share { background: var(--hds-secondary); color: var(--hds-dark); }

/* =====================================================================
   SHARE BUTTONS
   ===================================================================== */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--hds-light);
  border-radius: var(--hds-radius);
}
.share-label { font-weight: 700; font-size: .9rem; color: var(--hds-dark); margin-right: .25rem; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--hds-radius-sm);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--hds-transition);
}
.share-whatsapp { background: #25d366; color: #fff; }
.share-whatsapp:hover { background: #1da851; }
.share-facebook { background: #1877f2; color: #fff; }
.share-facebook:hover { background: #1560c0; }
.share-telegram { background: #26a5e4; color: #fff; }
.share-telegram:hover { background: #1a8fc9; }
.share-pinterest { background: #e60023; color: #fff; }
.share-pinterest:hover { background: #c0001e; }
.share-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.share-native { background: var(--hds-secondary); color: var(--hds-dark); }
.share-native:hover { background: var(--hds-primary); color: #fff; }

/* =====================================================================
   ARCHIVE / SEARCH
   ===================================================================== */
.archive-wrap, .search-wrap, .index-wrap, .page-wrap, .error-404-wrap { padding: 2rem 0 3rem; }
.archive-header, .search-header { margin-bottom: 2rem; }
.archive-title, .search-title { font-size: 1.7rem; font-weight: 800; margin-bottom: .5rem; }
.archive-description { color: var(--hds-muted); }
.search-count { color: var(--hds-muted); margin-bottom: 1rem; font-size: .9rem; }
.search-form-inline { display: flex; gap: .5rem; margin-top: 1rem; }
.search-form-inline input {
  flex: 1; max-width: 360px;
  border: 1.5px solid var(--hds-border);
  border-radius: var(--hds-radius-sm);
  padding: .5rem .9rem;
  font-size: .9rem;
  outline: none;
}
.search-form-inline input:focus { border-color: var(--hds-primary); }
.search-form-inline button {
  background: var(--hds-primary);
  color: #fff;
  border: none;
  border-radius: var(--hds-radius-sm);
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.no-posts, .no-results { text-align: center; padding: 3rem 0; color: var(--hds-muted); }

/* =====================================================================
   404
   ===================================================================== */
.error-404 { text-align: center; padding: 4rem 0; }
.error-icon { font-size: 5rem; margin-bottom: 1rem; }
.error-title { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; }
.error-message { color: var(--hds-muted); margin-bottom: 1.5rem; }
.error-search { margin-top: 2rem; }

/* =====================================================================
   PAGINATION
   ===================================================================== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: 2rem;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 .6rem;
  border: 1.5px solid var(--hds-border);
  border-radius: var(--hds-radius-sm);
  color: var(--hds-dark);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--hds-transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--hds-primary);
  border-color: var(--hds-primary);
  color: #fff;
}

/* =====================================================================
   BREADCRUMBS
   ===================================================================== */
.breadcrumbs {
  font-size: .82rem;
  color: var(--hds-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  align-items: center;
}
.breadcrumbs a { color: var(--hds-muted); }
.breadcrumbs a:hover { color: var(--hds-primary); }

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.site-sidebar { margin-top: 2rem; }
.widget { margin-bottom: 2rem; }
.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--hds-primary);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--hds-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 0;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-about .site-name { color: var(--hds-secondary); }
.footer-about p { font-size: .9rem; margin-top: .75rem; opacity: .8; }

.footer-nav .footer-menu { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav .footer-menu a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-nav .footer-menu a:hover { color: var(--hds-secondary); }

.footer-socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  padding: .4rem .9rem;
  background: rgba(255,255,255,.1);
  border-radius: 2rem;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--hds-transition);
}
.social-link:hover { background: var(--hds-primary); color: #fff; }

.footer-widget-title { color: var(--hds-secondary); font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
}
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  opacity: .7;
}
.footer-credit a { color: var(--hds-secondary); }

/* =====================================================================
   PAGE CONTENT
   ===================================================================== */
.page-title { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; }
.page-content { line-height: 1.8; }
.page-content p { margin-bottom: 1em; }
.page-content h2 { font-size: 1.4rem; font-weight: 700; margin: 1.5em 0 .5em; }
.page-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.2em 0 .4em; }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes hds-spin { to { transform: rotate(360deg); } }

@keyframes hds-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.status-card { animation: hds-fade-in .35s ease both; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 900px) {
  .single-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .site-sidebar { margin-top: 0; }
}

@media (max-width: 767px) {
  :root { --hds-header-h: 56px; }

  .header-inner { flex-wrap: nowrap; padding-block: .5rem; }

  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 200;
    padding-top: var(--hds-header-h);
  }
  .primary-nav.nav-open { display: block; }
  .primary-nav .nav-menu {
    flex-direction: column;
    background: var(--hds-white);
    padding: 1rem;
    gap: .25rem;
  }

  .header-search { display: none; }
  .mobile-menu-toggle { display: flex; }

  .status-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
  .category-blocks-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  .single-wrap { padding: 1rem 0 5rem; }
  .mobile-sticky-bar { display: flex; }

  .share-buttons { gap: .4rem; }
  .share-btn { padding: .4rem .7rem; font-size: .78rem; }

  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-search-form { max-width: 100%; }
}

@media (max-width: 480px) {
  .status-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .card-actions { gap: .3rem; }
  .btn { padding: .35rem .6rem; font-size: .78rem; }
  .count { display: none; }
}

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  .site-header, .category-nav, .site-footer,
  .mobile-sticky-bar, .ad-slot, .share-buttons,
  .single-actions, .related-posts { display: none !important; }
  .single-image-wrap { max-width: 100%; }
}
