/*
Theme Name: Astra
Description: ANTICABLES custom presentation and Ecwid storefront integration for Astra.
Author: ANTICABLES
Template: astra
Version: 1.0.0
Text Domain: anticables-astra-child
*/

/* ANTICABLES editorial post layout — Pure By Design */
.single-post .site-main > article.ast-article-single{box-sizing:border-box;width:100%;max-width:1000px;margin:0 auto;padding:72px 30px 110px}
.single-post .ast-article-single .entry-header{max-width:820px;margin:0 auto 54px}
.single-post .ast-article-single .entry-title{margin:0 0 18px;color:#111;font-size:clamp(38px,5.2vw,58px);font-weight:500;line-height:1.04;letter-spacing:-.04em}
.single-post .ast-article-single .entry-meta{color:#858585;font-size:12px;line-height:1.5;letter-spacing:.025em}
.single-post .ast-article-single .entry-meta a{color:#666;text-decoration:none}
.single-post .ast-article-single .entry-meta a:hover{color:#111;text-decoration:underline;text-underline-offset:3px}
.single-post .ast-article-single .entry-content{color:#333;font-size:17px;line-height:1.82;overflow-wrap:anywhere}
.single-post .ast-article-single .entry-content > *{max-width:760px;margin-left:auto;margin-right:auto}
.single-post .ast-article-single .entry-content p{margin-top:0;margin-bottom:1.45em}
.single-post .ast-article-single .entry-content > p:first-child{color:#222;font-size:19px;line-height:1.65;letter-spacing:-.005em}
.single-post .ast-article-single .entry-content h2,.single-post .ast-article-single .entry-content h3,.single-post .ast-article-single .entry-content h4{max-width:820px;color:#111;font-weight:500;letter-spacing:-.025em;line-height:1.18;margin-top:2.7em;margin-bottom:.75em}
.single-post .ast-article-single .entry-content h2{font-size:clamp(27px,3.3vw,36px)}
.single-post .ast-article-single .entry-content h3{font-size:clamp(22px,2.7vw,28px)}
.single-post .ast-article-single .entry-content h4{font-size:19px}
.single-post .ast-article-single .entry-content ul,.single-post .ast-article-single .entry-content ol{max-width:700px;padding-left:1.35em;margin-top:0;margin-bottom:1.7em}
.single-post .ast-article-single .entry-content li{padding-left:.2em;margin:.5em 0}
.single-post .ast-article-single .entry-content a{color:#111;text-decoration:underline;text-decoration-color:#b8b8b8;text-underline-offset:3px}
.single-post .ast-article-single .entry-content a:hover{text-decoration-color:#111}
.single-post .ast-article-single .entry-content hr{max-width:760px;border:0;border-top:1px solid #e7e7e7;margin-top:3.2em;margin-bottom:3.2em}
.single-post .ast-article-single .entry-content figure{max-width:940px;margin-top:3em;margin-bottom:3em}
.single-post .ast-article-single .entry-content figure img{display:block;width:100%;height:auto;border-radius:16px}
.single-post .ast-article-single .entry-content .wp-block-columns{max-width:940px;gap:24px;margin-top:3em;margin-bottom:3em}
.single-post .ast-article-single .entry-content .wp-block-column > figure{max-width:none}
.single-post .ast-article-single .entry-content blockquote{max-width:700px;margin-top:2.5em;margin-bottom:2.5em;padding:6px 0 6px 22px;border-left:2px solid #111;color:#444}
.single-post .ast-article-single .entry-content strong{color:#111;font-weight:600}
.single-post .post-navigation{display:none}
@media(max-width:767px){.single-post .site-main > article.ast-article-single{padding:38px 20px 64px}.single-post .ast-article-single .entry-header{margin-bottom:34px}.single-post .ast-article-single .entry-title{font-size:clamp(32px,9.5vw,44px)}.single-post .ast-article-single .entry-content{font-size:16px;line-height:1.78}.single-post .ast-article-single .entry-content > *{max-width:100%}.single-post .ast-article-single .entry-content > p:first-child{font-size:17px;line-height:1.7}.single-post .ast-article-single .entry-content h2{font-size:28px;margin-top:2.35em}.single-post .ast-article-single .entry-content figure{margin-top:2em;margin-bottom:2em}.single-post .ast-article-single .entry-content figure img{border-radius:12px}.single-post .ast-article-single .entry-content .wp-block-columns{display:block;margin-top:2em;margin-bottom:2em}.single-post .ast-article-single .entry-content .wp-block-column{margin-bottom:20px}}

/* ANTICABLES page-system refinement */
.ast-article-single .entry-content > .wp-block-group,.ast-article-single .entry-content > .wp-block-columns,.ast-article-single .entry-content > .wp-block-cover{max-width:1080px;margin-left:auto;margin-right:auto}
.ast-article-single .entry-content{color:#222}
.ast-article-single .entry-content h1,.ast-article-single .entry-content h2,.ast-article-single .entry-content h3{font-weight:500;letter-spacing:-.035em}
.ast-article-single .entry-content h1{font-size:clamp(40px,6vw,64px);line-height:1.02}
.ast-article-single .entry-content h2{font-size:clamp(30px,4vw,44px);line-height:1.08;margin-top:1.9em}
.ast-article-single .entry-content h3{font-size:26px;line-height:1.15}
.ast-article-single .entry-content p{line-height:1.75}
.ast-article-single .entry-content > .wp-block-group:first-child{padding-top:56px!important;padding-bottom:80px!important}
.ast-article-single .entry-content .wp-block-buttons{gap:12px}
.ast-article-single .entry-content .wp-block-button__link{background:#111;color:#fff;border:1px solid #111;padding:14px 24px}
.ast-article-single .entry-content .wp-block-separator{border-color:#e7e7e7;opacity:1}
.ast-article-single .entry-content details{border-top:1px solid #e7e7e7;padding:22px 0}
.ast-article-single .entry-content details:last-of-type{border-bottom:1px solid #e7e7e7}
.ast-article-single .entry-content details summary{font-size:18px;font-weight:600;cursor:pointer}
.ast-article-single .entry-content blockquote{border-left:2px solid #111;padding-left:20px}
.ast-article-single .entry-content img{border-radius:14px}

/* ANTICABLES premium mobile navigation */
@media(max-width:921px){
#ast-mobile-header .ast-primary-header-bar{background:rgba(255,255,255,.98);border-bottom:1px solid #e7e7e7;min-height:64px}
#ast-mobile-header .ast-builder-grid-row{min-height:64px;align-items:center}
#ast-mobile-header .site-branding{padding:0}
#ast-mobile-header .custom-logo{width:auto;max-width:172px;height:auto}
#ast-mobile-header .ast-button-wrap .menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--ac-color-ink)!important;box-shadow:none!important}
#ast-mobile-header .ast-button-wrap .menu-toggle:hover{background:#f4f4f4!important}
#ast-mobile-header .ast-button-wrap .menu-toggle:focus-visible{background:#f4f4f4!important;outline:3px solid var(--ac-color-focus)!important;outline-offset:3px}
#ast-mobile-header .mobile-menu-toggle-icon svg{width:22px;height:22px}
#ast-mobile-header .ast-mobile-header-content{position:absolute;left:12px;right:12px;top:calc(100% + 8px);background:#fff;border:1px solid #e5e5e5;border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.14);padding:12px 18px 16px;overflow:hidden}
#ast-mobile-header .ast-mobile-header-content:before{content:'Explore ANTICABLES';display:block;padding:5px 4px 10px;color:#777;font-family:var(--ac-font-sans);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#ast-mobile-header .main-header-menu{background:#fff!important;border:0!important}
#ast-mobile-header .main-header-menu .menu-item{border-top:1px solid #ededed!important;border-bottom:0!important}
#ast-mobile-header .main-header-menu .menu-link{display:flex!important;align-items:center;min-height:56px;padding:14px 12px!important;border:0!important;border-bottom:1px solid #ededed!important;background:transparent!important;color:#111!important;font-family:var(--ac-font-sans)!important;font-size:18px!important;font-weight:500;letter-spacing:-.2px;line-height:1.5;text-decoration:none!important}
#ast-mobile-header .main-header-menu .menu-link:after{content:'→';margin-left:auto;color:#9a9a9a;font-size:20px;font-weight:400}
#ast-mobile-header .main-header-menu .menu-link:hover,#ast-mobile-header .main-header-menu .current-menu-item>.menu-link{color:#111!important;background:transparent!important}
#ast-mobile-header .main-header-menu .menu-link:hover:after{color:var(--ac-color-ink)}
}
@media(max-width:767px){.ast-article-single .entry-content > .wp-block-group:first-child{padding:38px 20px 56px!important}.ast-article-single .entry-content h1{font-size:clamp(34px,10vw,48px)}.ast-article-single .entry-content h2{font-size:30px}.ast-article-single .entry-content h3{font-size:24px}.ast-article-single .entry-content .wp-block-columns{display:block}.ast-article-single .entry-content .wp-block-column{margin-bottom:32px}.ast-article-single .entry-content .wp-block-buttons{flex-direction:column;align-items:stretch}.ast-article-single .entry-content .wp-block-button__link{text-align:center;width:100%}}

body{font-family:var(--ac-font-sans)}
.ast-builder-menu-1 .menu-item>.menu-link,#ast-mobile-header .main-header-menu .menu-link{font-family:var(--ac-font-sans)}
.wp-block-button__link{border-radius:999px!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ac-color-focus);outline-offset:3px}

/* ANTICABLES contact */
.ac-contact-page{max-width:900px!important;padding:96px 32px 112px!important}
.ac-contact-page .ac-eyebrow{margin:0 0 12px;color:#6e6e73;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.ac-contact-page h1{margin:0 0 20px;color:#111;font-size:clamp(48px,7vw,72px);font-weight:600;line-height:1.05;letter-spacing:-.04em}
.ac-contact-page .ac-contact-lead{max-width:680px;margin:0 auto;color:#424245;font-size:clamp(19px,2.4vw,23px);line-height:1.45;letter-spacing:-.015em}
.ac-contact-actions{gap:16px!important;margin:48px 0 16px!important}
.ac-contact-card{display:block;height:100%;padding:26px;border:1px solid var(--ac-color-border-strong);border-radius:var(--ac-radius-card);color:var(--ac-color-ink)!important;text-decoration:none!important;text-align:left;background:var(--ac-color-surface)}
.ac-contact-card:hover{border-color:#a1a1a6;box-shadow:0 14px 40px rgba(0,0,0,.08)}
.ac-contact-card span,.ac-contact-card small{display:block;color:#6e6e73;font-size:13px;line-height:1.5}
.ac-contact-card strong{display:block;margin:7px 0;color:#111;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.ac-contact-order{max-width:100%;margin:0 auto}
.ac-contact-note{margin:30px auto 0!important;color:#6e6e73;font-size:14px;line-height:1.6}
.ac-contact-address{margin-top:88px!important;padding-top:68px!important;border-top:1px solid #d2d2d7}
.ac-contact-address h2{margin:0 0 18px!important;color:#111;font-size:clamp(32px,4vw,44px)!important;font-weight:600!important;letter-spacing:-.035em!important}
.ac-contact-address p:last-child{color:#6e6e73;line-height:1.65}
@media(max-width:767px){.ac-contact-page{padding:64px 20px 76px!important}.ac-contact-page h1{font-size:46px}.ac-contact-actions{display:block!important;margin-top:38px!important}.ac-contact-actions .wp-block-column{margin-bottom:14px!important}.ac-contact-card{padding:22px;border-radius:16px}.ac-contact-address{margin-top:62px!important;padding-top:52px!important}}
