/*
Theme Name: Iné Alexakis
Theme URI: https://inealexakis.com/
Author: Iné Alexakis
Description: Custom theme for inealexakis.com - homepage, about, booking form and the journal (blog).
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ine
*/

/* Resets, link colors and form states. Page layout styles live inline in the templates. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Work Sans',system-ui,sans-serif;color:#172A3A;background:#FAE8E2;-webkit-font-smoothing:antialiased}
a{color:#172A3A;text-decoration:none}
a:hover{color:#2E4BB8}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
input:focus,select:focus,textarea:focus{outline:2px solid #2E4BB8;outline-offset:1px}
.pill{position:relative;cursor:pointer}
.pill input{position:absolute;opacity:0;pointer-events:none}
.pill span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(16,30,42,.25);background:#fff;color:#172A3A;font-family:'Work Sans',sans-serif;font-size:14px;font-weight:500}
.pill input:checked+span{background:#172A3A;border-color:#172A3A;color:#fff}
.pill input:focus-visible+span{outline:2px solid #2E4BB8;outline-offset:2px}
button[disabled]{opacity:.45;cursor:not-allowed}
#email.is-invalid{border-color:#B3261E!important}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Sticky footer: the main area grows so the footer always sits at the bottom of the screen. */
.site{min-height:100vh;min-height:calc(100vh - var(--wp-admin--admin-bar--height,0px));display:flex;flex-direction:column;background:#FAE8E2}
.site-main{flex:1 0 auto;display:flex;flex-direction:column;width:100%}
.site-main>*{width:100%}
.site-main>.fill{flex:1 0 auto}
.site-header,.site-footer{flex:none}

/* ---------- Journal (blog) ---------- */
.site--journal{background:#F8F5FC}
.site--journal .entry-content a,.journal-link{color:#E86FC9}
.site--journal .entry-content a:hover{color:#C74FA8}
.j-wrap{max-width:1280px;margin:0 auto;padding-left:clamp(20px,5vw,56px);padding-right:clamp(20px,5vw,56px)}
.j-kicker{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:18px}
.j-kicker i{width:34px;height:1px;background:#B9A9DB}
.j-kicker span{font-family:'Work Sans';font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#8A7EA0}
.j-feature{display:grid;grid-template-columns:1.15fr .85fr;border-radius:8px;overflow:hidden;background:#172A3A;box-shadow:0 18px 44px rgba(30,20,45,.18);color:#fff}
.j-feature:hover{color:#fff}
.j-feature__img{aspect-ratio:16/10;overflow:hidden;background:#243a4d}
.j-feature__body{padding:clamp(28px,4vw,48px) clamp(24px,4vw,44px);display:flex;flex-direction:column;justify-content:center}
.j-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.j-card{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;background:#fff;border:1px solid #E0D5F2;box-shadow:0 10px 26px rgba(30,20,45,.06)}
.j-card__img{aspect-ratio:16/11;overflow:hidden;background:#E7DEF3}
.j-img{width:100%;height:100%;object-fit:cover;display:block}
.j-pager{display:flex;justify-content:center;gap:10px;margin-top:40px;font-family:'Work Sans';font-size:14px}
.j-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #E0D5F2;border-radius:999px;color:#172A3A;background:#fff}
.j-pager .current{background:#172A3A;color:#fff;border-color:#172A3A}
@media (max-width:900px){.j-feature{grid-template-columns:1fr}.j-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.j-grid{grid-template-columns:1fr}}

/* Single post: full-width layout */
.post-hero{padding-top:clamp(48px,8vw,80px);padding-bottom:46px;text-align:center}
.post-hero__inner{max-width:860px;margin:0 auto}
.post-title{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(40px,6vw,64px);line-height:1.06;letter-spacing:-.01em;color:#172A3A;margin:0 0 22px;text-wrap:balance}
.post-title em{font-style:italic;color:#E86FC9}
.post-lead{font-family:'Work Sans';font-size:clamp(17px,2vw,20px);line-height:1.6;color:#5B5460;margin:0 auto;max-width:760px}
.post-cover{max-width:1280px;margin:0 auto 64px}
.post-cover__frame{aspect-ratio:21/9;border-radius:4px;overflow:hidden;box-shadow:14px 14px 0 var(--accent,#BEEB94)}
.entry-content{max-width:760px;margin:0 auto;padding-bottom:40px;font-family:'Work Sans';font-size:18.5px;line-height:1.82;color:#3F3A47}
.entry-content>*{margin:0 0 26px}
.entry-content h2,.entry-content h3{font-family:'Cormorant Garamond',serif;font-weight:500;color:#172A3A;line-height:1.15;margin:48px 0 18px}
.entry-content h2{font-size:38px}
.entry-content h3{font-size:30px}
.entry-content blockquote,.entry-content .pull{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:30px;line-height:1.35;color:#172A3A;margin:40px 0;padding:0 0 0 26px;border-left:3px solid var(--accent,#BEEB94)}
.entry-content blockquote p{margin:0}
.entry-content blockquote cite{display:block;margin-top:10px;font-family:'Work Sans';font-style:normal;font-size:14px;color:#8A7EA0}
.entry-content img,.entry-content figure{max-width:100%;height:auto;border-radius:4px}
.entry-content figure{margin:40px 0}
.entry-content figcaption{font-size:14px;color:#8A7EA0;margin-top:8px}
.entry-content .alignwide{max-width:1100px;width:calc(100vw - 2*clamp(20px,5vw,56px));margin-left:50%;transform:translateX(-50%)}
.entry-content .alignfull{width:100vw;max-width:100vw;margin-left:50%;transform:translateX(-50%);border-radius:0}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content li{margin-bottom:8px}
.entry-content hr{border:0;border-top:1px solid #E0D5F2;margin:48px 0}
.post-more{border-top:1px solid #E0D5F2;padding:56px 0 72px}

/* Generic pages (WooCommerce, legal pages, Elementor pages) */
.page-default{max-width:1280px;margin:0 auto;padding:64px clamp(20px,5vw,56px) 88px}
.page-default .page-title{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(40px,5vw,56px);line-height:1.05;margin:0 0 32px}
.page-default .entry-content{max-width:none;font-size:17px;line-height:1.7}
.elementor-page .page-default{max-width:none;padding:0}

@media (max-width:600px){.post-cover__frame{aspect-ratio:4/3;box-shadow:8px 8px 0 var(--accent,#BEEB94)}}

/* ---------- Mobile nav (hamburger) ---------- */
.nav-toggle{display:none;flex:none;background:none;border:0;cursor:pointer;padding:8px;margin:-8px}
.nav-toggle span{display:block;width:22px;height:2px;background:#172A3A;margin:5px 0;transition:transform .2s,opacity .2s}
.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-open .nav-toggle span:nth-child(2){opacity:0}
.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:820px){
.nav-toggle{display:block}
.site-header .nav-links{display:none!important}
.site-header.nav-open .nav-links{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:20px!important;flex-basis:100%;padding:18px 0 6px}
}

/* ---------- "On tour" marquee ---------- */
.marquee{display:flex;overflow:hidden}
.marquee__track{flex:none;display:flex;align-items:center;gap:18px;padding-right:18px;font-family:'Work Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;animation:ine-marquee 60s linear infinite}
@keyframes ine-marquee{to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.marquee__track{animation:none}}

/* ---------- Mobile tweaks ---------- */
@media (max-width:820px){
.marquee__track{animation-duration:110s}
.hero__grid{gap:24px!important}
.hero__text{padding-bottom:0!important}
.hero__img{margin-bottom:40px!important}
/* About page: the portrait scrolls with the page on mobile instead of sticking */
section[data-screen-label="About"]>div:first-child{position:static!important}
/* keep the Complianz cookie button clear of the footer */
.site-footer>div{padding-bottom:96px!important}
}
@media (min-width:821px){
.site-footer>div{padding-right:96px}
}
