/* ==========================================================
   Kék Szemű Csibész — terencehill.hu (GeneratePress)
   Terence Hill rajongói oldal — olasz akvarell / navy stílus
   ========================================================== */
:root{
  --th-paper:#f2e9d2; --th-paper2:#ece0c0; --th-card:#fbf5e6; --th-card2:#f6eed8;
  --th-ink:#1e3a52; --th-ink2:#46617a; --th-muted:#6b7f92;
  --th-navy:#0e4c7e; --th-navy-d:#0a3a63; --th-blue:#3f7cb0;
  --th-gold:#d9a441; --th-gold-d:#c28f2f;
  --th-footer:#0a3f6b; --th-border:#dccaa0; --th-line:#e6d8b6;
  --th-shadow:0 10px 26px rgba(20,50,80,.12);
  --th-maxw:1005px;
  --th-disp:"Zilla Slab", Georgia, "Times New Roman", serif;
  --th-body:"Zilla Slab", Georgia, serif;
}
body.th-site{ background:var(--th-paper); color:var(--th-ink); font-family:var(--th-body); font-size:17px; }
.th-site #page{ overflow-x:hidden; }
.th-site .site-content{ padding:0; } .th-site .site-main{ margin:0!important; }
.th-site .entry-content{ margin:0; } .th-site .entry-header,.th-site .entry-footer{ display:none; }
.th-site .container.grid-container{ max-width:100%; padding:0; }
.th-site h1,.th-site h2,.th-site h3,.th-site h4{ font-family:var(--th-disp); color:var(--th-ink); margin:0; line-height:1.08; font-weight:700; }
.th-site p{ margin:0; } .th-site .entry-content > *{ margin-top:0; }
.th-wrap{ max-width:var(--th-maxw); margin:0 auto; padding:0 28px; }
.th-site img{ max-width:100%; height:auto; }
.th-site .entry-content .wp-block-group__inner-container{ padding-left:0!important; padding-right:0!important; max-width:none!important; }

/* buttons */
.th-btn{ display:inline-flex; align-items:center; gap:9px; font-family:var(--th-disp); font-weight:600; font-size:15.5px;
  padding:11px 20px; border-radius:9px; text-decoration:none; border:0; cursor:pointer; transition:.16s; white-space:nowrap; }
.th-btn--navy{ background:var(--th-navy); color:#fff; box-shadow:0 6px 14px rgba(14,76,126,.25); }
.th-btn--navy:hover{ background:var(--th-navy-d); color:#fff; transform:translateY(-1px); }
.th-btn--ghost{ background:transparent; color:var(--th-navy); border:1.5px solid var(--th-navy); }
.th-btn--ghost:hover{ background:var(--th-navy); color:#fff; }
.th-btn--gold{ background:var(--th-gold); color:#3a2a10; }
.th-btn--gold:hover{ background:var(--th-gold-d); color:#3a2a10; }

/* ============ HEADER ============ */
.th-site .site-header{ background:transparent; border:0; position:relative; z-index:20; }
.th-site .inside-header{ max-width:var(--th-maxw); margin:0 auto; padding:16px 28px; display:flex; align-items:center; justify-content:space-between; }
.th-brand{ display:inline-flex; flex-direction:column; text-decoration:none; line-height:1; }
.th-brand .bn{ font-family:var(--th-disp); font-weight:700; font-size:26px; letter-spacing:.06em; color:var(--th-navy); text-transform:uppercase; }
.th-brand .bs{ font-size:11px; letter-spacing:.02em; color:var(--th-muted); margin-top:5px; }
.th-site .site-branding, .th-site .site-header .site-branding{ display:none!important; }
.th-site .main-navigation, .th-site .main-navigation .inside-navigation,
.th-site .main-nav ul, .th-site .main-nav ul ul{ background:transparent!important; background-color:transparent!important; }
.th-site .main-navigation .inside-navigation{ padding:0; }
@media (min-width:769px){
  .th-site .main-navigation{ margin-left:auto; }
  .th-site .main-nav > ul{ display:flex; flex-wrap:nowrap; align-items:center; }
  .th-site .main-navigation .main-nav ul li{ display:flex; align-items:center; }
}
.th-site .main-navigation .main-nav ul li a{ color:var(--th-ink)!important; background:transparent!important; font-family:var(--th-disp); font-weight:600; font-size:16px; padding:8px 13px; }
.th-site .main-navigation .main-nav ul li a:hover, .th-site .main-navigation .main-nav ul li:hover>a{ color:var(--th-navy)!important; background:transparent!important; }
.th-site .main-navigation .main-nav ul li.menu-active>a{ color:var(--th-navy)!important; border-bottom:2px solid var(--th-navy); }
.th-head-icons{ display:flex; align-items:center; gap:14px; margin-left:16px; }
.th-head-icons svg{ width:20px; height:20px; color:var(--th-ink); cursor:pointer; }
.th-head-icons .sun{ color:var(--th-gold); }

/* ============ HERO ============ */
.th-hero{ position:relative; background:radial-gradient(130% 90% at 75% 10%, #dbeaf3 0%, var(--th-paper) 55%); overflow:hidden; }
.th-hero__inner{ max-width:var(--th-maxw); margin:0 auto; padding:24px 28px 40px; display:grid; grid-template-columns:1fr 1.15fr; gap:20px; align-items:center; min-height:440px; }
.th-hero__text{ position:relative; z-index:3; }
.th-hero__text h1{ font-size:clamp(38px,4.8vw,60px); color:var(--th-navy); line-height:1.02; }
.th-hero__lead{ font-size:18px; color:var(--th-ink2); margin-top:16px; line-height:1.4; }
.th-hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.th-hero__art img{ width:100%; height:auto; display:block; border-radius:12px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 100%); mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 100%); }

/* section head */
.th-sec-head{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.th-sec-head h2{ font-size:15px; letter-spacing:.13em; text-transform:uppercase; color:var(--th-navy); }
.th-sec-head .line{ flex:1; height:1px; background:var(--th-border); }
.th-sec-head .more{ color:var(--th-navy); font-weight:600; text-decoration:none; font-size:14px; white-space:nowrap; }
.th-sec-head .more:hover{ color:var(--th-gold-d); }

/* ============ FILMS ============ */
.th-films{ padding:30px 0 34px; }
.th-carousel{ position:relative; }
.th-film-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.th-film{ position:relative; border-radius:12px; overflow:hidden; box-shadow:var(--th-shadow); border:1px solid var(--th-border); }
.th-film img{ width:100%; height:auto; display:block; }
.th-film .cap{ display:none; }
.th-cbtn{ position:absolute; top:42%; width:36px; height:36px; border-radius:50%; background:#fff; color:var(--th-navy); border:1px solid var(--th-border); display:grid; place-items:center; cursor:pointer; z-index:4; box-shadow:var(--th-shadow); }
.th-cbtn.prev{ left:-14px; } .th-cbtn.next{ right:-14px; }

/* ============ 3-COL BAND ============ */
.th-band{ padding:12px 0 30px; }
.th-band__grid{ display:grid; grid-template-columns:1.15fr 1fr 1.05fr; gap:18px; align-items:stretch; }
.th-panel{ background:var(--th-card); border:1px solid var(--th-border); border-radius:14px; padding:18px; box-shadow:0 4px 12px rgba(20,50,80,.06); }
.th-story__body{ display:flex; gap:14px; margin-top:6px; }
.th-story p{ font-size:14px; color:var(--th-ink2); line-height:1.5; margin-bottom:10px; }
.th-story__portrait{ flex:0 0 120px; }
.th-story__portrait img{ width:120px; border-radius:8px; border:1px solid var(--th-border); }
.th-story__cta{ display:flex; flex-direction:column; gap:8px; margin-top:12px; align-items:flex-start; }
/* milestones */
.th-miles{ list-style:none; margin:0; padding:0; }
.th-miles li{ display:flex; gap:12px; padding:9px 0; border-bottom:1px dashed var(--th-border); align-items:baseline; }
.th-miles li:last-child{ border-bottom:0; }
.th-miles .y{ font-family:var(--th-disp); font-weight:700; color:var(--th-navy); font-size:15px; flex:0 0 54px; }
.th-miles .m{ font-size:13.5px; color:var(--th-ink2); line-height:1.35; }
.th-panel .more{ display:inline-block; margin-top:12px; color:var(--th-navy); font-weight:600; text-decoration:none; font-size:14px; }
.th-panel .more:hover{ color:var(--th-gold-d); }
/* characters */
.th-chars{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.th-char{ position:relative; border-radius:10px; overflow:hidden; aspect-ratio:3/4; border:1px solid var(--th-border); }
.th-char img{ width:100%; height:100%; object-fit:cover; }
.th-char .c{ position:absolute; left:0; right:0; bottom:0; padding:16px 7px 8px; background:linear-gradient(transparent, rgba(10,40,70,.85)); color:#fff; text-align:center; }
.th-char .c b{ font-family:var(--th-disp); font-size:14px; display:block; }
.th-char .c span{ font-size:10.5px; color:#e5eef5; line-height:1.15; display:block; margin-top:2px; }

/* ============ BOTTOM MODULES ============ */
.th-mods{ padding:6px 0 34px; }
.th-mods__grid{ display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:18px; }
.th-mod{ background:var(--th-card); border:1px solid var(--th-border); border-radius:14px; padding:18px; box-shadow:0 4px 12px rgba(20,50,80,.06); }
.th-mod h3{ font-size:14px; letter-spacing:.1em; text-transform:uppercase; color:var(--th-navy); margin-bottom:12px; }
.th-moments{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:12px; }
.th-moments img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:8px; border:1px solid var(--th-border); }
.th-moments-strip{ width:100%; border-radius:8px; border:1px solid var(--th-border); margin-bottom:12px; display:block; }
.th-mod.quiz{ display:flex; flex-direction:column; }
.th-mod.quiz .qwrap{ display:flex; gap:12px; align-items:center; }
.th-mod.quiz p{ font-size:14px; color:var(--th-ink2); line-height:1.4; }
.th-mod.quiz img{ width:78px; flex:0 0 auto; }
.th-mod.quiz .th-btn{ margin-top:14px; align-self:flex-start; }
.th-newsL{ list-style:none; margin:0; padding:0; }
.th-newsL li{ display:flex; gap:11px; padding:9px 0; border-bottom:1px dashed var(--th-border); }
.th-newsL li:last-child{ border-bottom:0; }
.th-newsL img{ width:52px; height:40px; object-fit:cover; border-radius:6px; flex:0 0 auto; border:1px solid var(--th-border); }
.th-newsL .tag{ font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--th-gold-d); font-weight:600; }
.th-newsL .t{ font-size:13.5px; color:var(--th-ink); font-weight:600; line-height:1.25; }
.th-newsL .d{ font-size:11px; color:var(--th-muted); }
.th-mod .more{ display:inline-block; margin-top:12px; color:var(--th-navy); font-weight:600; text-decoration:none; font-size:14px; float:right; }

/* ============ NEWSLETTER ============ */
.th-news-band{ background:var(--th-card2); border-top:1px solid var(--th-border); border-bottom:1px solid var(--th-border); padding:24px 0; }
.th-news-band .th-wrap{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.th-news-band .nb-ico{ width:46px; height:46px; border-radius:10px; background:rgba(14,76,126,.1); display:grid; place-items:center; flex:0 0 auto; }
.th-news-band .nb-ico svg{ width:24px; height:24px; color:var(--th-navy); }
.th-news-band h3{ font-size:17px; letter-spacing:.06em; text-transform:uppercase; color:var(--th-navy); }
.th-news-band p{ font-size:14px; color:var(--th-ink2); margin-top:3px; }
.th-news-band .nb-form{ margin-left:auto; display:flex; gap:10px; }
.th-news-band input{ background:#fff; border:1px solid var(--th-border); border-radius:8px; padding:11px 15px; font-family:var(--th-body); font-size:15px; min-width:220px; color:var(--th-ink); }
.th-news-band button{ background:var(--th-navy); color:#fff; font-family:var(--th-disp); font-weight:600; border:0; border-radius:8px; padding:11px 20px; cursor:pointer; }
.th-news-band button:hover{ background:var(--th-navy-d); }

/* ============ FOOTER ============ */
.th-footer{ background:var(--th-footer); color:#c3d6e6; }
.th-footer .th-wrap{ padding:26px 28px; display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.th-footer .fbrand .bn{ font-family:var(--th-disp); font-weight:700; font-size:20px; letter-spacing:.06em; color:#fff; text-transform:uppercase; }
.th-footer .fbrand .bs{ font-size:11px; color:#9db8ce; margin-top:3px; }
.th-foot-social{ display:flex; gap:9px; }
.th-foot-social a{ width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,.1); display:grid; place-items:center; }
.th-foot-social a:hover{ background:var(--th-gold); }
.th-foot-social svg{ width:17px; height:17px; color:#fff; }
.th-foot-mid{ margin-left:auto; text-align:center; font-size:13px; color:#a9c2d6; }
.th-foot-links{ display:flex; gap:16px; }
.th-foot-links a{ color:#c3d6e6; text-decoration:none; font-size:13.5px; }
.th-foot-links a:hover{ color:var(--th-gold); }

/* ============ MOBILE BOTTOM NAV ============ */
.th-mobilenav{ display:none; }
@media (max-width:768px){
  .th-mobilenav{ display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:9999; background:var(--th-navy); box-shadow:0 -4px 14px rgba(0,0,0,.2); }
  .th-mobilenav a{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 2px; color:#cfe0ee; text-decoration:none; font-size:11px; font-family:var(--th-disp); }
  .th-mobilenav svg{ width:20px; height:20px; }
  .th-mobilenav a.active{ color:#fff; } .th-mobilenav a.active svg{ color:var(--th-gold); }
  body.th-site{ padding-bottom:60px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width:1024px){
  .th-band__grid{ grid-template-columns:1fr 1fr; }
  .th-band__grid .th-panel.chars-panel{ grid-column:1/-1; }
  .th-mods__grid{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  .th-site .inside-header{ padding:10px 16px; gap:8px; flex-wrap:nowrap; }
  .th-site .main-navigation{ order:-1!important; margin:0!important; width:auto!important; flex:0 0 auto; }
  .th-site .th-brand{ order:0!important; margin-left:10px; margin-right:auto; }
  .th-site .th-head-icons{ order:1; margin-left:0; }
  .th-head-icons .search{ display:none; }
  .th-site .menu-toggle{ background:transparent!important; color:var(--th-ink)!important; padding:0 4px!important; font-size:24px; }
  .th-site .menu-toggle .mobile-menu{ display:none!important; }
  .th-hero__inner{ grid-template-columns:1fr; padding-top:6px; }
  .th-hero__art{ order:-1; }
  .th-hero__art img{ -webkit-mask-image:none; mask-image:none; }
  .th-hero__text h1{ font-size:34px; }
  .th-film-grid{ display:flex; overflow-x:auto; gap:12px; scroll-snap-type:x mandatory; padding-bottom:6px; }
  .th-film{ flex:0 0 44%; scroll-snap-align:start; }
  .th-cbtn{ display:none; }
  .th-band__grid{ grid-template-columns:1fr; }
  .th-story__portrait img{ width:120px; }
  .th-news-band .th-wrap{ flex-direction:column; align-items:flex-start; }
  .th-news-band .nb-form{ margin-left:0; width:100%; } .th-news-band input{ flex:1; min-width:0; }
  .th-footer .th-wrap{ flex-direction:column; align-items:flex-start; gap:14px; }
  .th-foot-mid{ margin-left:0; text-align:left; }
}
@media (max-width:480px){
  .th-film{ flex:0 0 62%; }
  .th-hero__text h1{ font-size:30px; }
}

/* hide GP default footer */
.th-site .site-footer{ display:none; }

/* ====== ÉLESSÉG: natív méret feletti nagyítás tiltása ====== */
.th-film img{ width:100%; height:auto; max-width:188px; display:block; }
.th-char img{ max-width:86px; height:auto; object-fit:none; }
.th-moments-strip{ max-width:270px; }
.th-story__portrait img{ width:120px; }

/* ====== HERO a mockup szerint: illusztráció a jobb oldalon, natív méretben ====== */
.th-site .site-header{ position:relative !important; background:transparent !important; z-index:30; }
.th-site .entry-content > .th-hero{ margin-top:0 !important; padding-top:0 !important; }
.th-site .th-hero__inner{ position:static !important; min-height:294px; padding-top:14px; padding-bottom:30px; grid-template-columns:1fr; }
.th-site .th-hero__text{ position:relative; z-index:2; max-width:430px; }
.th-site .th-hero__art{ position:absolute !important; top:0 !important; right:calc(50% - 502px) !important; width:624px; z-index:1; }
.th-site .th-hero__art img{ width:624px; max-width:624px; border-radius:0; box-shadow:none;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 16%, #000 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 16%, #000 100%); }
@media (max-width:1060px){ .th-site .th-hero__art{ right:0 !important; } }
@media (max-width:768px){
  .th-site .th-hero__art{ position:static !important; width:100%; }
  .th-site .th-hero__art img{ width:100%; max-width:100%; -webkit-mask-image:none; mask-image:none; }
  .th-site .th-hero__text{ max-width:100%; }
  .th-site .th-hero__inner{ min-height:auto; }
  .th-char img{ max-width:100%; }
}

/* karakter-kártyák: ne torzuljanak, minimális nagyítás */
.th-char img{ max-width:none !important; object-fit:cover !important; width:100% !important; height:100% !important; }
.th-char{ max-width:104px; margin:0 auto; }
@media (max-width:768px){ .th-char{ max-width:none; } }

/* --- mobil: a filmsáv és a szekciófejek ne lógjanak ki --- */
@media (max-width:768px){
  .th-site .th-carousel, .th-site .th-film-grid{ max-width:100%; min-width:0; }
  .th-site .th-sec-head{ flex-wrap:wrap; }
  .th-site .th-sec-head .more{ margin-left:0; }
  .th-site .th-film{ flex:0 0 58%; }
  .th-site .th-band__grid, .th-site .th-mods__grid{ min-width:0; }
  .th-site .th-story__body{ flex-wrap:wrap; }
}
