/* PTTL Home Page Styles — extracted από inline <style> για να φορτώνει στο <head> και να αποτρέπει CLS. */

/* ============ HERO BLOCK ============ */
.pttl-hero-block{display:grid;gap:18px;margin:32px 0 36px}
.pttl-hero-row{display:grid;gap:18px;align-items:stretch}
.pttl-hero-row--big{grid-template-columns:1fr}
.pttl-hero-row--mix{grid-template-columns:1fr}
.pttl-hero-row--2{grid-template-columns:1fr}
@media (min-width:768px){
	.pttl-hero-row--big{grid-template-columns:2fr 1fr}
	.pttl-hero-row--mix{grid-template-columns:repeat(3,minmax(0,1fr))}
	.pttl-hero-row--2{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Generic hero card — fills full row height */
.pttl-h-card{display:flex;flex-direction:column;height:100%;background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .25s var(--ease),border-color .25s var(--ease)}
.pttl-h-card__media{position:relative;display:block;flex:1 1 auto;min-height:0;aspect-ratio:16/9;background:var(--bg-elev-2);overflow:hidden}
.pttl-h-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.pttl-h-card:hover .pttl-h-card__media img{transform:scale(1.04)}
.pttl-h-card__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:0 0 auto}
.pttl-h-card__eyebrow{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--accent)}
.pttl-h-card__eyebrow a{color:var(--accent)}
.pttl-h-card__eyebrow span{color:var(--text-faint)}
.pttl-h-card__title{margin:0;font-size:16px;line-height:1.3;color:#fff;font-weight:800}
/* PERF/A11y: display:block ώστε link να γεμίζει όλη η γραμμή (width >= 44px guaranteed) */
.pttl-h-card__title a{color:inherit !important;display:block !important;padding:11px 0 !important;min-height:44px !important;min-width:44px !important;line-height:1.4 !important}
/* Sidebar widget image links — 44×44 touch target για WCAG 2.5.5 */
.pttl-aside .wp-block-image a,
.pttl-aside .widget_text a,
.pttl-aside .widget_media_image a,
.pttl-aside section figure a,
.pttl-aside section a:has(img),
.pttl-aside .widget a:has(img){display:inline-block !important;min-width:44px !important;min-height:44px !important;line-height:0 !important;padding:0 !important}
.pttl-aside a img{display:block}

/* Hero 1 + Hero 2 — equal height, no excerpts, media stretches to fill */
@media (min-width:768px){
	.pttl-hero-row--big .pttl-h-card__media{aspect-ratio:auto}
}
.pttl-h-card--hero .pttl-h-card__title{font-size:clamp(22px,2.4vw,30px)}
.pttl-h-card--hero .pttl-h-card__body{padding:18px 22px 22px;gap:8px}
.pttl-h-card--med .pttl-h-card__title{font-size:18px}

/* Hero 3,4 — small (left side of mix row) */
.pttl-h-card--sm .pttl-h-card__title{font-size:15px}

/* Hero 6,7 — wide (2-col) */
.pttl-h-card--wide .pttl-h-card__title{font-size:18px}

/* News strip — vertical list of recent items inside hero row 2 */
.pttl-news-strip{display:flex;flex-direction:column;height:100%;background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.pttl-news-strip__title{margin:0;padding:14px 16px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);border-bottom:1px solid var(--border-soft);background:#0d0e10}
.pttl-news-strip__list{list-style:none;margin:0;padding:0;flex:1;overflow:hidden;display:flex;flex-direction:column}
.pttl-news-strip__item{flex:1;min-height:0;border-top:1px solid var(--border-soft);overflow:hidden}
.pttl-news-strip__item:first-child{border-top:0}
.pttl-news-strip__link{display:grid;grid-template-columns:60px 1fr;gap:10px;align-items:center;padding:10px 12px;height:100%;color:var(--text);transition:background .12s ease}
.pttl-news-strip__link:hover{background:var(--bg-elev-2);color:#fff}
.pttl-news-strip__thumb{display:block;width:60px;height:46px;border-radius:8px;overflow:hidden;background:var(--bg-elev-2);flex:0 0 60px}
.pttl-news-strip__thumb img{width:100%;height:100%;object-fit:cover}
.pttl-news-strip__thumb--empty{background:linear-gradient(135deg,var(--bg-elev-2),#0d0e10)}
.pttl-news-strip__copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.pttl-news-strip__heading{font-size:13px;font-weight:600;color:#fff;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pttl-news-strip__meta{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);display:flex;align-items:center;gap:5px}
.pttl-news-strip__cat{color:var(--accent)}

/* ============ LAYOUT (latest + sidebar) ============ */
/* Layout — mobile grid, desktop sidebar absolute (ώστε layout = main height, χωρίς structural gap) */
.pttl-layout{display:grid;grid-template-columns:1fr;gap:32px;padding:0 0 0}
@media (min-width:1024px){
	.pttl-layout{display:block;position:relative;padding:0;gap:0}
	.pttl-layout > .pttl-main{margin-right:360px}
	.pttl-layout > .pttl-aside{position:absolute;top:0;right:0;width:320px;align-self:auto}
}

/* ============ LATEST GRID — alternating pattern ============ */
.pttl-latest-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:600px){.pttl-latest-grid{grid-template-columns:repeat(6,1fr)}}

/* By default, all cells span 6 (full width on mobile) */
.pttl-latest-cell{grid-column:span 6}

/* Pattern repeats every 8 cells:
   1,2 → equal halves (3 cols each)
   3,4 → equal halves
   5   → 4 cols (2/3)
   6   → 2 cols (1/3)
   7   → 2 cols (1/3)
   8   → 4 cols (2/3) */
@media (min-width:600px){
	.pttl-latest-cell:nth-child(8n+1),
	.pttl-latest-cell:nth-child(8n+2),
	.pttl-latest-cell:nth-child(8n+3),
	.pttl-latest-cell:nth-child(8n+4){grid-column:span 3}
	.pttl-latest-cell:nth-child(8n+5){grid-column:span 4}
	.pttl-latest-cell:nth-child(8n+6){grid-column:span 2}
	.pttl-latest-cell:nth-child(8n+7){grid-column:span 2}
	.pttl-latest-cell:nth-child(8n+8){grid-column:span 4}
}

/* Section head — αρκετός αέρας πάνω για ξεκάθαρο διαχωρισμό από προηγούμενο section */
.pttl-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:36px 0 18px;padding-bottom:0;border:0}
.pttl-section-title{margin:0;font-size:clamp(22px,2.2vw,28px);color:#fff;font-weight:800;letter-spacing:-.02em}
.pttl-section-link{color:var(--text-muted);font-size:13px;font-weight:700}
.pttl-section-link:hover{color:#fff}

.pttl-loadmore-wrap{margin:24px 0 0}
.pttl-loadmore-wrap .pttl-btn{display:flex;width:100%;justify-content:center;height:52px;font-size:14px;letter-spacing:.04em;text-transform:uppercase}

/* ============ HOMEPAGE EXTRA SECTIONS ============ */
.pttl-home-row{display:block;margin:24px 0 0}
.pttl-home-row--ad{display:flex;justify-content:center}
.pttl-home-ad{display:flex;align-items:center;justify-content:center;width:100%;min-height:120px;padding:8px;background:var(--bg-elev);border:1px solid var(--border-soft);border-radius:var(--radius);overflow:hidden}
.pttl-home-ad img,.pttl-home-ad iframe{max-width:100%;height:auto;display:block;border-radius:8px}

/* Layout 2 (bottom) — same as primary layout */
.pttl-layout--bottom{margin-top:36px}

/* Featured section full-width — κάθε άρθρο πιάνει όλο το πλάτος, στοιβαγμένα κάθετα */
.pttl-home-features{display:flex;flex-direction:column;gap:36px;margin:36px 0 0}

.pttl-home-feature{position:relative;background:transparent;border:0;padding:0 0 12px;overflow:visible;text-align:center;transition:transform .25s var(--ease),border-color .25s var(--ease)}
.pttl-home-feature:hover{transform:none;border:0}
.pttl-home-feature__head{display:flex;align-items:center;justify-content:flex-start;margin:0 0 16px}
.pttl-home-feature__eyebrow{display:inline-flex;align-items:center;gap:14px;color:var(--accent-hot);font-size:20px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;line-height:1}
.pttl-home-feature__line{display:inline-block;width:56px;height:1px;background:currentColor;opacity:.7;flex:0 0 56px}
.pttl-home-feature__star{display:none}
@media (max-width:639px){.pttl-home-feature__eyebrow{font-size:15px;letter-spacing:.1em}.pttl-home-feature__line{width:32px;flex:0 0 32px}}
.pttl-home-feature__media{position:relative;display:block;aspect-ratio:16/9;background:var(--bg-elev-2);overflow:hidden;border-radius:var(--radius-lg)}
.pttl-home-feature__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.pttl-home-feature:hover .pttl-home-feature__media img{transform:scale(1.02)}
/* Title box overlapping bottom of image, centered */
.pttl-home-feature__body{position:relative;display:flex;justify-content:center;margin-top:-46px;z-index:2;padding:0 24px;text-align:center}
.pttl-home-feature__title{display:inline-block !important;margin:0 auto !important;padding:18px 32px;background:rgba(15,16,19,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:var(--radius);font-size:clamp(18px,1.8vw,24px) !important;line-height:1.3 !important;color:#fff !important;font-weight:800;letter-spacing:-.01em;max-width:760px;text-align:center !important}
.pttl-home-feature__title a{color:inherit}
.pttl-home-feature__title a:hover{color:var(--accent-hot)}
.pttl-home-feature--interview .pttl-home-feature__eyebrow{color:#7aa2c9}
.pttl-home-feature--partner .pttl-home-feature__eyebrow{color:#ffc850}

/* ============ REVIEWS — 2 posts side-by-side, title BELOW ============ */
.pttl-reviews{margin:0}
.pttl-reviews-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.pttl-reviews-grid{grid-template-columns:1fr 1fr;gap:28px}}
.pttl-review-card{display:flex;flex-direction:column;gap:14px}
.pttl-review-card__media{display:block;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:var(--bg-elev-2)}
.pttl-review-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.pttl-review-card:hover .pttl-review-card__media img{transform:scale(1.03)}
.pttl-review-card__title{margin:0;font-size:clamp(18px,1.7vw,22px);line-height:1.3;text-align:center;color:#fff;font-weight:800;letter-spacing:-.01em}
.pttl-review-card__title a{color:inherit}

/* ============ EYEBROW SECTION HEADER — modern minimal: γραμμή | text | icon ============ */
.pttl-section-eyebrow{display:inline-flex;align-items:center;gap:14px;height:auto;padding:0;border:0;background:transparent;color:var(--accent-hot);font-size:20px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;line-height:1}
.pttl-section-eyebrow::before{content:"";display:inline-block;width:56px;height:1px;background:currentColor;opacity:.7;flex:0 0 56px}
.pttl-section-eyebrow svg{display:none}
@media (max-width:639px){.pttl-section-eyebrow{font-size:15px;letter-spacing:.1em}.pttl-section-eyebrow::before{width:32px;flex:0 0 32px}}
.pttl-eds .pttl-section-head,.pttl-howto .pttl-section-head,.pttl-random7 .pttl-section-head,.pttl-sw .pttl-section-head,.pttl-community .pttl-section-head,.pttl-reviews .pttl-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;padding:0;margin:36px 0 18px}
.pttl-section-link{color:var(--text-muted);font-size:13px;font-weight:700}
.pttl-section-link:hover{color:#fff}

/* ============ ΕΠΙΛΟΓΕΣ ΣΥΝΤΑΚΤΩΝ — 2x2 grid (4 cards) ============ */
.pttl-eds-list{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:768px){.pttl-eds-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
.pttl-eds-card{display:block}
.pttl-eds-card__media{position:relative;display:block;aspect-ratio:16/9;background:var(--bg-elev-2);border-radius:var(--radius);overflow:hidden}
.pttl-eds-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.pttl-eds-card:hover .pttl-eds-card__media img{transform:scale(1.03)}
.pttl-eds-card__body{padding:12px 2px 0;text-align:left}
.pttl-eds-card__body time{display:block;margin-bottom:6px;color:var(--text-muted);font-size:12px;font-weight:600}
.pttl-eds-card__title{margin:0;font-size:clamp(16px,1.4vw,18px);line-height:1.35;color:#fff;font-weight:800}
.pttl-eds-card__title a{color:inherit}
.pttl-eds-card__title a:hover{color:var(--accent-hot)}
/* Hide ANY excerpt rendering inside eds (παλιά styling που μπορεί να ξέμεινε) */
.pttl-eds-card__excerpt,.pttl-eds-card>p{display:none !important}

/* ============ OVERLAY CARDS (How To + Random 7) ============ */
.pttl-overlay-card{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--bg-elev-2);transition:transform .25s var(--ease)}
.pttl-overlay-card__link{display:block;position:relative;aspect-ratio:16/9;color:#fff;overflow:hidden}
.pttl-overlay-card__link img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.pttl-overlay-card:hover .pttl-overlay-card__link img{}
.pttl-overlay-card__link::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,11,13,.92) 0%,rgba(10,11,13,.45) 45%,transparent 75%);z-index:1}
.pttl-overlay-card__title{position:absolute;left:0;right:0;bottom:0;z-index:2;margin:0;padding:16px 20px 18px;font-size:18px;line-height:1.3;color:#fff;font-weight:800;letter-spacing:-.01em}
.pttl-overlay-card--sm .pttl-overlay-card__title{font-size:16px;padding:14px 16px 16px}

/* How To grid */
.pttl-howto-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:600px){.pttl-howto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Random 7 grid */
.pttl-random7-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:600px){.pttl-random7-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ============ 3 ΣΤΗΛΕΣ ΚΑΤΗΓΟΡΙΩΝ ============ */
.pttl-cat-cols{margin:36px 0 0}
.pttl-cat-cols__grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.pttl-cat-cols__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}}

.pttl-cat-col{background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:14px}
.pttl-cat-col__head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--border-soft)}
.pttl-cat-col__title{margin:0;font-size:18px;color:#fff;font-weight:800;letter-spacing:-.01em}
.pttl-cat-col__title a{color:inherit}
.pttl-cat-col__more{color:var(--text-muted);font-size:12px;font-weight:700}
.pttl-cat-col__more:hover{color:#fff}
.pttl-cat-col__list{display:flex;flex-direction:column;gap:14px}

.pttl-cat-col__featured{display:flex;flex-direction:column;gap:10px}
.pttl-cat-col__featured-media{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--bg-elev-2)}
.pttl-cat-col__featured-media img{width:100%;height:100%;object-fit:cover}
.pttl-cat-col__featured-title{margin:0;font-size:16px;line-height:1.3;color:#fff;font-weight:800}
.pttl-cat-col__featured-title a{color:inherit}

.pttl-cat-col__item{display:grid;grid-template-columns:80px 1fr;gap:12px;align-items:center;padding-top:12px;border-top:1px solid var(--border-soft)}
.pttl-cat-col__item:first-child{border-top:0;padding-top:0}
.pttl-cat-col__thumb{display:block;width:80px;height:60px;border-radius:8px;overflow:hidden;background:var(--bg-elev-2);flex:0 0 80px}
.pttl-cat-col__thumb img{width:100%;height:100%;object-fit:cover}
.pttl-cat-col__copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.pttl-cat-col__item-title{margin:0;font-size:13px;line-height:1.35;color:#fff;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pttl-cat-col__item-title a{color:inherit}
.pttl-cat-col__date{font-size:11px;color:rgba(255,255,255,.72);font-weight:600}

/* ============ SOFTWARE 4 RANDOM CARDS ============ */
.pttl-sw{margin:0}
.pttl-sw .pttl-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;border:0;padding:0;margin:36px 0 18px}
.pttl-sw-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:600px){.pttl-sw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.pttl-sw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pttl-sw-card{display:flex;flex-direction:column;gap:0;background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .25s var(--ease),border-color .25s var(--ease)}
.pttl-sw-card__media{display:block;aspect-ratio:16/9;background:var(--bg-elev-2);overflow:hidden}
.pttl-sw-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.pttl-sw-card:hover .pttl-sw-card__media img{transform:scale(1.04)}
.pttl-sw-card__body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px}
.pttl-sw-card__tags{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--accent-hot,#ff7a00);line-height:1.2;text-transform:uppercase}
.pttl-sw-card__title{margin:0;padding:0;font-size:17px;line-height:1.3;color:#fff;font-weight:800;letter-spacing:-.01em}
.pttl-sw-card__title a{color:inherit}
.pttl-sw-card__title a:hover{color:var(--accent-hot,#ff7a00)}
.pttl-sw-card__desc{margin:0;padding:0;font-size:13px;line-height:1.45;color:var(--text-muted,rgba(255,255,255,.72));font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
