@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* Gilroy — the typeface used in the Page References mockups.
   Drop the .woff2 files into public/fonts/gilroy/ and they take over automatically;
   until then Poppins (declared as the fallback below) is used. */
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'Gilroy', 'Poppins', sans-serif;
  /* The brand lockup next to the emblem is set in a grotesque, not in Gilroy. */
  --font-brand: Arial, 'Helvetica Neue', Helvetica, sans-serif;

  /* Reference palette (sampled from public/Page References) */
  --color-primary-dark: #015159;
  --color-primary: #016d77;
  --color-primary-light: #156d85;
  --color-orange: #ee6a2a;
  --color-orange-hover: #d5561a;
  --color-orange-icon: #fe5c13;
  --color-indigo: #2a2d96;
  --color-indigo-hover: #1f2178;
  --color-placeholder-navy: #191a6d;
  --color-green: #2e9e14;
  --color-green-hover: #24800f;
  --color-bg-light: #f4f9f9;
  --color-white: #ffffff;
  --color-text-dark: #0f172a;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Reference layout grid: 4 columns x 300px with 75px gutters = 1425px */
  --container-width: 1425px;
  --chrome-padding: 50px;
  --grid-col: 300px;
  --grid-gutter: 75px;

  --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);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page wash that sits directly under the news ticker (reference artwork) */
main {
  flex-grow: 1;
  position: relative;
  background-color: #ffffff;
  /* Green tint is listed first so it paints ON TOP of the bg.png wash —
     otherwise the opaque lower half of bg.png hides it on shorter pages. */
  background-image:
    linear-gradient(180deg, rgba(232, 243, 227, 0) 0%, rgba(232, 243, 227, 0.55) 55%, rgba(232, 243, 227, 1) 100%),
    url('../images/bg.png');
  background-repeat: no-repeat, no-repeat;
  background-position: bottom center, top center;
  background-size: 100% 620px, 100% auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1473px) {
  .container { padding: 0; }
}

/* Top bar and header run edge to edge with a 50px gutter, not on the 1425px grid */
.top-bar .container,
.main-header .container {
  max-width: none;
  padding: 0 var(--chrome-padding);
}

/* TOP BAR */
.top-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  height: 42px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Item offsets taken straight from the mockup (icon starts 112px / 83px after the
   preceding label ends), scaled down to match the more compact bar. */
.top-bar-item + .top-bar-item { margin-left: 90px; }
.top-bar-item + .top-bar-item + .top-bar-item { margin-left: 66px; }

.top-bar-item .material-symbols-outlined {
  color: var(--color-orange-icon);
  font-size: 16px;
  line-height: 1;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--color-white);
  flex-shrink: 0;
}

.social-circle:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
.main-header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* The reference header sits flush against the hero — no divider strip. */
.header-bottom-gradient {
  display: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 36px;
}

.emblem-circle {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border: 3px solid var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

img.emblem-circle, .brand-logo img.emblem-circle {
  width: 102px;
  height: 102px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
  border: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* The brand lockup is a single artwork in the reference, emblem + wordmark together */
.brand-lockup {
  width: 360px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.footer-lockup {
  width: 562px;
}

.brand-text h1 {
  font-family: var(--font-brand);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0;
  color: #000000;
  line-height: 32px;
}

.brand-text p {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}

/* Matches the wider first gap in the mockup */
.nav-links > li:first-child { margin-right: 16px; }

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #1c1c1c;
  position: relative;
  padding: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: #1c1c1c;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #3ddc57 0%, #ffffff 50%, #f97c4d 100%);
  border-radius: 0;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.dropdown-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.75rem;
  color: var(--color-text-dark);
}

/* HERO BANNER SECTION */
.hero-banner {
  position: relative;
  background: linear-gradient(180deg, rgba(3, 38, 42, 0.88) 0%, rgba(13, 13, 40, 0.90) 50%, rgba(62, 40, 34, 0.82) 100%), url('../images/banner-img.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  height: 291px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-banner.home-hero {
  height: 622px;
  padding: 0;
  display: flex;
  align-items: center;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: var(--color-primary-dark);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 38, 42, 0.88) 0%, rgba(13, 13, 40, 0.90) 50%, rgba(62, 40, 34, 0.82) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Vertical slide indicators on the right of the hero */
.hero-dots {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 31px;
  z-index: 12;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  padding: 0;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.hero-dot.active {
  background-color: #ffffff;
}

.hero-flag {
  display: inline-block;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.hero-flag img { height: 90px; width: auto; }

.hero-title {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 0;
  text-transform: none;
}

.home-hero .hero-title {
  font-size: 100px;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.home-hero .hero-content {
  width: 100%;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 56px;
}

.hero-tagline {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-subtagline {
  font-size: 19px;
  font-weight: 400;
  color: #ffffff;
  margin-top: 20px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* MARQUEE NEWS BAR */
.news-ticker-bar {
  background-color: var(--color-white);
  border-bottom: none;
  box-shadow: 0 10px 16px -6px rgba(120, 80, 30, 0.20);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 44px;
  position: relative;
  z-index: 5;
}

.ticker-badge {
  background-color: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  line-height: 44px;
  width: 170px;
  padding: 0 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0;
  flex-shrink: 0;
  z-index: 10;
}

.ticker-content {
  flex-grow: 1;
  padding: 0 0 0 40px;
  align-self: center;
  font-weight: 500;
  font-size: 15px;
  color: #0f0f0f;
}

/* WELCOME CARD SECTION */
.welcome-section {
  padding: 147px 0 0;
}

.welcome-card {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(34, 80, 114, 0.94) 0%, rgba(30, 84, 121, 0.94) 45%, rgba(10, 108, 117, 0.94) 100%),
    var(--hero-image, url('../images/banner-img.jpg'));
  background-size: cover, cover;
  background-position: center, center;
  background-blend-mode: normal, luminosity;
  color: var(--color-white);
  border-radius: 14px;
  padding: 83px 60px 0;
  text-align: center;
  box-shadow: none;
  border: none;
  height: 477px;
  max-width: none;
  margin: 0;
}

.welcome-card::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  pointer-events: none;
}

/* Lavender plate behind the card: 17/18px wider on each side, 14px shorter
   top and bottom, so it only peeks out at the left and right edges. */
.welcome-section {
  isolation: isolate;
}

.welcome-card::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -18px;
  bottom: 14px;
  left: -17px;
  background-color: #a8a8c5;
  border-radius: 14px;
  z-index: -1;
}

.welcome-card h2 {
  font-size: 38px;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 40px;
}

.welcome-card p {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  max-width: 1160px;
  margin: 0 auto 36px;
  line-height: 27px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 179px;
  height: 60px;
  padding: 0;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  border-radius: 8px;
  font-weight: 500;
  font-size: 21px;
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  transform: scale(1.05);
}

/* PAGE SHELL SPACING (reference: ticker -> action row -> first ribbon) */
.page-office-bearers {
  padding: 94px 0 130px;
}

.page-list {
  padding: 124px 0 130px;
}

.page-download {
  padding: 123px 0 130px;
}

.page-quicklinks {
  padding: 124px 0 130px;
}

.page-bearers {
  padding: 121px 0 130px;
}

.page-district {
  padding: 125px 0 130px;
}

.page-contact {
  padding: 133px 0 130px;
}

.page-bearers .grid-bearers {
  padding-top: 0;
}

.page-download .tab-header + .download-list {
  margin-top: 47px;
}

.page-list .ribbon-section-header {
  margin-top: 57px;
}

.page-list .search-filter-bar + .ribbon-section-header {
  margin-top: 0;
}

.circular-list {
  margin-top: 22px;
}

.page-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

/* RIBBON SECTION HEADERS */
.ribbon-section-header {
  display: flex;
  align-items: flex-end;
  margin: 110px 0 0;
}

.container > .ribbon-section-header:first-child {
  margin-top: 0;
}

.page-actions + .ribbon-section-header {
  margin-top: 0;
}

.ribbon-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 23px;
  font-weight: 700;
  line-height: 60px;
  height: 60px;
  padding: 0 100px 0 32px;
  border-radius: 8px 0 0 0;
  clip-path: polygon(0 0, calc(100% - 84px) 0, 100% 100%, 0% 100%);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.ribbon-badge.navy {
  background-color: var(--color-indigo);
}

.ribbon-line {
  flex-grow: 1;
  height: 4px;
  background-color: var(--color-primary);
  margin-left: -1px;
}

.ribbon-badge.navy + .ribbon-line {
  background-color: var(--color-indigo);
}

/* SECTION TITLES */
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  margin-bottom: 32px;
}

/* BEARERS & LEADERS CARDS
   Reference grid: 4 columns x 300px, 75px column gutter, 497px row pitch.
   The white rounded frame wraps the photo only — name/role/phone sit on the page. */
.grid-bearers {
  display: grid;
  grid-template-columns: repeat(4, var(--grid-col));
  column-gap: var(--grid-gutter);
  row-gap: 50px;
  justify-content: start;
  margin-bottom: 0;
  padding-top: 43px;
}

.bearer-card {
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

.bearer-card:hover {
  transform: none;
  box-shadow: none;
}

.bearer-photo-wrapper {
  width: 300px;
  height: 317px;
  background: var(--color-white);
  padding: 7px;
  display: block;
  overflow: visible;
  margin-bottom: 0;
  border-radius: 79px 20px 20px 20px;
  box-shadow: 6px 8px 22px rgba(31, 27, 22, 0.13);
  flex-shrink: 0;
}

.bearer-photo-wrapper.green-bg,
.bearer-photo-wrapper.navy-bg {
  background: var(--color-white);
}

.bearer-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 72px 13px 13px 13px;
  display: block;
}

.bearer-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 72px 13px 13px 13px;
  background-color: var(--color-placeholder-navy);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bearer-placeholder .material-symbols-outlined {
  font-size: 130px;
  color: rgba(255, 255, 255, 0.28);
}

.bearer-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  color: #111111;
  margin: 12px 0 0;
}

.bearer-role {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  color: #111111;
  text-transform: none;
  margin: 1px 0 0;
}

.bearer-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  color: #111111;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  margin-top: 10px;
}

.bearer-phone .material-symbols-outlined {
  background-color: #0d7a72;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 16px !important;
  flex-shrink: 0;
}

.bearer-phone:hover {
  background-color: transparent;
  color: #0d7a72;
}

.btn-green {
  background-color: #29a507;
  color: var(--color-white);
  height: 52px;
  min-width: 250px;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 20px;
  line-height: 52px;
  display: inline-block;
  text-align: center;
  box-shadow: none;
}

.btn-green:hover {
  background-color: #229004;
  transform: none;
  box-shadow: none;
}

.btn-blue {
  background-color: var(--color-indigo);
  color: var(--color-white);
  height: 52px;
  min-width: 233px;
  padding: 0 30px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 20px;
  line-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn-blue:hover {
  background-color: var(--color-indigo-hover);
}

/* HOME ACTION BOXES */
.action-box-grid {
  background-color: var(--color-primary);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-card-link {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 1px;
  height: 97px;
  color: #111111;
  transition: var(--transition);
  overflow: hidden;
  border-radius: 4px;
}

.action-card-link:hover .action-icon {
  background-color: var(--color-orange-hover);
}

.action-card-link:hover {
  background-color: transparent;
  transform: none;
}

.action-icon {
  width: 108px;
  height: 97px;
  background-color: var(--color-orange);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.action-icon .material-symbols-outlined {
  font-size: 46px;
  color: var(--color-white);
}

.action-title {
  flex: 1;
  background-color: #83c4be;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #111111;
}

/* SPLIT NEWS & REACTION SECTION
   The two colour panels bleed to the viewport edges, but everything inside
   them lines up with the 1425px content grid. */
.split-section {
  --grid-gutter-outer: max(24px, calc((100vw - var(--container-width)) / 2));
  display: grid;
  grid-template-columns: 58.125% 41.875%;
  min-height: 600px;
}

.news-window-side {
  background-color: #83c4be;
  padding: 147px 89px 90px var(--grid-gutter-outer);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.news-header h2 {
  font-size: 32px;
  line-height: 1.15;
  color: #111111;
}

.btn-view-all {
  border: 2px solid #111111;
  width: 171px;
  height: 60px;
  line-height: 56px;
  padding: 0;
  text-align: center;
  border-radius: 6px;
  font-weight: 500;
  font-size: 19px;
  color: #111111;
  flex-shrink: 0;
}

.btn-view-all:hover {
  background-color: var(--color-text-dark);
  color: var(--color-white);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.news-item-card {
  background-color: var(--color-white);
  border-radius: 6px;
  padding: 12px;
  min-height: 197px;
  display: flex;
  gap: 43px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(30, 60, 58, 0.12);
}

.news-thumb {
  width: 253px;
  height: 173px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-info {
  flex-grow: 1;
}

.news-date {
  font-size: 17px;
  color: #4a5a5a;
  font-weight: 400;
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
  color: #111111;
  margin-bottom: 10px;
}

.news-readmore {
  font-size: 17px;
  font-weight: 500;
  color: #ee6a2a;
}

.reaction-gallery-side {
  background-color: #187f84;
  padding: 147px var(--grid-gutter-outer) 90px 84px;
  text-align: center;
  color: var(--color-white);
}

.reaction-gallery-side h2 {
  font-size: 32px;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 36px;
}

.poster-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.poster-card img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  display: block;
}

.poster-card.no-title img {
  border-radius: var(--radius-lg);
}

.poster-card-title {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  line-height: 1.35;
}

.poster-card-title .poster-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* TABS (MELAKAL) */
/* CATEGORY TABS — notched teal cards inside a white keyline (reference) */
.tab-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 37px;
  row-gap: 47px;
  margin: 5px 0 0;
  border-bottom: none;
}

.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 110px;
  padding: 0 20px 0 32px;
  font-size: 22px;
  font-weight: 600;
  line-height: 27px;
  color: var(--color-white) !important;
  background-color: var(--color-primary);
  border-radius: 12px;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 46px, 100% 100%, 0 100%);
  transition: background-color 0.25s ease;
  text-decoration: none !important;
  cursor: pointer;
  /* Chained white drop-shadows draw the 6px keyline that sits outside the card */
  filter:
    drop-shadow(6px 0 0 #ffffff)
    drop-shadow(-6px 0 0 #ffffff)
    drop-shadow(0 6px 0 #ffffff)
    drop-shadow(0 -6px 0 #ffffff)
    drop-shadow(3px 6px 9px rgba(60, 45, 25, 0.16));
}

.tab-btn-label {
  position: relative;
  z-index: 1;
}

.tab-btn:hover {
  background-color: #087f85;
}

.tab-btn.active {
  background-color: var(--color-primary);
}

/* DOWNLOAD ROWS */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.download-row {
  background-color: var(--color-white);
  border-radius: 6px;
  min-height: 78px;
  padding: 11px 27px 11px 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(60, 45, 25, 0.07);
  border: none;
  transition: var(--transition);
  gap: 24px;
}

.download-row:hover {
  box-shadow: 0 4px 14px rgba(60, 45, 25, 0.12);
  border-color: transparent;
  transform: none;
}

.download-row.has-icon {
  padding-left: 20px;
}

.download-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

/* Red PDF document mark used on the memorandum / notice rows */
.pdf-icon-badge {
  position: relative;
  width: 44px;
  height: 56px;
  background-color: #e6252a;
  border-radius: 6px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 11px;
  text-transform: uppercase;
  flex-shrink: 0;
  clip-path: polygon(0 0, 66% 0, 100% 24%, 100% 100%, 0 100%);
}

.pdf-icon-badge::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.34);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.download-title {
  font-size: 19px;
  font-weight: 600;
  color: #111111;
  line-height: 27px;
  flex: 1;
}

.btn-circle-download {
  width: 47px;
  height: 47px;
  border-radius: var(--radius-full);
  background-color: var(--color-indigo);
  color: var(--color-white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  text-decoration: none !important;
  transition: var(--transition);
}

.btn-circle-download .material-symbols-outlined {
  font-size: 26px;
}

.btn-circle-download:hover {
  background-color: var(--color-indigo-hover);
  transform: scale(1.06);
  color: var(--color-white) !important;
}

/* SEARCH BAR (ORDER & CIRCULAR) */
.search-filter-bar {
  display: flex;
  justify-content: flex-end;
  gap: 19px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-input-group {
  display: flex;
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-indigo);
  box-shadow: none;
  width: 273px;
  height: 52px;
}

.search-input-group input {
  border: none;
  padding: 0 20px;
  font-size: 20px;
  font-family: inherit;
  outline: none;
  min-width: 0;
  flex: 1 1 auto;
  color: #2b2b2b;
}

.search-input-group input::placeholder {
  color: #9b9b9b;
}

.btn-search {
  background-color: var(--color-indigo);
  color: var(--color-white);
  width: 46px;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search .material-symbols-outlined {
  font-size: 26px;
}

.filter-select {
  background-color: var(--color-indigo);
  color: var(--color-white);
  font-family: inherit;
  font-weight: 500;
  font-size: 20px;
  width: 272px;
  height: 52px;
  padding: 0 56px 0 34px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M0 0h22L11 14z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
}

.filter-select option {
  color: #1c1c1c;
  background-color: #ffffff;
}

/* CIRCULAR LIST ITEMS */
.circular-item {
  display: flex;
  align-items: stretch;
  background-color: var(--color-white);
  border-radius: 5px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(60, 45, 25, 0.06);
  border: none;
  height: 79px;
}

.circular-date {
  background-color: #83c4be;
  color: #0d3b3b;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  width: 101px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.circular-content {
  padding: 0 24px 0 47px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 38px;
}

.circular-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: #111111;
}

.tag-pill {
  background-color: #f47822;
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 41px;
  height: 41px;
  padding: 0 14px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3.5rem 0;
}

.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn.active {
  background-color: var(--color-white);
  border-color: var(--color-text-dark);
  font-weight: 800;
}

.page-btn:hover {
  background-color: var(--color-bg-light);
}

/* FORMS & ACADEMIC ACTION CARDS */
.grid-large-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 4rem;
}

.action-block-card {
  position: relative;
  color: var(--color-white);
  padding: 1.25rem 1.5rem;
  min-height: 110px;
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  text-decoration: none;
  z-index: 1;
}

.action-block-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  border-radius: 10px 0 10px 10px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0% 100%);
  z-index: -2;
  transition: var(--transition);
}

.action-block-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--color-primary);
  border-radius: 7px 0 7px 7px;
  clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 23px, 100% 100%, 0% 100%);
  z-index: -1;
  transition: var(--transition);
}

.action-block-card:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

/* CATEGORY TABS NAV (SCREENSHOT 1 STYLE) */
.category-tabs-container {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.category-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-tab-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff !important;
  background: #026569; /* Dark Teal */
  text-decoration: none !important;
  border: none;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  margin-right: -8px;
  transition: all 0.25s ease;
  z-index: 1;
  white-space: nowrap;
}

.category-tab-item:hover:not(.active) {
  background: #087f85;
  color: #ffffff !important;
}

.category-tab-item.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); /* Orange Gradient */
  z-index: 3;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
  color: #ffffff !important;
}

.category-tabs-line {
  height: 3px;
  background: #026569;
  width: 100%;
  margin-top: -3px;
}

/* DOWNLOAD ROWS LIST (SCREENSHOT 1 STYLE) */
.download-files-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.download-file-row {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.1rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  color: inherit;
}

.download-file-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
  text-decoration: none !important;
}

.download-file-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

.download-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #333467;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 3px 8px rgba(51, 52, 103, 0.2);
}

.download-file-row:hover .download-action-btn {
  background: #ea580c;
  transform: scale(1.08);
}

/* QUICK LINKS CARDS */
.grid-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 3.5rem;
}

.quick-link-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a8a;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #1e3a8a;
}

/* PHOTO GALLERY GRID */
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-card {
  text-align: center;
}

.gallery-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  margin-bottom: 0.85rem;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.08);
}

.gallery-caption {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

/* ACCORDIONS (SERVICE CORNER FAQ) */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.accordion-header {
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  min-height: 52px;
}

.accordion-header-title {
  background-color: #0c4a5c;
  color: #ffffff;
  padding: 0.95rem 1.5rem;
  flex-grow: 1;
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0% 100%);
  width: calc(100% - 70px);
}

.accordion-toggle-btn {
  width: 80px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.accordion-body,
.accordion-content {
  background-color: var(--color-white);
  padding: 1.25rem 1.5rem;
  font-size: 0.98rem;
  color: var(--color-text);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  display: none;
}

.accordion-item.open .accordion-body,
.accordion-item.open .accordion-content {
  display: block;
}

/* CONTACT US LAYOUT */
.grid-contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  margin: 2rem 0 4rem;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.contact-info-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #1e3a8a;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.table-card {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.table-card h3 {
  font-size: 1.75rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.table-directory {
  width: 100%;
  border-collapse: collapse;
}

.table-directory td {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.05rem;
}

.table-directory tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
.main-footer {
  background-image:
    linear-gradient(180deg,
      rgba(4, 62, 69, 0.97) 0%,
      rgba(6, 60, 65, 0.97) 35%,
      rgba(13, 68, 68, 0.97) 65%,
      rgba(12, 76, 69, 0.97) 100%),
    var(--hero-image, url('../images/banner-img.jpg'));
  background-size: cover, cover;
  background-position: center, center;
  color: var(--color-white);
  padding: 83px 0 38px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.footer-top .brand-logo {
  gap: 26px;
}

.footer-brand-text h2 {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 25px;
  color: #ffffff;
}

.footer-brand-text p {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-top: 9px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 59px;
}

.footer-nav {
  display: flex;
  gap: 74px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin-top: 54px;
}

.footer-nav a {
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
}

.footer-nav a:hover {
  color: var(--color-orange);
}

.footer-contacts {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  font-size: 15px;
  color: #ffffff;
  margin-top: 70px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 20px;
  text-align: left;
  max-width: 365px;
}

.footer-contact-item .material-symbols-outlined {
  color: var(--color-orange-icon);
  font-size: 20px;
  line-height: 20px;
}

.footer-watermark {
  display: none;
}

.footer-bottom {
  text-align: center;
  font-size: 15px;
  color: #ffffff;
  border-top: none;
  padding-top: 0;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.home-office-bearers-layout {
  display: grid;
  grid-template-columns: 928px 427px;
  gap: 70px;
  align-items: start;
}

.home-office-bearers-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 14px;
  margin-bottom: 34px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 23px;
  row-gap: 40px;
}

/* Home gallery card: picture then caption, no white plate underneath */
.home-gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-gallery-thumb {
  border-radius: 6px;
  overflow: hidden;
}

.home-gallery-thumb img {
  width: 100%;
  height: 324px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-gallery-item:hover .home-gallery-thumb img {
  transform: scale(1.04);
}

.home-gallery-caption {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  color: #111111;
  text-align: center;
}

.home-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.home-gallery-head .section-title {
  margin-bottom: 0;
  text-align: left;
}

.home-gallery-nav {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.gallery-nav-circle {
  width: 48px;
  height: 48px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  background-color: #29a507;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Arrow drawn in CSS (shaft + head) so it stays centred at any size */
.gallery-nav-circle {
  position: relative;
}

.gallery-nav-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
}

.gallery-nav-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.gallery-nav-circle.next::after {
  right: 14px;
  transform: translateY(-50%) rotate(45deg);
}

.gallery-nav-circle.prev::after {
  left: 14px;
  transform: translateY(-50%) rotate(-135deg);
}

.gallery-nav-circle:hover {
  background-color: #229004;
  color: #ffffff;
}

/* RESPONSIVE MEDIA QUERIES — see the consolidated mobile section at the end of this file */

/* ========================================================
   EXACT PDF MATCH STYLING FOR CONTACT V2 & POLISH
   ======================================================== */

/* Contact V2 Main Layout (Matching KPSTA - V2 Contact us V2.pdf) */
.contact-v2-grid {
  display: grid;
  grid-template-columns: 569px 796px;
  gap: 60px;
  margin: 0;
  align-items: start;
}

.contact-left-info {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.contact-section-group h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 18px;
  line-height: 1.25;
}

.contact-recog-text {
  font-size: 17px;
  color: #111111;
  line-height: 25px;
  margin-bottom: 20px;
  font-weight: 400;
}

.contact-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 17px;
  color: #111111;
  font-weight: 400;
  line-height: 25px;
}

.contact-icon-row a {
  color: #2a2d96;
  text-decoration: none;
  font-weight: 400;
}

.contact-icon-row a:hover {
  text-decoration: underline;
  color: var(--color-orange);
}

.contact-circle-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2d96;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.contact-circle-icon .material-symbols-outlined {
  font-size: 20px !important;
}

.contact-right-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dark-teal-card {
  position: relative;
  background: linear-gradient(180deg, #215a75 0%, #0d5c70 55%, #046470 100%);
  border-radius: 14px;
  padding: 48px 40px 40px;
  color: #ffffff;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.dark-teal-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  pointer-events: none;
}

.dark-teal-card > * {
  position: relative;
}

.office-bearers-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 33px;
}

.mini-bearer-item h4 {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  color: #ffffff;
  margin-bottom: 4px;
}

.mini-bearer-item p {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 21px;
  margin-bottom: 10px;
}

.phone-badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
}

.phone-badge-orange:hover {
  background-color: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
  color: var(--color-orange);
}

.phone-circle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #f57722;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.phone-circle-icon .material-symbols-outlined {
  font-size: 15px !important;
}

.btn-more-bearers {
  display: block;
  width: 303px;
  height: 58px;
  line-height: 58px;
  margin: 0 auto;
  background-color: #29a507;
  color: #ffffff;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
}

.btn-more-bearers:hover {
  background-color: #229004;
  color: #ffffff;
}

.editorial-board-title {
  font-size: 28px;
  font-weight: 700;
  color: #111111;
  margin: 50px 0 28px;
}

.editorial-card {
  position: relative;
  background: linear-gradient(180deg, #025b63 0%, #016a74 50%, #016067 100%);
  border: 4px solid #00646c;
  border-radius: 14px;
  padding: 53px 40px;
}

.editorial-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  pointer-events: none;
}

.editorial-card > * {
  position: relative;
}

.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.editorial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 62px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.editorial-row:last-child {
  border-bottom: none;
}

.editorial-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.quill-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f57722;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  box-shadow: none;
}

.quill-circle .material-symbols-outlined {
  font-size: 19px !important;
}

.editorial-line {
  flex-grow: 0;
  width: 34px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
}

.editorial-name {
  min-width: 190px;
  text-align: right;
  font-weight: 500;
}

/* Quick Links Grid & Button Styling Polish */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 21px;
  row-gap: 24px;
  margin: 0;
}

.quick-link-btn {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 12px 24px 12px 32px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
  color: #2f2e74;
  text-decoration: none;
  box-shadow: 0 2px 7px rgba(60, 45, 25, 0.06);
  border: none;
  transition: all 0.25s ease;
}

.quick-link-btn .material-symbols-outlined {
  font-size: 30px !important;
  color: #2f2e74;
  flex-shrink: 0;
}

.quick-link-btn:hover {
  transform: none;
  box-shadow: 0 6px 16px rgba(47, 46, 116, 0.14);
  border-color: transparent;
  background-color: #ffffff;
}

/* Form inputs styling fallback */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  background-color: #f8fafc;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.1);
}

/* Contact mobile rules folded into the consolidated mobile section below */


/* ==========================================================================
   GALLERY (reference: V2A1 - Gallery)
   ========================================================================== */
.page-gallery {
  padding: 117px 0 130px;
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.gallery-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #111111;
}

.year-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.year-nav {
  width: 52px;
  height: 51px;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(60, 45, 25, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.year-nav::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 20px solid #2a2d96;
}

.year-nav.next::before {
  border-right: none;
  border-left: 20px solid #2a2d96;
}

.year-select {
  width: 176px;
  height: 51px;
  background-color: #ffffff;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(60, 45, 25, 0.10);
  font-family: inherit;
  font-size: 30px;
  font-weight: 500;
  color: #111111;
  text-align: center;
  padding: 0 46px 0 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='11' viewBox='0 0 18 11'%3E%3Cpath d='M0 0h18L9 11z' fill='%23767676'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 23px;
  row-gap: 40px;
}

.gallery-item {
  display: block;
  text-decoration: none;
}

.gallery-thumb {
  height: 319px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #0b2545;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-fallback {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-caption {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: #111111;
  text-align: center;
}

/* Service Corner uses the same notched teal card, laid out over multiple rows */
.service-card-grid {
  row-gap: 47px;
}

/* ==========================================================================
   JOINED TAB BAR (reference: V2 Melakal) — one strip of slanted tabs,
   active tab orange, all tabs sharing a continuous bottom edge.
   ========================================================================== */
.tab-header--joined {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.tab-header--joined .tab-btn {
  /* Fixed width per the reference — stays this size regardless of how many
     categories exist, so a single category doesn't stretch across the row. */
  flex: 0 0 348px;
  width: 348px;
  height: 97px;
  filter: none;
  padding: 0 90px 0 34px;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
  background-color: var(--color-primary);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 100%, 0 100%);
  filter: none;
}

.tab-header--joined .tab-btn::before {
  content: none;
}

.tab-header--joined .tab-btn.active {
  background-color: #f47822;
}

.tab-header--joined .tab-btn:hover {
  background-color: #087f85;
}

.tab-header--joined .tab-btn.active:hover {
  background-color: #e06a17;
}

.tab-header--joined + .download-list {
  margin-top: 0;
}

/* ==========================================================================
   HEADER FIT — the reference is drawn at 1920px wide. Below that the lockup
   and the nav must shrink together so the nav never wraps into the wordmark.
   ========================================================================== */
@media (max-width: 1919px) {
  .nav-links { gap: 36px; }
  .nav-links > li:first-child { margin-right: 10px; }
  .brand-lockup { width: 330px; }
  .header-container { height: 92px; }
}

@media (max-width: 1600px) {
  .nav-links { gap: 26px; }
  .nav-links > li:first-child { margin-right: 0; }
  .nav-link { font-size: 15px; }
  .brand-lockup { width: 290px; }
  .header-container { height: 84px; }
  .top-bar .container,
  .main-header .container { padding: 0 30px; }
}

@media (max-width: 1330px) {
  .nav-links { gap: 18px; }
  .nav-link { font-size: 14px; }
  .brand-lockup { width: 250px; }
  .header-container { height: 76px; }
  .top-bar { font-size: 12px; }
  .top-bar-item + .top-bar-item { margin-left: 36px; }
  .top-bar-item + .top-bar-item + .top-bar-item { margin-left: 30px; }
  .social-circle { width: 30px; height: 30px; font-size: 13px; }
}

@media (max-width: 1120px) {
  .top-bar-item + .top-bar-item,
  .top-bar-item + .top-bar-item + .top-bar-item { margin-left: 20px; }
}

/* Legacy sub-pages still get the page wash and the green tint above the footer */
.page-legacy {
  padding: 40px 0 90px;
}

/* ==========================================================================
   MOBILE / RESPONSIVE -- consolidated
   ==========================================================================
   Almost every measurement above this point comes straight from a 1920px
   reference mockup (fixed grid columns, fixed card widths, fixed heights).
   None of that collapses gracefully below ~1000px, so this section rebuilds
   every section explicitly for tablet and phone instead of patching gaps.
   ========================================================================== */

/* ---------- TABLET (<=1024px) ----------
   Everything else at this width is handled by the phone/tablet-portrait
   block below, which shares this breakpoint. */
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; min-height: 0; }
  .grid-contact { grid-template-columns: 1fr; }
  .home-office-bearers-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- PHONE / TABLET-PORTRAIT (<=1024px) ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }

  /* Top bar carries no content the reference keeps on mobile -- drop it */
  .top-bar { display: none; }

  /* Header */
  .header-container { height: 68px; }
  .main-header .container { padding: 0 16px; }
  .brand-lockup { width: 190px; }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  /* Nav flyout */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; margin-right: 0 !important; }
  .nav-link {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-link.active { background-color: var(--color-bg-light); }
  .nav-link.active::after { display: none; }

  /* Dropdown submenus become tap-to-expand panels (see main.js) instead of
     hover popups, since touch has no hover state. */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    transition: max-height 0.25s ease;
  }
  .dropdown.open .dropdown-menu {
    visibility: visible;
    max-height: 400px;
    padding: 4px 0 8px;
    background-color: #fafafa;
  }
  .dropdown-item { padding: 10px 34px; font-size: 14px; }

  /* Hero */
  .hero-banner { height: auto; min-height: 200px; padding: 44px 0; }
  .hero-banner.home-hero { height: auto; min-height: 380px; padding: 40px 0 46px; }
  .hero-title, .home-hero .hero-title { font-size: 34px; letter-spacing: 0; }
  .home-hero .hero-title { margin-bottom: 10px; }
  .hero-subtitle { font-size: 18px; line-height: 1.3; margin-bottom: 24px; padding: 0 8px; }
  .hero-tagline { font-size: 17px; }
  .hero-subtagline { font-size: 13px; margin-top: 10px; padding: 0 8px; }
  .hero-flag { margin-bottom: 8px; }
  .hero-flag img { height: 50px; }
  .hero-dots { right: 12px; gap: 12px; }
  .hero-dot { width: 8px; height: 8px; }

  /* News ticker */
  .news-ticker-bar { height: auto; min-height: 36px; }
  .ticker-badge { width: 96px; font-size: 11px; line-height: 36px; padding-left: 12px; }
  .ticker-content { font-size: 12px; padding-left: 14px; }

  /* Welcome card -- was a fixed 477px box with no overflow handling, which is
     what caused the paragraph/button to spill into the section below on
     narrow screens. Let it size to its content instead. */
  .welcome-section { padding: 40px 0 0; }
  .welcome-card { height: auto; padding: 32px 18px 26px; }
  .welcome-card::before { inset: 10px; }
  .welcome-card::after { top: 10px; bottom: 10px; left: -10px; right: -10px; }
  .welcome-card h2 { font-size: 24px; margin-bottom: 16px; }
  .welcome-card p { font-size: 15px; line-height: 22px; margin-bottom: 22px; max-width: 100%; }
  .btn-outline { width: 150px; height: 46px; font-size: 15px; }

  /* Page shells -- inner-page hero is much shorter now, so the big desktop
     top padding (94-133px, tuned to the 1920 mockup) is no longer needed */
  .page-office-bearers, .page-list, .page-download, .page-quicklinks,
  .page-bearers, .page-district, .page-contact, .page-gallery,
  .page-legacy {
    padding: 28px 0 56px;
  }
  .page-actions { margin-bottom: 20px; }

  /* Ribbon headers -- the diagonal notch is a fixed-px cut that breaks once
     text wraps, so mobile drops it for a plain rounded label */
  .ribbon-section-header { margin: 36px 0 0; flex-wrap: wrap; row-gap: 8px; }
  .ribbon-badge {
    font-size: 15px;
    height: auto;
    line-height: 1.3;
    padding: 9px 16px;
    white-space: normal;
    clip-path: none;
    border-radius: 6px;
  }
  .ribbon-line { flex-basis: 100%; height: 2px; margin-left: 0; }
  .section-title { font-size: 26px; margin-bottom: 20px; }

  /* Bearer card grids (Office Bearers, District, Former Leaders, Home strip) */
  .grid-bearers { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); column-gap: 16px; row-gap: 30px; padding-top: 20px; justify-content: center; }
  .home-office-bearers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .bearer-photo-wrapper {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 300 / 317;
    margin: 0 auto;
    border-radius: 48px 14px 14px 14px;
  }
  .bearer-photo-wrapper img, .bearer-placeholder { border-radius: 42px 10px 10px 10px; }
  .bearer-placeholder .material-symbols-outlined { font-size: 80px; }
  .bearer-name { font-size: 16px; line-height: 20px; margin-top: 10px; }
  .bearer-role { font-size: 13px; line-height: 17px; }
  .bearer-phone { font-size: 13px; gap: 8px; }
  .bearer-phone .material-symbols-outlined { width: 20px; height: 20px; font-size: 12px !important; }
  .btn-green { min-width: 0; width: 100%; max-width: 260px; margin: 0 auto; display: block; font-size: 16px; height: 46px; line-height: 46px; }

  /* Action panel (home) */
  .action-card-link { height: 60px; }
  .action-icon { width: 60px; height: 60px; }
  .action-icon .material-symbols-outlined { font-size: 26px; }
  .action-title { font-size: 14px; line-height: 18px; padding: 0 14px; }

  /* Split News Window / Reaction Gallery */
  .news-window-side, .reaction-gallery-side { padding: 32px 16px; }
  .news-header { margin-bottom: 18px; }
  .news-header h2, .reaction-gallery-side h2 { font-size: 22px; }
  .reaction-gallery-side h2 { margin-bottom: 18px; }
  .btn-view-all { width: 104px; height: 38px; line-height: 34px; font-size: 13px; }
  .news-list { gap: 14px; }
  .news-item-card { padding: 8px; gap: 12px; min-height: 0; }
  .news-thumb { width: 80px; height: 80px; }
  .news-date { font-size: 11px; margin-bottom: 4px; }
  .news-title {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-readmore { font-size: 12px; }
  .poster-card { max-width: 260px; }

  /* Home gallery strip */
  .home-gallery-head { margin-bottom: 18px; }
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); column-gap: 14px; row-gap: 20px; }
  .home-gallery-thumb img { height: 140px; }
  .home-gallery-caption { font-size: 14px; margin-top: 10px; }
  .gallery-nav-circle { width: 36px; height: 36px; }
  .gallery-nav-circle::before { width: 16px; }
  .gallery-nav-circle::after { width: 7px; height: 7px; }
  .gallery-nav-circle.next::after { right: 10px; }
  .gallery-nav-circle.prev::after { left: 10px; }

  /* Footer */
  .main-footer { padding: 36px 0 22px; }
  .footer-top .brand-logo { flex-direction: column; gap: 12px; text-align: center; }
  .footer-lockup { width: 220px; }
  .footer-divider { margin-top: 22px; }
  .footer-nav { gap: 10px 22px; margin-top: 22px; }
  .footer-nav a { font-size: 13px; }
  .footer-contacts { flex-direction: column; align-items: center; gap: 16px; margin-top: 26px; font-size: 13px; }
  .footer-contact-item { max-width: 260px; justify-content: center; }
  .footer-bottom { font-size: 12px; margin-top: 26px; padding: 0 16px; }

  /* Category tab cards (Forms / Academic / Software / Service Corner) */
  .tab-header { grid-template-columns: 1fr; gap: 12px; margin-top: 4px; }
  .tab-btn {
    height: auto;
    min-height: 54px;
    padding: 12px 40px 12px 18px;
    font-size: 16px;
    line-height: 20px;
    clip-path: none;
    border-radius: 8px;
    filter: none;
    box-shadow: 0 2px 6px rgba(60, 45, 25, 0.12);
  }

  /* Joined tab bar (Melakal) -- the fixed 348px width is correct for desktop
     (see .tab-header--joined .tab-btn above) but has to give way to a full
     width stack once the viewport can't fit even one at that size. */
  .tab-header--joined { gap: 10px; }
  .tab-header--joined .tab-btn {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 52px;
    padding: 12px 40px 12px 18px;
    font-size: 16px;
    line-height: 20px;
    clip-path: none;
    border-radius: 8px;
  }

  /* Download rows */
  .download-list { gap: 14px; }
  .page-download .tab-header + .download-list { margin-top: 24px; }
  .download-row { padding: 12px 16px; min-height: 0; flex-wrap: wrap; gap: 10px; }
  .download-row.has-icon { padding-left: 16px; }
  .download-info { gap: 12px; }
  .download-title { font-size: 15px; line-height: 20px; }
  .pdf-icon-badge { width: 34px; height: 42px; font-size: 11px; }
  .btn-circle-download { width: 38px; height: 38px; }
  .btn-circle-download .material-symbols-outlined { font-size: 20px; }

  /* Order & Circular */
  .search-filter-bar { justify-content: stretch; gap: 10px; margin-bottom: 20px; }
  .search-input-group { width: 100%; height: 44px; }
  .search-input-group input { font-size: 15px; padding: 0 14px; }
  .filter-select {
    width: 100%;
    height: 44px;
    font-size: 15px;
    padding: 0 40px 0 16px;
    background-position: right 14px center;
  }
  .page-list .ribbon-section-header { margin-top: 32px; }
  .circular-list { margin-top: 16px; }
  .circular-item { height: auto; flex-wrap: wrap; }
  .circular-date { width: 56px; font-size: 22px; align-self: stretch; }
  .circular-content { flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
  .circular-title { font-size: 15px; }
  .tag-pill { font-size: 13px; height: 28px; line-height: 28px; padding: 0 10px; }

  /* Quick Links */
  .quick-links-grid { grid-template-columns: 1fr; gap: 12px; }
  .quick-link-btn { min-height: 58px; padding: 10px 16px; font-size: 16px; }
  .quick-link-btn .material-symbols-outlined { font-size: 22px !important; }

  /* Gallery page */
  .page-gallery { padding: 28px 0 56px; }
  .gallery-head { flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
  .gallery-title { font-size: 24px; }
  .year-stepper { gap: 8px; }
  .year-nav { width: 36px; height: 36px; }
  .year-nav::before { border-top-width: 9px; border-bottom-width: 9px; border-right-width: 14px; }
  .year-nav.next::before { border-right-width: 0; border-left-width: 14px; }
  .year-select {
    width: 110px;
    height: 36px;
    font-size: 16px;
    padding: 0 30px 0 12px;
    background-position: right 12px center;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 20px; }
  .gallery-thumb { height: 140px; }
  .gallery-caption { font-size: 14px; margin-top: 10px; }

  /* Contact page */
  .contact-v2-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-left-info { gap: 30px; }
  .contact-section-group h3 { font-size: 18px; margin-bottom: 12px; }
  .contact-recog-text, .contact-icon-row { font-size: 14px; line-height: 20px; }
  .contact-circle-icon { width: 30px; height: 30px; }
  .contact-circle-icon .material-symbols-outlined { font-size: 16px !important; }
  .dark-teal-card, .editorial-card { padding: 24px 16px; }
  .office-bearers-mini-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .mini-bearer-item h4 { font-size: 18px; }
  .mini-bearer-item p { font-size: 13px; }
  .btn-more-bearers { width: 100%; max-width: 240px; height: 46px; line-height: 46px; font-size: 16px; }
  .editorial-board-title { font-size: 20px; margin: 32px 0 16px; }
  .editorial-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    line-height: normal;
    padding: 12px 0;
    gap: 6px;
    font-size: 14px;
  }
  .editorial-line { display: none; }
  .editorial-name { min-width: 0; width: 100%; text-align: left; padding-left: 48px; font-weight: 600; }
}

/* ---------- SMALL PHONE (<=480px) ---------- */
@media (max-width: 480px) {
  .brand-lockup { width: 160px; }
  .hero-title, .home-hero .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .grid-bearers, .home-office-bearers-grid,
  .home-gallery-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .bearer-photo-wrapper { max-width: 240px; }
}
