/*
Theme Name: RubyBet Heritage Club
Theme URI: https://themes.example.com/teb
Author: RubyBet Studio
Author URI: https://themes.example.com/teb
Description: Heritage Club archetype WordPress theme — fullwidth-hero, 2col grid, vertical cards
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: tebt
*/

/* archetype:HERITAGE layout:fullwidth-hero grid:2col sidebar:none card:vertical header:centered footer:4col */

:root{
  --teb-base:#14532d;--teb-base-2:#0f3d22;--teb-base-3:#1b6b3a;
  --teb-acc:#fef3c7;--teb-acc-2:#eab308;--teb-text:#f5f0df;
  --teb-muted:#b8c9b0;--teb-line:rgba(254,243,199,.24);
  --teb-font-display:'Lora', serif;--teb-font-body:'Lato', sans-serif;
}


/* ================================================================
   RubyBet Heritage Club — Heritage Club design system (archetype: HERITAGE)
   structure: hero=fullwidth-hero grid=2col sidebar=none
   card=vertical header=centered footer=4col
   ================================================================ */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Lato', sans-serif;font-size:16px;line-height:1.65;color:#f5f0df;-webkit-font-smoothing:antialiased;position:relative;z-index:1}
img{max-width:100%;height:auto}
a{color:#fef3c7;text-decoration:none;transition:color .2s ease}
a:hover{color:#eab308}
h1,h2,h3,h4{margin:0 0 .6em}
p{margin:0 0 1em}
.teb-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.teb-skip{position:absolute;left:-9999px;top:0;background:#fef3c7;color:#14532d;padding:8px 16px;z-index:999}
.teb-skip:focus{left:8px}

/* ---------- header ---------- */
.teb-topbar{position:sticky;top:0;z-index:100;background:#0f3d22;border-bottom:1px solid rgba(254,243,199,.24);backdrop-filter:blur(6px)}
.teb-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px;max-width:1240px;margin:0 auto;flex-wrap:wrap}
.teb-brand{display:flex;align-items:center;gap:12px}
.teb-brand img{height:44px;width:auto}
.teb-brand-name{font-family:'Lora', serif;font-size:26px;color:#fef3c7;letter-spacing:.04em}
.teb-cta-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.teb-btn{display:inline-block;text-align:center;cursor:pointer}
.teb-menu-toggle,.teb-search-toggle{display:none}
.teb-mobile-search{display:none}
.teb-mainnav{background:#1b6b3a;border-bottom:1px solid rgba(254,243,199,.24)}
.teb-nav-inner{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.teb-menu{list-style:none;display:flex;flex-wrap:wrap;margin:0;padding:0}
.teb-menu li{position:relative}
.teb-menu li a{display:block;padding:12px 16px;font-size:15px;font-weight:600;color:#f5f0df;transition:color .2s ease,border-color .2s ease,background .2s ease;border-bottom:2px solid transparent}
.teb-menu li a:hover,.teb-menu li.current-menu-item > a,.teb-menu li.current-cat > a{color:#fef3c7;border-bottom-color:#fef3c7}
.teb-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#1b6b3a;border:1px solid rgba(254,243,199,.24);z-index:120;flex-direction:column;padding:4px 0}
.teb-menu li:hover > .sub-menu{display:flex}
.teb-menu .sub-menu li a{padding:9px 16px;font-size:14px;border-bottom:none}
.teb-nav-search{padding:8px 0}
.teb-searchform{display:flex;align-items:stretch}
.teb-searchform input[type="text"],.teb-searchform input[type="search"]{background:#14532d;border:1px solid rgba(254,243,199,.24);border-right:none;color:#f5f0df;padding:9px 14px;font-size:14px;font-family:'Lato', sans-serif;flex:1;min-width:0;border-radius:4px 0 0 4px}
.teb-searchform input:focus{outline:none;border-color:#fef3c7}
.teb-searchform button{background:#fef3c7;color:#14532d;border:none;padding:9px 18px;border-radius:0 4px 4px 0;cursor:pointer;font-weight:700;font-family:'Lato', sans-serif;letter-spacing:.04em;transition:filter .2s ease}
.teb-searchform button:hover{filter:brightness(1.12)}
.teb-nav-search .teb-searchform input[type="text"],.teb-nav-search .teb-searchform input[type="search"]{width:180px;flex:none}
.teb-hdr-centered .teb-topbar-inner{flex-direction:column;gap:10px;padding:18px 20px 12px}
.teb-hdr-centered .teb-mainnav .teb-nav-inner{justify-content:center;flex-wrap:wrap}
.teb-hdr-centered .teb-nav-search{display:none}
.teb-hdr-minimal .teb-topbar-inner{padding:8px 20px}
.teb-hdr-minimal .teb-brand img{height:36px}
.teb-hdr-minimal .teb-mainnav{background:transparent;border-bottom:none}
.teb-hdr-minimal .teb-nav-inner{max-width:none;padding:0 12px}

/* ---------- category strip ---------- */
.teb-catbar{background:#14532d;border-bottom:1px solid rgba(254,243,199,.24);overflow-x:auto}
.teb-catbar-inner{max-width:1240px;margin:0 auto;padding:10px 20px;display:flex;gap:10px;white-space:nowrap}
.teb-catchip{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;border:1px solid rgba(254,243,199,.24);background:#0f3d22;color:#f5f0df;font-size:13px;font-weight:700;letter-spacing:.04em;transition:all .2s ease}
.teb-catchip:hover{border-color:#fef3c7;color:#fef3c7;transform:translateY(-1px)}
.teb-catchip img{width:18px;height:18px}

/* ---------- hero mechanics ---------- */
.teb-hero{position:relative;min-height:420px;display:flex;align-items:center;background-size:cover;background-position:center;overflow:hidden}
.teb-hero-inner{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:64px 20px;width:100%}
.teb-hero-kicker{display:inline-block;margin-bottom:18px;text-transform:uppercase}
.teb-hero-title{margin-bottom:14px}
.teb-hero-sub{max-width:560px;color:#b8c9b0;font-size:17px;margin-bottom:28px}
.teb-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.teb-hero-media{position:relative;z-index:2;display:none}
.teb-hero-media img{width:100%;height:100%;object-fit:cover}
.teb-hero-split .teb-hero-inner{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center}
.teb-hero-split .teb-hero-media{display:block;min-height:300px;overflow:hidden;border-radius:6px}
.teb-hero-boxed .teb-hero-copy{max-width:780px;margin:0 auto;background:rgba(0,0,0,.34);border:1px solid rgba(254,243,199,.24);padding:44px 40px;backdrop-filter:blur(6px);border-radius:6px}
.teb-hero-overlay{min-height:540px;background-image:url('assets/images/banner-hero.png')}
.teb-hero-overlay::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.6) 68%,rgba(0,0,0,.82));z-index:1}
.teb-hero-overlay .teb-hero-inner{display:flex;flex-direction:column;justify-content:flex-end;padding-top:120px;padding-bottom:64px}
@media (max-width:900px){.teb-hero-split .teb-hero-inner{grid-template-columns:1fr}.teb-hero-split .teb-hero-media{display:none}}

/* ---------- sections ---------- */
.teb-section{padding:48px 0 8px}
.teb-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.teb-section-title{margin:0}
.teb-section-link{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b8c9b0;white-space:nowrap}
.teb-section-link:hover{color:#fef3c7}

/* ---------- grids ---------- */
.teb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.teb-grid.teb-grid-2{grid-template-columns:repeat(2,1fr)}
.teb-grid.teb-grid-4{grid-template-columns:repeat(4,1fr)}
.teb-grid.teb-masonry{display:block;column-count:3;column-gap:24px}
.teb-grid.teb-masonry .teb-card{display:block;break-inside:avoid;margin-bottom:24px}

/* ---------- card mechanics ---------- */
.teb-card{position:relative;display:flex;flex-direction:column;overflow:hidden;margin-bottom:24px}
.teb-grid .teb-card{margin-bottom:0}
.teb-card-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#1b6b3a}
.teb-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.teb-card:hover .teb-card-thumb img{transform:scale(1.06)}
.teb-card-cat{position:absolute;left:10px;top:10px;color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px;z-index:2}
.teb-card-body{padding:18px;display:flex;flex-direction:column;flex:1}
.teb-card-title{line-height:1.35;margin-bottom:8px}
.teb-card-title a{color:#f5f0df}
.teb-card-title a:hover{color:#fef3c7}
.teb-card-excerpt{color:#b8c9b0;font-size:14px;flex:1;margin-bottom:14px}
.teb-card-meta{font-size:12px;color:#b8c9b0;border-top:1px solid rgba(254,243,199,.24);padding-top:12px;display:flex;justify-content:space-between;gap:8px}
.teb-card-h{display:grid;grid-template-columns:300px 1fr;gap:22px}
.teb-card-h .teb-card-thumb{aspect-ratio:auto;height:100%;min-height:190px}
.teb-card-h .teb-card-body{padding:22px 22px 22px 0}
.teb-card-ov{min-height:320px}
.teb-card-ov .teb-card-thumb{position:absolute;inset:0;aspect-ratio:auto;height:auto}
.teb-card-ov .teb-card-body{position:relative;z-index:2;margin-top:auto;padding:58% 18px 18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82) 46%)}
.teb-card-ov .teb-card-title a{color:#fff}
.teb-card-ov .teb-card-excerpt{display:none}
.teb-card-ov .teb-card-meta{border-top-color:rgba(255,255,255,.2);color:rgba(255,255,255,.7)}
.teb-card-cp{flex-direction:row;align-items:center;gap:16px;padding:12px}
.teb-card-cp .teb-card-thumb{width:132px;aspect-ratio:16/10;flex:none;border-radius:inherit}
.teb-card-cp .teb-card-body{padding:6px 8px 6px 0}
.teb-card-cp .teb-card-excerpt{display:none}
.teb-card-cp .teb-card-title{font-size:15.5px;margin-bottom:4px}
.teb-card-cp .teb-card-meta{border-top:none;padding-top:0}

/* ---------- layout + sidebar ---------- */
.teb-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;padding:44px 0;align-items:start}
.teb-layout.teb-layout-left{grid-template-columns:320px minmax(0,1fr)}
.teb-layout.teb-layout-none{grid-template-columns:minmax(0,1fr);max-width:920px;margin:0 auto}
.teb-sidebar{position:sticky;top:84px}
.teb-widget{background:#0f3d22;border:1px solid rgba(254,243,199,.24);border-radius:6px;padding:20px;margin-bottom:24px}
.teb-widget-title{font-size:21px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #fef3c7}
.teb-widget ul{list-style:none;margin:0;padding:0}
.teb-widget li{border-bottom:1px dashed rgba(254,243,199,.24)}
.teb-widget li:last-child{border-bottom:none}
.teb-widget li a{display:flex;justify-content:space-between;gap:10px;padding:9px 2px;color:#f5f0df;font-size:14px}
.teb-widget li a:hover{color:#fef3c7;padding-left:6px}

/* ---------- single article ---------- */
.teb-breadcrumb{padding:18px 0;font-size:13px;color:#b8c9b0}
.teb-breadcrumb a{color:#b8c9b0}
.teb-breadcrumb a:hover{color:#fef3c7}
.teb-breadcrumb .teb-sep{margin:0 8px;color:#fef3c7}
.teb-article{background:#0f3d22;border:1px solid rgba(254,243,199,.24);border-radius:6px;padding:36px;margin-bottom:36px}
.teb-article-title{font-size:32px;line-height:1.25;margin-bottom:10px}
.teb-article-meta{font-size:13px;color:#b8c9b0;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid rgba(254,243,199,.24)}
.teb-content{font-size:16.5px}
.teb-content p{margin:0 0 1.2em}
.teb-content h2,.teb-content h3,.teb-content h4{margin-top:1.6em;color:#fef3c7}
.teb-content a{text-decoration:underline;text-underline-offset:3px}
.teb-content blockquote{border-left:4px solid #fef3c7;background:rgba(128,128,128,.08);margin:1.4em 0;padding:16px 22px;border-radius:0 4px 4px 0;font-style:italic}
.teb-content img{border-radius:4px}
.teb-content ul,.teb-content ol{padding-left:1.4em;margin:0 0 1.2em}
.teb-content table{width:100%;border-collapse:collapse;margin:1.4em 0}
.teb-content th,.teb-content td{border:1px solid rgba(254,243,199,.24);padding:10px 14px;text-align:left}
.teb-content th{background:#1b6b3a;color:#fef3c7}
.teb-cta-band{margin:30px 0;padding:26px;border-radius:6px;background:linear-gradient(135deg,#1b6b3a,#0f3d22);border:1px solid rgba(254,243,199,.24);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.teb-cta-band strong{font-family:'Lora', serif;font-size:23px;color:#fef3c7}

/* ---------- pagination & page heads ---------- */
.teb-pagination{margin:36px 0;text-align:center}
.teb-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.teb-pagination .page-numbers{display:inline-block;min-width:42px;padding:9px 14px;background:#0f3d22;border:1px solid rgba(254,243,199,.24);border-radius:4px;color:#f5f0df;font-weight:700}
.teb-pagination .page-numbers:hover{border-color:#fef3c7;color:#fef3c7}
.teb-pagination .page-numbers.current{background:#fef3c7;color:#14532d;border-color:transparent}
.teb-pagehead{padding:44px 0 30px;border-bottom:1px solid rgba(254,243,199,.24)}
.teb-pagehead h1{font-size:clamp(32px,5vw,54px);margin:0}
.teb-pagehead .teb-pagehead-sub{color:#b8c9b0;margin-top:6px}
.teb-404{text-align:center;padding:90px 20px}
.teb-404-code{font-size:clamp(90px,16vw,180px);line-height:1;margin-bottom:10px}

/* ---------- footer ---------- */
.teb-footer{margin-top:60px;background:#0f3d22;border-top:1px solid rgba(254,243,199,.24);padding:50px 0 20px}
.teb-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px;margin-bottom:36px}
.teb-footer-grid.teb-foot-2{grid-template-columns:1.2fr 1fr}
.teb-footer-grid.teb-foot-3{grid-template-columns:1.2fr 1fr 1fr}
.teb-footer-title{font-size:20px;margin-bottom:16px;color:#fef3c7}
.teb-footer p,.teb-footer li{color:#b8c9b0;font-size:14px}
.teb-footer ul{list-style:none;margin:0;padding:0}
.teb-footer ul li{padding:5px 0;border-bottom:1px dashed rgba(254,243,199,.24)}
.teb-footer ul a{color:#b8c9b0}
.teb-footer ul a:hover{color:#fef3c7;padding-left:4px}
.teb-footer-brand img{height:48px;margin-bottom:12px}
.teb-footer-cta{background:#1b6b3a;border:1px solid rgba(254,243,199,.24);border-radius:6px;padding:22px;text-align:center}
.teb-footer-cta strong{display:block;font-family:'Lora', serif;font-size:24px;color:#fff;margin-bottom:12px}
.teb-legal{border-top:1px solid rgba(254,243,199,.24);padding-top:22px}

/* ---------- front page modules ---------- */
.teb-game-section{padding:48px 0 6px}
.teb-game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.teb-game-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:28px 18px 22px;border-radius:6px;overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;color:#f5f0df}
.teb-game-icon{width:76px;height:76px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.teb-game-icon img{width:50px;height:50px;object-fit:contain;transition:transform .25s ease}
.teb-game-card:hover .teb-game-icon img{transform:scale(1.12)}
.teb-game-name{font-family:'Lora', serif;font-size:19px;color:#fff}
.teb-game-desc{font-size:13px;color:#b8c9b0;line-height:1.5}
.teb-game-go{margin-top:4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fef3c7;opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease}
.teb-game-card:hover .teb-game-go{opacity:1;transform:translateY(0)}
.teb-promo-banner{padding:34px 0 10px}
.teb-promo-banner a{display:block;position:relative;border-radius:6px;overflow:hidden;border:1px solid rgba(254,243,199,.24);transition:transform .25s ease,box-shadow .25s ease}
.teb-promo-banner a:hover{transform:translateY(-3px)}
.teb-promo-banner img{display:block;width:100%;height:auto}
.teb-featured-layout{display:grid;grid-template-columns:2fr 1fr;gap:22px}
.teb-featured-side{display:flex;flex-direction:column;gap:22px}
.teb-featured-big,.teb-featured-small{position:relative;border-radius:4px;overflow:hidden;border:1px solid rgba(254,243,199,.24);transition:border-color .25s ease,box-shadow .25s ease}
.teb-featured-big{height:100%;min-height:480px}
.teb-featured-small{flex:1;min-height:228px}
.teb-featured-media{position:absolute;inset:0;display:block}
.teb-featured-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.teb-featured-big:hover .teb-featured-media img,.teb-featured-small:hover .teb-featured-media img{transform:scale(1.05)}
.teb-featured-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:24px;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.72) 62%,rgba(0,0,0,.9) 100%)}
.teb-featured-cat{position:static;align-self:flex-start}
.teb-featured-title{font-weight:700;font-size:22px;line-height:1.3;color:#fff;margin:0}
.teb-featured-big .teb-featured-title{font-size:30px}
.teb-featured-excerpt{color:rgba(255,255,255,.75);font-size:14.5px;max-width:620px}
.teb-featured-meta{border-top:1px solid rgba(255,255,255,.16);padding-top:10px;color:rgba(255,255,255,.65)}
.teb-post-list{display:flex;flex-direction:column}
.teb-post-list-item{display:grid;grid-template-columns:148px 1fr;gap:18px;align-items:center;padding:16px 12px;border-bottom:1px solid rgba(254,243,199,.24);border-radius:4px;transition:background .2s ease,transform .2s ease}
.teb-post-list-item:hover{background:rgba(128,128,128,.07);transform:translateX(4px)}
.teb-post-list-thumb{display:block;aspect-ratio:16/10;border-radius:4px;overflow:hidden;background:#1b6b3a}
.teb-post-list-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.teb-post-list-item:hover .teb-post-list-thumb img{transform:scale(1.07)}
.teb-post-list-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fef3c7;margin-bottom:4px}
.teb-post-list-title{font-weight:700;font-size:16.5px;line-height:1.4;margin:0 0 4px}
.teb-post-list-title a{color:#f5f0df}
.teb-post-list-title a:hover{color:#fef3c7}
.teb-post-list-meta{font-size:12.5px;color:#b8c9b0}
.teb-faq-wrap{max-width:860px}
.teb-faq-item{background:#0f3d22;border:1px solid rgba(254,243,199,.24);border-radius:4px;margin-bottom:12px;overflow:hidden;transition:border-color .2s ease}
.teb-faq-item[open]{border-color:#fef3c7}
.teb-faq-item summary{list-style:none;cursor:pointer;padding:17px 52px 17px 22px;font-weight:700;font-size:16px;color:#f5f0df;position:relative;transition:color .2s ease}
.teb-faq-item summary::-webkit-details-marker{display:none}
.teb-faq-item summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:26px;color:#fef3c7;transition:transform .25s ease}
.teb-faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.teb-faq-item summary:hover{color:#fef3c7}
.teb-faq-item p{margin:0;padding:0 22px 18px;color:#b8c9b0;font-size:14.5px}

/* ---------- entrance animation ---------- */
@keyframes teb-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.teb-hero-inner > *{animation:teb-rise .7s ease both}
.teb-hero-inner > *:nth-child(2){animation-delay:.1s}
.teb-hero-inner > *:nth-child(3){animation-delay:.2s}
.teb-hero-inner > *:nth-child(4){animation-delay:.3s}
.teb-hero-inner > *:nth-child(5){animation-delay:.4s}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}}

/* ---------- responsive ---------- */
@media (max-width:1024px){
.teb-grid{grid-template-columns:repeat(2,1fr)}
.teb-grid.teb-masonry{column-count:2}
.teb-grid.teb-grid-4{grid-template-columns:repeat(2,1fr)}
.teb-layout{grid-template-columns:1fr}
.teb-sidebar{position:static}
.teb-footer-grid,.teb-footer-grid.teb-foot-3,.teb-footer-grid.teb-foot-2{grid-template-columns:repeat(2,1fr)}
.teb-game-grid{grid-template-columns:repeat(2,1fr)}
.teb-featured-layout{grid-template-columns:1fr}
.teb-featured-big{min-height:380px}
.teb-featured-small{min-height:200px}
}
@media (max-width:680px){
.teb-grid,.teb-grid.teb-grid-2,.teb-grid.teb-grid-4{grid-template-columns:1fr}
.teb-grid.teb-masonry{column-count:1}
.teb-card-h{grid-template-columns:1fr}
.teb-card-h .teb-card-thumb{min-height:200px}
.teb-card-h .teb-card-body{padding:20px}
.teb-topbar-inner{gap:8px;padding:10px 14px}
.teb-menu-toggle{order:1;display:flex;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:10px 8px}
.teb-menu-toggle span{display:block;width:24px;height:2px;background:#fef3c7;border-radius:2px;transition:transform .25s ease,opacity .25s ease}
.teb-menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.teb-menu-toggle.active span:nth-child(2){opacity:0}
.teb-menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.teb-brand{order:2;margin:0 auto;gap:8px}
.teb-brand img{height:34px}
.teb-search-toggle{order:3;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:8px}
.teb-search-toggle svg{width:22px;height:22px;stroke:#fef3c7}
.teb-cta-group{order:4;flex-basis:100%;justify-content:center;gap:8px;padding-top:2px}
.teb-btn{font-size:13px;padding:8px 14px}
.teb-mobile-search.open{display:block;padding:12px 14px 14px;border-top:1px solid rgba(254,243,199,.24);background:#14532d}
.teb-mobile-search .teb-searchform input{width:auto;flex:1}
.teb-mainnav{display:none}
.teb-mainnav.open{display:block}
.teb-mainnav .teb-nav-inner{flex-direction:column;align-items:stretch;padding:4px 0 10px;gap:0}
.teb-mainnav .teb-menu{flex-direction:column;width:100%}
.teb-mainnav .teb-menu li a{padding:12px 20px;border-bottom:1px solid rgba(254,243,199,.24)}
.teb-mainnav .teb-menu .sub-menu,.teb-mainnav .teb-menu li:hover > .sub-menu{position:static;display:none}
.teb-mainnav .teb-menu li:hover > .sub-menu{display:block}
.teb-mainnav .teb-menu .sub-menu{min-width:0;background:#14532d;border:none;border-left:3px solid #fef3c7;margin-left:18px;padding:2px 0}
.teb-mainnav .teb-nav-search{display:none}
.teb-article{padding:22px}
.teb-footer-grid,.teb-footer-grid.teb-foot-3,.teb-footer-grid.teb-foot-2{grid-template-columns:1fr}
.teb-hero{min-height:340px}
.teb-post-list-item{grid-template-columns:104px 1fr;gap:12px}
.teb-post-list-title{font-size:15px}
}

/* ============ archetype skin ============ */

.teb-body{background:
  radial-gradient(1200px 700px at 50% -18%, rgba(254,243,199,.09), transparent 60%),
  radial-gradient(rgba(0,0,0,.16) 1px, transparent 1.6px);
  background-size:auto,7px 7px;background-color:#14532d;}

.teb-body h1,.teb-body h2,.teb-body h3,.teb-body h4{
  font-family:Georgia,'Lora',serif;font-weight:700;color:#fef3c7;letter-spacing:.01em;line-height:1.2;}
.teb-hero-title em,.teb-section-title em{font-style:italic;color:#fff;}

.teb-btn{border-radius:4px;font-family:'Lato', sans-serif;font-weight:900;font-size:13.5px;letter-spacing:.12em;
  text-transform:uppercase;padding:12px 26px;border:2px solid;transition:all .22s ease;}
.teb-btn-a{background:linear-gradient(150deg,#fde68a,#eab308);color:#3d2c00;border-color:#fef3c7;
  box-shadow:0 8px 24px rgba(234,179,8,.3);}
.teb-btn-a:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(234,179,8,.45);color:#3d2c00;}
.teb-btn-b{background:#0f3d22;color:#fef3c7;border-color:#fef3c7;}
.teb-btn-b:hover{background:#1b6b3a;}
.teb-btn-ghost{background:transparent;color:#fef3c7;border-color:rgba(254,243,199,.55);}
.teb-btn-ghost:hover{background:rgba(254,243,199,.1);}

.teb-hero{border-top:6px double rgba(254,243,199,.5);border-bottom:6px double rgba(254,243,199,.5);
  background:radial-gradient(680px 360px at 50% 118%, rgba(254,243,199,.14), transparent 66%);}
.teb-hero-inner{text-align:center;max-width:880px;}
.teb-crest{width:74px;height:74px;margin:0 auto 18px;border-radius:50%;
  border:3px double #fef3c7;display:flex;align-items:center;justify-content:center;
  font-family:Georgia,serif;font-size:30px;color:#eab308;background:rgba(0,0,0,.18);}
.teb-hero-kicker{border:2px solid rgba(254,243,199,.6);border-radius:4px;color:#fef3c7;
  letter-spacing:.3em;font-size:11px;padding:8px 20px;background:rgba(0,0,0,.15);font-family:'Lato', sans-serif;font-weight:700;}
.teb-hero-kicker::before{content:"EST. 1998 ✦ ";}
.teb-hero-title{font-size:clamp(40px,5.8vw,74px);}
.teb-hero-sub{margin-left:auto;margin-right:auto;}

.teb-card{background:linear-gradient(180deg,#0f3d22,#0c3019);border:2px solid rgba(254,243,199,.28);
  border-radius:5px;transition:border-color .25s ease,box-shadow .25s ease;}
.teb-card::after{content:"";position:absolute;inset:5px;border:1px solid rgba(254,243,199,.14);pointer-events:none;border-radius:3px;}
.teb-card:hover{border-color:#eab308;box-shadow:0 16px 40px rgba(2,22,12,.6),0 0 22px rgba(234,179,8,.14);}
.teb-card-title{font-family:Georgia,'Lora',serif;font-size:19px;color:#fff;}
.teb-card-title a{color:#fff;}.teb-card-title a:hover{color:#eab308;}
.teb-card-cat{background:#7c2d12;border:1px solid #eab308;color:#fef3c7;border-radius:3px;letter-spacing:.1em;}
.teb-widget,.teb-article{background:#0f3d22;border:2px solid rgba(254,243,199,.25);border-radius:5px;}
.teb-widget-title{border-bottom:3px double rgba(254,243,199,.5);}

.teb-section-head{border-left:none;flex-direction:column;text-align:center;gap:4px;}
.teb-section-title{font-size:33px;}
.teb-section-title::before{content:"✦ ";color:#eab308;}.teb-section-title::after{content:" ✦";color:#eab308;}
.teb-section-link{color:rgba(254,243,199,.6);}

.teb-footer{background:#0a2917;border-top:6px double rgba(254,243,199,.5);}
.teb-footer-title{color:#fef3c7;}

.teb-game-card{border-radius:6px;background:rgba(15,61,34,.85);border:2px solid rgba(254,243,199,.28);backdrop-filter:none;}
.teb-game-card:hover{border-color:#eab308;box-shadow:0 16px 40px rgba(2,22,12,.6),0 0 24px rgba(234,179,8,.18);transform:translateY(-5px);}
.teb-game-icon{background:rgba(0,0,0,.22);border:2px solid rgba(254,243,199,.5);}
.teb-game-name{font-family:Georgia,serif;color:#fef3c7;}
.teb-featured-big,.teb-featured-small{border-radius:5px;border:2px solid rgba(254,243,199,.3);}
.teb-featured-big:hover,.teb-featured-small:hover{border-color:#eab308;}
.teb-faq-item{border-radius:5px;border:1px solid rgba(254,243,199,.25);background:#0f3d22;}
.teb-faq-item[open]{border-color:#eab308;}
.teb-cta-band-home{background:linear-gradient(100deg,#713f12,#a16207 55%,#ca8a04);border-top:3px double #fef3c7;border-bottom:3px double #fef3c7;}
.teb-cta-band-home strong{font-family:Georgia,serif;}
.teb-404-code{font-family:Georgia,serif;background:none;color:#fef3c7;-webkit-text-fill-color:#fef3c7;}
/* ============ structural variants ============ */
