/* ================================================
   STYLE.CSS — CSS Global PAI Indonesia
   Satu file untuk semua halaman
   ================================================ */

/* --- VARIABLES --- */
:root {
  --green-primary: #1a7a4a;
  --green-dark:    #0f5c36;
  --green-light:   #e8f5ee;
  --green-mid:     #2d9b64;
  --gold:          #c9a435;
  --gold-light:    #f5e6b0;
  --gold-dark:     #a07c1e;
  --white:         #ffffff;
  --off-white:     #faf9f6;
  --text-primary:  #1a1a1a;
  --text-secondary:#4a4a4a;
  --text-muted:    #777777;
  --border:        #e0ddd5;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow-md:     0 4px 20px rgba(0,0,0,.10);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    all .25s ease;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-display:  'Amiri', 'Georgia', serif;
  --max-width:     1180px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a  { color: var(--green-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- CONTAINER --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ================================================
   HEADER / NAV
   ================================================ */
.site-header { position: sticky; top: 0; z-index: 100; }

.header-top {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: .85rem 0;
  border-bottom: 3px solid var(--gold);
}
.header-brand { display: flex; align-items: center; gap: .85rem; }
.brand-icon   { font-size: 2rem; color: var(--gold); line-height: 1; }
.brand-text   { display: flex; flex-direction: column; }
.brand-name   { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.brand-tagline{ font-size: .78rem; color: var(--gold-light); letter-spacing: .05em; }

.main-nav { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.main-nav .container { display: flex; align-items: center; justify-content: flex-end; position: relative; min-height: 52px; }

.nav-links { display: flex; gap: 0; }
.nav-links a {
  display: block; padding: .85rem 1.2rem;
  font-size: .9rem; font-weight: 500; color: var(--text-secondary);
  border-bottom: 3px solid transparent; transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-primary); border-bottom-color: var(--green-primary); background: var(--green-light);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
  position: absolute; right: 1rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-primary); border-radius: 2px; transition: var(--transition); }

/* ================================================
   MAIN
   ================================================ */
.main-content { min-height: 60vh; }

/* ================================================
   PAGE HERO
   ================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 60%, var(--green-mid) 100%);
  padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '﷽'; position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
  font-size: 8rem; color: rgba(255,255,255,.04); font-family: var(--font-display); pointer-events: none;
}
.page-title   { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.page-subtitle{ color: rgba(255,255,255,.8); font-size: 1rem; max-width: 600px; }

/* ================================================
   HERO LATEST
   ================================================ */
.hero-latest {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 3rem 0; position: relative; overflow: hidden;
}
.hero-latest::after {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 300px; height: 300px; background: rgba(255,255,255,.03); border-radius: 50%;
}
.hero-badge {
  display: inline-block; background: var(--gold); color: var(--green-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 99px; margin-bottom: 1.25rem;
}
.hero-card    { max-width: 780px; }
.hero-card-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hero-card-meta .article-date { color: rgba(255,255,255,.7); }
.hero-title   { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.5rem); font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 1rem; }
.hero-excerpt { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 680px; }
.hero-footer  { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-footer .article-author { color: rgba(255,255,255,.8); font-size: .88rem; font-style: italic; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.5rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition); line-height: 1;
}
.btn-primary { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(201,164,53,.4); }
.btn-outline  { background: transparent; color: var(--green-primary); border-color: var(--green-primary); }
.btn-outline:hover { background: var(--green-primary); color: var(--white); transform: translateY(-2px); }
.btn-sm   { padding: .45rem 1rem; font-size: .82rem; }
.btn-block{ width: 100%; }

/* ================================================
   TAGS & META
   ================================================ */
.category-tag {
  display: inline-block; background: var(--gold-light); color: var(--gold-dark);
  font-size: .78rem; font-weight: 600; padding: .25rem .75rem;
  border-radius: 99px; border: 1px solid var(--gold); transition: var(--transition);
}
.category-tag:hover { background: var(--gold); color: var(--green-dark); }
.article-date   { font-size: .82rem; color: var(--text-muted); }
.article-author { font-size: .85rem; color: var(--text-muted); font-style: italic; }
.read-more      { font-size: .85rem; font-weight: 600; color: var(--green-primary); }
.read-more:hover{ color: var(--green-dark); }

/* ================================================
   SECTIONS
   ================================================ */
.section-articles { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title  { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--green-dark); margin-bottom: .5rem; }
.section-divider{ display: flex; align-items: center; gap: 1rem; justify-content: center; color: var(--gold); font-size: 1.5rem; margin-top: .5rem; }
.section-cta    { text-align: center; margin-top: 2.5rem; }

/* ================================================
   ARTICLE GRID (beranda)
   ================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.75rem; }
.article-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: var(--transition); display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-primary); }
.article-card-top  { margin-bottom: .85rem; }
.article-card-title{ font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: .75rem; }
.article-card-title a{ color: var(--text-primary); }
.article-card-title a:hover{ color: var(--green-primary); }
.article-card-excerpt {
  font-size: .88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--border);
}

/* ================================================
   ARTICLE LIST (halaman artikel)
   ================================================ */
.articles-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.75rem; }
.article-list-item {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.article-list-item:hover { box-shadow: var(--shadow-md); border-color: var(--green-primary); transform: translateX(4px); }
.article-list-meta  { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.article-list-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.35; margin-bottom: .75rem; }
.article-list-title a{ color: var(--text-primary); }
.article-list-title a:hover{ color: var(--green-primary); }
.article-list-excerpt { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.article-list-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .85rem; border-top: 1px solid var(--border); }

/* ================================================
   ARTICLE DETAIL
   ================================================ */
.article-hero { padding: 2.5rem 0; }
.article-hero-meta  { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.article-hero-meta .article-date{ color: rgba(255,255,255,.7); }
.article-hero-title { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 1rem; max-width: 800px; }
.article-hero-author{ color: rgba(255,255,255,.8); font-size: .9rem; font-style: italic; }

.article-layout { padding: 3rem 0; }
.article-layout .container { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }

.article-body {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 1.05rem; line-height: 1.85; color: var(--text-primary);
}
.article-body p { margin-bottom: 1.4rem; }
.article-body p:last-child { margin-bottom: 0; }

.article-share { background: var(--green-light); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; border: 1px solid rgba(26,122,74,.2); }
.article-share h4 { font-size: .9rem; font-weight: 600; color: var(--green-dark); margin-bottom: .85rem; }
.share-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.share-btn { padding: .5rem 1.2rem; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; transition: var(--transition); }
.share-btn.whatsapp { background: #25d366; color: white; }
.share-btn.whatsapp:hover { background: #1aa34a; color: white; transform: translateY(-2px); }
.share-btn.telegram  { background: #0088cc; color: white; }
.share-btn.telegram:hover { background: #006aaa; color: white; transform: translateY(-2px); }

/* ================================================
   SIDEBAR
   ================================================ */
.article-sidebar { position: sticky; top: 120px; }
.sidebar-widget  { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.widget-title    { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--gold); }
.related-list    { display: flex; flex-direction: column; gap: .85rem; }
.related-item a  { display: block; font-size: .9rem; font-weight: 500; color: var(--text-primary); line-height: 1.4; margin-bottom: .25rem; }
.related-item a:hover { color: var(--green-primary); }
.related-date    { font-size: .78rem; color: var(--text-muted); }
.widget-nav-links{ display: flex; flex-direction: column; gap: .5rem; }
.widget-nav-links a { font-size: .9rem; color: var(--text-secondary); }
.widget-nav-links a:hover { color: var(--green-primary); }

/* ================================================
   BREADCRUMB
   ================================================ */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { color: rgba(255,255,255,.4); }

/* ================================================
   CATEGORIES
   ================================================ */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.75rem; }
.category-card   { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.category-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-card-header { background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.category-card-name   { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.category-card-name a { color: var(--white); }
.category-card-name a:hover { color: var(--gold); }
.category-count { background: rgba(255,255,255,.2); color: var(--white); font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 99px; }
.category-article-list { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.category-article-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; font-size: .88rem; padding-bottom: .65rem; border-bottom: 1px dashed var(--border); }
.category-article-list li:last-child { border-bottom: none; padding-bottom: 0; }
.category-article-list a { color: var(--text-primary); line-height: 1.4; }
.category-article-list a:hover { color: var(--green-primary); }
.category-card > .btn { margin: 0 1.5rem 1.5rem; }

/* ================================================
   CATEGORIES HOME GRID
   ================================================ */
.section-categories-home { padding: 3rem 0 4rem; background: var(--white); border-top: 1px solid var(--border); }
.categories-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 1rem; }
.cat-home-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.5rem 1rem; background: var(--off-white); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition); text-align: center; color: inherit;
}
.cat-home-card:hover { background: var(--green-light); border-color: var(--green-primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cat-icon { font-size: 2rem; line-height: 1; }
.cat-name { font-size: .88rem; font-weight: 600; color: var(--text-primary); }

/* ================================================
   QURAN QUOTE SECTION
   ================================================ */
.section-quote { background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); padding: 3.5rem 0; }
.quran-quote { text-align: center; max-width: 680px; margin: 0 auto; }
.quran-text        { font-family: var(--font-display); font-size: clamp(1.5rem,4vw,2.5rem); color: var(--gold-light); line-height: 1.8; margin-bottom: 1rem; direction: rtl; }
.quran-translation { font-size: 1.05rem; color: rgba(255,255,255,.9); font-style: italic; line-height: 1.6; margin-bottom: .5rem; }
.quran-ref         { font-size: .85rem; color: var(--gold); font-style: normal; font-weight: 600; }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: start; }
.about-section { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.about-section h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-dark); margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--gold); }
.about-section p  { color: var(--text-secondary); line-height: 1.8; margin-bottom: .85rem; }
.about-section p:last-child { margin-bottom: 0; }
.visi-misi-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: .5rem; }
.vm-card         { background: var(--green-light); border-radius: var(--radius-sm); padding: 1.25rem; border: 1px solid rgba(26,122,74,.15); }
.vm-card h3      { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: .65rem; }
.vm-card p       { font-size: .9rem; color: var(--text-secondary); }
.vm-card ul      { padding-left: 1.1rem; list-style: disc; }
.vm-card ul li   { font-size: .88rem; color: var(--text-secondary); margin-bottom: .4rem; }
.topics-grid { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .5rem; }
.topic-item  { background: var(--gold-light); color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 99px; padding: .4rem 1rem; font-size: .88rem; font-weight: 500; }
.quran-block { text-align: center; background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); border-radius: var(--radius); padding: 2rem; }
.quran-block .quran-text { font-size: 1.6rem; margin-bottom: .75rem; color: var(--gold-light); }
.quran-block p    { font-style: italic; color: rgba(255,255,255,.9); margin-bottom: .5rem; }
.quran-block cite { font-size: .85rem; color: var(--gold); }
.info-list { display: flex; flex-direction: column; gap: .65rem; }
.info-list li { font-size: .9rem; color: var(--text-secondary); display: flex; gap: .5rem; }
.info-list strong { color: var(--text-primary); min-width: 80px; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-form-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-dark); margin-bottom: 1.5rem; padding-bottom: .65rem; border-bottom: 2px solid var(--gold); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--text-primary); margin-bottom: .45rem; }
.form-control { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font-body); color: var(--text-primary); background: var(--off-white); transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--green-primary); background: var(--white); box-shadow: 0 0 0 3px rgba(26,122,74,.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .95rem; }
.alert-success { background: var(--green-light); border: 1px solid var(--green-primary); color: var(--green-dark); }
.contact-info-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-dark); margin-bottom: 1.25rem; padding-bottom: .65rem; border-bottom: 2px solid var(--gold); }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; align-items: flex-start; gap: .85rem; }
.contact-icon { font-size: 1.3rem; line-height: 1; }
.contact-info-list div { display: flex; flex-direction: column; gap: .2rem; }
.contact-info-list strong { font-size: .88rem; color: var(--text-primary); }
.contact-info-list span   { font-size: .88rem; color: var(--text-secondary); }

/* ================================================
   404 PAGE
   ================================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-content { text-align: center; max-width: 480px; margin: 0 auto; padding: 3rem 0; }
.error-icon  { font-size: 4rem; color: var(--gold); margin-bottom: 1rem; }
.error-code  { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: var(--green-primary); line-height: 1; margin-bottom: .5rem; }
.error-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: .85rem; }
.error-message { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.75rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================
   EMPTY STATE & LOADING
   ================================================ */
.empty-state { text-align: center; padding: 3rem; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--border); color: var(--text-muted); }
.loading { text-align: center; padding: 3rem; color: var(--text-muted); font-size: 1.05rem; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); margin-top: 3rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; padding: 3rem 0; }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.footer-brand .brand-icon { font-size: 1.5rem; color: var(--gold); }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-desc { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.site-footer h4 { font-size: .9rem; font-weight: 700; color: var(--gold); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--gold); }
.footer-ayat { font-style: italic; font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.6; border-left: 3px solid var(--gold); padding-left: 1rem; }
.footer-ayat cite { display: block; margin-top: .5rem; font-size: .8rem; color: var(--gold); font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ================================================
   FADE-IN ANIMATION
   ================================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout .container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    border-top: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
  .nav-links a.active, .nav-links a:hover { border-left-color: var(--green-primary); border-bottom-color: var(--border); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .visi-misi-grid { grid-template-columns: 1fr; }
  .hero-footer { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 1.6rem; }
  .article-body { padding: 1.5rem; }
  .categories-home-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 480px) {
  .categories-home-grid { grid-template-columns: repeat(2,1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.2rem; }
}
