/* =====================================================================
AK811 Site Development — custom.css
-----------------------------------

Version: v2.4.2 — LINK BEHAVIOR REFINEMENT
Date: 2026-07-20

Canon Rules:
• Layout is source of truth
• Style actual DOM, not assumptions
• Do not fight the carousel system
• Target correct layer (background vs content)
• Refine existing component sections instead of layering patch blocks

Authoritative Canon Owner: Meg Askey
===================================================================== */


/* =========================================================
COLOR CANON
========================================================= */

:root {
  /* Brand Colors */
  --ak-green-primary: #8DC63F;
  --ak-green-primary-hover: #78B22F;
  --ak-green-accent: #BDCC2A;

  /* Text Link Colors */
  --ak-link: #6AAE2E;
  --ak-link-hover: #5B9828;

  /* Neutral Palette */
  --ak-charcoal: #222222;
  --ak-text: #2B2B2B;
  --ak-body-bg: #F9F9F9;
  --ak-white: #FFFFFF;
}

/* =========================================================
BASE
========================================================= */

body {
  background-color: var(--ak-body-bg);
  color: var(--ak-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Links change color on interaction but are never underlined. */
a,
a:hover,
a:focus,
a:focus-visible,
a:active,
a:visited {
  text-decoration: none;
}

a {
  color: var(--ak-link);
}

a:hover,
a:focus,
a:focus-visible {
  color: var(--ak-link-hover);
}

/* =========================================================
SECTION 1 — TOP ROW (LOGOS)
========================================================= */

#sp-top-row {
  background-color: var(--ak-charcoal);
  padding: 0.5rem 0;
}

#sp-top-row .container-inner {
  max-width: 100% !important;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

#sp-top-row .row {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}

#sp-top1,
#sp-top2 {
  flex: 1;
  display: flex;
  align-items: center;
}

#sp-top1 {
  justify-content: flex-start;
}

#sp-top2 {
  justify-content: flex-end;
}

#sp-top1 img {
  max-height: 62px;
  width: auto;
  display: block;
}

#sp-top2 img {
  max-height: 68px;
  width: auto;
  display: block;
}

.topbar-social {
  display: none !important;
}


/* =========================================================
SECTION 2 — HEADER ROW (MENU)
========================================================= */

#sp-header-row {
  background-color: var(--ak-charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#sp-title .sp-module {
  width: 100%;
}

/* =========================================================
JOOMLA MENU MODULE
========================================================= */

#sp-title ul.nav,
#sp-title ul.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

  list-style: none;
  margin: 0;
  padding: 0;
}

#sp-title ul li {
  position: relative;
}

#sp-title ul li a {
  color: var(--ak-white) !important;
  font-size: 1.05rem;
  font-weight: 400;
  padding: 0.5rem 0.4rem;
  display: block;
  white-space: nowrap;
  text-decoration: none;
}

#sp-title ul li a:hover,
#sp-title ul li a:focus,
#sp-title ul li a:focus-visible {
  color: var(--ak-green-primary) !important;
  text-decoration: none;
}

#sp-title ul li.item-221 > a {
  font-size: 0;
}

#sp-title ul li.item-221 > a::before {
  content: "🔍︎";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ak-white);
}

#sp-title ul li.item-221 > a:hover::before,
#sp-title ul li.item-221 > a:focus::before,
#sp-title ul li.item-221 > a:focus-visible::before {
  color: var(--ak-green-primary);
}


/* =========================================================
DROPDOWNS
========================================================= */

#sp-title ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ak-charcoal);
  display: none;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
}

#sp-title ul li:hover > ul {
  display: block;
}

#sp-title ul li ul li a {
  padding: 0.4rem 1rem;
}

#sp-title ul li ul li .separator,
#sp-title ul li ul li span {
  display: block;
  padding: 0.75rem 1rem 0.25rem;
  color: #95c93d !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}


/* =========================================================
CLEAN CARET SYSTEM
========================================================= */

@media (min-width: 992px) {

  #sp-title ul li:has(ul) > a {
    position: relative;
    padding-right: 16px;
  }

  #sp-title ul li:has(ul) > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--ak-white);
  }

  #sp-title ul li:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
}


/* =========================================================
MOBILE MENU
========================================================= */

.offcanvas-inner .menu-toggler,
.offcanvas-inner .menu-parent > a::before {
  display: none !important;
}

.burger-icon span {
  background-color: var(--ak-white) !important;
}

/* =========================================================
HERO
========================================================= */

.hero-slide {
  height: 475px;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption h1 {
  font-size: 4.5rem;
  color: var(--ak-white);
}

/* =========================================================
HERO — MODERN IMAGE TREATMENT (REFINED)
========================================================= */

.slide-overlay {
  position: absolute;
  inset: 0;

  /* lighter, more natural gradient */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.30) 100%
  );

  /* subtle enhancement, not heavy filtering */
  backdrop-filter: saturate(110%) contrast(105%);
}

/* slight image lift to counter overlay */
.hero-slide img {
  filter: brightness(1.05) contrast(1.05);
}

/* =========================================================
HERO — LOGO FIX (CORRECT LAYER)
========================================================= */

/* ONLY affect foreground content, not background */
.hero-slide:last-child .carousel-caption img {
  max-height: 140px;
  width: auto;
  height: auto;
  display: inline-block;
}

/* =========================================================
INTRO STATEMENT — POLISHED
========================================================= */

#intro-statement {
  background-color: var(--ak-body-bg);
  padding: 3rem 0 2.25rem;
  text-align: center;
}

/* Control width for readability */
#intro-statement .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Headline */
#intro-statement h2 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ak-text);
  margin-bottom: 1.25rem;
}

/* Controlled horizontal rule */
.intro-rule {
  width: 160px;
  height: 2px;
  border: none;
  background-color: var(--ak-green-accent);
  margin: 0 auto;
}

/* =========================================================
ROLE CARDS — NATURAL / INTEGRATED
========================================================= */

#role-cards {
  position: relative;
  padding: 4.75rem 0;
  background: url("https://cdn.pelicancorp.com/images/AK811/26-ak811-cardbg-grass.jpg") center bottom / cover no-repeat;
}

/* warm overlay — slightly lighter now */
#role-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 240, 232, 0.78);
}

#role-cards .container {
  position: relative;
  z-index: 2;
}

/* spacing — still Bootstrap safe */
#role-cards .row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

#role-cards .row > div {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 2rem;
}

/* ✨ THE REAL CHANGE — softer “cards” */
.role-card {
  padding: 1.6rem 0.5rem 1.7rem;
  height: 100%;

  /* remove box feeling */
  background: transparent;
  border: none;
  box-shadow: none;
}

/* subtle structure instead of box */
.role-card::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--ak-green-accent);
  margin-bottom: 1rem;
}

/* titles */
.role-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ak-text);
  margin-bottom: 0.65rem;
}

/* body */
.role-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

/* button — keep understated */
.btn-role {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background-color: var(--ak-green-primary);
  color: var(--ak-white);
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-role:hover {
  background-color: var(--ak-green-primary-hover);
}

/* =========================================================
UTILITY COLOR LEGEND — CLEAN BAND (ENHANCED)
========================================================= */

#utility-colors {
  padding: 4.25rem 0 5rem;
  background-color: #f8f9fa;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* content */
.utility-legend-block {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* title */
.legend-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 2rem;
}

/* layout */
.legend-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;

  list-style: none;
  padding: 0;
  margin: 0;
}

/* item */
.legend-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--ak-charcoal);
}

/* dot */
.legend-list .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* colors — utility locate colors, intentionally not brand-normalized */
.dot.electric   { background: #e2231a; }
.dot.telecom    { background: #ff7a00; }
.dot.gas        { background: #ffd400; }
.dot.sewer      { background: #009a44; }
.dot.water      { background: #0077c8; }
.dot.excavation { background: #d9d6cf; }

/* =========================================================
ABOUT PAGE
========================================================= */

.ak-about h1 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ak-text);
}

.ak-about p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.1rem;
  max-width: 640px; /* readability control */
}

.ak-about h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ak-green-primary);
}

.ak-link {
  color: var(--ak-link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.ak-link:hover {
  color: var(--ak-link-hover);
}
.ak-about-image img {
  max-width: 100%;
  height: auto;
}

.ak-side-nav a.active {
  color: var(--ak-green-primary);
  font-weight: 600;
}

/* =========================================================
EVENTS
========================================================= */

#ak-events-intro {
  background-color: var(--ak-body-bg);
}

#ak-events-intro h1 {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--ak-text);
  margin-bottom: 1rem;
}

#ak-events-intro .lead {
  max-width: 760px;
  color: #555;
  line-height: 1.7;
}


/* =========================================================
EVENT LIST
========================================================= */

#ak-events-directory {
  background-color: var(--ak-body-bg);
}

.ak-event-card .card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: var(--ak-white);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.ak-event-card .card:hover {
  transform: translateY(-2px);
  border-color: rgba(141,198,63,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.ak-event-card .card-body {
  padding: 1.5rem;
}

.ak-event-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.ak-event-content {
  flex: 1;
  min-width: 0;
}

/* =========================================================
DATE BLOCK
========================================================= */

.ak-event-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 72px;
  min-width: 72px;
  height: 78px;

  border-radius: 8px;

  background: #f8f9fa;
  border: 1px solid #e8e8e8;
}

.ak-event-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ak-green-primary);
}

.ak-event-day {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ak-text);
}

.ak-event-weekday {
  font-size: 0.68rem;
  font-weight: 600;
  color: #777;
  margin-top: 0.2rem;
}


/* =========================================================
EVENT CONTENT
========================================================= */

.ak-event-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ak-text);
  margin-bottom: 0.65rem;
}

.ak-event-meta {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 0.7rem;
}

.ak-event-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 0;
}


/* =========================================================
EVENT DETAIL BLOCK
========================================================= */

.ak-event-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.ak-event-detail p {
  margin-bottom: 0.8rem;
}

.ak-event-detail strong {
  color: var(--ak-text);
  font-weight: 600;
}


/* =========================================================
EVENT LINKS
========================================================= */

.ak-event-link {
  display: inline-block;
  margin-top: 0.75rem;

  color: var(--ak-green-primary);
  font-weight: 600;
  text-decoration: none;
}

.ak-event-link:hover {
  color: var(--ak-green-primary-hover);
  text-decoration: underline;
}


/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 991px) {

  .ak-event-card .card-body {
    padding: 1.25rem;
  }

}

@media (max-width: 767px) {

  #ak-events-intro h1 {
    font-size: 2.1rem;
  }

  .ak-event-card-inner {
    gap: 1rem;
  }

  .ak-event-date {
    width: 64px;
    min-width: 64px;
    height: 72px;
  }

  .ak-event-day {
    font-size: 1.45rem;
  }

}

@media (max-width: 575px) {

  .ak-event-card-inner {
    flex-direction: column;
  }

}

/* =========================================================
MEMBERSHIP PAGE
========================================================= */

#ak-membership {
  background-color: var(--ak-white);
}

.ak-membership-content {
  max-width: none;
}


/* =========================================================
PAGE HEADER
========================================================= */

.ak-page-head h1 {
  font-weight: 700;
  color: var(--ak-text);
}


/* =========================================================
CONTENT BLOCKS
========================================================= */

.ak-content-block {
  margin-bottom: 2rem;
}

.ak-content-block:last-child {
  margin-bottom: 0;
}

.ak-content-block h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ak-text);
  margin-bottom: 1rem;
}

.ak-content-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}


/* =========================================================
SIDECAR
========================================================= */

.sticky-offset {
  position: sticky;
  top: 2rem;
}

.scard {
  background: var(--ak-white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}

.scard-body {
  padding: 1.5rem;
}

.scard-title {
  font-weight: 600;
  color: var(--ak-text);
}

.scard-subtitle {
  color: #666;
  line-height: 1.6;
}

.ak-side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ak-side-nav li {
  margin-bottom: 0.75rem;
}

.ak-side-nav li:last-child {
  margin-bottom: 0;
}

.ak-side-nav a {
  color: var(--ak-green-primary);
  text-decoration: none;
}

.ak-side-nav a:hover {
  color: var(--ak-green-primary-hover);
  text-decoration: underline;
}


/* =========================================================
APPLICATION CTA
========================================================= */

.ak-membership-cta {
  margin-top: 5rem;
  padding: 3rem 2rem;

  background: #f8f9fa;

  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.ak-membership-cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ak-text);
}

/* =========================================================
MEMBER LOGOS
========================================================= */

.ak-membership-members {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid #ececec;
}

.ak-membership-members h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--ak-text);
}

.ak-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ak-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 180px;

  padding: 1.75rem;

  background: var(--ak-white);

  border: 1px solid #e8e8e8;
  border-radius: 8px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.ak-logo-card:hover {
  transform: translateY(-2px);

  border-color: rgba(141,198,63,0.35);

  box-shadow:
    0 10px 24px rgba(0,0,0,0.06);
}

.ak-logo-card img {
  max-width: 280px;
  max-height: 120px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================================
MEMBERSHIP — RESPONSIVE
========================================================= */

@media (max-width: 991px) {

  .sticky-offset {
    position: static;
  }

  .ak-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 767px) {

  .ak-page-head h1 {
    font-size: 2rem;
  }

  .ak-content-block h2 {
    font-size: 1.5rem;
  }

  .ak-membership-cta {
    padding: 2rem 1.5rem;
  }

  .ak-membership-cta h2 {
    font-size: 1.5rem;
  }

  .ak-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

}

@media (max-width: 575px) {

  .ak-logo-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
MEMBERSHIP APPLICATION FORM
========================================================= */

#ak-membership-application {
  background: var(--ak-white);
}

#ak-membership-application .container {
  max-width: 1100px;
}

#ak-membership-application .formContainer {
  width: 100%;
}

#ak-membership-application h2 {
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--ak-text);
}

#ak-membership-application h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ak-text);
}

#ak-membership-application .rsform-block {
  margin-bottom: 1rem;
}

#ak-membership-application .formControlLabel {
  font-weight: 500;
  line-height: 1.4;
}

#ak-membership-application .formControls input,
#ak-membership-application .formControls select,
#ak-membership-application .formControls textarea {
  width: 100%;
}

#ak-membership-application textarea {
  min-height: 150px;
}

#ak-membership-application .formRequired {
  color: #b00020;
}

#ak-membership-application .rsform-submit-button,
#ak-membership-application input[type="submit"] {
  width: auto;
  background-color: var(--ak-green-primary);
  border-color: var(--ak-green-primary);
  color: var(--ak-white);
}

#ak-membership-application .rsform-submit-button:hover,
#ak-membership-application input[type="submit"]:hover {
  background-color: var(--ak-green-primary-hover);
  border-color: var(--ak-green-primary-hover);
}

#ak-members-by-borough .borough-section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

#ak-members-by-borough .borough-section:last-child {
  border-bottom: 0;
}

#ak-members-by-borough h2 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 1rem;
  color: var(--ak-primary);
}

#ak-members-by-borough ul {
  margin-bottom: 0;
  columns: 2;
  column-gap: 2rem;
}

#ak-members-by-borough li {
  margin-bottom: .35rem;
  break-inside: avoid;
}

@media (max-width: 768px) {
  #ak-members-by-borough ul {
    columns: 1;
  }
}

/* =========================================================
   Reference Cards (Ticket Types, Guides, Resources, etc.)
========================================================= */

.rcard {
  height: 100%;

  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  overflow: hidden;

  box-shadow: 0 .15rem .5rem rgba(0,0,0,.04);
}

.rcard::before {
  content: "";

  display: block;
  height: .35rem;

  background: var(--ak-role-color);
}

.rcard-body {
  padding: 1.5rem;
}

.rcard-title {
  margin-bottom: .85rem;
  padding-bottom: .5rem;

  border-bottom: 1px solid var(--ak-green-primary);

  font-weight: 600;
}

.rcard p:last-child,
.rcard ul:last-child {
  margin-bottom: 0;
}

/* Remove decorative divider */

.rcard-title::after {
  display: none;
}

/* Long-form content readability */

.rcard p:last-child {
  margin-bottom: 0;
}

.rcard ul:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Reference Card Notes
========================================================= */

.ak-note {
  padding: 1rem 1.25rem;

  background: #f8f9fa;
  border-left: 4px solid var(--ak-green-primary);

  border-radius: .375rem;
}

.ak-note p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   FAQ Page
========================================================= */

.ak-faq {
  background-color: var(--ak-white);
}

/* =========================================================
   Help Panel
========================================================= */

.ak-faq-help {
  padding: 1.5rem;
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

.ak-faq-help .row {
  align-items: stretch;
}

.ak-faq-help .row > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ak-faq-help strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ak-text);
}

.ak-faq-help p {
  max-width: 260px;
  color: #555;
  margin-bottom: 0;
}

/* =========================================================
   Search
========================================================= */

.ak-faq-search .form-control {
  border-radius: 8px;
  border-color: #dcdcdc;
}

.ak-faq-search .form-control:focus {
  border-color: var(--ak-green-primary);
  box-shadow: 0 0 0 0.2rem rgba(141,198,63,0.18);
}

/* =========================================================
   Filters
========================================================= */

.ak-faq-filters {
  display: grid !important;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 1rem;

  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 1rem;
}

.ak-faq-filters .tt-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.5rem 1rem;

  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 999px;

  color: var(--ak-text);
  font-size: 0.95rem;
  font-weight: 500;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ak-faq-filters .tt-filter-tab:hover {
  border-color: var(--ak-green-primary);
}

.ak-faq-filters .tt-filter-tab.active {
  background: var(--ak-green-primary);
  border-color: var(--ak-green-primary);
  color: #fff;
}

.ak-faq-filters .tt-filter-bar {
  display: none;
}

/* =========================================================
   FAQ Content
========================================================= */

.ak-faq-directory {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e6e6e6;
}

.faq-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ak-text);
  margin-bottom: 0.85rem;
}

.faq-item p,
.faq-item li,
.faq-item dd {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
}

.faq-item ul {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.faq-item address {
  font-style: normal;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}

/* =========================================================
   Images
========================================================= */

.ak-faq-image {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.ak-faq-image img {
  display: block;
  margin: 0 auto;

  max-width: 720px;
  width: 100%;
  height: auto;
}

/* =========================================================
   Definition Lists
========================================================= */

.ak-definition-list {
  margin-top: 1rem;
  margin-bottom: 0;
}

.ak-definition-list dt {
  margin-top: 1rem;

  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: var(--ak-text);
}

.ak-definition-list dt:first-child {
  margin-top: 0;
}

.ak-definition-list dd {
  margin-left: 0;
  margin-bottom: 0.75rem;
}

/* =========================================================
   Empty State
========================================================= */

.ak-faq-empty {
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991px) {

  .ak-faq-filters {
    grid-template-columns: repeat(2, auto);
  }

}

@media (max-width: 767px) {

  .faq-item h3 {
    font-size: 1.05rem;
  }

  .faq-item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .ak-faq-filters {
    grid-template-columns: 1fr;
  }

  .ak-faq-filters .tt-filter-tab {
    width: 100%;
    justify-content: center;
  }

}

/* =========================================================
FOOTER REFINEMENTS
========================================================= */

/* Match footer accent line to site green */
.footer-title::after {
  background: var(--ak-green-primary);
}

/* Ensure footer background remains intact */
#sp-footer,
#sp-footer .ak-footer {
  background: #1f1f1f !important;
}

/* Bottom bar */
.ak-footer-bottom {
  background: #0d0d0d;
  border-top: 1px solid rgba(189, 204, 42, 0.35);
}

/* Emergency text */
.footer-emergency {
  font-weight: 600;
  color: var(--ak-white);
}

.footer-emergency span {
  color: var(--ak-green-primary);
}

/* Copyright row */
.footer-copyright {
  color: #d0d0d0;
}

/* To Top link */
.footer-top-link {
  margin-left: 0.75rem;
  color: var(--ak-green-primary);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.footer-top-link:hover {
  color: #c5d94a;
  text-decoration: underline;
}

.footer-top-link i {
  font-size: 1rem;
  vertical-align: -0.12em;
}

/* Hide unused Helix scroll-up control */
.sp-scroll-up,
.scrollup,
#scrollUp {
  display: none !important;
}

/* Short-page canvas color */
body.site {
  background-color: #1f1f1f;
}

#sp-main-body {
  background-color: var(--ak-body-bg);
}

/* =========================================================
SITEWIDE LINK UNDERLINE RESET
========================================================= */

a,
a:hover,
a:focus,
a:focus-visible,
a:active,
a:visited {
  text-decoration: none !important;
}