/* Xitcoin XTC — Theme layout (header/footer/blog) */

:root{
  --xtc-wide: 1300px;
  --xtc-radius: 18px;
  --xtc-border: rgba(255,255,255,.10);
  --xtc-border-2: rgba(255,255,255,.14);
  --xtc-glass: rgba(255,255,255,.03);
  --xtc-glass-2: rgba(255,255,255,.04);
  --xtc-text: rgba(255,255,255,.88);
  --xtc-muted: rgba(255,255,255,.62);
  --xtc-muted-2: rgba(255,255,255,.52);
  --xtc-orange: #FB8D00;
  --xtc-orange-2: #FFAA33;
  --xtc-orange-3: #FF6B00;
  --xtc-black: #0a0a0c;
}

.xtc-wide{
  width:min(var(--xtc-wide), 100%);
  margin:0 auto;
  padding:0 16px;
}

/* Global background helper (optional) */
.xtc-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(251,141,0,.16), transparent 60%),
    radial-gradient(740px 420px at 78% 24%, rgba(255,107,0,.10), transparent 62%),
    radial-gradient(900px 520px at 60% 92%, rgba(251,141,0,.06), transparent 65%),
    linear-gradient(180deg, #050506 0%, #060607 45%, #050506 100%);
}
.xtc-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  opacity:.85;
  pointer-events:none;
}
.xtc-bg::after{
  content:"";
  position:absolute;
  inset:-2px;
  opacity:.34;
  background:
    repeating-linear-gradient(0deg, rgba(251,141,0,.10) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(251,141,0,.08) 0 1px, transparent 1px 34px);
  mask: radial-gradient(74% 64% at 50% 18%, #000 0 72%, transparent 100%);
  pointer-events:none;
}


/* Header */

/* Header helpers (v8) */
.xtc-brand{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none}
.xtc-brand-logo img{max-height:80px;height:35px;width:auto;display:block}
.xtc-brand-fallback{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:rgba(255,255,255,.9);font-weight:900;border-radius:10px}
.xtc-brand-text{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(90deg, var(--xtc-orange), var(--xtc-orange-2), var(--xtc-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xtc-desktop-nav{margin-left: 8px}
.xtc-nav-list{display:flex;align-items:center;gap:12px;list-style:none;margin:0;padding:0}
.xtc-nav-list a{display:inline-flex;align-items:center;min-height:40px;padding:8px 10px;border-radius:12px;color:rgba(255,255,255,.86);text-decoration:none;border:1px solid transparent}
.xtc-nav-list a:hover{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.10)}
.xtc-header-right{display:flex;align-items:center;gap:10px}
.xtc-header-actions{display:flex;align-items:center;gap:10px}
.xtc-nav-toggle{display:none}
.xtc-nav-toggle span{display:block;width:16px;height:2px;background:rgba(255,255,255,.92);border-radius:2px}
.xtc-nav-toggle{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);display:none;align-items:center;justify-content:center;gap:4px;flex-direction:column;cursor:pointer;color:rgba(255,255,255,.92)}
.xtc-nav-toggle:hover{background:rgba(255,255,255,.06)}
@media (max-width: 860px){
  .xtc-desktop-nav{display:none}
  .xtc-header-actions{display:none}
  .xtc-nav-toggle{display:inline-flex}
}

.xtc-site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  border-bottom: none;
  padding: 12px 0;
}
.xtc-site-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  display:none;
}
.xtc-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(12,12,14,.58);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
}

.xtc-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.xtc-brand__logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  gap:10px;
  min-width:0;
}
.xtc-brand__logo img{height:35px;max-height:80px;width:auto;display:block}
.xtc-brand__meta{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.xtc-brand__name{font-weight:900;letter-spacing:-.02em;font-size:22px}
.xtc-brand__tagline{
  font-size: 12px;
  color: var(--xtc-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.xtc-nav-wrap{
  display:flex;
  align-items:center;
  gap: 12px;
}

.xtc-nav{
  display:flex;
  align-items:center;
}
.xtc-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 6px;
  margin:0;
  padding:0;
}
.xtc-nav li{ margin:0; padding:0; }
.xtc-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: transparent;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
}
.xtc-nav a:hover{
  color: var(--xtc-orange-2);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  transform: translateY(-1px);
}
.xtc-nav .current-menu-item > a,
.xtc-nav .current_page_item > a{
  color: rgba(0,0,0,.92);
  background: linear-gradient(180deg, var(--xtc-orange-2) 0%, var(--xtc-orange) 55%, var(--xtc-orange-3) 100%);
  border-color: rgba(251,141,0,.75);
  box-shadow: 0 20px 58px rgba(251,141,0,.14);
}

.xtc-header-tools{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.xtc-btn.xtc-btn-sm{
  padding: 10px 12px;
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
}

/* Ensure orange buttons have dark text (including header) */
.xtc-btn-primary,
.xtc-btn.xtc-btn-primary{
  color: var(--xtc-black) !important;
}

/* Search */
.xtc-header-search{
  min-width: 220px;
  max-width: 320px;
  width: 22vw;
}
.xtc-search{
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}
.xtc-search svg{
  width: 16px;
  height: 16px;
  opacity: .75;
  flex: 0 0 auto;
}
.xtc-search input[type="search"]{
  width:100%;
  border:0;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,.90);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 13px;
}
.xtc-search input[type="search"]::placeholder{
  color: rgba(255,255,255,.44);
}
.xtc-search button{
  border:0;
  background: transparent;
  color: rgba(255,255,255,.82);
  font-weight: 900;
  letter-spacing: -0.01em;
  padding: 0;
  cursor: pointer;
}
.xtc-search button:hover{ color: rgba(255,255,255,.96); }

.xtc-nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
  -webkit-tap-highlight-color: transparent;
}
.xtc-nav-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(251,141,0,.60);
  background: rgba(251,141,0,.12);
  box-shadow: 0 22px 62px rgba(251,141,0,.10);
}

@media (max-width: 980px){
  .xtc-header-inner{ padding: 10px 0; gap: 12px; }
  .xtc-primary-nav{ display:none; }
  .xtc-header-actions{ display:none; }
  .xtc-nav-toggle{ display:inline-flex; }
  .xtc-brand-text{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1;
  background: linear-gradient(90deg,#FB8D00,#ffaa33,#FB8D00);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
}

/* Main */
.xtc-site-main{
  padding: 26px 0 62px;
}


/* Header actions */
.xtc-header-right{display:flex; align-items:center; gap:14px;}
.xtc-header-actions{display:flex; align-items:center; gap:10px;}
.xtc-nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  color: rgba(255,255,255,.78);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.xtc-nav-link:hover{
  transform: translateY(-1px);
  background: rgba(251,141,0,.12);
  border-color: rgba(251,141,0,.55);
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 56px rgba(251,141,0,.10);
}
.xtc-btn-buy{white-space:nowrap;}
.xtc-brand-logo{max-height:36px;width:auto;display:block;flex:0 0 auto;}
.xtc-brand-text{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1;
  background: linear-gradient(90deg,#FB8D00,#ffaa33,#FB8D00);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@media (max-width: 980px){
  .xtc-brand-logo{max-height:36px;width:auto;display:block;flex:0 0 auto;}
  .xtc-brand-text{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1;
  background: linear-gradient(90deg,#FB8D00,#ffaa33,#FB8D00);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
  .xtc-header-actions{display:none;}
  .xtc-primary-nav{display:none;}
  .xtc-nav-toggle{display:inline-flex;}
}

/* Drawer (mobile canvas menu) */
.xtc-drawer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
body.xtc-nav-open .xtc-drawer{display:block;}
.xtc-drawer-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.xtc-drawer-panel{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:min(88vw, 300px);
  background: rgba(7,7,8,.98);
  border-right: 1px solid rgba(255,255,255,.12);
  box-shadow: 30px 0 90px rgba(0,0,0,.55);
  transform: translateX(-105%);
  transition: transform .22s ease;
  display:flex;
  flex-direction:column;
  padding: 18px 16px 18px;
}
body.xtc-nav-open .xtc-drawer-panel{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:min(86vw, 300px);
  background: rgba(7,7,8,.98);
  border-right: 1px solid rgba(255,255,255,.12);
  box-shadow: 30px 0 90px rgba(0,0,0,.55);
  transform: translateX(0);
  transition: transform .22s ease;
  display:flex;
  flex-direction:column;
  padding: 18px 16px 18px;
}
.xtc-drawer-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(760px 420px at 10% 0%, rgba(251,141,0,.18), transparent 60%),
    radial-gradient(720px 420px at 85% 35%, rgba(251,141,0,.10), transparent 62%);
  opacity:.9;
}
.xtc-drawer-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.xtc-drawer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.xtc-drawer-logo{max-height:44px; width:auto;}
.xtc-drawer-brand-text{
  font-weight:950;
  font-size:18px;
  letter-spacing:-0.02em;
  color: rgba(255,255,255,.92);
}
.xtc-drawer-close{
  width:42px;
  height:42px;
  border-radius: 12px;
  border:1px solid rgba(251,141,0,.55);
  background: rgba(251,141,0,.10);
  color: var(--xtc-orange-2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.xtc-drawer-close:hover{
  background: rgba(251,141,0,.16);
  border-color: rgba(251,141,0,.78);
  box-shadow: 0 18px 52px rgba(251,141,0,.16);
  transform: translateY(-1px);
}
.xtc-drawer-close:active{ transform: translateY(1px) scale(.99); }
.xtc-drawer-close:hover{
  transform: translateY(-1px);
  background: rgba(251,141,0,.14);
  border-color: rgba(251,141,0,.55);
}
.xtc-drawer-content{
  position:relative;
  z-index:1;
  padding: 14px 16px 20px;
  overflow:auto;
}
.xtc-drawer-search{
  width:100%;
  margin: 0 0 12px;
}
.xtc-search .xtc-btn{
  padding: 9px 12px;
  min-height: 38px;
  border-radius: 12px;
}
.xtc-btn-ghost{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
}
.xtc-btn-ghost:hover{
  background: rgba(251,141,0,.14);
  border-color: rgba(251,141,0,.55);
}
.xtc-drawer-buy{width:100%; margin: 0 0 14px;}
.xtc-drawer-nav{display:flex; flex-direction:column; gap:8px;}
.xtc-drawer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  font-weight:900;
  letter-spacing:-0.01em;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.xtc-drawer-link:hover{
  transform: translateY(-1px);
  background: rgba(251,141,0,.14);
  border-color: rgba(251,141,0,.70);
  box-shadow: 0 18px 56px rgba(251,141,0,.10);
}
.xtc-drawer-link-muted{opacity:.78; font-weight:800;}

/* Footer */
.xtc-site-footer{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(6,6,7,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position:relative;
}
.xtc-site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 260px at 18% 0%, rgba(251,141,0,.10), transparent 62%),
    radial-gradient(760px 240px at 82% 0%, rgba(255,107,0,.08), transparent 66%);
  opacity:.85;
}
.xtc-footer-inner{
  position:relative;
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding: 26px 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.xtc-footer-top{
  display:flex;
  flex-wrap:wrap;
  gap: 12px 18px;
  align-items:center;
  justify-content:space-between;
}
.xtc-footer-copy{
  color: rgba(255,255,255,.60);
}
.xtc-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.xtc-footer-links a{
  color: rgba(255,255,255,.72);
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.xtc-footer-links a:hover{
  color: rgba(255,255,255,.92);
  border-color: rgba(251,141,0,.55);
  background: rgba(251,141,0,.10);
}

.xtc-footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.xtc-footer-social a{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
  text-decoration:none;
}
.xtc-footer-social a svg{ width:18px;height:18px; display:block; }
.xtc-footer-social a:hover{
  transform: translateY(-1px);
  background: rgba(251,141,0,.14);
  border-color: rgba(251,141,0,.70);
  box-shadow: 0 18px 56px rgba(251,141,0,.12);
  color: rgba(255,255,255,.92);
}

@media (max-width: 560px){
  .xtc-footer-top{ flex-direction:column; align-items:flex-start; }
}

/* Shell / Blog */
.xtc-wrap{
  width:min(var(--xtc-wide), 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.xtc-shell{
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 0 14px;
}
.xtc-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(800px 340px at 35% 0%, rgba(251,141,0,.14), transparent 60%),
    radial-gradient(620px 320px at 85% 30%, rgba(251,141,0,.08), transparent 62%);
  opacity:.9;
}
.xtc-shell > *{ position:relative; z-index:1; }

.xtc-shell-head{
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.xtc-shell__kicker{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.xtc-shell__title{
  margin: 14px 0 0;
}
.xtc-shell__body{
  padding: 22px;
}

.xtc-post-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.xtc-post{
  grid-column: span 6;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  padding: 16px 16px 14px;
  text-decoration:none;
  color: rgba(255,255,255,.86);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}
.xtc-post:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(251,141,0,.40);
  box-shadow: 0 24px 76px rgba(0,0,0,.38);
}
.xtc-post__meta{
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.xtc-post__title{
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.xtc-post__excerpt{
  margin: 0;
  color: rgba(255,255,255,.60);
  line-height: 1.65;
  font-size: 14px;
}
.xtc-post__footer{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.xtc-post__more{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  color: rgba(255,255,255,.84);
}
.xtc-post__more svg{ width:16px;height:16px; }

@media (max-width: 980px){
  .xtc-post{ grid-column: span 12; }
  .xtc-shell-head{ padding: 18px 16px 14px; }
  .xtc-shell__body{ padding: 16px; }
}

/* Pagination */
.xtc-pagination{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.xtc-pagination a,
.xtc-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  text-decoration:none;
  font-weight: 900;
}
.xtc-pagination a:hover{
  border-color: rgba(251,141,0,.60);
  background: rgba(251,141,0,.10);
}
.xtc-pagination .current{
  color: rgba(0,0,0,.92);
  background: linear-gradient(180deg, var(--xtc-orange-2) 0%, var(--xtc-orange) 55%, var(--xtc-orange-3) 100%);
  border-color: rgba(251,141,0,.78);
}

/* WordPress default content fixes */
.xtc-content img{ max-width:100%; height:auto; }
.xtc-content a{ color: var(--xtc-orange-2); }
.xtc-content a:hover{ color: rgba(255,255,255,.92); }


.xtc-post__meta a{ color: rgba(255,255,255,.70); text-decoration:none; }
.xtc-post__meta a:hover{ color: rgba(255,255,255,.92); }


/* WordPress custom logo baseline */
.xtc-brand__logo .custom-logo-link{ display:inline-flex; align-items:center; }
.xtc-brand__logo .custom-logo{ max-height:80px; width:auto; height:35px; }

.xtc-footer-links-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.xtc-footer-links-list li{ margin:0; padding:0; }

@media (max-width: 640px){
  .xtc-brand__logo img{height:30px;max-height:80px;width:auto;display:block}
  .xtc-brand__logo .custom-logo{height:30px;max-height:80px;}
  .xtc-brand__name{font-size:20px;}
}


/* Footer mobile centering */
@media (max-width: 820px){
  .xtc-footer-top{flex-direction:column;align-items:center;gap:14px;text-align:center;}
  .xtc-footer-links{justify-content:center;flex-wrap:wrap;}
  .xtc-footer-social{justify-content:center;}
  .xtc-footer-bottom{text-align:center;}
}

/* Search form */
.xtc-searchform{margin:0;}
.xtc-searchform__row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.xtc-searchform__input{
  flex:1 1 240px;
  min-width:0;
  height:46px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  padding:0 14px;
  outline:none;
}
.xtc-searchform__input::placeholder{color:rgba(255,255,255,.55);}
.xtc-searchform__input:focus{
  border-color:rgba(251,141,0,.72);
  box-shadow:0 0 0 3px rgba(251,141,0,.18);
}
.xtc-searchform__btn{
  height:46px;
  border-radius:12px;
  white-space:nowrap;
}
@media (max-width: 560px){
  .xtc-searchform__row{flex-direction:column;align-items:stretch;}
  .xtc-searchform__btn{width:100%;}
}


/* Header adjustments (v7) */
.xtc-nav-toggle{
  color: rgba(255,255,255,.92);
}
.xtc-nav-toggle span{
  display:block;
  width:16px;
  height:2px;
  border-radius:999px;
  background: currentColor;
}
.xtc-nav-toggle span + span{ margin-top:4px; }

/* Avoid duplicate search items in mobile drawer */
.xtc-drawer .xtc-menu-search{ display:none !important; }
@media (max-width: 980px){
  .xtc-site-header .xtc-menu-search{ display:none !important; }
}

/* Brand text size tweak on small screens */
@media (max-width: 520px){
  .xtc-brand-text{ font-size:18px; }
}


/* Drawer brand text */
.xtc-drawer-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.xtc-drawer-brand-logo img{max-height:56px;height:auto;width:auto;display:block}
.xtc-drawer-brand-text{font-weight:950;letter-spacing:-.02em;background:linear-gradient(90deg,var(--xtc-orange),var(--xtc-orange-2),var(--xtc-orange));-webkit-background-clip:text;background-clip:text;color:transparent}


/* =========================================
   XTC v12 header + mobile spacing + footer/full-width overrides
   ========================================= */

body.xtc-nav-open{
  overflow: hidden;
}

.xtc-site-header{
  padding: 10px 0 8px !important;
}

.xtc-site-header .xtc-wide{
  position: relative;
  z-index: 5;
}

.xtc-header-desktop,
.xtc-header-mobile{
  background: rgba(12,12,14,.58);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
}

.xtc-header-desktop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 10px 14px;
}

.xtc-header-mobile{
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 8px 10px;
}

.xtc-header-desktop .xtc-brand,
.xtc-header-mobile .xtc-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  text-decoration:none;
}

.xtc-header-desktop .xtc-brand-logo img{
  height: 35px !important;
  width:auto;
  max-height: 80px;
  display:block;
}

.xtc-header-mobile .xtc-brand-logo img{
  height: 30px !important;
  width:auto;
  max-height: 80px;
  display:block;
}

.xtc-header-desktop .xtc-brand-text{
  font-size: 20px !important;
}

.xtc-header-mobile .xtc-brand-text{
  font-size: 18px !important;
  line-height: 1;
}

.xtc-header-desktop .xtc-desktop-nav{
  margin-left: auto;
  margin-right: 6px;
}

.xtc-header-desktop .xtc-nav-list{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}

.xtc-header-desktop .xtc-nav-list li{
  margin:0;
  padding:0;
}

.xtc-header-desktop .xtc-nav-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(255,255,255,.84);
  text-decoration:none;
  font-weight: 800;
}

.xtc-header-desktop .xtc-nav-list a:hover{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.94);
  text-decoration:none;
}

.xtc-header-desktop .xtc-header-search{
  width: min(240px, 24vw);
  min-width: 180px;
  max-width: 240px;
  margin-right: 2px;
}

.xtc-header-desktop .xtc-header-search .xtc-search{
  width: 100%;
  box-shadow: none;
  border-radius: 12px;
  padding: 8px 10px;
  gap: 8px;
  min-height: 40px;
}

.xtc-header-desktop .xtc-header-search .xtc-search svg{
  width: 15px;
  height: 15px;
  opacity: .78;
}

.xtc-header-desktop .xtc-header-search .xtc-search button{
  display: none;
}

.xtc-header-desktop .xtc-header-search .xtc-search input[type="search"]{
  font-size: 13px;
}

.xtc-header-desktop .xtc-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.xtc-btn-buy{
  white-space: nowrap;
}

#xtc-nav-toggle.xtc-nav-toggle,
.xtc-header-mobile .xtc-nav-toggle{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  color: rgba(255,255,255,.90);
  cursor:pointer;
  padding:0;
  margin:0;
}

#xtc-nav-toggle.xtc-nav-toggle span,
.xtc-header-mobile .xtc-nav-toggle span{
  width:16px;
  height:2px;
  border-radius:999px;
  background: currentColor;
  display:block;
  margin:0 !important;
}

#xtc-nav-toggle.xtc-nav-toggle:hover,
.xtc-header-mobile .xtc-nav-toggle:hover{
  border-color: rgba(251,141,0,.55);
  background: rgba(251,141,0,.10);
}

.xtc-drawer{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

body.xtc-nav-open .xtc-drawer{
  display:block;
}

.xtc-drawer-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.xtc-drawer-panel{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:min(86vw, 300px);
  transform: translateX(-105%);
  transition: transform .22s ease;
  background: rgba(7,7,8,.98);
  border-right: 1px solid rgba(255,255,255,.12);
  box-shadow: 30px 0 90px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
  padding: 0;
}

body.xtc-nav-open .xtc-drawer-panel{
  transform: translateX(0);
}

.xtc-drawer-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 14px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.xtc-drawer-content{
  position:relative;
  z-index:1;
  padding: 12px 12px 14px;
  overflow:auto;
}

.xtc-drawer-brand{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  text-decoration:none;
}

.xtc-drawer-brand-logo img{
  height: 28px;
  width:auto;
  max-height:80px;
  display:block;
}

.xtc-drawer-brand-text{
  font-weight: 900;
  letter-spacing:-0.02em;
  font-size: 17px;
  line-height: 1;
  background: linear-gradient(90deg, var(--xtc-orange), var(--xtc-orange-2), var(--xtc-orange));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.xtc-drawer-close{
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.xtc-drawer-close svg{
  width:18px;
  height:18px;
}

.xtc-drawer-search{
  margin: 0 0 10px;
}

.xtc-drawer-search .xtc-search{
  width:100%;
  box-shadow:none;
  border-radius: 12px;
  padding: 9px 10px;
}

.xtc-drawer-search .xtc-search input[type="search"]{
  font-size: 14px;
}

.xtc-drawer-search .xtc-search button{
  font-weight: 800;
}

.xtc-drawer-buy,
.xtc-btn-full{
  width:100%;
  margin: 0 0 12px;
}

.xtc-drawer-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.xtc-drawer-nav-list li{
  margin:0;
  padding:0;
}

.xtc-drawer-link{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  padding: 11px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  letter-spacing:-0.01em;
  text-decoration:none !important;
}

.xtc-drawer-link:hover{
  background: rgba(251,141,0,.12);
  border-color: rgba(251,141,0,.60);
  color: rgba(255,255,255,.94);
}

/* Footer centering for full-width templates (home / coming soon / full-width layouts) */
body.page:not(.page-template-template-canvas) .xtc-footer-inner{
  align-items: center;
  text-align: center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-top{
  width: 100%;
  justify-content: center;
  gap: 14px 16px;
}

body.page:not(.page-template-template-canvas) .xtc-footer-copy{
  width: 100%;
  text-align: center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-links{
  width: 100%;
  justify-content: center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-social{
  width: 100%;
  justify-content: center;
}

@media (min-width: 981px){
  .xtc-header-desktop{ display:flex; }
  .xtc-header-mobile{ display:none; }
  .xtc-drawer{ display:none !important; }
}

@media (min-width: 981px) and (max-width: 1160px){
  .xtc-header-desktop{
    gap: 10px;
    padding: 10px 12px;
  }

  .xtc-header-desktop .xtc-brand-text{
    font-size: 18px !important;
  }

  .xtc-header-desktop .xtc-nav-list{
    gap: 6px;
  }

  .xtc-header-desktop .xtc-nav-list a{
    padding: 9px 9px;
  }

  .xtc-header-desktop .xtc-header-search{
    min-width: 160px;
    width: min(210px, 22vw);
    max-width: 210px;
  }
}

@media (max-width: 980px){
  .xtc-header-desktop{ display:none !important; }
  .xtc-header-mobile{ display:flex; }

  .xtc-wide,
  .xtc-wrap,
  .xtc-shell,
  .xtc-container{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .xtc-head,
  .xtc-main{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .xtc-shell{
    border-radius: 14px !important;
  }

  .xtc-shell-head{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xtc-shell__body{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xtc-card{
    border-radius: 16px;
  }
}

@media (max-width: 520px){
  .xtc-site-header{
    padding-top: 8px !important;
  }

  .xtc-header-mobile{
    padding: 8px 10px;
  }

  .xtc-header-mobile .xtc-brand-text{
    font-size: 17px !important;
  }

  #xtc-nav-toggle.xtc-nav-toggle,
  .xtc-header-mobile .xtc-nav-toggle{
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .xtc-drawer-panel{
    width:min(88vw, 300px);
  }
}


/* =========================================
   XTC v13 footer brand + full-width footer order
   ========================================= */

.xtc-footer-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin: 0 0 10px;
}

.xtc-footer-brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:rgba(255,255,255,.92);
}

.xtc-footer-brand-logo{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.xtc-footer-brand-logo img{
  display:block;
  width:auto;
  height:28px;
  max-height:32px;
}

.xtc-footer-brand-fallback{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-weight:900;
  background: linear-gradient(180deg, #FFAA33 0%, #FB8D00 52%, #FF6B00 100%);
  color:#0b0b0c;
}

.xtc-footer-brand-text{
  font-weight:900;
  letter-spacing:-0.02em;
  line-height:1;
  background: linear-gradient(90deg, var(--xtc-orange), var(--xtc-orange-2), var(--xtc-orange));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

body.page:not(.page-template-template-canvas) .xtc-footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

body.page:not(.page-template-template-canvas) .xtc-footer-brand{
  order:1;
  width:100%;
  justify-content:center;
  margin:0;
}

body.page:not(.page-template-template-canvas) .xtc-footer-social{
  order:2;
  width:100%;
  justify-content:center;
  margin-top:0;
}

body.page:not(.page-template-template-canvas) .xtc-footer-top{
  order:3;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-copy{
  width:100%;
  text-align:center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-links{
  width:100%;
  justify-content:center;
}

body.page:not(.page-template-template-canvas) .xtc-footer-links-list{
  justify-content:center;
}

body.page-template-template-xtc-home .xtc-hero-btn-primary,
body.page-template-template-xtc-home .xtc-hero-btn-primary span{
  color:#0b0b0c !important;
}

@media (max-width: 560px){
  .xtc-footer-brand-logo img{
    height:26px;
  }

  .xtc-footer-brand-text{
    font-size:16px;
  }
}


/* === v14 structure cleanup: standard footer + clean home hero === */
.xtc-site-footer{
  margin-top: 28px;
}
.xtc-footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 14px;
  text-align:center;
}
.xtc-footer-brand{ display:none !important; }
.xtc-footer-social{
  width:100%;
  justify-content:center;
  margin: 0;
}
.xtc-footer-top{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.xtc-footer-copy{
  width:100%;
  text-align:center;
  justify-content:center;
  margin:0;
}
.xtc-footer-links{
  width:100%;
  display:flex;
  justify-content:center;
}
.xtc-footer-links-list{
  justify-content:center;
}
.xtc-footer-links-list li{
  float:none;
}
.xtc-footer-links-list a{
  text-align:center;
}
@media (max-width: 720px){
  .xtc-footer-social a{
    width:38px;
    height:38px;
  }
}

/* Home page should stay full-width and clean (no duplicate social/footer inside hero) */
.xtc-home-hero .xtc-hero-actions{ margin-bottom: 0; }
.xtc-home-hero .xtc-social{ display:none !important; }

/* === v15 cleanup: home layout, standard footer, canvas, search, login compatibility === */
.xtc-home-hero{display:block !important;padding:18px 0 34px !important;}
.xtc-home-grid{align-items:start !important;}
.xtc-home-left{align-self:start !important;}
.xtc-home-right{align-self:start !important;}
@media (min-width: 980px){.xtc-home-right{padding-top:4px;}}
@media (max-width: 560px){.xtc-home-hero{padding:14px 0 28px !important;}}

.xtc-search button:not(.screen-reader-text){display:none !important;}
.xtc-search .xtc-search-submit.screen-reader-text{display:block;position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;}

.xtc-site-footer{margin-top:24px !important;}
.xtc-footer-inner{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:12px !important;text-align:center !important;}
.xtc-footer-brand,.xtc-footer-brand-link,.xtc-footer-brand-logo,.xtc-footer-brand-text{display:none !important;}
.xtc-footer-social{width:100%;margin:0 !important;justify-content:center !important;}
.xtc-footer-top{width:100%;display:flex !important;flex-direction:column !important;align-items:center !important;gap:8px !important;}
.xtc-footer-copy{width:100%;margin:0 !important;text-align:center !important;justify-content:center !important;}
.xtc-footer-links{width:100%;justify-content:center !important;}
.xtc-footer-links-list{width:100%;justify-content:center !important;}
.xtc-footer-links-list li{float:none !important;}
.xtc-footer-links-list a{text-align:center !important;}

body.page-template-template-canvas .xtc-bg{display:none !important;}
body.page-template-template-canvas .xtc-site-header,body.page-template-template-canvas .xtc-site-footer,body.page-template-template-canvas .xtc-drawer,body.page-template-template-canvas .xtc-site-content{display:none !important;}
body.page-template-template-canvas{background:#060607;}



/* v1.0.16 layout and wp polish */

.xtc-footer-links-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.xtc-site-footer .xtc-footer-inner{
  align-items:center;
  text-align:center;
}

.xtc-site-footer .xtc-footer-social{
  justify-content:center;
  width:100%;
}

.xtc-site-footer .xtc-footer-top{
  width:100%;
  justify-content:center;
  flex-direction:column;
  gap:12px;
}

.xtc-site-footer .xtc-footer-links,
.xtc-site-footer .xtc-footer-links-list{
  justify-content:center;
}

.xtc-site-footer .xtc-footer-copy{
  text-align:center;
}

body.page-template-template-xtc-home .xtc-home-hero{
  display:block;
  min-height:auto;
  padding-top:10px;
  padding-bottom:18px;
}

body.page-template-template-xtc-home .xtc-home-grid{
  display:grid;
  align-items:start !important;
  align-content:start;
  row-gap:14px;
}

body.page-template-template-xtc-home .xtc-home-left{
  align-self:start;
  justify-self:start;
  text-align:left;
}

body.page-template-template-xtc-home .xtc-home-right{
  align-self:start;
}

@media (min-width: 980px){
  body.page-template-template-xtc-home .xtc-home-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  }
  body.page-template-template-xtc-home .xtc-home-right{
    justify-content:flex-end;
  }
}

.xtc-full-content{
  width:100%;
  margin:0;
  padding:8px 0 18px;
}

.xtc-full-content > .xtc-wide{
  width:min(var(--xtc-wide), 100%);
  margin:0 auto;
  padding-inline:16px;
}

@media (max-width:560px){
  .xtc-site-footer .xtc-footer-inner{
    padding-top:18px;
    padding-bottom:18px;
  }
  .xtc-site-footer .xtc-footer-social a{
    width:38px;
    height:38px;
  }
  body.page-template-template-xtc-home .xtc-home-hero{
    padding-top:6px;
  }
  .xtc-full-content > .xtc-wide{
    padding-inline:10px;
  }
}


/* =========================================
   XTC v17 stability overrides (frontend)
   ========================================= */
:root{
  --xtc-orange: #FB8D00;
  --xtc-orange-2: #ffaa33;
  --xtc-orange-3: #ffbb44;
}

/* Header hover/focus fixes */
.xtc-brand:hover,
.xtc-brand:focus-visible,
.xtc-nav-list a:hover,
.xtc-nav-list a:focus-visible,
.xtc-drawer-link:hover,
.xtc-drawer-link:focus-visible{
  text-decoration:none !important;
}

.xtc-nav-list a:focus-visible,
.xtc-btn:focus-visible,
.xtc-search input:focus,
.xtc-search button:focus,
.xtc-drawer-close:focus-visible,
.xtc-nav-toggle:focus-visible{
  outline: 2px solid rgba(251,141,0,.55);
  outline-offset: 2px;
}

/* Home layout should start from top, not look centered */
.xtc-home-hero{
  padding-top: 14px;
}
.xtc-home-grid{
  align-items: start;
}
.xtc-home-left{
  align-self: start;
}
.xtc-home-right{
  align-self: center;
}

/* If old coming-soon HTML exists inside home content, neutralize duplicated footer line */
body.page-template-template-xtc-home .xtc-home-content .xtc-hero-footer{
  display:none !important;
}
body.page-template-template-xtc-home .xtc-home-content .xtc-hero-wrap{
  min-height: auto !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}
body.page-template-template-xtc-home .xtc-home-content .xtc-hero-shell{
  width: 100% !important;
}

/* Footer standard (no logo, centered, consistent width) */
.xtc-site-footer{
  margin-top: 24px !important;
}
.xtc-footer-inner{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  text-align:center !important;
}
.xtc-footer-brand,
.xtc-footer-brand-link,
.xtc-footer-brand-logo,
.xtc-footer-brand-text{
  display:none !important;
}
.xtc-footer-social{
  width:100%;
  justify-content:center !important;
  margin-top:0 !important;
}
.xtc-footer-top{
  width:100%;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
}
.xtc-footer-copy,
.xtc-footer-links,
.xtc-footer-links-list{
  width:100%;
  text-align:center;
  justify-content:center !important;
}
.xtc-footer-links-list{
  gap:8px 14px;
}

/* Post/archive/container spacing fixes */
.xtc-wrap,
.xtc-shell,
.xtc-shell__body,
.xtc-main,
.xtc-head,
.xtc-container{
  min-width:0;
}
.xtc-shell__body{
  padding-top: 14px;
}
.xtc-shell__body > *:first-child{ margin-top:0; }
.xtc-shell__body > *:last-child{ margin-bottom:0; }

.xtc-post-grid{
  gap: 14px !important;
}
.xtc-post,
.xtc-card,
.xtc-shell,
.xtc-search-card,
.xtc-empty,
.xtc-archive-card{
  overflow: hidden;
}
.xtc-post__body,
.xtc-post__meta,
.xtc-post__actions,
.xtc-entry,
.xtc-entry-content{
  min-width:0;
}
.xtc-post__meta{
  gap:6px 10px !important;
}
.xtc-post__meta span,
.xtc-post__meta a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  line-height:1.2;
}
.xtc-post__title,
.xtc-entry h1,
.xtc-entry h2,
.xtc-entry h3,
.xtc-entry h4,
.xtc-entry p,
.xtc-entry li{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.xtc-entry-content > *{
  margin-top: 0;
}
.xtc-entry-content > * + *{
  margin-top: 14px;
}
.xtc-entry-content ul,
.xtc-entry-content ol{
  padding-left: 20px;
}
.xtc-entry-content table,
.xtc-entry table,
.wp-block-table table{
  width:100%;
  border-collapse: collapse;
  display: block;
  overflow-x:auto;
}
.xtc-entry-content table th,
.xtc-entry-content table td,
.xtc-entry table th,
.xtc-entry table td,
.wp-block-table table th,
.wp-block-table table td{
  border:1px solid rgba(255,255,255,.10);
  padding:10px 12px;
}
.xtc-entry-content pre,
.xtc-entry pre,
.wp-block-code,
.wp-block-preformatted{
  white-space: pre-wrap;
  overflow-x:auto;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  padding: 12px;
}
.xtc-entry-content blockquote,
.xtc-entry blockquote{
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(251,141,0,.70);
  background: rgba(251,141,0,.06);
  border-radius: 0 12px 12px 0;
}

/* Widget / sidebar spacing */
.xtc-side-stack{
  gap: 14px !important;
}
.xtc-widget,
.widget{
  min-width:0;
}
.widget ul,
.widget ol{
  padding-left: 18px;
}
.widget li + li{
  margin-top: 6px;
}

/* Search form alignment */
.xtc-search{
  align-items:center;
}
.xtc-search input{
  min-width:0;
}
.xtc-search button,
.xtc-search input,
.xtc-btn,
.xtc-hero-btn{
  border-radius: 12px;
}

/* Mobile spacing standard 10px and safer cards */
@media (max-width: 980px){
  .xtc-wide,
  .xtc-wrap,
  .xtc-shell,
  .xtc-container,
  .xtc-main,
  .xtc-head{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .xtc-shell{
    border-radius: 14px !important;
  }

  .xtc-shell__body,
  .xtc-card-body,
  .xtc-post__body,
  .xtc-post__actions{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .xtc-post__title{
    font-size: 18px;
    line-height: 1.18;
  }

  .xtc-footer-links-list{
    gap:6px 12px;
  }
}

@media (max-width: 560px){
  .xtc-home-hero{
    padding-top: 10px;
  }

  .xtc-hero-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .xtc-hero-actions .xtc-hero-btn{
    width:100%;
    justify-content:center;
  }

  .xtc-entry-content iframe,
  .xtc-entry iframe,
  .wp-block-embed iframe,
  .wp-block-embed__wrapper iframe{
    width:100% !important;
    max-width:100%;
    height:auto;
    aspect-ratio: 16 / 9;
  }
}


/* v18 polish */
::selection{ background: rgba(251,141,0,.28); color:#fff; }
::-moz-selection{ background: rgba(251,141,0,.28); color:#fff; }

html, body, a, button, input, textarea, select{
  -webkit-tap-highlight-color: transparent;
}

.xtc-btn,
.xtc-hero-btn,
.xtc-nav-list a,
.xtc-drawer-link,
.xtc-search,
.xtc-search input,
.xtc-search button,
.xtc-social a,
.xtc-footer-links-list a,
.xtc-nav-toggle,
.xtc-drawer-close{
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.xtc-btn:hover,
.xtc-hero-btn:hover,
.xtc-social a:hover,
.xtc-nav-toggle:hover,
.xtc-drawer-close:hover{
  transform: translateY(-1px) !important;
}

.xtc-btn:active,
.xtc-hero-btn:active,
.xtc-social a:active,
.xtc-nav-toggle:active,
.xtc-drawer-close:active{
  transform: translateY(0) scale(.995) !important;
}

.xtc-btn-primary:hover,
.xtc-hero-btn-primary:hover{
  filter: none !important;
  box-shadow: 0 18px 52px rgba(251,141,0,.16) !important;
}

.xtc-btn-dark:hover,
.xtc-hero-btn-dark:hover{
  box-shadow: 0 16px 44px rgba(251,141,0,.10) !important;
}

.xtc-nav-list a:hover,
.xtc-drawer-link:hover{
  background: rgba(251,141,0,.10) !important;
  border-color: rgba(251,141,0,.34) !important;
}

.xtc-brand:focus-visible,
.xtc-nav-list a:focus-visible,
.xtc-btn:focus-visible,
.xtc-hero-btn:focus-visible,
.xtc-search input:focus,
.xtc-search button:focus,
.xtc-drawer-link:focus-visible,
.xtc-nav-toggle:focus-visible,
.xtc-drawer-close:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(251,141,0,.55), 0 0 0 4px rgba(251,141,0,.12) !important;
}


/* v20 nav active state */
.xtc-header-desktop .xtc-nav-list a.is-active,
.xtc-header-desktop .xtc-nav-list a.is-active:hover,
.xtc-header-desktop .xtc-nav-list a.is-active:focus-visible,
.xtc-drawer-link.is-active,
.xtc-drawer-link.is-active:hover,
.xtc-drawer-link.is-active:focus-visible{
  color: var(--xtc-orange-2) !important;
  background: rgba(251,141,0,.10) !important;
  border-color: rgba(251,141,0,.34) !important;
  box-shadow: none !important;
}

.xtc-header-desktop .xtc-nav-list a.is-active{
  font-weight: 800;
}


/* v21 nav active fixes */
.xtc-header-desktop .xtc-nav-list > li.current-menu-item > a,
.xtc-header-desktop .xtc-nav-list > li.current_page_item > a,
.xtc-header-desktop .xtc-nav-list > li.current-menu-parent > a,
.xtc-header-desktop .xtc-nav-list > li.current_page_parent > a,
.xtc-header-desktop .xtc-nav-list > li.current-menu-ancestor > a,
.xtc-header-desktop .xtc-nav-list > li.current-page-ancestor > a,
.xtc-header-desktop .xtc-nav-list > li.current_page_ancestor > a{
  color: var(--xtc-orange-2) !important;
  background: rgba(251,141,0,.10) !important;
  border-color: rgba(251,141,0,.34) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

.xtc-header-desktop .xtc-nav-list > li.current-menu-item > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current_page_item > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current-menu-parent > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current_page_parent > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current-menu-ancestor > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current-page-ancestor > a:hover,
.xtc-header-desktop .xtc-nav-list > li.current_page_ancestor > a:hover{
  color: var(--xtc-orange-2) !important;
  background: rgba(251,141,0,.12) !important;
  border-color: rgba(251,141,0,.42) !important;
}

.xtc-drawer-nav-list > li.current-menu-item > a,
.xtc-drawer-nav-list > li.current_page_item > a,
.xtc-drawer-nav-list > li.current-menu-parent > a,
.xtc-drawer-nav-list > li.current_page_parent > a,
.xtc-drawer-nav-list > li.current-menu-ancestor > a,
.xtc-drawer-nav-list > li.current-page-ancestor > a,
.xtc-drawer-nav-list > li.current_page_ancestor > a{
  color: var(--xtc-orange-2) !important;
  background: rgba(251,141,0,.10) !important;
  border-color: rgba(251,141,0,.34) !important;
  box-shadow: none !important;
}

.xtc-header-desktop .xtc-nav-list a[aria-current="page"],
.xtc-header-desktop .xtc-nav-list a[aria-current="page"]:hover,
.xtc-header-desktop .xtc-nav-list a[aria-current="page"]:focus-visible,
.xtc-drawer-nav-list a[aria-current="page"],
.xtc-drawer-nav-list a[aria-current="page"]:hover,
.xtc-drawer-nav-list a[aria-current="page"]:focus-visible{
  color: var(--xtc-orange-2) !important;
  background: rgba(251,141,0,.10) !important;
  border-color: rgba(251,141,0,.34) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}
