/* ==========================================================================
   APTH: Αρχική (φορτώνεται μόνο στη στατική αρχική σελίδα)
   Ενότητες 2–7 του σχεδίου. Το περιεχόμενο είναι UX Builder shortcodes (wp apth setup).
   ========================================================================== */

/* ---------- Κοινά ενοτήτων ---------- */
.apth-section { color: var(--apth-ink); }
.apth-section--rule-bottom { border-bottom: 2px solid var(--apth-ink); }
.apth-section--rule-top { border-top: 2px solid var(--apth-ink); }
.apth-h2 { margin: 0 0 12px; font-family: var(--apth-font-head); font-weight: 900; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; color: var(--apth-ink); }
.apth-h2--section,
.apth-section-head .apth-h2 { margin: 0; font-size: 36px; }
.apth-section-head .apth-h2 { width: auto; flex: 0 1 auto; }
.apth-text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--apth-ink-soft); }
.apth-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.apth-section-head__link { margin: 0; }
.apth-feature__num { margin: 0; }
.apth-more { font-weight: 700; color: var(--apth-ink); border-bottom: 2px solid var(--apth-ink); }
.apth-more:hover { color: var(--apth-accent-text); border-color: var(--apth-accent-text); }

/* ---------- 2. Hero ---------- */
.apth-hero .apth-eyebrow { margin-bottom: 24px; font-size: 14px; }
.apth-hero .apth-hero__title { margin: 0 0 24px; font-family: var(--apth-font-head); font-weight: 900; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.01em; color: var(--apth-paper); }
.apth-hero .apth-hero__lead { max-width: 620px; margin: 0 0 32px; font-size: 20px; line-height: 1.5; color: var(--apth-on-dark); }
.apth-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apth-actions .button { margin: 0; }
.apth-btn.button {
	display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 0; box-shadow: none;
	font-size: 18px; letter-spacing: 0; text-transform: none; line-height: 1.2;
}
.apth-btn--accent.button { background: var(--apth-accent); color: var(--apth-on-accent); border: 0; font-family: var(--apth-font-head); font-weight: 800; }
.apth-btn--accent.button:hover { background: var(--apth-paper); color: var(--apth-ink); box-shadow: none; }
.apth-btn--ghost.button,
.dark .apth-btn--ghost.button.is-outline { background: transparent; color: var(--apth-paper); border: 2px solid var(--apth-paper); font-family: var(--apth-font-body); font-weight: 600; }
.apth-btn--ghost.button:hover,
.dark .apth-btn--ghost.button.is-outline:hover { background: var(--apth-paper); color: var(--apth-ink); box-shadow: none; }
.apth-hero__visual { position: relative; height: 420px; background: #0E2B57 url('../img/hero-silhouette.svg') center / cover no-repeat; overflow: hidden; }
.apth-hero__tag { position: absolute; left: 16px; bottom: 16px; padding: 6px 10px; background: var(--apth-paper); color: var(--apth-ink); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }

/* ---------- 4. Τι θα μάθεις εδώ ---------- */
.apth-features { border-top: 2px solid var(--apth-ink); }
.apth-features > .col { padding-bottom: 0; }
.apth-feature { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 24px 0; }
.apth-feature__num { font-family: var(--apth-font-head); font-weight: 900; font-size: 40px; line-height: 1; color: var(--apth-accent-text); }
.apth-feature__title { margin: 0; font-family: var(--apth-font-body); font-weight: 700; font-size: 20px; color: var(--apth-ink); }
.apth-feature .apth-text { font-size: 16px; line-height: 1.5; }

/* ---------- 5. Θεωρία / Έρευνα / Εργαλεία ---------- */
.apth-cards .col-inner { height: 100%; }
/* Όλη η κάρτα είναι link: ο σύνδεσμος του τίτλου απλώνεται με ::after. */
.apth-card { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 220px; padding: 32px; background: #fff; border: 2px solid var(--apth-ink); color: var(--apth-ink); }
.apth-card p { margin: 0; }
.apth-card__title { margin: 0; font-family: var(--apth-font-head); font-weight: 800; font-size: 26px; line-height: 1.2; color: inherit; }
.apth-card__link,
.apth-card__link:hover { color: inherit; }
.apth-card__link::after { content: ''; position: absolute; inset: 0; }
.apth-card__link:focus-visible { outline: none; }
.apth-card:focus-within { outline: 3px solid var(--apth-accent); outline-offset: 2px; }
.apth-card__text { flex-grow: 1; line-height: 1.5; color: var(--apth-ink-soft); }
.apth-card__more { font-weight: 700; color: var(--apth-accent-text); }
.apth-card:hover .apth-card__more { text-decoration: underline; }
.apth-card--dark { background: var(--apth-ink); color: var(--apth-paper); }
.apth-card--dark .apth-card__title { color: var(--apth-paper); }
.apth-card--dark .apth-card__text { color: var(--apth-on-dark); }
.apth-card--dark .apth-card__more { color: var(--apth-accent-on-dark); }

/* ---------- 7. Πρόσφατα άρθρα (Flatsome Blog Posts) ---------- */
.apth-posts .col { padding-bottom: 0; }
.apth-posts .box,
.apth-posts .box-blog-post { background: transparent; box-shadow: none; }
.apth-posts .box-image { background: #0E2B57; }
.apth-posts .box-text { padding: 12px 0 0; text-align: left; }
.apth-posts .cat-label { margin: 0 0 12px; font-family: var(--apth-font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--apth-accent-text); opacity: 1; }
.apth-posts .post-title { margin: 0 0 12px; font-family: var(--apth-font-body); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--apth-ink); }
.apth-posts .post-item:hover .post-title { color: var(--apth-accent-text); }
.apth-posts .post-meta { font-size: 14px; color: var(--apth-ink-muted); opacity: 1; }
.apth-posts .is-divider { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 849px) {
	.apth-hero__visual { height: 320px; }
	.apth-h2 { font-size: 32px; }
	.apth-h2--section,
	.apth-section-head .apth-h2 { font-size: 30px; }
	.apth-feature { padding-right: 0; }
}

@media (max-width: 549px) {
	.apth-hero .apth-hero__lead { font-size: 18px; }
	.apth-hero__visual { height: 240px; }
	.apth-btn.button { font-size: 17px; padding: 0 22px; }
	.apth-h2 { font-size: 28px; }
	.apth-h2--section,
	.apth-section-head .apth-h2 { font-size: 28px; }
	.apth-card { padding: 24px; min-height: 0; }
	.apth-card__title { font-size: 22px; }
	.apth-iq-intro { padding-bottom: 8px; }
}
