/* Template 2 — magazine layout (preview). Loaded after style.css; everything here is scoped to .t2 / t2-*. */
html.t2 { --t2-bg: #eef1f5; --t2-card: #fff; --t2-ink: #0e1a28; --t2-muted: #637083; --t2-line: #e1e6ed;
  --t2-navy: #0a1826; --t2-navy2: #10253a; --t2-acc: #22c16b; --t2-green: #1fb865; --t2-red: #e53935; --t2-r: 10px; }
@media (prefers-color-scheme: dark) {
  html.t2 { --t2-bg: #081119; --t2-card: #0f1b28; --t2-ink: #e6edf5; --t2-muted: #8fa0b3; --t2-line: #1c2a3a; }
}
html.t2 body { background: var(--t2-bg); color: var(--t2-ink); font: 15px/1.55 "Noto Sans", system-ui, sans-serif; }
.t2 h1, .t2 h2, .t2 h3, .t2 h4 { font-family: "Roboto Condensed", "Noto Sans", sans-serif; letter-spacing: -.005em; }
.t2-w { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.t2-preview { background: var(--t2-acc); color: #1b1300; text-align: center; font-size: .82rem; font-weight: 600; padding: 5px 10px; }
.t2-preview a { text-decoration: underline; }

/* header */
.t2-head { background: var(--t2-navy); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.t2-bar { display: flex; align-items: center; gap: 18px; height: 66px; }
.t2-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.t2-brand span { font: 800 1.45rem/1 "Roboto Condensed", sans-serif; letter-spacing: .01em; display: flex; flex-direction: column; }
.t2-brand b { color: var(--t2-acc); }
.t2-brand em { font-style: normal; white-space: nowrap; }
.t2-brand small { font: 600 .62rem/1.4 "Noto Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9fb3c8; margin-top: 3px; }
.t2-nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.t2-nav a { color: #d3e0ee; text-decoration: none; font: 700 .82rem "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  padding: 23px 11px 21px; border-bottom: 3px solid transparent; white-space: nowrap; }
.t2-nav a:hover { color: #fff; }
.t2-nav a.on { color: var(--t2-acc); border-bottom-color: var(--t2-acc); }
.t2-search { display: flex; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.t2-search input { background: none; border: 0; color: #fff; padding: 8px 10px; width: 150px; font: inherit; font-size: .85rem; outline: none; }
.t2-search input::placeholder { color: #8ea3b8; }
.t2-search button { background: none; border: 0; color: #fff; font-size: 1.1rem; padding: 0 10px; cursor: pointer; }
.t2-fb { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #1877f2; flex: none; }
.t2-clubs { background: var(--t2-navy2); border-top: 1px solid rgba(255,255,255,.06); }
.t2-clubs .t2-w { display: flex; gap: 10px; padding-top: 7px; padding-bottom: 7px; overflow-x: auto; scrollbar-width: none; }
.t2-clubs a { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .15s; }
.t2-clubs a:hover { transform: scale(1.1); }
.t2-clubs img { width: 26px; height: 26px; object-fit: contain; }

/* layout */
.t2-slottop { margin-top: 16px; display: flex; justify-content: center; }
.t2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; padding-top: 16px; padding-bottom: 40px; align-items: start; }
.t2-aside { display: grid; gap: 16px; align-content: start; }

/* ads */
.t2 .pgx { position: relative; margin: 0 auto; max-width: 100%; text-align: center; }
.t2 .pgx-l { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--t2-muted); margin-bottom: 3px; }
.t2 .pgx img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
.t2 .pgx-ph { background: #fff; border: 1px dashed #c9d2de; border-radius: 6px; display: grid; place-content: center; gap: 2px; color: #9aa7b6; margin: 0 auto; max-width: 100%; }
.t2 .pgx-ph span { font: 700 .8rem "Roboto Condensed", sans-serif; letter-spacing: .2em; }
.t2 .pgx-ph small { font-size: .72rem; }
.t2 .pgx-970x90 .pgx-ph { width: 970px; height: 90px; }
.t2 .pgx-970x250 .pgx-ph { width: 970px; height: 250px; }
.t2 .pgx-728x90 .pgx-ph { width: 728px; height: 90px; }
.t2 .pgx-300x250 .pgx-ph { width: 300px; height: 250px; }
.t2 .pgx-300x600 .pgx-ph { width: 300px; height: 600px; }
.t2-slotmid { margin: 26px 0; }
.t2-body .pgx { margin: 22px auto; }

/* tiles (club colours + watermark logo instead of photos) */
.t2-tile { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16/10; border-radius: var(--t2-r);
  background: linear-gradient(135deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 45%, #000) 100%); }
.t2-tile::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.14) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
  radial-gradient(circle at 50% 50%, transparent 0 16%, rgba(255,255,255,.14) 16.4% 17.1%, transparent 17.5%); }
.t2-wm { position: absolute; right: -12%; bottom: -22%; width: 70%; opacity: .16; filter: grayscale(1) brightness(3); }
.t2-logo { position: relative; z-index: 1; width: 30%; max-width: 120px; aspect-ratio: 1; object-fit: contain; background: rgba(255,255,255,.95);
  border-radius: 50%; padding: 5%; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); height: auto; }
.t2-tile.big { aspect-ratio: auto; position: absolute; inset: 0; border-radius: 0; }
.t2-tile.big .t2-logo { width: 22%; transform: translateY(-22%); }
.t2-tile.sm { aspect-ratio: 4/3; width: 116px; flex: none; border-radius: 8px; }
.t2-tile.xs { aspect-ratio: 1; width: 56px; flex: none; border-radius: 8px; }
.t2-tile.xs .t2-logo, .t2-tile.sm .t2-logo { width: 54%; }
.t2-tile.art { aspect-ratio: auto; height: 110px; margin: 16px 0 10px; }
.t2-tile.art .t2-logo { width: 78px; }

/* kicker / meta */
.t2-kick { font: 700 .72rem "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--t2-green); }
.t2-live { display: inline-block; background: var(--t2-red); color: #fff; font: 800 .66rem "Roboto Condensed", sans-serif; letter-spacing: .08em;
  padding: 1px 6px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; }
.t2-meta { font-size: .76rem; color: var(--t2-muted); margin-top: 6px; }
.t2 a { color: inherit; text-decoration: none; }

/* top block */
.t2-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.t2-hero a { position: relative; display: block; min-height: 420px; border-radius: var(--t2-r); overflow: hidden; color: #fff; box-shadow: 0 8px 24px rgba(10,24,38,.18); }
.t2-hero-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(180deg, transparent, rgba(4,10,18,.88) 55%); }
.t2-hero .t2-kick { background: var(--t2-acc); color: #fff; padding: 3px 8px; border-radius: 4px; }
.t2-hero h2 { font-size: 1.95rem; line-height: 1.12; margin: 10px 0 8px; }
.t2-hero p { margin: 0; color: #dbe5ef; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2-hero .t2-meta { color: #b9c7d6; }
.t2-top-side { display: grid; gap: 12px; }
.t2-side-card a { display: flex; gap: 12px; background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); padding: 10px; height: 100%; }
.t2-side-card h3 { font-size: 1.02rem; line-height: 1.25; margin: 4px 0 0; }
.t2-side-card a:hover h3, .t2-card a:hover h3, .t2-rows a:hover h4 { color: var(--t2-green); }

/* sections */
.t2-sec { margin-top: 28px; }
.t2-sec-h { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--t2-line); margin-bottom: 14px; }
.t2-sec-h h2 { font-size: 1.3rem; text-transform: uppercase; margin: 0 0 -2px; padding-bottom: 6px; border-bottom: 3px solid var(--t2-acc); }
.t2-sec-h a { font-size: .82rem; color: var(--t2-muted); }
.t2-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.t2-cards.three { grid-template-columns: repeat(3, 1fr); }
.t2-card a { display: flex; flex-direction: column; height: 100%; background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); overflow: hidden; }
.t2-card .t2-tile { border-radius: 0; }
.t2-card-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.t2-card h3 { font-size: 1.02rem; line-height: 1.25; margin: 4px 0 6px; }
.t2-card p { font-size: .84rem; color: var(--t2-muted); margin: 0; flex: 1; }
.t2-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t2-rows.two { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.t2-rows a { display: flex; gap: 10px; align-items: center; background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); padding: 8px; }
.t2-rows h4 { font-size: .95rem; line-height: 1.25; margin: 0; }
.t2-rows .t2-meta { margin-top: 3px; }
.t2-teams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.t2-team { background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); overflow: hidden; }
.t2-team-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #fff; font: 800 1.05rem "Roboto Condensed", sans-serif; text-transform: uppercase;
  background: linear-gradient(90deg, var(--c1), color-mix(in srgb, var(--c1) 55%, #000)); }
.t2-team-h img { background: #fff; border-radius: 50%; padding: 2px; }
.t2-team-h span { margin-left: auto; }
.t2-team .t2-rows { padding: 10px; }
.t2-team .t2-rows a { border: 0; padding: 4px; }

/* sidebar boxes */
.t2-box { background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); overflow: hidden; }
.t2-box-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 800 .88rem "Roboto Condensed", sans-serif; letter-spacing: .03em;
  border-bottom: 1px solid var(--t2-line); border-left: 4px solid var(--t2-acc); }
.t2-box-h a { margin-left: auto; font: 600 .74rem "Noto Sans", sans-serif; color: var(--t2-muted); letter-spacing: 0; }
.t2-box-h.live { background: var(--t2-red); color: #fff; border-left-color: #fff; }
.t2-box-h.live a { color: #ffe1e0; }
.t2-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: t2pulse 1.4s infinite; }
@keyframes t2pulse { 50% { opacity: .25; } }
.t2-lm { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--t2-line); }
.t2-min { background: var(--t2-red); color: #fff; font: 800 .78rem "Roboto Condensed", sans-serif; padding: 3px 7px; border-radius: 5px; min-width: 40px; text-align: center; }
.t2-lteams { flex: 1; display: grid; gap: 3px; font-size: .88rem; font-weight: 600; }
.t2-lteams div { display: flex; align-items: center; gap: 7px; }
.t2-lteams b { margin-left: auto; font-size: 1rem; }
.t2-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.t2-table th { font-size: .66rem; color: var(--t2-muted); text-transform: uppercase; padding: 6px 5px; }
.t2-table td { padding: 5px; border-top: 1px solid var(--t2-line); text-align: center; font-variant-numeric: tabular-nums; }
.t2-table .l { text-align: left; }
.t2-table td.l a { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.t2-table tr.t2-first td:first-child { box-shadow: inset 3px 0 var(--t2-green); }
.t2-nday { font: 700 .7rem "Noto Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--t2-muted); padding: 8px 12px 3px; background: color-mix(in srgb, var(--t2-line) 45%, transparent); }
.t2-nm { display: grid; grid-template-columns: 42px 1fr 14px 1fr; align-items: center; gap: 5px; padding: 7px 12px; border-top: 1px solid var(--t2-line); font-size: .82rem; font-weight: 600; }
.t2-ko { color: var(--t2-muted); font-size: .76rem; }
.t2-nt { display: flex; align-items: center; gap: 6px; min-width: 0; }
.t2-nt.r { justify-content: flex-end; text-align: right; }
.t2-vs { text-align: center; color: var(--t2-muted); }
.t2-pop { margin: 0; padding: 6px 12px 10px; list-style: none; counter-reset: none; }
.t2-pop li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--t2-line); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.t2-pop li:first-child { border-top: 0; }
.t2-rank { font: 800 1.3rem/1 "Roboto Condensed", sans-serif; color: var(--t2-acc); min-width: 20px; }

/* list pages */
.t2-h1 { font-size: 1.7rem; text-transform: uppercase; margin: 0 0 14px; border-left: 5px solid var(--t2-acc); padding-left: 10px; }
.t2-teamhead { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--t2-r); color: #fff; margin-bottom: 16px;
  background: linear-gradient(120deg, var(--c1), color-mix(in srgb, var(--c1) 45%, #000)); }
.t2-teamhead img { background: #fff; border-radius: 50%; padding: 6px; }
.t2-teamhead small { letter-spacing: .15em; font-size: .7rem; opacity: .85; }
.t2-teamhead h1 { margin: 0; font-size: 2rem; }
.t2-teamhead p { margin: 0; opacity: .85; }
.t2-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: .88rem; color: var(--t2-muted); }
.t2-pager a { background: var(--t2-card); border: 1px solid var(--t2-line); padding: 8px 14px; border-radius: 999px; color: var(--t2-ink); font-weight: 600; }
.t2-empty { color: var(--t2-muted); }
.t2-mc { margin-bottom: 22px; }

/* article */
.t2-article { background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); padding: 22px 26px 18px; }
.t2-crumbs { font-size: .78rem; color: var(--t2-muted); margin-bottom: 12px; }
.t2-crumbs a:hover { color: var(--t2-green); }
.t2-article h1 { font-size: 2.2rem; line-height: 1.12; margin: 6px 0 10px; }
.t2-dek { font-size: 1.12rem; color: var(--t2-muted); margin: 0 0 10px; line-height: 1.5; }
.t2-art-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--t2-muted); border-top: 1px solid var(--t2-line); border-bottom: 1px solid var(--t2-line); padding: 8px 0; }
.t2-body { font-size: 1.08rem; line-height: 1.75; }
.t2-body p { margin: 0 0 1.05em; }
.t2-body p:first-of-type::first-letter { font: 800 3.1em/.9 "Roboto Condensed", sans-serif; float: left; margin: 4px 8px 0 0; color: var(--t2-green); }
.t2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.t2-tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--t2-line); border-radius: 999px; padding: 4px 10px 4px 5px; font-size: .82rem; font-weight: 600; }
.t2-tag:hover { border-color: var(--t2-green); }

/* footer */
.t2-foot { background: var(--t2-navy); color: #b6c5d5; margin-top: 30px; padding: 34px 0 14px; font-size: .88rem; }
.t2-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.t2-foot h4 { color: #fff; margin: 0 0 8px; font-size: .95rem; text-transform: uppercase; }
.t2-foot a { display: block; padding: 2px 0; }
.t2-foot a:hover { color: #fff; }
.t2-foot .t2-brand { display: flex; margin-bottom: 10px; }
.t2-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; padding-top: 12px; font-size: .78rem; }

/* responsive */
@media (max-width: 1100px) {
  .t2-cards { grid-template-columns: repeat(3, 1fr); }
  .t2-search input { width: 110px; }
}
@media (max-width: 980px) {
  .t2-grid { grid-template-columns: 1fr; }
  .t2-aside { position: static; }
  .t2-top { grid-template-columns: 1fr; }
  .t2 .pgx-970x90 .pgx-ph, .t2 .pgx-970x250 .pgx-ph, .t2 .pgx-728x90 .pgx-ph { width: 100%; }
  .t2 .pgx-970x250 .pgx-ph { height: 180px; }
}
@media (max-width: 760px) {
  .t2-bar { height: 56px; gap: 10px; }
  .t2-nav, .t2-search { display: none; }
  .t2-brand span { font-size: 1.2rem; }
  .t2-brand small { display: none; }
  .t2-fb { margin-left: auto; }
  .t2-hero a { min-height: 320px; }
  .t2-hero h2 { font-size: 1.45rem; }
  .t2-cards, .t2-cards.three { grid-template-columns: 1fr 1fr; gap: 10px; }
  .t2-card p { display: none; }
  .t2-teams, .t2-rows.two { grid-template-columns: 1fr; }
  .t2-article { padding: 16px; }
  .t2-article h1 { font-size: 1.55rem; }
  .t2-foot-grid { grid-template-columns: 1fr 1fr; }
  .t2 .pgx-970x90 .pgx-ph, .t2 .pgx-728x90 .pgx-ph { height: 60px; }
  .t2 .pgx-300x600 .pgx-ph { height: 250px; }
}
@media (max-width: 480px) {
  .t2-cards, .t2-cards.three { grid-template-columns: 1fr; }
  .t2-tile.sm { width: 96px; }
}

/* v28 fixes: full-width ad boxes, mobile hero logo, mobile category row */
.t2 .pgx { width: 100%; }
@media (max-width: 760px) {
  .t2-bar { flex-wrap: wrap; height: auto; padding-top: 8px; }
  .t2-nav { display: flex; order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 8px; border-top: 1px solid rgba(255,255,255,.08); }
  .t2-nav a { padding: 11px 10px 10px; font-size: .78rem; }
  .t2-tile.big .t2-logo { width: 64px; transform: none; position: absolute; top: 18px; left: 18px; }
  .t2-hero-txt { padding-top: 40px; }
}

/* v30: old-template content pages (contact, privacy, about, 404) inside template 2 */
.t2-main .prose, .t2-main .contact { max-width: none; margin: 0; }
.t2-main .empty { background: var(--t2-card); border: 1px solid var(--t2-line); border-radius: var(--t2-r); padding: 40px 20px; }

/* v31: match centre in template 2 — no table (it is in the sidebar); next round + results side by side */
.t2-mc .mc { display: block; margin: 0; }
.t2-mc .mc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.t2-mc .live-box { grid-column: 1 / -1; }
.t2-mc .box { background: var(--t2-card); border-color: var(--t2-line); }
@media (max-width: 760px) { .t2-mc .mc-main { grid-template-columns: 1fr; } }
.t2-mc .m { grid-template-columns: 38px 1fr auto 1fr; gap: 6px; }
.t2-mc .m .tn { white-space: normal; overflow: visible; line-height: 1.15; font-size: .86rem; }
.t2-mc .m img { width: 22px; height: 22px; flex-basis: 22px; }
.t2-mc .m .sc { min-width: 44px; }

/* v33: TOP 8 team headers — white text on dark club colours, dark text on yellow ones */
.t2 .t2-team-h { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.t2 .club-apoel .t2-team-h, .t2 .club-ael .t2-team-h, .t2 .club-aek .t2-team-h { color: #0e1a28; text-shadow: none; }
.t2-slottop:empty, .t2-slotmid:empty { display: none; }

/* v36: logo circle padding was % of the (wide) tile → logo shrank to a dot on the article band */
.t2-logo { padding: 7%; }
.t2-tile.art .t2-logo { width: 86px; height: 86px; padding: 9px; }
.t2-tile.big .t2-logo { padding: 14px; }
.t2-tile.sm .t2-logo, .t2-tile.xs .t2-logo { padding: 4px; }
.t2-card .t2-logo { padding: 10px; }

/* v37: hero logo in the top-left corner — never over the headline */
.t2-tile.big .t2-logo { position: absolute; top: 22px; left: 22px; width: 96px; height: 96px; padding: 12px; transform: none; }
@media (max-width: 760px) { .t2-tile.big .t2-logo { top: 16px; left: 16px; width: 64px; height: 64px; padding: 8px; } }
/* v38: hero logo centered horizontally, same top position */
.t2-tile.big .t2-logo { left: 50%; transform: translateX(-50%); }
@media (max-width: 760px) { .t2-tile.big .t2-logo { left: 50%; transform: translateX(-50%); } }
/* v39: hero logo ×1.5 */
.t2-tile.big .t2-logo { width: 144px; height: 144px; padding: 18px; top: 20px; }
@media (max-width: 760px) { .t2-tile.big .t2-logo { width: 96px; height: 96px; padding: 12px; top: 14px; } .t2-hero a { min-height: 360px; } }
.t2-tile.big .t2-logo { max-width: none; }
/* v41: bigger crest inside the hero circle (less inner padding) */
.t2-tile.big .t2-logo { padding: 8px; }
@media (max-width: 760px) { .t2-tile.big .t2-logo { padding: 6px; } }
