/*!
 * DST Newsletter CTA
 * v1.0.4
 */

.dst-prefooter-breakout{
    --dst-navy:#0f172a;
    --dst-navy-deep:#09101f;
    --dst-slate-700:#334155;
    --dst-slate-600:#475569;
    --dst-slate-500:#64748b;
    --dst-slate-300:#cbd5e1;
    --dst-slate-200:#e2e8f0;
    --dst-slate-100:#f8fafc;
    --dst-white:#ffffff;
    --dst-yellow:#facc15;
    --dst-yellow-hover:#eab308;
    --dst-blue:#2563eb;
    --dst-radius-md:22px;
    --dst-radius-lg:30px;
    --dst-radius-pill:999px;
    --dst-shadow-soft:0 12px 30px rgba(15,23,42,.08);
    --dst-shadow-card:0 24px 60px rgba(15,23,42,.12);
    --dst-shadow-btn:0 14px 35px rgba(250,204,21,.22);
    --dst-fs-xs:clamp(.76rem,.73rem + .18vw,.88rem);
    --dst-fs-sm:clamp(.9rem,.86rem + .2vw,1rem);
    --dst-fs-base:clamp(1rem,.95rem + .35vw,1.125rem);
    --dst-fs-xl:clamp(2rem,1.4rem + 2.2vw,3.8rem);
    --dst-space-3:clamp(1rem,.9rem + .45vw,1.3rem);
    --dst-space-5:clamp(1.5rem,1.2rem + 1vw,2.3rem);
    --dst-space-6:clamp(2rem,1.6rem + 1.8vw,3.5rem);
    --dst-space-7:clamp(2.5rem,2rem + 2.4vw,4.8rem);
    position:relative;
    padding:var(--dst-space-7) 0;
    overflow:hidden;
    background:
        radial-gradient(circle at top left, rgba(250,204,21,.08), transparent 18%),
        radial-gradient(circle at bottom right, rgba(37,99,235,.06), transparent 18%),
        linear-gradient(135deg, #0f172a 0%, #162033 100%);
}
.single-post .dst-prefooter-breakout{
    position:relative;
    width:100vw;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
}
.dst-prefooter-breakout *{box-sizing:border-box}
.dst-prefooter-container{
    width:min(100%, 1440px);
    margin-inline:auto;
    padding-inline:clamp(16px,2vw,24px);
}
.dst-prefooter-shell{
    display:grid;
    grid-template-columns:minmax(320px,1.15fr) minmax(300px,.85fr);
    gap:clamp(22px,3vw,38px);
    align-items:stretch;
    padding:16px 0;
}
.dst-reveal-item{opacity:0;transform:translateY(28px)}
.dst-prefooter-breakout.dst-is-visible .dst-reveal-item{animation:dstPrefooterReveal .85s cubic-bezier(.22,1,.36,1) forwards;animation-delay:var(--delay,0s)}
@keyframes dstPrefooterReveal{
    from{opacity:0;transform:translateY(28px)}
    to{opacity:1;transform:translateY(0)}
}
body.elementor-editor-active .dst-prefooter-breakout .dst-reveal-item,
.elementor-editor-active .dst-prefooter-breakout .dst-reveal-item,
.dst-prefooter-context-elementor .dst-reveal-item{
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
}
.dst-prefooter-content{
    position:relative;
    padding:clamp(26px,4vw,48px);
    border-radius:var(--dst-radius-lg);
    background:linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 100%);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:var(--dst-shadow-card);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.dst-prefooter-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:var(--dst-space-3);
    padding:8px 18px;
    border-radius:var(--dst-radius-pill);
    background:rgba(250,204,21,.1);
    border:1px solid rgba(250,204,21,.35);
    color:#fde68a;
    font-size:var(--dst-fs-xs);
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dst-prefooter-title{
    margin:0 0 var(--dst-space-3);
    color:#ffffff !important;
    font-size:var(--dst-fs-xl);
    line-height:1.06;
    letter-spacing:-.03em;
    font-weight:900;
    max-width:12ch;
}
.dst-prefooter-title span{color:var(--dst-yellow) !important}
.dst-prefooter-text{
    margin:0 0 var(--dst-space-5);
    color:rgba(255,255,255,.84) !important;
    font-size:var(--dst-fs-base);
    line-height:1.8;
    max-width:58ch;
}
.dst-prefooter-actions{display:flex;flex-wrap:wrap;gap:16px}
.dst-prefooter-btn-primary{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:58px;
    padding:16px 30px;
    border-radius:var(--dst-radius-pill);
    background:var(--dst-yellow);
    color:var(--dst-navy) !important;
    text-decoration:none;
    font-size:var(--dst-fs-base);
    font-weight:800;
    line-height:1.2;
    box-shadow:var(--dst-shadow-btn);
    transition:transform .28s ease, box-shadow .28s ease, background-color .28s ease;
    animation:dst-prefooter-pulse 1.6s infinite;
}
.dst-prefooter-btn-primary:hover{
    transform:translateY(-3px);
    background:var(--dst-yellow-hover);
    box-shadow:0 18px 42px rgba(250,204,21,.28);
    color:var(--dst-navy) !important;
}
.dst-prefooter-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px}
.dst-prefooter-btn-icon svg{width:18px;height:18px;display:block}
@keyframes dst-prefooter-pulse{
    0%{box-shadow:0 0 0 0 rgba(250,204,21,.55), var(--dst-shadow-btn)}
    70%{box-shadow:0 0 0 16px rgba(250,204,21,0), var(--dst-shadow-btn)}
    100%{box-shadow:0 0 0 0 rgba(250,204,21,0), var(--dst-shadow-btn)}
}
.dst-newsletter-card{
    padding:clamp(24px,3vw,34px);
    border-radius:var(--dst-radius-lg);
    background:rgba(255,255,255,.98);
    border:1px solid rgba(226,232,240,.95);
    box-shadow:var(--dst-shadow-card);
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.dst-newsletter-icon{
    width:58px;
    height:58px;
    margin-bottom:18px;
    border-radius:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(250,204,21,.12);
    color:#ca8a04;
    box-shadow:0 10px 24px rgba(250,204,21,.14);
}
.dst-newsletter-icon svg{width:24px;height:24px;display:block}
.dst-newsletter-title{
    margin:0 0 10px;
    color:var(--dst-navy) !important;
    font-size:clamp(1.3rem,1.1rem + .9vw,1.8rem);
    line-height:1.2;
    font-weight:900;
}
.dst-newsletter-text{
    margin:0 0 18px;
    color:var(--dst-slate-600) !important;
    font-size:var(--dst-fs-sm);
    line-height:1.8;
}
.dst-newsletter-alert{
    padding:14px 16px;
    border-radius:16px;
    font-size:.92rem;
    line-height:1.65;
    margin:0 0 16px;
}
.dst-newsletter-alert strong{font-weight:800}
.dst-newsletter-alert--success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.dst-newsletter-alert--error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.dst-newsletter-alert--info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.dst-newsletter-form{display:flex;flex-direction:column;gap:12px}
.dst-newsletter-input{
    width:100%;
    min-height:56px;
    padding:0 20px;
    border-radius:20px;
    border:1px solid #dbe3ef;
    background:#ffffff;
    color:var(--dst-navy);
    font-size:var(--dst-fs-sm);
    outline:none;
    transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dst-newsletter-input:focus{
    border-color:rgba(37,99,235,.5);
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.dst-newsletter-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:8px 0 4px;
}
.dst-newsletter-consent input[type="checkbox"]{
    margin-top:4px;
    width:18px;
    height:18px;
    flex-shrink:0;
    accent-color:#0f172a;
}
.dst-newsletter-consent label{
    font-size:.82rem;
    line-height:1.7;
    color:var(--dst-slate-600);
}
.dst-newsletter-consent a{
    color:#1d4ed8;
    text-decoration:underline;
    font-weight:600;
}
.dst-newsletter-submit{
    min-height:54px;
    border:none;
    border-radius:18px;
    background:var(--dst-navy);
    color:var(--dst-white);
    font-size:var(--dst-fs-sm);
    font-weight:800;
    cursor:pointer;
    box-shadow:var(--dst-shadow-soft);
    transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.dst-newsletter-submit:hover{
    transform:translateY(-2px);
    background:#facc15;
    color:#ffffff;
    box-shadow:0 18px 35px rgba(250,204,21,.24);
}
.dst-newsletter-submit.is-loading{opacity:.75;cursor:progress}
.dst-newsletter-note{
    margin:14px 0 0;
    color:var(--dst-slate-600);
    font-size:.84rem;
    line-height:1.6;
    display:flex;
    align-items:center;
    gap:8px;
}
.dst-screen-reader-text{
    position:absolute !important;
    width:1px;height:1px;
    padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);
    white-space:nowrap;border:0;
}
.dst-hidden-field{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.dst-prefooter-breakout :focus-visible{
    outline:3px solid #93c5fd;
    outline-offset:3px;
    border-radius:12px;
}
@media (max-width:1024px){
    .dst-prefooter-shell{grid-template-columns:1fr}
    .dst-prefooter-title{max-width:100%}
}
@media (max-width:767px){
    .dst-prefooter-breakout{padding:var(--dst-space-6) 0}
    .dst-prefooter-btn-primary{width:100%}
}
@media (prefers-reduced-motion:reduce){
    .dst-prefooter-breakout .dst-reveal-item,
    .dst-prefooter-breakout .dst-prefooter-btn-primary,
    .dst-prefooter-breakout .dst-newsletter-submit,
    .dst-prefooter-breakout .dst-newsletter-input{
        animation:none !important;
        transition:none !important;
        transform:none !important;
        opacity:1 !important;
    }
}


.dst-newsletter-note{
    margin:14px 0 0;
    color:var(--dst-slate-600);
    font-size:.84rem;
    line-height:1.6;
    display:flex;
    align-items:center;
    gap:10px;
}
.dst-newsletter-note-icon{
    width:24px;
    height:24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#ca8a04;
    background:rgba(250,204,21,.14);
    border:1px solid rgba(250,204,21,.34);
    border-radius:999px;
    flex-shrink:0;
}
.dst-newsletter-note-icon svg{
    width:13px;
    height:13px;
    display:block;
    transform:translateX(.5px);
}



.dst-prefooter-context-elementor .dst-reveal-item{
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
}
