/*
Theme Name: Astra Child
Theme URI: https://example.com/
Description: Astra Child Theme
Author: Michael
Author URI: https://example.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Test CSS so you know it works */
body {
    margin : 0;
    background-color: #f9f9f9 !important;
}



/*HERO SIDEBAR BLOG STYLE*/

.sb-latest-wrap{
    width:100%;
}

.sb-latest-divider{
    width:100%;
    height:2px;
    background:#000;
    margin-bottom:8px;
}

.sb-latest-heading{
    font-family:"Roboto Slab", serif;
    font-size:24px;
    font-weight:400;
    line-height:1.1;
    color:#000;
    margin:0 0 22px;
}

.sb-latest-list{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.sb-latest-item{
    margin:0;
    padding:0;
}

.sb-latest-title a,
.sb-latest-title a:visited{
    color:#000 !important;
    text-decoration:none !important;
    transition:color .2s ease, opacity .2s ease;
}

.sb-latest-title a:hover,
.sb-latest-title a:focus,
.sb-latest-title a:active{
    color:#6f6f6f !important;
    text-decoration:none !important;
}

.sb-latest-date{
    font-family:"Libre Franklin", sans-serif;
    font-size:14px;
    font-weight:400;
    line-height:1.3;
    color:#000;
}

.sb-latest-footer{
    margin-top:24px;
}

.sb-latest-footer a.sb-latest-more,
.sb-latest-footer a.sb-latest-more:visited{
    color:#000 !important;
    text-decoration:underline !important;
    text-decoration-color:currentColor !important;
    text-underline-offset:2px;
}

.sb-latest-footer a.sb-latest-more:hover,
.sb-latest-footer a.sb-latest-more:focus{
    color:#6f6f6f !important;
    text-decoration:underline !important;
    text-decoration-color:currentColor !important;
}

@media (max-width:921px){
    .sb-latest-heading{
        font-size:22px;
    }

    .sb-latest-title{
        font-size:17px;
    }

    .sb-latest-list{
        gap:20px;
    }
}

@media (max-width:544px){
    .sb-latest-heading{
        font-size:20px;
    }

    .sb-latest-title{
        font-size:16px;
    }

    .sb-latest-date{
        font-size:13px;
    }

    .sb-latest-more{
        font-size:15px;
    }
}


/*HERO MIDLE SECTION STYLE*/

.flp-wrap{
    width:100%;
}

.flp-image-link{
    display:block;
    width:100%;
}

.flp-image{
    display:block;
    width:100%;
    aspect-ratio: 4 / 3;
    object-fit:cover;
    object-position:center;
}

.flp-divider{
    width:100%;
    height:6px;
    background:#000;
    margin:14px 0 14px;
}

.flp-title{
    margin:0 0 10px;
    font-family:"Libre Franklin", sans-serif;
    font-size:34px;
    font-weight:700;
    line-height:1.05;
    letter-spacing:-0.02em;
}

.flp-title a,
.flp-title a:visited{
    color:#000 !important;
    text-decoration:none !important;
}

.flp-title a:hover,
.flp-title a:focus,
.flp-title a:active{
    color:#6f6f6f !important;
    text-decoration:none !important;
}

.flp-date{
    margin:0 0 18px;
    font-family:"Libre Franklin", sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
    color:#000;
}

.flp-bottom{
    display:grid;
    grid-template-columns:minmax(0, 1.6fr) minmax(220px, .95fr);
    gap:44px;
    align-items:start;
}

.flp-excerpt{
    font-family:"Roboto Slab", serif;
    font-size:18px;
    font-weight:400;
    line-height:1.45;
    color:#000;
}

.flp-excerpt p{
    margin:0;
}

.flp-related{
    width:100%;
}

.flp-related-divider{
    width:100%;
    height:2px;
    background:#000;
    margin:0 0 8px;
}

.flp-related-heading{
    margin:0 0 16px;
    font-family:"Roboto Slab", serif;
    font-size:22px;
    font-weight:400;
    line-height:1.1;
    color:#000;
}

.flp-related-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.flp-related-title{
    margin:0;
    font-family:"Libre Franklin", sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.25;
}

.flp-related-title a,
.flp-related-title a:visited{
    color:#000 !important;
    text-decoration:none !important;
}

.flp-related-title a:hover,
.flp-related-title a:focus,
.flp-related-title a:active{
    color:#6f6f6f !important;
    text-decoration:none !important;
}

@media (max-width:921px){
    .flp-title{
        font-size:28px;
    }

    .flp-bottom{
        grid-template-columns:1fr;
        gap:28px;
    }

    .flp-related-heading{
        font-size:20px;
    }

    .flp-excerpt{
        font-size:17px;
    }
}

@media (max-width:544px){
    .flp-divider{
        margin:12px 0;
    }

    .flp-title{
        font-size:24px;
    }

    .flp-date{
        font-size:14px;
        margin-bottom:16px;
    }

    .flp-excerpt{
        font-size:16px;
    }

    .flp-related-heading{
        font-size:18px;
    }

    .flp-related-title{
        font-size:15px;
    }
}


/*Hero Side Product Style*/

.sb-deals-wrap{
    width:100%;
}

.sb-deals-divider{
    width:100%;
    height:2px;
    background:#000;
    margin-bottom:8px;
}

.sb-deals-heading{
    margin:0 0 14px;
    font-family:"Roboto Slab", serif;
    font-size:24px;
    font-weight:400;
    line-height:1.1;
    color:#000;
}

.sb-deals-intro{
    margin:0 0 18px;
    font-family:"Libre Franklin", sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.45;
    color:#4f4f4f;
    max-width:22ch;
}

.sb-deals-list{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.sb-deals-item{
    width:100%;
    max-width:140px;
    margin:0;
    padding:0;
}

.sb-deals-thumb-link{
    display:block;
    width:100%;
    margin:0 0 10px;
    text-decoration:none !important;
}

.sb-deals-thumb{
    display:block;
    width:100%;
    height:auto;
    border-radius:0;
}

.sb-deals-title{
    width:100%;
    margin:0 0 6px;
    font-family:"Libre Franklin", sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.25;
}

.sb-deals-title a,
.sb-deals-title a:visited{
    color:#000 !important;
    text-decoration-line:underline !important;
    text-decoration-color:currentColor !important;
    text-decoration-thickness:1px;
    text-underline-offset:2px;
}

.sb-deals-title a:hover,
.sb-deals-title a:focus,
.sb-deals-title a:active{
    color:#6f6f6f !important;
    text-decoration-line:underline !important;
    text-decoration-color:currentColor !important;
    text-decoration-thickness:1px;
    text-underline-offset:2px;
}

.sb-deals-desc{
    width:100%;
    font-family:"Libre Franklin", sans-serif;
    font-size:14px;
    font-weight:400;
    line-height:1.4;
    color:#4f4f4f;
}

.sb-deals-footer{
    margin-top:24px;
}

.sb-deals-more,
.sb-deals-more:visited{
    color:#000 !important;
    font-family:"Libre Franklin", sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
    text-decoration:underline !important;
    text-decoration-color:currentColor !important;
    text-underline-offset:2px;
}

.sb-deals-more:hover,
.sb-deals-more:focus,
.sb-deals-more:active{
    color:#6f6f6f !important;
    text-decoration:underline !important;
    text-decoration-color:currentColor !important;
}

/*Mobile*/

@media (max-width:544px){
    .sb-deals-list{
        display:flex;
        flex-direction:row;
        flex-wrap:nowrap;
        gap:12px;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x mandatory;
        padding-bottom:6px;
        scrollbar-width:none;
    }

    .sb-deals-list::-webkit-scrollbar{
        display:none;
    }

    .sb-deals-item{
        flex:0 0 62%;
        min-width:62%;
        max-width:none;
        scroll-snap-align:start;
    }
}

/* ================================
   SHORTCODE 1 - TYPE 1 SECTION
   ================================ */

.t1-products-section{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0;
}

.t1-products-divider{
    width:100%;
    height:5px;
    background:#111;
    margin:0 0 14px;
}

.t1-products-heading{
    color:#000;
    font-family: nyt-franklin, "Franklin Fallback Helvetica", "Franklin Fallback Arial", helvetica, sans-serif;
    font-size:2.625rem;
    font-weight:800;
    letter-spacing:-1px;
    line-height:2.875rem;
    margin:0 0 16px;
}

.t1-products-desc{
    max-width:720px;
    margin:0 0 28px;
    font-size:clamp(16px, 1.5vw, 18px);
    line-height:1.55;
    color:#333;
}

.t1-products-desc p{
    margin:0;
}

.t1-products-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:20px;
    align-items:start;
}

.t1-product-card{
    width:100%;
}

.t1-product-image-link{
    display:block;
    width:100%;
    margin:0 0 14px;
    text-decoration:none;
}

.t1-product-image{
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    object-position:center;
    background:#f2f2f2;
}

.t1-product-title{
    margin:0;
    font-size:clamp(18px, 1.5vw, 23px);
    line-height:1.18;
    font-weight:800;
    letter-spacing:-0.02em;
}

.t1-product-title a{
    color:#111;
    text-decoration:none;
}

.t1-product-title a:hover{
    color:#444;
}

/* Tablet */
@media (max-width: 1024px){
    .t1-products-section{
        padding-left:20px;
        padding-right:20px;
    }

    .t1-products-grid{
        grid-template-columns:repeat(4, minmax(0, 1fr));
        gap:16px;
    }

    .t1-products-heading{
        font-size:clamp(32px, 4vw, 38px);
        line-height:1.08;
        margin-bottom:12px;
    }

    .t1-products-desc{
        margin-bottom:24px;
        font-size:16px;
        line-height:1.5;
    }

    .t1-product-image-link{
        margin-bottom:10px;
    }

    .t1-product-title{
        font-size:clamp(16px, 1.25vw, 19px);
        line-height:1.16;
    }
}

/* Mobile */
@media (max-width: 767px){
    .t1-products-section{
        padding-left:16px;
        padding-right:16px;
    }

    .t1-products-divider{
        margin-bottom:12px;
    }

    .t1-products-heading{
        font-size:clamp(26px, 8vw, 34px);
        line-height:1.08;
        margin-bottom:12px;
    }

    .t1-products-desc{
        font-size:16px;
        line-height:1.5;
        margin-bottom:20px;
    }

    .t1-products-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .t1-product-card{
        display:grid;
        grid-template-columns:110px minmax(0, 1fr);
        gap:14px;
        align-items:start;
    }

    .t1-product-image-link{
        width:100%;
        margin:0;
    }

    .t1-product-image{
        width:100%;
        aspect-ratio:4 / 3;
    }

    .t1-product-title{
        font-size:clamp(18px, 4.6vw, 22px);
        line-height:1.15;
        margin:0;
        border-top:2px solid #111;
        padding-top:10px;
    }
}

/* =========================================
   SHORTCODE 2 - EDITORIAL BLOG SECTION
   ========================================= */

.t2-blog-section{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0;
}

.t2-blog-divider{
    width:100%;
    height:6px;
    background:#000;
    margin:0 0 12px;
}

.t2-blog-heading{
    color:#000;
    font-family: nyt-franklin, "Franklin Fallback Helvetica", "Franklin Fallback Arial", helvetica, sans-serif;
    font-size:clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
    font-weight:800;
    letter-spacing:-1px;
    line-height:1.08;
    margin:0 0 22px;
}

.t2-blog-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap:50px;
    align-items:start;
}

.t2-featured-card{
    width:100%;
}

.t2-featured-image-link{
    display:block;
    width:100%;
    margin:0 0 16px;
    text-decoration:none;
}

.t2-featured-image{
    display:block;
    width:100%;
    aspect-ratio:16 / 10;
    object-fit:cover;
    object-position:center;
    background:#ececec;
}

.t2-featured-title{
    margin:0 0 8px;
    font-family: nyt-franklin, "Franklin Fallback Helvetica", "Franklin Fallback Arial", helvetica, sans-serif;
    font-size:clamp(1.55rem, 1.1rem + 1vw, 1.9rem);
    line-height:1.08;
    font-weight:800;
    letter-spacing:-0.6px;
}

.t2-featured-title a{
    color:#000;
    text-decoration:none;
}

.t2-featured-date{
    margin:0 0 10px;
    font-family: nyt-franklin, "Franklin Fallback Helvetica", "Franklin Fallback Arial", helvetica, sans-serif;
    font-size:0.95rem;
    line-height:1.3;
    color:#111;
}

.t2-featured-excerpt{
    margin:0;
    font-family: Georgia, "Times New Roman", serif;
    font-size:clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    line-height:1.45;
    color:#222;
    max-width:34ch;
}

.t2-side-list{
    display:flex;
    flex-direction:column;
    gap:38px;
}

.t2-side-card{
    display:grid;
    grid-template-columns:140px minmax(0, 1fr);
    gap:16px;
    align-items:start;
}

.t2-side-image-link{
    display:block;
    width:100%;
    text-decoration:none;
}

.t2-side-image{
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    object-position:center;
    background:#ececec;
}

.t2-featured-title{
    margin:0 0 8px;
    font-size:clamp(20px, 1.8vw, 28px);
    line-height:1.14;
    font-weight:800;
    letter-spacing:-0.02em;
}

.t2-featured-title a{
    color:#111;
    text-decoration:none;
}

.t2-featured-title a:hover{
    color:#444;
}

.t2-side-title{
    margin:0 0 6px;
    font-size:clamp(18px, 1.5vw, 23px);
    line-height:1.18;
    font-weight:800;
    letter-spacing:-0.02em;
}

.t2-side-title a{
    color:#111;
    text-decoration:none;
}

.t2-side-title a:hover{
    color:#444;
}

.t2-side-date{
    margin:0 0 8px;
    font-family: nyt-franklin, "Franklin Fallback Helvetica", "Franklin Fallback Arial", helvetica, sans-serif;
    font-size:0.92rem;
    line-height:1.3;
    color:#111;
}

.t2-side-excerpt{
    margin:0;
    font-family: Georgia, "Times New Roman", serif;
    font-size:clamp(0.98rem, 0.95rem + 0.15vw, 1.05rem);
    line-height:1.42;
    color:#222;
}

@media (max-width: 1024px){
    .t2-blog-section{
        padding-left:20px;
        padding-right:20px;
    }

    .t2-blog-layout{
        grid-template-columns:minmax(0, 1.02fr) minmax(240px, 0.98fr);
        gap:28px;
    }

    .t2-blog-heading{
        margin-bottom:18px;
    }

    .t2-featured-image-link{
        margin-bottom:14px;
    }

    .t2-featured-title{
        font-size:clamp(18px, 2vw, 23px);
        line-height:1.14;
    }

    .t2-featured-date{
        font-size:14px;
        margin-bottom:8px;
    }

    .t2-featured-excerpt{
        max-width:100%;
        font-size:16px;
        line-height:1.4;
    }

    .t2-side-list{
        gap:24px;
    }

    .t2-side-card{
        grid-template-columns:110px minmax(0, 1fr);
        gap:12px;
    }

    .t2-side-title{
        font-size:clamp(16px, 1.4vw, 19px);
        line-height:1.16;
    }

    .t2-side-date{
        font-size:13px;
        margin-bottom:6px;
    }

    .t2-side-excerpt{
        font-size:15px;
        line-height:1.35;
    }
}


/*MOBILE*/
@media (max-width: 767px){
    .t2-blog-section{
        padding-left:16px;
        padding-right:16px;
    }

    .t2-blog-divider{
        height:6px;
        margin-bottom:12px;
    }

    .t2-blog-heading{
        font-size:clamp(26px, 8vw, 34px);
        line-height:1.08;
        margin-bottom:16px;
    }

    .t2-blog-layout{
        grid-template-columns:1fr;
        gap:26px;
    }

    .t2-featured-image-link{
        margin-bottom:12px;
    }

    .t2-featured-title{
        font-size:clamp(20px, 5.5vw, 26px);
        line-height:1.12;
        margin-bottom:6px;
    }

    .t2-featured-date{
        font-size:13px;
        margin-bottom:8px;
    }

    .t2-featured-excerpt{
        font-size:15px;
        line-height:1.4;
        max-width:100%;
    }

    .t2-side-list{
        gap:22px;
    }

    .t2-side-card{
        grid-template-columns:110px minmax(0, 1fr);
        gap:14px;
        align-items:start;
    }

    .t2-side-title{
        font-size:clamp(17px, 4.4vw, 21px);
        line-height:1.14;
        margin-bottom:5px;
    }

    .t2-side-date{
        font-size:12px;
        margin-bottom:6px;
    }

    .t2-side-excerpt{
        font-size:14px;
        line-height:1.35;
    }
}

/* =========================================
   SHORTCODE 3 - STYLE 2 INSPIRED PRODUCT SECTION
   Uses .t3-* classes only
   ========================================= */

.t3-editorial-section{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0;
}

.t3-editorial-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap:50px;
    align-items:start;
}

.t3-featured-card{
    width:100%;
}

.t3-featured-image-link{
    display:block;
    width:100%;
    margin:0 0 16px;
    text-decoration:none;
}

.t3-featured-image{
    display:block;
    width:100%;
    aspect-ratio:16 / 10;
    object-fit:cover;
    object-position:center;
    background:#ececec;
}

.t3-featured-content{
    width:100%;
}

.t3-featured-excerpt{
    margin:10px 0 0;
    font-family:Georgia, "Times New Roman", serif;
    font-size:clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    line-height:1.45;
    color:#222;
    max-width:34ch;
}

.t3-side-list{
    display:flex;
    flex-direction:column;
    gap:38px;
}

.t3-side-card{
    display:grid;
    grid-template-columns:140px minmax(0, 1fr);
    gap:16px;
    align-items:start;
}

.t3-side-image-link{
    display:block;
    width:100%;
    text-decoration:none;
}

.t3-side-image{
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    object-position:center;
    background:#ececec;
}

.t3-side-content{
    width:100%;
}

.t3-side-excerpt{
    margin:8px 0 0;
    font-family:Georgia, "Times New Roman", serif;
    font-size:clamp(0.98rem, 0.95rem + 0.15vw, 1.05rem);
    line-height:1.42;
    color:#222;
}

.t3-products-section + .t3-products-section,
.t3-products-section + .t3-editorial-section,
.t3-editorial-section + .t3-products-section,
.t3-editorial-section + .t3-editorial-section{
    margin-top:56px;
}

/* Tablet */
@media (max-width: 1024px){
    .t3-editorial-section{
        padding-left:20px;
        padding-right:20px;
    }

    .t3-editorial-layout{
        grid-template-columns:minmax(0, 1.02fr) minmax(240px, 0.98fr);
        gap:28px;
    }

    .t3-featured-image-link{
        margin-bottom:14px;
    }

    .t3-featured-excerpt{
        max-width:100%;
        font-size:16px;
        line-height:1.4;
    }

    .t3-side-list{
        gap:24px;
    }

    .t3-side-card{
        grid-template-columns:110px minmax(0, 1fr);
        gap:12px;
    }

    .t3-side-excerpt{
        font-size:15px;
        line-height:1.35;
        margin-top:6px;
    }
    
    t3-products-section + .t3-products-section,
    .t3-products-section + .t3-editorial-section,
    .t3-editorial-section + .t3-products-section,
    .t3-editorial-section + .t3-editorial-section{
        margin-top:44px;
    }
}

/* Mobile */
@media (max-width: 767px){
    .t3-editorial-section{
        padding-left:16px;
        padding-right:16px;
    }

    .t3-editorial-layout{
        grid-template-columns:1fr;
        gap:26px;
    }

    .t3-featured-image-link{
        margin-bottom:12px;
    }

    .t3-featured-excerpt{
        font-size:15px;
        line-height:1.4;
        max-width:100%;
        margin-top:8px;
    }

    .t3-side-list{
        gap:22px;
    }

    .t3-side-card{
        grid-template-columns:110px minmax(0, 1fr);
        gap:14px;
        align-items:start;
    }

    .t3-side-excerpt{
        font-size:14px;
        line-height:1.35;
        margin-top:6px;
    }
    
    .t3-products-section + .t3-products-section,
    .t3-products-section + .t3-editorial-section,
    .t3-editorial-section + .t3-products-section,
    .t3-editorial-section + .t3-editorial-section{
        margin-top:36px;
    }
}