/* ============================================================
   NIER: Nusantara Islamic Education Review
   Theme CSS for OJS — custom header, sidebar, footer, pages
   Palette: Deep Ulayat Blue × Parchment Cream × Gold Sabilillah
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Core palette — Nusantara Islamic identity */
  --hs-primary:        #1A4E7A;   /* Ulayat blue — deep, trustworthy */
  --hs-primary-dark:   #0F3254;   /* Midnight blue */
  --hs-primary-hover:  #2567A0;   /* Lighter hover */
  --hs-accent:         #2E7D5E;   /* Hijau zamrud (emerald) accent */
  --hs-accent-light:   #BDD8C8;   /* Pale jade border/bg */
  --hs-accent-warm:    #8C5E2A;   /* Warm umber for labels */
  --hs-gold:           #C8992A;   /* Sabilillah gold */
  --hs-gold-light:     #F0D080;   /* Light gold hover */
  --hs-bg:             #F6F4EF;   /* Parchment cream background */
  --hs-soft-bg:        #EAE6DC;   /* Soft parchment */
  --hs-white:          #FFFFFF;
  --hs-border:         #D5CCBC;   /* Warm parchment border */
  --hs-text:           #1C2B3A;   /* Near-black, readable */
  --hs-muted:          #6B7B8D;
  --hs-light-text:     #A0AEBC;

  /* Typography */
  --hs-font-body:   'Nunito Sans', sans-serif;
  --hs-font-head:   'Nunito Sans', sans-serif;
  --hs-font-serif:  'Amiri', serif;   /* Arabic-friendly display serif */

  /* Shape & shadow */
  --hs-radius:     8px;
  --hs-radius-sm:  5px;
  --hs-radius-lg:  14px;
  --hs-shadow-sm:  0 1px 4px rgba(26,78,122,0.08);
  --hs-shadow-md:  0 4px 16px rgba(26,78,122,0.13);
  --hs-shadow-lg:  0 8px 32px rgba(26,78,122,0.16);

  /* Layout */
  --hs-topbar-h:   38px;
  --hs-header-h:   76px;
  --hs-container:  1180px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hs-font-body);
  background: var(--hs-bg);
  color: var(--hs-text);
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* Hide default OJS navigation */
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_nav_menu,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user_wrapper,
.pkp_navigation_user,
#navigationPrimary,
#navigationUser,
header#headerNavigationContainer,
.pkp_structure_head,
.pkp_site_name,
.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.pkp_footer_content,
.pkp_brand_footer {
  display: none !important;
}

.hs-topbar,
.hs-header,
.hs-sidebar,
.hs-footer,
.et-wrapper {
  font-family: var(--hs-font-body);
}

/* ===== TOPBAR ===== */
.hs-topbar {
  background: var(--hs-primary-dark);
  color: rgba(255,255,255,0.80);
  font-size: 11.5px;
  min-height: var(--hs-topbar-h);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(200,153,42,0.30); /* subtle gold underline */
}
.hs-topbar-inner {
  max-width: var(--hs-container);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--hs-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hs-topbar-left,
.hs-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hs-topbar-left a,
.hs-topbar-right a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s;
}
.hs-topbar-left a:hover { color: var(--hs-gold-light); }
.hs-topbar-sep { color: rgba(255,255,255,0.22); }

.hs-btn-login {
  font-size: 11.5px;
  padding: 4px 13px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.hs-btn-login:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hs-btn-register {
  font-size: 11.5px;
  color: var(--hs-primary-dark) !important;
  padding: 4px 13px;
  background: var(--hs-gold);
  border-radius: 20px;
  font-weight: 700;
  transition: background .2s;
}
.hs-btn-register:hover { background: var(--hs-gold-light); }

/* ===== HEADER ===== */
.hs-header {
  background: var(--hs-white);
  border-bottom: 3px solid var(--hs-gold); /* signature gold stripe */
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--hs-shadow-md);
}
.hs-header-inner {
  max-width: var(--hs-container);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--hs-header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.hs-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.hs-logo {
  height: 54px;
  width: auto;
  display: block;
}

/* ===== NAV ===== */
.hs-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}
.hs-nav-item { position: relative; }

.hs-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hs-text);
  text-decoration: none;
  border-radius: var(--hs-radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
  position: relative;
  z-index: 201;
  letter-spacing: .01em;
}
.hs-nav-link:hover,
.hs-nav-link--active {
  color: var(--hs-primary);
  background: var(--hs-soft-bg);
}
.hs-nav-link svg { flex-shrink: 0; }
.hs-nav-item:hover > .hs-nav-link .hs-chevron { transform: rotate(180deg); }
.hs-chevron { transition: transform .2s; }

/* ===== DROPDOWN ===== */
.hs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 215px;
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-top: 2px solid var(--hs-gold); /* gold top accent on dropdown */
  border-radius: var(--hs-radius);
  box-shadow: var(--hs-shadow-lg);
  padding: 10px 6px 8px 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.hs-nav-item:hover .hs-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.hs-dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
.hs-nav-item::after {
  content: '';
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
  z-index: 199;
}

.hs-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--hs-text);
  text-decoration: none;
  border-radius: var(--hs-radius-sm);
  font-weight: 600;
  transition: all .18s;
}
.hs-dropdown-item:hover {
  background: var(--hs-soft-bg);
  color: var(--hs-primary);
}
.hs-dropdown-item svg { flex-shrink: 0; color: var(--hs-accent); }

/* Submit button in nav — emerald green */
.hs-submit-link {
  color: #fff !important;
  background: linear-gradient(135deg, var(--hs-accent), #1F5E43);
  border-radius: 7px;
  padding: 8px 16px;
}
.hs-submit-link:hover {
  background: linear-gradient(135deg, #2E9A6E, var(--hs-accent));
}

/* Search */
.hs-search-wrap { margin-left: auto; }
.hs-search-form {
  display: flex;
  align-items: center;
  background: var(--hs-soft-bg);
  border: 1.5px solid var(--hs-border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.hs-search-form:focus-within {
  border-color: var(--hs-primary-hover);
  box-shadow: 0 0 0 3px rgba(26,78,122,0.13);
}
.hs-search-input {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-size: 12.5px;
  font-family: var(--hs-font-body);
  color: var(--hs-text);
  width: 190px;
  outline: none;
}
.hs-search-input::placeholder { color: var(--hs-light-text); }
.hs-search-btn {
  background: var(--hs-primary);
  border: none;
  padding: 0 14px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: #fff;
}
.hs-search-btn:hover { background: var(--hs-primary-dark); }

/* ===== SIDEBAR ===== */
.hs-sidebar { display: flex; flex-direction: column; gap: 14px; }

.hs-sb-block {
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  overflow: hidden;
  box-shadow: var(--hs-shadow-sm);
}

/* Sidebar heading — deep blue gradient */
.hs-sb-head {
  background: linear-gradient(135deg, var(--hs-primary-dark) 0%, var(--hs-primary) 100%);
  padding: 10px 16px;
  border-left: 4px solid var(--hs-gold); /* signature gold left bar */
}
.hs-sb-head h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hs-sb-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--hs-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--hs-border);
  transition: all .18s;
}
.hs-sb-nav-item:last-child { border-bottom: none; }
.hs-sb-nav-item:hover {
  background: var(--hs-soft-bg);
  color: var(--hs-primary);
  padding-left: 20px;
}

.hs-sb-subnav { background: var(--hs-bg); padding: 4px 0; }
.hs-sb-subnav-item {
  display: block;
  padding: 7px 26px;
  font-size: 11.5px;
  color: var(--hs-muted);
  text-decoration: none;
  transition: all .18s;
  border-bottom: 1px solid var(--hs-border);
}
.hs-sb-subnav-item:last-child { border-bottom: none; }
.hs-sb-subnav-item:hover { color: var(--hs-primary); background: var(--hs-soft-bg); }

.hs-template-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--hs-text);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s;
}
.hs-template-link:hover { background: var(--hs-soft-bg); }
.hs-template-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }

.hs-sb-notice { padding: 14px 16px; }
.hs-sb-notice-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--hs-accent-warm);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.hs-sb-notice-text { font-size: 11.5px; color: var(--hs-muted); line-height: 1.65; margin: 0 0 10px; }
.hs-sb-notice-link {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--hs-primary);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
}
.hs-sb-notice-link:hover { background: var(--hs-primary-dark); }

/* Stats — gold number */
.hs-sb-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hs-border); }
.hs-sb-stat-item { padding: 14px 16px; text-align: center; border-right: 1px solid var(--hs-border); }
.hs-sb-stat-item:last-child { border-right: none; }
.hs-sb-stat-title { font-size: 20px; font-weight: 800; color: var(--hs-gold); line-height: 1.2; }
.hs-sb-stat-label { font-size: 10px; color: var(--hs-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }

.hs-sb-info-list { padding: 6px 0; }
.hs-sb-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--hs-border);
  font-size: 12px;
}
.hs-sb-info-row:last-child { border-bottom: none; }
.hs-sb-info-lbl { color: var(--hs-muted); flex-shrink: 0; width: 80px; font-weight: 600; }
.hs-sb-info-val { color: var(--hs-text); font-weight: 700; }

.hs-sb-issn-bar {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: var(--hs-soft-bg);
  border-top: 1px solid var(--hs-border);
}
.hs-issn {
  font-size: 11px;
  font-weight: 700;
  color: var(--hs-primary);
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  padding: 3px 8px;
  border-radius: 4px;
}

.hs-sb-indexed-body { padding: 8px 0; }
.hs-sb-indexed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--hs-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--hs-border);
  transition: background .18s;
}
.hs-sb-indexed-item:last-child { border-bottom: none; }
.hs-sb-indexed-item:hover { background: var(--hs-soft-bg); }
.hs-indexed-status {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--hs-accent);  /* emerald green badge */
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Sidebar CTA — deep blue */
.hs-sb-cta {
  padding: 18px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-dark) 100%);
}
.hs-sb-cta-title { font-size: 14px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.hs-sb-cta-desc { font-size: 11.5px; color: rgba(255,255,255,0.78); margin: 0 0 14px; line-height: 1.55; }
.hs-sb-cta-btn {
  display: inline-block;
  background: var(--hs-gold);
  color: var(--hs-primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 24px;
  text-decoration: none;
  transition: all .2s;
}
.hs-sb-cta-btn:hover { background: var(--hs-gold-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.hs-footer {
  background: var(--hs-primary-dark);
  color: rgba(255,255,255,0.78);
  margin-top: 48px;
  border-top: 4px solid var(--hs-gold); /* signature gold top border */
}
.hs-footer-inner {
  max-width: var(--hs-container);
  margin: 0 auto;
  padding: 42px 24px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
}
.hs-footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.hs-footer-desc { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 0 0 14px; }
.hs-footer-issn-wrap { display: flex; gap: 8px; flex-wrap: wrap; }

.hs-footer-col-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hs-gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,153,42,0.25);
}
.hs-footer-links { list-style: none; padding: 0; margin: 0; }
.hs-footer-links li { margin-bottom: 8px; }
.hs-footer-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.hs-footer-links a:hover { color: var(--hs-gold-light); }

.hs-footer-address { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.75; }
.hs-footer-address a { color: rgba(255,255,255,0.68); text-decoration: none; transition: color .2s; }
.hs-footer-address a:hover { color: var(--hs-gold-light); }

.hs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px;
  max-width: var(--hs-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255,255,255,0.46);
  flex-wrap: wrap;
  gap: 8px;
}
.hs-footer-bottom a { color: rgba(255,255,255,0.60); text-decoration: none; }
.hs-footer-bottom a:hover { color: var(--hs-gold-light); }

/* ===== EDITORIAL TEAM PAGE ===== */
.et-wrapper { max-width: 900px; margin: 0 auto; padding: 24px 0 48px; font-family: var(--hs-font-body); }

.et-page-hero {
  background: linear-gradient(135deg, var(--hs-primary-dark) 0%, var(--hs-primary) 55%, var(--hs-accent) 100%);
  border-radius: var(--hs-radius-lg);
  padding: 42px 36px;
  margin-bottom: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Geometric batik-inspired overlay on hero */
.et-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(200,153,42,0.07) 0px,
    rgba(200,153,42,0.07) 1px,
    transparent 1px,
    transparent 18px
  );
  pointer-events: none;
}

.et-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--hs-gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(255,255,255,.10);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(200,153,42,0.35);
}
.et-hero-title {
  font-family: var(--hs-font-serif);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.35;
}
.et-hero-title em { font-style: italic; color: var(--hs-gold-light); }
.et-hero-desc { font-size: 13.5px; color: rgba(255,255,255,0.78); line-height: 1.75; max-width: 620px; margin: 0 auto; }

.et-section { margin-bottom: 28px; }
.et-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--hs-border);
  padding-bottom: 10px;
}
.et-section-ornament {
  width: 28px;
  height: 28px;
  background: var(--hs-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.et-section-title {
  font-family: var(--hs-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--hs-primary);
  margin: 0;
}

/* Chief editor card — left gold bar */
.et-chief-card {
  background: var(--hs-white);
  border: 1.5px solid var(--hs-accent-light);
  border-left: 5px solid var(--hs-gold);
  border-radius: var(--hs-radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 240px;
  box-shadow: var(--hs-shadow-sm);
}
.et-chief-avatar {
  width: 262px;
  min-width: 180px;
  min-height: 240px;
  background: var(--hs-soft-bg);
  overflow: hidden;
  display: flex;
  align-self: stretch;
  flex-shrink: 0;
}
.et-chief-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.et-chief-detail { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.et-chief-name { font-size: 16px; font-weight: 700; color: var(--hs-primary); margin: 0 0 3px; }
.et-chief-affil { font-size: 12.5px; color: var(--hs-muted); margin: 0 0 10px; }
.et-chief-bio { font-size: 13px; color: var(--hs-text); line-height: 1.7; margin: 0 0 12px; }
.et-chief-links { display: flex; gap: 8px; flex-wrap: wrap; }

.et-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hs-primary);
  background: var(--hs-soft-bg);
  border: 1px solid var(--hs-border);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}
.et-chip:hover { background: var(--hs-primary); color: #fff; border-color: var(--hs-primary); }

.et-board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.et-member-card {
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--hs-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.et-member-card:hover { box-shadow: var(--hs-shadow-md); transform: translateY(-2px); }

.et-member-avatar {
  width: 100%;
  height: 262px;
  background: var(--hs-soft-bg);
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.et-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s ease;
}
.et-member-card:hover .et-member-avatar img { transform: scale(1.04); }

.et-member-top { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 0; margin-bottom: 6px; }
.et-member-name { font-size: 13px; font-weight: 700; color: var(--hs-primary); margin: 0; }
.et-member-role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--hs-primary);
  background: rgba(26,78,122,0.09);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  align-self: flex-start;
}
.et-member-affil { font-size: 11.5px; color: var(--hs-muted); line-height: 1.55; padding: 0 14px; margin: 0 0 4px; }
.et-member-links {
  display: flex;
  gap: 8px;
  margin: auto 0 0;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--hs-border);
}
.et-member-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--hs-primary);
  background: var(--hs-soft-bg);
  border: 1px solid var(--hs-border);
  padding: 3px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all .18s;
}
.et-member-link:hover { background: var(--hs-primary); color: #fff; border-color: var(--hs-primary); }

/* ===== UTILITY ===== */
.hs-container { max-width: var(--hs-container); margin: 0 auto; padding: 0 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hs-header-inner { flex-wrap: wrap; height: auto; padding: 12px 18px; gap: 12px; }
  .hs-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .hs-search-wrap { margin-left: auto; }
  .hs-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hs-topbar-inner { align-items: flex-start; flex-direction: column; padding: 10px 16px; }
  .hs-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hs-footer-bottom { flex-direction: column; text-align: center; }
  .hs-search-input { width: 140px; }
  .et-chief-card { flex-direction: column; }
  .et-chief-avatar { width: 100%; min-width: unset; height: 220px; }
  .et-board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hs-header-inner { align-items: stretch; }
  .hs-brand { justify-content: center; }
  .hs-logo { max-width: 100%; height: auto; max-height: 54px; }
  .hs-nav { display: none; }
  .hs-search-wrap { margin-left: 0; width: 100%; }
  .hs-search-form { width: 100%; }
  .hs-search-input { flex: 1; width: auto; }
  .et-board-grid { grid-template-columns: 1fr; }
}