/* Resset */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
.clear { clear:both; }

/* General config */
@font-face {
  font-family: 'Castolo';
  src: url('https://www.castolofc.com/assets/fonts/castolo-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root {
  --main-color:#483c32;
  --secondary-color: #826E5E;
  --third-color: #E1CA96;
  --fourth-color: #e1ca9617;
  --gray: #D0CCD0;
  --green: #61FF7E;
  --red: #ff6161;
  --green-standings: #61ff7e66;
  --red-standings: #ff61616e;
  --white: #FBFCFF;
}


h1 {
  font-family: "Castolo", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-style: normal;
}

strong {
    text-shadow: 1px 0 0 currentColor;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  display: block;
}


.intextAd {
  width: 90%;
  margin: 0 auto;
  max-width: 500px;
}

/* Header */


.castolo-today-topics {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 2px 0px;
}

.castolo-today-topics a {
  color: black;
  text-decoration: none;
  margin-left: 10px;
  font-size: 12px;
  padding: 4px 0px;
}

.castolo-brand-bar img {
  margin: 20px;
}

.castolo-brand-bar {
  width: 100%;
  background-color: var(--main-color);
  height: 100px;
  text-align: center;
}

.castolo-today-topics span {
  color: var(--main-color);
  text-shadow: 1px 0 0 currentColor;
  font-size: 13px;
}

.castolo-today-topics a:hover {
  text-shadow: 1px 0 0 var(--main-color);
}


.castolo-main-nav a:hover {
  color: var(--main-color);
}
.castolo-main-nav a {
    margin-left: 10px;
    padding: 5px 3px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    text-shadow: 1px 0 0 currentColor;
}
.castolo-main-nav .container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
}
.castolo-main-nav {
  width: 100%;
  margin: 0 auto;
  display: block;
  background-color: #eaede2;
}

.castolo-main-nav nav {
  display: flex;
}





@media (max-width: 700px) {
 
  body {
    overflow-x: hidden;
    max-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


  .castolo-brand-bar img {
    max-width: 200px;
    margin: 20px auto;
}


.article-metadata, .editorial-article h1, .editorial-article h1, .editorial-article p {
  width: 94%;
  margin: 0 auto;
  display: block;
}



.castolo-brand-bar {
  width: 100%;
  background-color: var(--main-color);
  text-align: center;
  height: auto;
}

.castolo-main-nav .container {
  overflow-x: auto; /* Permite el desplazamiento horizontal */
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

.castolo-main-nav nav {
  display: inline-flex;
  width: auto; /* Permite que el contenido se ajuste al tamaño necesario */
}

.castolo-main-nav nav a {
  display: inline-block;
}



}


.editorial .container article.editorial-article .post-entry {
  font-size: 18px;
  letter-spacing: -1px;
  text-shadow: 1px 0 0 white;
  color: #606060;
  margin-bottom: 30px;
  font-size: 18px;
  text-align: left;
  color: black;
  border-top: none;
  margin: 10px 0px 30px;
}


article.editorial-article h2 {
  font-size: 25px;
  color: black;
  margin: 40px 0px 20px;
  text-shadow: 1px 0 0 black;
}

article.editorial-article h3 {
  font-size: 21px;
  color: black;
  margin: 20px 0px;
  text-shadow: 1px 0 0 black;
}

article.editorial-article h4, article.editorial-article h5 {
  font-size: 21px;
  color: var(--main-color);
  margin: 20px 0px;
  text-shadow: 1px 0 0 var(--main-color);
  border-top: 3px solid var(--main-color);
  padding-top: 10px;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

article.container.editorial-article ul li {
  font-size: 18px;
  line-height: 22px;
  list-style: disc;
  width: 94%;
  margin: 20px auto;
}

article.editorial-article a:hover {
  text-shadow: 1px 0 0 var(--main-color);
}

article.editorial-article a {
  color: var(--main-color);
  font-weight: bold;
}

article.container.editorial-article img {
  max-width: 100%;
}



/* Grids */
article.eb-article:hover h1,span.eb-title{text-shadow:1px 0 0 currentColor}editorials-container{max-width:1300px}.editorials-container{margin:0 auto;max-width:1300px;width:100%;display:grid}section.editorials-balcony{max-width:1300px;width:100%;display:flow;border-top:1px solid #c8c8c8;margin-top:30px}.eb-side{max-width:268px;float:left;width:20%;flex:1;height:100%;display:flex;flex-direction:column;align-items:baseline}.eb-container{max-width:1032px;display:flow-root;width:80%}span.eb-title{text-align:left;font-family:Lora;font-size:20px;margin-top:0;width:calc(100% - 20px);border-right:1px solid #c8c8c8;padding-bottom:15px;padding-top:15px;margin-left:10px}article.eb-article img{width:100%}article.eb-article h1{font-size:25px;width:96%;margin:5px auto}.editorial-epigraph{width:96%;margin:10px auto 0;text-shadow:1px 0 0 var(--main-color);color:var(--main-color);font-size:15px}article.eb-article:hover{cursor:pointer}article.eb-article{border-top:1px solid var(--main-color);padding-top:3px;-webkit-border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-moz-border-radius-bottomleft:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;height:450px}article.eb-article.eb-article-no-img{height:227px}article.eb-article p{width:96%;margin:7px auto;font-size:14px;line-height:17px}article.eb-article.eb-article-two{float:left;width:calc(100% - 20px);max-width:668px;margin:10px}article.eb-article.eb-article-two img{float:right;height:320px;width:100%;object-fit:cover;margin-bottom:10px}article.eb-article.eb-article-three{float:left;width:calc(100% - 20px);max-width:324px;margin:10px}article.eb-article.eb-article-four{float:left;width:calc(100% - 20px);max-width:238px;margin:10px}@media (max-width:850px){.eb-container{max-width:1032px;display:flow-root!important;width:70%}article.eb-article{width:94%!important;float:none!important;display:flow-root;max-width:550px!important;margin:10px auto 0!important;height:auto}article.eb-article img{width:30%;float:left;margin-right:15px;margin-top:10px}article.eb-article p{display:none}article.eb-article h1{font-size:20px;width:98%;margin:5px auto 0}article.eb-article.eb-article-no-img{height:auto;margin-bottom:40px!important}}@media (max-width:700px){.eb-container,.eb-side{display:contents;width:100%}section.editorials-balcony{max-width:1300px;width:100%;display:flow;border-top:none;margin-bottom:50px;margin-top:30px}.eb-side{max-width:550px;height:100%}.eb-container{max-width:1032px}span.eb-title{border:none;margin-top:0;display:block;margin-bottom:0;padding:20px 0 10px}article.eb-article.eb-article-two img{margin:0 auto 10px}}

article.eb-article a {
  color: black;
  text-decoration: none;
}

article.eb-article.eb-article-four p {
  display: none;
}
article.eb-article.eb-article-four {
  height: 250px;
}
article.eb-article.eb-article-four h1 {
  font-size: 18px;
}


  /* Media query para dispositivos con ancho menor a 700px */
  @media screen and (max-width: 700px) {
    article.eb-article.eb-article-four {
      height: auto !important;
    }
  }


/* Editorial */


@media (max-width: 700px) {

article.container.editorial-article h1 {
  width: 96%;
  margin: 30px auto;
}

article.container.editorial-article h2 {
  width: 96%;
  margin: 10px auto 30px;
}

article.container.editorial-article p {
  width: 96%;
  margin: 20px auto;
}

aside.container-aside {
  margin: 30px auto;
  float: none;
}


}
/* Widgets */


/* Footer */

footer .container {
  padding: 0 16px;
  box-sizing: border-box;
}

.footer-links {
  float: right;
  margin-top: 35px;
}
footer .footer-logo {
  width: 220px;
  margin-top: 20px;
  margin-bottom: 35px;
}
footer a:hover {
  text-shadow: 1px 0 0 currentColor;
}
footer a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

footer {
  display: flow-root;
  width: 100%;
  background: linear-gradient(to bottom, #1a1108 0%, #130d05 100%);
}

/* ============================================================
   Header v2 — cfc-header
   ============================================================ */

.cfc-header svg { overflow: visible; }

.cfc-header {
  --hdr-bg: #1a1108;
  --hdr-bg-dark: #130d05;
  --hdr-gold: #E8C97A;
  --hdr-text: #ffffff;
  --hdr-muted: rgba(255, 255, 255, 0.80);
  --hdr-sep: rgba(255, 255, 255, 0.06);
  --hdr-zone-active-bg: rgba(232, 201, 122, 0.12);
  width: 100%;
}

/* --- Barra superior (60px) --- */
.cfc-topbar {
  background-color: var(--hdr-bg);
  display: flex;
  flex-direction: column;
}

.cfc-topbar__inner {
  height: 60px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.cfc-topbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cfc-topbar__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.cfc-topbar__search {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
}

/* bwai-search-wrap wraps the form — make the form fill the wrapper */
.bwai-search-wrap.cfc-topbar__search .cfc-search-form,
.bwai-search-wrap .cfc-search-form {
  width: 100%;
}

.cfc-search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  padding: 0 12px;
  height: 36px;
  gap: 8px;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}

.cfc-search-form:focus-within {
  border-color: rgba(232, 201, 122, 0.4);
  background: rgba(255, 255, 255, 0.11);
}

.cfc-search-icon {
  width: 16px;
  height: 16px;
  color: var(--hdr-muted);
  flex-shrink: 0;
}

.cfc-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--hdr-text);
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 0;
  min-width: 0;
}

.cfc-search-input::placeholder {
  color: var(--hdr-muted);
}

.cfc-topbar__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Login button */
.cfc-login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(232, 201, 122, 0.3);
  border-radius: 6px;
  color: var(--hdr-gold);
  cursor: pointer;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.cfc-login-btn:hover {
  background: rgba(232, 201, 122, 0.1);
  border-color: rgba(232, 201, 122, 0.6);
}

.cfc-login-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile-only buttons: hidden on desktop */
.cfc-mobile-search-trigger,
.cfc-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--hdr-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.cfc-mobile-search-trigger:hover,
.cfc-hamburger:hover {
  color: var(--hdr-text);
}

.cfc-mobile-search-trigger svg {
  width: 20px;
  height: 20px;
}

.cfc-hamburger {
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
}

.cfc-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.cfc-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.cfc-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.cfc-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile searchbar (hidden by default) */
.cfc-mobile-searchbar {
  display: none;
  padding: 0 16px 10px;
  background: var(--hdr-bg);
}

.cfc-mobile-searchbar.cfc-mobile-searchbar--open {
  display: block;
}

/* --- Menú principal (42px) --- */
.cfc-mainnav {
  background-color: var(--hdr-bg);
  border-top: 1px solid var(--hdr-sep);
  height: 42px;
  display: flex;
  overflow: hidden;
}

.cfc-mainnav__inner {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4px;
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.cfc-mainnav__inner::-webkit-scrollbar {
  display: none;
}

.cfc-mainnav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.cfc-mainnav__item:hover {
  color: rgba(255, 255, 255, 0.75);
}

.cfc-mainnav__item--active {
  color: var(--hdr-gold);
  border-bottom-color: var(--hdr-gold);
}

.cfc-mainnav__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* --- Menú de zona (36px) --- */
.cfc-zonenav {
  background-color: var(--hdr-bg-dark);
  height: 36px;
  display: flex;
  position: relative;
}

.cfc-zonenav__inner {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  /* clip (not auto/hidden) — clips x overflow without creating a scroll
     container, so position:absolute dropdowns can escape on the y-axis */
  overflow-x: clip;
  overflow-y: visible;
}

.cfc-zonenav__item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.cfc-zonenav__item:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

.cfc-zonenav__item--active {
  background: var(--hdr-zone-active-bg);
  color: var(--hdr-gold);
}

.cfc-zonenav__sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
  flex-shrink: 0;
}

/* ── Zonenav dropdowns ──────────────────────────────────────────────────────
   Each .cfc-zonenav__dropdown-wrap stretches to fill the full bar height so
   there is zero gap between the trigger and the dropdown panel — no flicker.
   Open/close is driven by JS (.is-open class) for reliable pointer tracking.
   ─────────────────────────────────────────────────────────────────────────── */
.cfc-zonenav__dropdown-wrap {
  position: relative;
  /* Fill the full 36px bar so top:100% on the panel aligns with bar bottom */
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.cfc-zonenav__dropdown-wrap > .cfc-zonenav__item {
  cursor: pointer;
}

/* Panel — hidden by default */
.cfc-zonenav__dropdown {
  position: absolute;
  top: 100%;            /* flush with bottom of the 36px bar */
  left: 0;
  z-index: 600;
  background: var(--hdr-bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 2px solid var(--hdr-gold);
  border-radius: 0 0 8px 8px;
  padding: 6px 0 8px;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  /* start slightly above, fade in when .is-open */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

/* Open state — toggled by JS */
.cfc-zonenav__dropdown-wrap.is-open .cfc-zonenav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0s;
}

/* Single-column list, full-width rows */
.cfc-zonenav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.1s, background 0.1s;
}

.cfc-zonenav__dropdown-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.cfc-zonenav__dropdown-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
  background: #fff;
  padding: 1px;
}

/* --- World Cup logo in zonenav --- */
.cfc-zonenav__wc-logo {
  height: 16px;
  width: 16px;
  object-fit: contain;
  background: white;
  border-radius: 2px;
  padding: 1px;
  vertical-align: middle;
  margin-right: 5px;
}

/* --- Menú mobile (hamburger overlay) --- */
.cfc-mobile-menu {
  display: none;
  background: var(--hdr-bg);
  border-top: 1px solid var(--hdr-sep);
}

.cfc-mobile-menu--open {
  display: block;
}

.cfc-mobile-menu__nav {
  padding: 4px 0 8px;
}

.cfc-mobile-menu__item {
  display: block;
  padding: 12px 20px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hdr-sep);
  transition: color 0.15s, background 0.15s;
}

.cfc-mobile-menu__item:last-child {
  border-bottom: none;
}

.cfc-mobile-menu__item:hover {
  color: var(--hdr-gold);
  background: rgba(232, 201, 122, 0.05);
}

.cfc-mobile-menu__sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 4px 0;
}

/* --- Mobile menu redesign --- */
.cfc-mobile-menu__section {
  padding: 8px 12px;
  border-bottom: 1px solid var(--hdr-sep);
}

.cfc-mobile-menu__section:last-child {
  border-bottom: none;
}

.cfc-mobile-menu__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cfc-mobile-menu__tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.cfc-mobile-menu__tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.cfc-mobile-menu__tab--active {
  color: var(--hdr-gold);
  background: var(--hdr-zone-active-bg);
  border-color: rgba(232, 201, 122, 0.25);
}

.cfc-mobile-menu__tab svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.cfc-mobile-menu__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.15s, background 0.15s;
}

.cfc-mobile-menu__pill:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.cfc-mobile-menu__specials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cfc-mobile-menu__special {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  color: var(--hdr-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(232, 201, 122, 0.06);
  border-radius: 20px;
  border: 1px solid rgba(232, 201, 122, 0.15);
  transition: color 0.15s, background 0.15s;
}

.cfc-mobile-menu__special:hover,
.cfc-mobile-menu__special--active {
  color: var(--hdr-gold);
  background: rgba(232, 201, 122, 0.12);
  border-color: rgba(232, 201, 122, 0.3);
}

.cfc-mobile-menu__special img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  background: white;
  border-radius: 2px;
  padding: 1px;
}

/* --- Modal login --- */
.cfc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.cfc-modal--open {
  display: flex;
}

.cfc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.cfc-modal__box {
  position: relative;
  background: #2a1f0e;
  border: 1px solid rgba(232, 201, 122, 0.2);
  border-radius: 10px;
  padding: 32px 40px;
  min-width: 280px;
  text-align: center;
  color: var(--hdr-text);
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.cfc-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--hdr-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.cfc-modal__close:hover {
  color: var(--hdr-gold);
}

/* --- Responsive ≤ 768px --- */
@media (max-width: 768px) {
  .cfc-topbar__search {
    display: none;
  }

  .cfc-topbar__actions {
    margin-left: auto;
  }

  .cfc-login-btn__text {
    display: none;
  }

  .cfc-login-btn {
    border: none;
    padding: 6px;
  }

  .cfc-mobile-search-trigger,
  .cfc-hamburger {
    display: flex;
  }

  .cfc-mainnav,
  .cfc-zonenav {
    display: none;
  }
}