/* ══════════════════════════════════════════════
   SLADP/LIVAQUA — Global site theme
   Green (livestock) + Teal/Ocean (aquaculture)
══════════════════════════════════════════════ */

:root {
  --al-green:       #2E7D32;
  --al-green-dark:  #1B5E20;
  --al-green-mid:   #2E7D32;
  --al-green-light: #0F8B8D;
  --al-green-pale:  #EAF8F3;
  --al-teal:        #0F8B8D;
  --al-teal-dark:   #0F5B52;
  --al-teal-deep:   #0D4A44;
  --al-ocean:       #1F6FA8;
  --al-ocean-dark:  #185A8A;
  --al-mint:        #EAF8F3;
  --al-sky:         #EEF8FD;
  --al-primary:     #2E7D32;
  --al-dark:        #0F5B52;
  --al-accent:      #0F8B8D;
  --al-gold:        #D4A84B;
  --al-gold-dark:   #C9A227;
  --al-bg:          #FBFCF8;
  --al-ink:         #14342E;
  --al-slate:       #566B66;
  --al-border:      #DCEDE7;
  --al-white:       #FFFFFF;
}

body.al-theme {
  background: var(--al-bg);
  color: var(--al-ink);
}

/* ─── Header — premium tinted glass ─── */
body.al-theme .al-header {
  background: linear-gradient(
    90deg,
    rgba(237,251,247,.95),
    rgba(248,255,253,.95),
    rgba(234,248,255,.95)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,139,141,.10);
  box-shadow: 0 4px 24px rgba(15,91,82,.06);
}
body.al-theme .al-brand__text strong { color: var(--al-ink); }
body.al-theme .al-brand__text span { color: #6b807a; }
body.al-theme .al-nav a { color: #3c4f4a; }
body.al-theme .al-nav a:hover {
  color: var(--al-teal);
  background: rgba(15,139,141,.08);
}
body.al-theme .al-nav__active {
  color: var(--al-teal) !important;
  font-weight: 700 !important;
}
body.al-theme .al-nav__active::after { background: var(--al-teal); }
body.al-theme .al-nav__cta {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean)) !important;
  border: 1px solid rgba(15,139,141,.22);
  box-shadow: none !important;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
body.al-theme .al-nav__cta svg {
  transition: transform .25s ease;
}
body.al-theme .al-nav__cta:hover {
  background: linear-gradient(135deg, var(--al-teal-dark), var(--al-ocean-dark)) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}
body.al-theme .al-nav__cta:hover svg {
  transform: translateX(3px);
}
body.al-theme .al-nav__cta--active {
  background: linear-gradient(135deg, var(--al-teal-dark), var(--al-ocean-dark)) !important;
}
body.al-theme .al-burger span { background: var(--al-ink); }
body.al-theme .al-nav a:focus-visible,
body.al-theme .al-burger:focus-visible { outline-color: var(--al-teal); }
@media (max-width: 900px) {
  body.al-theme .al-nav {
    background: #f4fbf8;
    border-bottom: 2px solid var(--al-teal);
    box-shadow: 0 12px 32px rgba(15,91,82,.12);
  }
  body.al-theme .al-nav a { color: #3c4f4a; }
}

/* ─── Footer — full-width footer.png background ─── */
body.al-theme .al-footer {
  position: relative;
  overflow: hidden;
  background-color: #EAF8F3 !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)), url('../images/footer.png') !important;
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  border-top: 1px solid rgba(15,139,141,.14);
  box-shadow: none;
  color: #3d524c;
}
/* Top accent line — clean separation from page */
body.al-theme .al-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--al-green) 0%, var(--al-teal) 50%, var(--al-ocean) 100%);
  z-index: 2;
}

/* Spacing + rhythm */
body.al-theme .al-footer__top { padding: 72px 0 48px; }
body.al-theme .al-footer__grid { gap: 56px; }

/* Brand column */
body.al-theme .al-footer__logo-icon { width: 52px; height: 52px; }
body.al-theme .al-footer__logo-text strong { font-size: 1.28rem; }
body.al-theme .al-footer__brand-col p { max-width: 300px; margin-bottom: 24px; }

/* Column headings — accent tick */
body.al-theme .al-footer__col h4 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 22px;
}
body.al-theme .al-footer__col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--al-teal), var(--al-ocean));
  border-radius: 2px;
}

/* Social icons — pill + softer hover lift */
body.al-theme .al-footer__social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
body.al-theme .al-footer__social:hover {
  transform: translateY(-2px);
}

/* Contact rows — subtle icon chip */
body.al-theme .al-footer__contact-item svg {
  width: 16px;
  height: 16px;
}

/* CTA button — softer shadow */
body.al-theme .al-footer__cta-btn {
  box-shadow: 0 6px 18px -6px rgba(15,91,82,.4);
}
body.al-theme .al-footer__cta-btn:hover {
  box-shadow: 0 10px 24px -8px rgba(15,91,82,.5);
  transform: translateY(-1px);
}

/* Bottom bar — more breathing room */
body.al-theme .al-footer__bottom-inner { padding: 22px 0; }
body.al-theme .al-footer__top,
body.al-theme .al-footer__bottom {
  position: relative;
  z-index: 1;
}
body.al-theme .al-footer__logo-text strong { color: #14342E; }
body.al-theme .al-footer__logo-text span { color: #3d524c; }
body.al-theme .al-footer__brand-col p { color: #2a3d38; }
body.al-theme .al-footer__brand-col .al-footer__blurb { text-align: justify; }
body.al-theme .al-footer__col h4 {
  color: #0c7577;
  border-bottom-color: rgba(15,139,141,.28);
}
body.al-theme .al-footer__links li a { color: #1f342e; }
body.al-theme .al-footer__links li a:hover {
  color: #0F8B8D;
  padding-left: 4px;
}
body.al-theme .al-footer__contact-item svg { color: #0F8B8D; }
body.al-theme .al-footer__contact-item span,
body.al-theme .al-footer__contact-item a { color: #2a3d38; }
body.al-theme .al-footer__contact-item a:hover { color: #0c7577; }
body.al-theme .al-footer__social {
  background: rgba(255,255,255,.35);
  border-color: rgba(15,139,141,.22);
  color: var(--al-teal-dark);
}
body.al-theme .al-footer__social:hover {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  border-color: transparent;
  color: #fff;
}
body.al-theme .al-footer__cta-btn {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  border: 1px solid rgba(15,139,141,.22);
  box-shadow: none;
  color: #fff;
}
body.al-theme .al-footer__cta-btn:hover {
  background: linear-gradient(135deg, var(--al-teal-dark), var(--al-ocean-dark));
  box-shadow: none;
  color: #fff;
}
body.al-theme .al-footer__bottom {
  border-top: 1px solid rgba(15,139,141,.15);
  background: transparent;
}
body.al-theme .al-footer__bottom-inner { color: #2a3d38; }
body.al-theme .al-footer__bottom-links a {
  color: #2f4a44;
  font-weight: 500;
}
body.al-theme .al-footer__bottom-links a:hover {
  color: var(--al-teal-dark);
}
body.al-theme .al-footer__bottom-sep { color: rgba(15,139,141,.4); }

/* Column dividers between footer columns (desktop) */
@media (min-width: 1025px) {
  body.al-theme .al-footer__grid > .al-footer__col {
    padding-left: 40px;
    border-left: 1px solid rgba(15,139,141,.16);
  }
}

/* ─── Shared eyebrows & accents ─── */
body.al-theme .ab-eyebrow,
body.al-theme .ct-eyebrow,
body.al-theme .ld-eyebrow {
  color: var(--al-teal);
  background: var(--al-mint);
  border-color: rgba(15,139,141,.18);
}
body.al-theme .ab-h2 .ab-accent,
body.al-theme .ct-h2 .ct-accent { color: var(--al-teal); }

/* ─── About hero — hero_section.png (match home) ─── */
body.al-theme .ab-hero {
  padding: 96px 0 120px;
  color: var(--al-ink);
  background-color: #eefaf8;
  background-image: url('../images/hero_section.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
body.al-theme .ab-hero::before {
  display: none;
}
body.al-theme .ab-hero::after {
  display: none;
}
body.al-theme .ab-hero h1,
body.al-theme .ab-hero .ab-h2 { color: var(--al-ink) !important; }
body.al-theme .ab-hero .ab-eyebrow {
  color: var(--al-teal-dark);
  background: rgba(15,139,141,.10);
  border-color: rgba(15,139,141,.22);
}
body.al-theme .ab-hero__lead { color: #4a5c57 !important; }
body.al-theme .ab-hero .ab-chip {
  background: rgba(255,255,255,.55);
  border-color: rgba(15,139,141,.18);
  color: var(--al-ink);
}
body.al-theme .ab-hero .ab-chip__txt small { color: #6b807a; }
body.al-theme .ab-hero .ab-chip__txt strong { color: var(--al-ink); }
body.al-theme .ab-hero .ab-chip__ico {
  background: rgba(15,139,141,.12);
  color: var(--al-teal);
}
body.al-theme .ab-hero__arcs { border-color: rgba(15,139,141,.18); }
body.al-theme .ab-hero__arcs::before { border-color: rgba(31,111,168,.16); }
body.al-theme .ab-hero__arcs::after  { border-color: rgba(15,139,141,.12); }
body.al-theme .ab-hero__glow {
  background: radial-gradient(circle, rgba(15,139,141,.14), transparent 68%);
}
body.al-theme .ab-navpill {
  color: var(--al-teal-dark);
  background: rgba(255,255,255,.55);
  border-color: rgba(15,139,141,.22);
}
body.al-theme .ab-navpill:hover {
  background: rgba(15,139,141,.12);
  border-color: rgba(15,139,141,.32);
  color: var(--al-teal-dark);
}
body.al-theme .ab-glance__num { color: var(--al-teal-dark); }
body.al-theme .ab-glance__label { color: var(--al-teal); }
body.al-theme .ab-glance__card {
  border-color: rgba(15,139,141,.12);
  box-shadow: 0 20px 52px -34px rgba(15,91,82,.22);
}
body.al-theme .ab-why__rule {
  background: linear-gradient(90deg, var(--al-teal), var(--al-ocean));
}
body.al-theme .ab-why__body p:first-of-type::first-letter { color: var(--al-teal); }
body.al-theme .ab-obj-card::before { background: var(--al-teal); }
body.al-theme .ab-infra-card::before,
body.al-theme .ab-comp-card:hover { border-color: rgba(15,139,141,.15); }

/* ─── Contact / Grievance hero — hero_section.png (match home) ─── */
body.al-theme .ct-hero {
  padding: 96px 0 120px;
  color: var(--al-ink);
  background-color: #eefaf8;
  background-image: url('../images/hero_section.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
body.al-theme .ct-hero::after {
  display: none;
}
body.al-theme .ct-hero h1 { color: var(--al-ink) !important; }
body.al-theme .ct-hero h1 em { color: var(--al-teal); font-style: italic; }
body.al-theme .ct-hero__lead { color: #4a5c57 !important; }
body.al-theme .ct-eyebrow--light {
  color: var(--al-teal-dark);
  background: rgba(15,139,141,.10);
  border-color: rgba(15,139,141,.22);
}
body.al-theme .ct-hero__arcs { border-color: rgba(15,139,141,.18); }
body.al-theme .ct-hero__arcs::before { border-color: rgba(31,111,168,.16); }
body.al-theme .ct-hero__arcs::after  { border-color: rgba(15,139,141,.12); }
body.al-theme .ct-hero__glow {
  background: radial-gradient(circle, rgba(15,139,141,.14), transparent 68%);
}
body.al-theme .ct-chip {
  background: rgba(255,255,255,.72);
  border-color: rgba(15,139,141,.16);
}
body.al-theme .ct-chip:hover {
  border-color: rgba(15,139,141,.32);
  background: #fff;
}
body.al-theme .ct-chip__ico {
  background: var(--al-mint);
  border-color: rgba(15,139,141,.22);
  color: var(--al-teal);
}
body.al-theme .ct-chip__txt small { color: #6b807a; }
body.al-theme .ct-chip__txt strong { color: var(--al-ink); }
body.al-theme .ct-glass {
  background: rgba(255,255,255,.88);
  border-color: rgba(15,139,141,.14);
  box-shadow: 0 20px 50px -24px rgba(15,91,82,.18);
  backdrop-filter: blur(12px);
}
body.al-theme .ct-glass__label { color: var(--al-teal); }
body.al-theme .ct-glass__row { border-top-color: rgba(15,139,141,.10); }
body.al-theme .ct-glass__ico {
  background: var(--al-mint);
  border-color: rgba(15,139,141,.20);
  color: var(--al-teal);
}
body.al-theme .ct-glass__row strong { color: var(--al-ink); }
body.al-theme .ct-glass__row small { color: var(--al-slate); }
body.al-theme .ct-glass__cta {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  color: #fff;
  box-shadow: 0 8px 22px rgba(15,139,141,.32);
}
body.al-theme .ct-glass__cta:hover {
  background: linear-gradient(135deg, var(--al-teal-dark), var(--al-ocean-dark));
  box-shadow: 0 10px 28px rgba(15,139,141,.42);
  color: #fff;
}

/* ─── Contact / Grievance forms & cards ─── */
body.al-theme .ct-dir-card::before {
  background: linear-gradient(90deg, var(--al-teal), var(--al-ocean));
}
body.al-theme .ct-dir-card__ico {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  box-shadow: 0 12px 24px -12px rgba(15,139,141,.45);
}
body.al-theme .ct-dir-card__badge {
  color: var(--al-teal);
  background: var(--al-mint);
}
body.al-theme .ct-dir-card__links a svg,
body.al-theme .ct-dir-card__links a:hover,
body.al-theme .ct-dir-card__links .ct-link-arrow { color: var(--al-teal); }
body.al-theme .ct-btn {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  box-shadow: 0 14px 30px -12px rgba(15,139,141,.45);
}
body.al-theme .ct-btn:hover {
  box-shadow: 0 18px 36px -12px rgba(15,139,141,.55);
}
body.al-theme .ct-field input:focus,
body.al-theme .ct-field select:focus,
body.al-theme .ct-field textarea:focus {
  border-color: var(--al-teal);
  box-shadow: 0 0 0 4px rgba(15,139,141,.12);
}
body.al-theme .ct-note {
  background: var(--al-mint);
  border-color: rgba(15,139,141,.18);
  border-left-color: var(--al-teal);
}
body.al-theme .ct-note__ico { background: var(--al-teal); }
body.al-theme .ct-note strong { color: var(--al-teal-dark); }
body.al-theme .ct-map__cap strong { color: var(--al-teal-dark); }

/* ─── Contact + Grievance split forms (info panel + form) ─── */
body.al-theme .ct-split {
  border-color: rgba(15,139,141,.16);
  box-shadow: 0 24px 56px -32px rgba(15,91,82,.22);
}
body.al-theme .ct-split__info {
  color: var(--al-ink);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(15,139,141,.14) 0%, transparent 48%),
    radial-gradient(ellipse at 92% 100%, rgba(31,111,168,.16) 0%, transparent 46%),
    linear-gradient(90deg, #b8d9ce 0%, #c8e6df 42%, #b3cfe2 100%);
  background-color: #c8e6df;
}
body.al-theme .ct-split__arc {
  border-color: rgba(15,139,141,.20);
  box-shadow: inset 0 0 0 22px rgba(31,111,168,.06);
}
body.al-theme .ct-split__info h3 {
  color: var(--al-ink);
}
body.al-theme .ct-split__info > p {
  color: #3d524c;
}
body.al-theme .ct-info-ico {
  background: rgba(255,255,255,.45);
  border-color: rgba(15,139,141,.22);
  color: var(--al-teal-dark);
}
body.al-theme .ct-info-list strong {
  color: var(--al-ink);
}
body.al-theme .ct-info-list span,
body.al-theme .ct-info-list a {
  color: #4a5c57;
}
body.al-theme .ct-info-list a:hover {
  color: var(--al-teal-dark);
}
body.al-theme .ct-info-hours {
  border-top-color: rgba(15,139,141,.18);
}
body.al-theme .ct-info-hours .ct-hour-row span:first-child {
  color: #6b807a;
}
body.al-theme .ct-info-hours .ct-hour-row span:last-child {
  color: var(--al-ink);
}
body.al-theme .ct-split__form {
  background: #fff;
}
body.al-theme .ct-ctitle {
  color: var(--al-teal);
}
body.al-theme .ct-split__form h3 {
  color: var(--al-ink);
}
body.al-theme .ct-field label {
  color: var(--al-ink);
}
body.al-theme .ct-field input,
body.al-theme .ct-field select,
body.al-theme .ct-field textarea {
  background: #f8fcfb;
  border-color: rgba(15,139,141,.16);
}

/* ─── Leader profile page ─── */
body.al-theme .ld-breadcrumb a { color: var(--al-teal); }
body.al-theme .ld-hero__role { color: var(--al-teal); }
body.al-theme .ld-back {
  color: var(--al-teal-dark);
  border-color: rgba(15,139,141,.22);
  background: var(--al-mint);
}
body.al-theme .ld-back:hover {
  background: linear-gradient(135deg, var(--al-teal), var(--al-ocean));
  color: #fff;
  border-color: transparent;
}

/* ─── Procurement / Career breadcrumbs & hero ─── */
body.al-theme .crumb-bar {
  background: linear-gradient(90deg, #eefaf8, #f8fffc, #eef8fd);
  border-bottom: 1px solid rgba(15,139,141,.12);
}
body.al-theme .crumb-row a { color: var(--al-teal); }
body.al-theme .crumb-row a:hover { color: var(--al-teal-dark); }
body.al-theme .crumb-current { color: var(--al-ink) !important; }
body.al-theme .crumb-icon { color: var(--al-teal); }
body.al-theme .page-hero {
  background:
    radial-gradient(circle at top left, #dff7ef 0%, transparent 45%),
    radial-gradient(circle at top right, #d9f4ff 0%, transparent 40%),
    linear-gradient(135deg, #f8fffc 0%, #eefaf8 50%, #edf8ff 100%);
}
body.al-theme .page-hero h1 { color: var(--al-ink) !important; }
body.al-theme .page-hero p,
body.al-theme .page-hero .lede { color: #4a5c57 !important; }
body.al-theme .page-hero .eyebrow { color: var(--al-teal); }
body.al-theme .stamp-badge {
  color: var(--al-teal-dark);
  background: rgba(15,139,141,.10);
  border-color: rgba(15,139,141,.22);
}
body.al-theme .stamp-badge .dot { background: var(--al-teal); }

/* ─── Unified page canvas — one background (hero excluded) ─── */
body.al-theme .ab-section,
body.al-theme .ab-section--alt,
body.al-theme .ct-section,
body.al-theme .ct-section--alt,
body.al-theme .ct-section--note {
  background: var(--al-bg);
  border-top: none;
  border-bottom: none;
}
