/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme personalizzato di Astra per Robe da Cartoon
Author: Barbara
Author URI: https://robedacartoon.it
Template: astra
Version: 1.2
*/

/* Robe da Cartoon child theme - visual refresh */
:root { --rdc-ink:#1d2940; --rdc-muted:#637083; --rdc-navy:#17223f; --rdc-orange:#f26b38; --rdc-yellow:#ffd166; --rdc-teal:#2bb8a5; --rdc-pale:#f7f8fc; --rdc-line:#e8ebf2; }
body { color:var(--rdc-ink); background:#fff; }
a { transition:color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rdc-home { width:100%; overflow:hidden; }
.rdc-shell { width:min(1180px, calc(100% - 48px)); margin:0 auto; }
.rdc-hero { position:relative; color:#fff; background:radial-gradient(circle at 85% 10%, rgba(255,209,102,.30), transparent 30%), radial-gradient(circle at 10% 90%, rgba(43,184,165,.32), transparent 34%), linear-gradient(130deg, #17223f 0%, #253b69 55%, #1b2b52 100%); padding:clamp(52px,8vw,105px) 0 80px; }
.rdc-hero:after { content:""; position:absolute; right:-120px; bottom:-170px; width:430px; height:430px; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 38px rgba(255,255,255,.03), 0 0 0 76px rgba(255,255,255,.025); pointer-events:none; }
.rdc-hero__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(350px, .9fr); gap:70px; align-items:center; position:relative; z-index:1; }
.rdc-eyebrow { margin:0 0 15px; color:#ffe28b; font-size:12px; font-weight:800; letter-spacing:.16em; line-height:1.3; }
.rdc-eyebrow--dark { color:var(--rdc-orange); }
.rdc-hero h1 { max-width:650px; margin:0 0 22px; color:#fff; font-size:clamp(42px,5.2vw,76px); font-weight:800; letter-spacing:-.045em; line-height:.98; }
.rdc-hero__lead { max-width:600px; margin:0; color:rgba(255,255,255,.82); font-size:19px; line-height:1.65; }
.rdc-hero__actions { display:flex; flex-wrap:wrap; gap:13px; margin-top:32px; }
.rdc-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px 22px; border-radius:999px; font-size:14px; font-weight:800; text-decoration:none !important; }
.rdc-button--primary { color:#fff !important; background:var(--rdc-orange); box-shadow:0 10px 24px rgba(242,107,56,.28); }
.rdc-button--primary:hover { color:#fff !important; background:#e45727; transform:translateY(-2px); }
.rdc-button--ghost { color:#fff !important; border:1px solid rgba(255,255,255,.34); background:rgba(255,255,255,.08); }
.rdc-button--ghost:hover { color:#fff !important; background:rgba(255,255,255,.18); transform:translateY(-2px); }
.rdc-button--light { color:var(--rdc-navy) !important; background:#fff; }
.rdc-button--light:hover { color:var(--rdc-navy) !important; transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.16); }
.rdc-hero__proof { display:flex; flex-wrap:wrap; gap:30px; margin-top:40px; }
.rdc-hero__proof span { display:flex; flex-direction:column; gap:3px; }
.rdc-hero__proof strong { color:#fff; font-size:14px; }
.rdc-hero__proof small { color:rgba(255,255,255,.58); font-size:12px; }
.rdc-hero__visual { position:relative; min-height:430px; }
.rdc-hero-card { position:absolute; display:flex; align-items:flex-end; padding:20px; overflow:hidden; border:6px solid rgba(255,255,255,.94); border-radius:22px; background-color:#314975; background-position:center; background-size:cover; box-shadow:0 20px 38px rgba(8,17,42,.32); text-decoration:none !important; }
.rdc-hero-card:before { content:""; position:absolute; inset:0; background:linear-gradient(transparent 28%, rgba(9,16,35,.82)); }
.rdc-hero-card span { position:relative; z-index:1; color:#fff; font-size:14px; font-weight:800; line-height:1.25; }
.rdc-hero-card--1 { top:8px; left:5%; width:56%; height:265px; transform:rotate(-5deg); }
.rdc-hero-card--2 { top:86px; right:1%; width:56%; height:280px; transform:rotate(6deg); }
.rdc-hero-card--3 { bottom:0; left:18%; width:55%; height:230px; transform:rotate(-1deg); }
.rdc-hero-sticker { position:absolute; right:3%; bottom:25px; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; width:104px; height:104px; color:var(--rdc-navy); border-radius:50%; background:var(--rdc-yellow); box-shadow:0 12px 28px rgba(8,17,42,.23); transform:rotate(9deg); }
.rdc-hero-sticker strong { font-size:18px; line-height:1; }
.rdc-hero-sticker span { margin-top:5px; font-size:11px; font-weight:700; }
.rdc-trust { border-bottom:1px solid var(--rdc-line); background:#fff; }
.rdc-trust__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding:20px 0; }
.rdc-trust span { color:var(--rdc-muted); font-size:13px; font-weight:700; text-align:center; }
.rdc-trust b { display:inline-grid; place-items:center; width:21px; height:21px; margin-right:7px; color:#fff; border-radius:50%; background:var(--rdc-teal); font-size:13px; }
.rdc-section { padding:88px 0; }
.rdc-section--featured { background:#fff; }
.rdc-section--latest { background:var(--rdc-pale); }
.rdc-section--categories { background:#fff; padding-top:65px; }
.rdc-section__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:25px; margin-bottom:34px; }
.rdc-section__heading h2 { max-width:720px; margin:0; color:var(--rdc-ink); font-size:clamp(30px,3.5vw,48px); letter-spacing:-.04em; line-height:1.05; }
.rdc-text-link { color:var(--rdc-orange) !important; font-size:14px; font-weight:800; white-space:nowrap; text-decoration:none !important; }
.rdc-text-link:hover { color:var(--rdc-navy) !important; }
.rdc-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rdc-card { overflow:hidden; border:1px solid var(--rdc-line); border-radius:18px; background:#fff; box-shadow:0 8px 22px rgba(26,38,68,.05); }
.rdc-card:hover { box-shadow:0 18px 34px rgba(26,38,68,.13); transform:translateY(-5px); }
.rdc-card__media { display:block; height:215px; overflow:hidden; background:linear-gradient(135deg,#253b69,#2bb8a5); }
.rdc-card__media img, .rdc-latest-card__media img { width:100%; height:100%; object-fit:cover; }
.rdc-card__media img, .rdc-latest-card__media img { transition:transform .35s ease; }
.rdc-card:hover img, .rdc-latest-card:hover img { transform:scale(1.05); }
.rdc-card__placeholder { display:grid; place-items:center; width:100%; height:100%; color:#fff; background:linear-gradient(135deg,#f26b38,#ffd166); font-size:48px; }
.rdc-card__body { padding:24px 24px 26px; }
.rdc-card__label { margin:0 0 9px; color:var(--rdc-orange); font-size:10px; font-weight:800; letter-spacing:.12em; }
.rdc-card h3 { margin:0 0 12px; color:var(--rdc-ink); font-size:21px; line-height:1.18; }
.rdc-card h3 a, .rdc-latest-card h3 a { color:inherit !important; text-decoration:none !important; }
.rdc-card__body > p:not(.rdc-card__label) { margin:0 0 18px; color:var(--rdc-muted); font-size:14px; line-height:1.6; }
.rdc-card__link { color:var(--rdc-orange) !important; font-size:13px; font-weight:800; text-decoration:none !important; }
.rdc-latest-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rdc-latest-card { display:grid; grid-template-columns:130px 1fr; min-height:150px; overflow:hidden; border:1px solid var(--rdc-line); border-radius:15px; background:#fff; }
.rdc-latest-card:hover { box-shadow:0 15px 30px rgba(26,38,68,.10); transform:translateY(-3px); }
.rdc-latest-card__media { display:block; min-height:100%; overflow:hidden; background:#253b69; }
.rdc-latest-card__body { padding:18px 18px 19px; }
.rdc-latest-card__meta { margin-bottom:8px; color:var(--rdc-orange); font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.rdc-latest-card h3 { margin:0 0 15px; color:var(--rdc-ink); font-size:17px; line-height:1.2; }
.rdc-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.rdc-category-card { display:flex; align-items:center; gap:16px; padding:18px 20px; border:1px solid var(--rdc-line); border-radius:14px; background:#fff; text-decoration:none !important; }
.rdc-category-card:hover { border-color:var(--rdc-teal); box-shadow:0 12px 24px rgba(26,38,68,.08); transform:translateY(-3px); }
.rdc-category-card__icon { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; border-radius:13px; background:#fff4df; font-size:24px; }
.rdc-category-card strong { display:block; color:var(--rdc-ink); font-size:15px; }
.rdc-category-card small { display:block; margin-top:4px; color:var(--rdc-muted); font-size:12px; }
.rdc-newsletter-cta { color:#fff; background:linear-gradient(110deg,#f26b38,#de4d75); padding:58px 0; }
.rdc-newsletter-cta__inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.rdc-newsletter-cta h2 { margin:0 0 10px; color:#fff; font-size:clamp(28px,3vw,42px); letter-spacing:-.04em; }
.rdc-newsletter-cta p:not(.rdc-eyebrow) { max-width:620px; margin:0; color:rgba(255,255,255,.84); font-size:16px; }
.site-main .widget-area .widget, .widget-area .widget { padding:22px; border:1px solid var(--rdc-line); border-radius:16px; background:#fff; box-shadow:0 7px 20px rgba(26,38,68,.05); }
.widget-area .widget-title { color:var(--rdc-ink); font-size:19px; }
.widget-area .widget a { color:var(--rdc-orange); }
.site-footer { background:#15213f !important; }
.site-footer .widget-area { padding-top:48px; padding-bottom:35px; }
.site-footer .widget-title, .site-footer .widget, .site-footer .widget p, .site-footer .widget li { color:rgba(255,255,255,.78) !important; }
.site-footer .widget-title { color:#fff !important; font-size:16px; }
.site-footer .widget a { color:#ffe28b !important; }
.site-footer .widget a:hover { color:#fff !important; }
.site-footer .ast-small-footer-section-1, .site-footer .ast-small-footer-section-2 { color:rgba(255,255,255,.72); }
.site-footer .ast-small-footer-section-1 a, .site-footer .ast-small-footer-section-2 a { color:#ffe28b; }
@media (max-width: 900px) { .rdc-hero__grid { grid-template-columns:1fr; gap:35px; } .rdc-hero__visual { max-width:590px; width:100%; margin:0 auto; } .rdc-card-grid, .rdc-latest-grid { grid-template-columns:repeat(2,1fr); } .rdc-category-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px) { .rdc-shell { width:min(100% - 30px, 560px); } .rdc-hero { padding:52px 0 58px; } .rdc-hero h1 { font-size:45px; } .rdc-hero__lead { font-size:16px; } .rdc-hero__visual { min-height:330px; transform:scale(.91); transform-origin:top center; margin-bottom:-30px; } .rdc-hero-card--1 { height:205px; } .rdc-hero-card--2 { height:220px; } .rdc-hero-card--3 { height:180px; } .rdc-hero-sticker { width:84px; height:84px; right:0; bottom:17px; } .rdc-hero-sticker strong { font-size:15px; } .rdc-hero-sticker span { font-size:9px; } .rdc-trust__grid { grid-template-columns:repeat(2,1fr); gap:12px 9px; padding:17px 0; } .rdc-trust span { font-size:11px; } .rdc-trust b { width:18px; height:18px; margin-right:3px; font-size:11px; } .rdc-section { padding:58px 0; } .rdc-section__heading { display:block; margin-bottom:25px; } .rdc-section__heading h2 { font-size:32px; } .rdc-text-link { display:inline-block; margin-top:14px; } .rdc-card-grid, .rdc-latest-grid, .rdc-category-grid { grid-template-columns:1fr; } .rdc-latest-card { grid-template-columns:110px 1fr; } .rdc-newsletter-cta__inner { display:block; } .rdc-newsletter-cta .rdc-button { margin-top:25px; } }
@media (min-width: 921px) { .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single { padding:0; } }


.site-footer .footer-adv, .site-footer .footer-adv-overlay { background:#15213f !important; }
.site-footer .ast-small-footer, .site-footer .ast-footer-overlay { background:#0f1932 !important; }
.site-footer .footer-adv-widget { padding-top:12px; padding-bottom:12px; }
.site-footer .footer-adv .widget-title { margin-bottom:14px; }
