/*
Theme Name:   Tour2030 (GeneratePress Child)
Template:     generatepress
Description:  Dark, stage-lit child theme for tour2030.com, a 2030 concert tour news and blog site.
Version:      1.0.7
Text Domain:  tour2030
*/

:root{--ink:#0c0b14;--panel:#16151f;--line:#2a2838;--text:#ece9f5;--muted:#a19db8;--hot:#ff3d6e;--glow:#3ee6d3;--disp:'Big Shoulders Display','Arial Narrow',Impact,sans-serif;--body:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
html{overflow-x:hidden}
body,body .site,body .site-content{background:var(--ink);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.7}
a{color:var(--glow)}
a:hover{color:var(--hot)}
:focus-visible{outline:2px solid var(--glow);outline-offset:3px}
h1,h2,h3,h4,.entry-title,.entry-title a{font-family:var(--disp);color:#fff;font-weight:700;line-height:1.1;letter-spacing:.01em}

/* Header + logo */
.site-header,.main-navigation,.main-navigation ul ul,.inside-header{background:var(--ink)!important}
.site-header{border-bottom:1px solid var(--line)}
.main-title{font-family:var(--disp);font-size:32px;font-weight:900;line-height:1}
.main-title a,.main-title a:hover{color:#fff;display:inline-flex;align-items:center;gap:10px}
.main-title a::before{content:"";width:36px;height:36px;background:url(assets/logo-mark.svg) center/contain no-repeat}
.site-description{display:none}
.main-navigation .main-nav ul li a{color:var(--text);font-weight:500}
.main-navigation .main-nav ul li a:hover,.main-navigation .main-nav ul li[class*="current-menu-"]>a{color:var(--hot)!important;background:transparent!important}
.menu-toggle{color:#fff}

/* Full-bleed helper */
.t2-full{width:100vw;margin-left:calc(50% - 50vw)}
.t2-home{width:100%}
body.home .site-main{margin:0}
body.home .site-content{display:block}

/* Hero */
.t2-hero{position:relative;overflow:hidden;background:var(--ink);padding:clamp(40px,6vw,72px) 24px clamp(36px,5vw,60px);text-align:left}
.t2-beams{position:absolute;inset:0;pointer-events:none;-webkit-mask-image:linear-gradient(#000 45%,transparent);mask-image:linear-gradient(#000 45%,transparent);
background:
conic-gradient(from 150deg at 22% -8%,transparent 0 20deg,rgba(255,61,110,.38) 28deg,transparent 36deg),
conic-gradient(from 168deg at 78% -8%,transparent 0 20deg,rgba(62,230,211,.30) 28deg,transparent 36deg),
conic-gradient(from 155deg at 50% -10%,transparent 0 22deg,rgba(255,255,255,.12) 25deg,transparent 28deg)}
@media (prefers-reduced-motion:no-preference){.t2-beams{animation:t2sway 14s ease-in-out infinite alternate}}
@keyframes t2sway{from{transform:translateX(-1.5%)}to{transform:translateX(1.5%)}}
.t2-hero-in{position:relative;max-width:1180px;margin:0 auto}
.t2-hero h1{margin:0;display:flex;flex-direction:column}
.t2-num{font-size:clamp(4.5rem,14vw,11rem);font-weight:900;line-height:.82;letter-spacing:-.02em;background:linear-gradient(180deg,#fff 30%,var(--hot));-webkit-background-clip:text;background-clip:text;color:transparent}
.t2-sub{font-size:clamp(1.3rem,3vw,2rem);margin-top:14px;color:#fff}
.t2-lead{max-width:56ch;color:var(--muted);font-size:1.12rem;margin:18px 0 26px}
.t2-count{margin:26px 0 0;color:var(--muted)}
.t2-count strong{color:var(--glow);font-size:1.15rem}

/* Buttons */
.t2-cta{display:flex;gap:12px;flex-wrap:wrap}
.t2-btn{display:inline-block;background:var(--hot);color:#fff!important;padding:13px 26px;border-radius:6px;font-weight:700;text-decoration:none;border:2px solid var(--hot);transition:background .2s,border-color .2s}
.t2-btn:hover{background:#ff6b8f;border-color:#ff6b8f}
.t2-btn.ghost{background:transparent;border-color:var(--line);color:var(--text)!important}
.t2-btn.ghost:hover{border-color:var(--glow);background:transparent}

/* Sections */
.t2-sec{max-width:1180px;margin:0 auto;padding:56px 24px 8px}
.t2-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:10px}
.t2-head h2{margin:0;font-size:clamp(1.9rem,4vw,2.6rem)}
.t2-head a{font-size:.95rem}
.t2-empty{color:var(--muted)}

/* Cards */
.t2-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s}
.t2-card:hover{border-color:var(--hot)}
.t2-thumb{display:block;aspect-ratio:16/9;background:#1d1b2b;overflow:hidden}
.t2-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.t2-ph{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 120%,rgba(255,61,110,.35),transparent 65%)}
.t2-ph img{width:48px;height:48px;opacity:.9}
.t2-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.t2-body h3{margin:0;font-size:1.45rem}
.t2-body h3 a{color:#fff;text-decoration:none}
.t2-body h3 a:hover{color:var(--hot)}
.t2-tag{color:var(--glow);font-size:.85rem;font-weight:700;text-decoration:none}
.t2-body time{color:var(--muted);font-size:.85rem;margin-top:auto}
.t2-ex{color:var(--muted);margin:0 0 6px;font-size:1rem}
.t2-news{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
.t2-news .is-lead{grid-row:span 2}
.t2-news .is-lead .t2-body h3{font-size:2.3rem}
.t2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* Topics */
.t2-topics{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.t2-topic{display:flex;flex-direction:column;gap:6px;padding:20px 18px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--muted);background:var(--panel);transition:border-color .2s}
.t2-topic svg{color:var(--hot);margin-bottom:6px}
.t2-topic strong{color:#fff;font-family:var(--disp);font-size:1.35rem;font-weight:700}
.t2-topic span{font-size:.92rem;line-height:1.5}
.t2-topic:hover{border-color:var(--glow)}

/* Follow band */
.t2-follow{margin-top:64px;padding:64px 24px;background:linear-gradient(180deg,var(--panel),#100f19);border-top:1px solid var(--line)}
.t2-follow-in{max-width:760px;margin:0 auto}
.t2-follow h2{margin:0 0 10px;font-size:clamp(2rem,5vw,3rem)}
.t2-follow p{color:var(--muted);margin:0 0 22px}

/* Posts, pages, archives */
body .inside-article,body .sidebar .widget,body .comments-area,body .page-header{background:var(--panel)!important;color:var(--text);border:1px solid var(--line);border-radius:10px}
.entry-content{max-width:72ch}
.entry-content h2{font-size:2.1rem;margin:1.6em 0 .5em}
.entry-content h3{font-size:1.6rem}
.entry-meta,.entry-meta a,.cat-links a,.tags-links a{color:var(--glow);font-size:.88rem}
.widget-title{font-family:var(--disp);font-size:1.4rem;color:#fff}
.sidebar a{color:var(--text)}
input[type=text],input[type=email],input[type=search],textarea{background:var(--ink);color:var(--text);border:1px solid var(--line)}
.button,button,input[type=submit]{background:var(--hot);color:#fff;border-radius:6px;font-weight:700}
.button:hover,button:hover,input[type=submit]:hover{background:#ff6b8f;color:#fff}

/* Footer */
.site-footer,.site-info{background:#08080e!important;color:var(--muted)}
.t2-foot{text-align:center;font-size:.92rem}
.t2-foot nav{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-bottom:8px}
.t2-foot p{margin:0}

@media (max-width:980px){.t2-news{grid-template-columns:1fr 1fr}.t2-news .is-lead{grid-column:span 2;grid-row:auto}.t2-grid{grid-template-columns:1fr 1fr}.t2-topics{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.t2-news,.t2-grid,.t2-topics{grid-template-columns:1fr}.t2-news .is-lead{grid-column:auto}.t2-news .is-lead .t2-body h3{font-size:1.8rem}.t2-btn{flex:1;text-align:center}}

/* Tables inside posts (mobile-safe) */
.entry-content{overflow-x:auto}
.entry-content table{width:100%;max-width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;background:var(--panel);margin:1.5em 0}
.entry-content th,.entry-content td{padding:11px 14px;border:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:break-word}
.entry-content thead th,.entry-content tr:first-child th{background:#221f33;color:#fff;font-family:var(--disp);font-size:1.15rem;font-weight:700}
.entry-content tbody td:first-child{color:#fff;font-weight:700;background:#1a1826}
.entry-content tbody tr:nth-child(even) td:not(:first-child){background:rgba(255,255,255,.03)}
@media (max-width:900px){
  /* The table scrolls inside its own box, so it can never push the page sideways */
  .entry-content table{display:block;width:auto!important;max-width:100%!important;min-width:0!important;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:14px}
  .entry-content table th,.entry-content table td{width:auto!important;min-width:110px;padding:8px 10px}
  .entry-content figure.wp-block-table{max-width:100%;overflow-x:auto;margin:1.5em 0}
  .entry-content thead th,.entry-content tr:first-child th{font-size:1rem}
}

/* Note box: add the class "update-note" to the first paragraph ("Updated ... ") of a post */
.entry-content .update-note{font-size:14.5px;line-height:1.6;color:var(--muted);background:rgba(255,255,255,.04);border-left:3px solid var(--glow);border-radius:0 6px 6px 0;padding:10px 14px;margin:0 0 1.6em}
.entry-content .update-note a{color:var(--glow)}
