/* ============================================================
   CTE Footer (cte-footer-kdx) — external CSS
   File: mu-plugins/site-core/themes/elements/cte-footer.css
   ============================================================ */

.cte-footer-kdx{
  --bg0:#0b1220;
  --bg1:#0a0f1a;
  --fg:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --line:rgba(255,255,255,.10);
  --card-bg: rgba(255,255,255,.035);
  --card-brd: rgba(255,255,255,.085);
  --accent: var(--cte-accent-deep, #E64D00);
  --r: 18px;

  color: var(--fg);
  padding: 28px 0;

    
background:
    radial-gradient(1100px 360px at 18% -40%, color-mix(in srgb, var(--cte-brand-orange) .16%, transparent), transparent 60%),
    radial-gradient(900px 320px at 85% -30%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
}

.cte-footer-kdx *{ box-sizing:border-box; }

@media (min-width:1300px){
  .cte-footer-kdx{
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,.30);
  }
}

.cte-footer-kdx .wrap{
  max-width: var(--cte-site-width);
  margin: 0 auto;
  padding-left: var(--cte-frame-pad);
  padding-right: var(--cte-frame-pad);
}

/* Panels */
.cte-footer-kdx .cte-footer__panel{
  background: var(--card-bg);
  border: 1px solid var(--card-brd);
  border-radius: var(--r);
  padding: 18px 18px 16px;
}

/* Headings */
.cte-footer-kdx h3{
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  position: relative;
  padding-bottom: 10px;
}
.cte-footer-kdx h3::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: var(--cte-orange-500);
}

/* Top row: Explore + Address */
.cte-footer-kdx .cte-footer__top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
}


.cte-footer-kdx .cte-footer__top > .cte-footer__panel{height:100%;}
/* Follow row full width */
.cte-footer-kdx .cte-footer__panel--follow{
  width: 100%;
}

/* Inside Follow: left (subscribe/social) + right (podcasts) */
.cte-footer-kdx .cte-footer__followInner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}


/* Address internal grid (mobile/tablet): left address, right phone/email */
.cte-footer-kdx .cte-footer__addrGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px 18px;
}
@media (max-width: 980px){
  .cte-footer-kdx .cte-footer__addrGrid{
    grid-template-columns: 1.2fr .8fr;
    align-items:start;
  }
}
@media (max-width: 520px){
  .cte-footer-kdx .cte-footer__addrGrid{ grid-template-columns: 1fr; }
}

/* Contact typography */
.cte-footer-kdx .contact{
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.cte-footer-kdx .contact .label{
  color: rgba(255,255,255,.90);
  font-weight: 750;
  margin-top: 14px;
  font-size: 13px;
}

/* Links */
.cte-footer-kdx a{
  color: rgba(255,255,255,.90);
  text-decoration:none;
}
.cte-footer-kdx a:hover{ color:#fff; }

/* Utility links */
.cte-footer-kdx .cte-footer__util{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  color: var(--muted2);
  font-size: 13px;
}
.cte-footer-kdx .cte-footer__util a{ color: rgba(255,255,255,.78); }
.cte-footer-kdx .cte-footer__util a:hover{ color:#fff; }


/* Explore “glassy tabs” — minimal */
.cte-footer-kdx .cte-footer__panel--explore nav a{
  display:block;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.075);
  color: rgba(255,255,255,.84);
}
.cte-footer-kdx .cte-footer__panel--explore nav a:hover{
  background: rgba(255,255,255,.045);
  border-color: color-mix(in srgb, var(--cte-brand-orange) .22%, transparent);
  color: #fff;
}

/* Nav */
.cte-footer-kdx nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
/* Explore nav columns: keep 2-col down to small screens */
.cte-footer-kdx nav ul{
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 10px;
}
@media (max-width: 520px){
  .cte-footer-kdx nav ul{ grid-template-columns: 1fr; }
}
}
.cte-footer-kdx nav a{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 6px 0;
  color: rgba(255,255,255,.82);
}
.cte-footer-kdx nav a:hover::before{ background: color-mix(in srgb, var(--cte-brand-orange) 1%, transparent); }

/* Subscribe button */
.cte-footer-kdx .cte-footer__actions{ margin: 2px 0 12px; }
.cte-footer-kdx .cte-footer__sub{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--cte-brand-orange) .45%, transparent);
  color:#fff;
  background: color-mix(in srgb, var(--cte-brand-orange) .18%, transparent);
  text-decoration:none!important;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cte-footer-kdx .cte-footer__sub:hover{
  background: var(--accent);
  border-color: var(--accent);
}

/* Social icons (THIS is what fixes the giant icons) */
.cte-footer-kdx .cte-footer__social{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0;
}
.cte-footer-kdx .cte-footer__ico{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.92);
}
.cte-footer-kdx .cte-footer__ico:hover{
  background: color-mix(in srgb, var(--cte-brand-orange) .18%, transparent);
  border-color: color-mix(in srgb, var(--cte-brand-orange) .30%, transparent);
}
.cte-footer-kdx .cte-footer__ico svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Podcasts */
.cte-footer-kdx .cte-footer__podsTitle{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.86);
}
.cte-footer-kdx .cte-footer__podRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cte-footer-kdx .cte-footer__podRow:first-of-type{ border-top: 0; }
.cte-footer-kdx .cte-footer__podName{
  color: rgba(255,255,255,.82);
  font-weight: 750;
  font-size: 14px;
}
.cte-footer-kdx .cte-footer__podLinks{
  display:flex;
  gap:10px;
}
.cte-footer-kdx .cte-footer__podLinks a{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.cte-footer-kdx .cte-footer__podLinks a:hover{
  background: color-mix(in srgb, var(--cte-brand-orange) .18%, transparent);
  border-color: color-mix(in srgb, var(--cte-brand-orange) .30%, transparent);
}
.cte-footer-kdx .cte-footer__podLinks svg{
  width:18px;
  height:18px;
  fill: currentColor;
}

/* Logged-in bar (NOT blinding white) */
.cte-footer-kdx .cte-footer__userbar{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted2);
  font-size: 13px;
}
.cte-footer-kdx .cte-footer__userbar a{
  color: rgba(255,255,255,.78);
}
.cte-footer-kdx .cte-footer__userbar a:hover{
  color:#fff;
}
.cte-footer-kdx .cte-footer__sep{
  opacity: .75;
  margin: 0 6px;
}

/* Bottom divider/copyright */
.cte-footer-kdx .cte-footer__divider{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted2);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .cte-footer-kdx .cte-footer__followInner{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 860px){
  .cte-footer-kdx .wrap{
    padding-left: var(--cte-frame-pad-sm);
    padding-right: var(--cte-frame-pad-sm);
  }
  .cte-footer-kdx .cte-footer__top{
    grid-template-columns: 1fr;
  }
  .cte-footer-kdx .cte-footer__panel{
    padding: 16px 14px 14px;
  }
}


@media (min-width: 1301px){
  .cte-footer-kdx{
    margin-bottom: 14px;
  }
}
