/* ===================================
   WODERFIN CONTENT THEME
=================================== */

:root{
--bg:#f8f5ef;
--white:#ffffff;
--dark:#0f172a;
--muted:#64748b;
--bronze:#b77943;
--bronze-dark:#925f35;
--purple:#5b21b6;
--border:#ece7dd;
--shadow:0 15px 40px rgba(15,23,42,.08);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:var(--bg);
color:var(--dark);
line-height:1.7;
overflow-x:hidden;
}

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}

.container{
max-width:1280px;
margin:auto;
padding:0 24px;
}

/* ===================================
   HERO
=================================== */

.hero{
padding:90px 0;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 460px;
gap:70px;
align-items:center;
}

.hero-badge{
display:inline-flex;
align-items:center;
padding:10px 18px;
background:#fff;
border:1px solid var(--border);
border-radius:50px;
font-size:13px;
font-weight:700;
margin-bottom:25px;
}

.hero h1{
font-family:'Playfair Display',serif;
font-size:72px;
line-height:1.05;
margin-bottom:20px;
}

.hero p{
font-size:20px;
color:var(--muted);
max-width:700px;
margin-bottom:35px;
}

/* SEARCH */

.hero-search{
max-width:720px;
margin-bottom:25px;
}

.hero-search form{
display:flex;
align-items:center;
background:#fff;
border-radius:22px;
overflow:hidden;
border:1px solid var(--border);
box-shadow:var(--shadow);
}

.hero-search input{
flex:1;
height:64px;
border:none;
outline:none;
padding:0 22px;
font-size:16px;
}

.hero-search button{
height:64px;
padding:0 30px;
border:none;
background:linear-gradient(
135deg,
var(--bronze),
var(--bronze-dark)
);
color:#fff;
font-weight:700;
cursor:pointer;
}

/* TAGS */

.hero-tags{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom:30px;
}

.hero-tags a{
padding:10px 18px;
background:#fff;
border:1px solid var(--border);
border-radius:40px;
font-size:14px;
font-weight:600;
transition:.3s;
}

.hero-tags a:hover{
background:var(--bronze);
color:#fff;
}

/* BUTTONS */

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.btn-outline{
display:inline-flex;
align-items:center;
justify-content:center;
height:52px;
padding:0 24px;
border:2px solid var(--dark);
border-radius:16px;
font-weight:700;
}

/* QUOTE CARD */

.quote-card{
background:#fff;
padding:40px;
border-radius:30px;
box-shadow:var(--shadow);
}

.quote-title{
font-size:12px;
font-weight:700;
letter-spacing:2px;
text-transform:uppercase;
color:var(--bronze);
margin-bottom:20px;
}

.quote-card blockquote{
font-family:'Playfair Display',serif;
font-size:38px;
line-height:1.4;
margin-bottom:20px;
}

.quote-author{
font-weight:700;
}

/* ===================================
   SECTIONS
=================================== */

.section{
padding:90px 0;
}

.section-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:40px;
}

.section-header h2{
font-family:'Playfair Display',serif;
font-size:46px;
}

.section-header a{
font-weight:700;
color:var(--bronze);
}

/* ARTICLES */

.article-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.article-card{
background:#fff;
border-radius:24px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.3s;
}

.article-card:hover{
transform:translateY(-8px);
}

.article-card img{
height:240px;
object-fit:cover;
}

.article-content{
padding:24px;
}

.category{
display:inline-block;
padding:6px 12px;
background:#f6ece4;
color:var(--bronze);
border-radius:30px;
font-size:12px;
font-weight:700;
margin-bottom:15px;
}

.article-content h3{
font-size:24px;
margin-bottom:12px;
}

.article-content p{
color:var(--muted);
}

/* CATEGORIES */

.categories{
background:#fff;
}

.category-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.category-grid a{
padding:24px;
text-align:center;
background:var(--bg);
border:1px solid var(--border);
border-radius:18px;
font-weight:700;
transition:.3s;
}

.category-grid a:hover{
background:var(--bronze);
color:#fff;
}

/* NEWSLETTER */

.newsletter{
padding:90px 0;
}

.newsletter-box{
background:#fff;
padding:60px;
border-radius:30px;
text-align:center;
box-shadow:var(--shadow);
max-width:900px;
margin:auto;
}

.newsletter-box h2{
font-size:48px;
font-family:'Playfair Display',serif;
margin-bottom:15px;
}

.newsletter-box p{
font-size:18px;
color:var(--muted);
margin-bottom:25px;
}

.newsletter-box form{
display:flex;
justify-content:center;
gap:12px;
}

.newsletter-box input{
width:420px;
height:58px;
padding:0 18px;
border:1px solid var(--border);
border-radius:14px;
font-size:15px;
}

.newsletter-box button{
height:58px;
padding:0 25px;
border:none;
border-radius:14px;
background:var(--bronze);
color:#fff;
font-weight:700;
cursor:pointer;
}

/* MOBILE */

@media(max-width:991px){

.hero-grid{
grid-template-columns:1fr;
gap:35px;
}

.hero h1{
font-size:52px;
}

.article-grid{
grid-template-columns:1fr;
}

.category-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

.newsletter-box{
padding:30px 20px;
}

.newsletter-box h2{
font-size:32px;
}

.newsletter-box form{
flex-direction:column;
}

.newsletter-box input,
.newsletter-box button{
width:100%;
}

}

@media(max-width:600px){

.container{
padding:0 18px;
}

.hero{
padding:50px 0;
}

.hero h1{
font-size:38px;
line-height:1.15;
}

.hero p{
font-size:16px;
}

.hero-search form{
flex-direction:column;
padding:10px;
gap:10px;
}

.hero-search input,
.hero-search button{
width:100%;
height:56px;
border-radius:12px;
}

.hero-buttons{
flex-direction:column;
}

.hero-buttons a{
width:100%;
}

.category-grid{
grid-template-columns:1fr;
}

.section-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.quote-card{
padding:25px;
}

.quote-card blockquote{
font-size:28px;
}

}

.btn-outline{
display:inline-flex;
align-items:center;
justify-content:center;
height:56px;
padding:0 30px;
border:none;
border-radius:16px;
font-weight:700;
font-size:16px;
color:#fff !important;
cursor:pointer;
transition:.3s;

background:linear-gradient(
135deg,
#5b21b6 0%,
#7c3aed 40%,
#b77943 100%
);

box-shadow:
0 12px 30px rgba(91,33,182,.25);
}

.btn-outline:hover{
transform:translateY(-3px);
box-shadow:
0 18px 40px rgba(91,33,182,.35);
}

.btn-primary{
display:inline-flex;
align-items:center;
justify-content:center;
height:56px;
padding:0 30px;
border:none;
border-radius:16px;
font-weight:700;
font-size:16px;
color:#fff !important;
cursor:pointer;
transition:.3s;

background:linear-gradient(
135deg,
#5b21b6 0%,
#7c3aed 40%,
#b77943 100%
);

box-shadow:
0 12px 30px rgba(91,33,182,.25);
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:
0 18px 40px rgba(91,33,182,.35);
}

/* =====================================
   WODERFIN FEATURED ARTICLES CAROUSEL
===================================== */

.featured-slider-section{
    padding:80px 0;
    background:#f8f7f4;
    overflow:hidden;
}

.slider-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:35px;
}

.slider-badge{
    display:inline-block;
    background:#eef2ff;
    color:#4f46e5;
    padding:8px 16px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    margin-bottom:12px;
}

.slider-header h2{
    font-family:'Playfair Display',serif;
    font-size:42px;
    color:#111827;
    margin:0 0 10px;
}

.slider-header p{
    color:#6b7280;
    font-size:17px;
    line-height:1.7;
    max-width:700px;
    margin:0;
}

.view-all-btn{
    background:#111827;
    color:#fff;
    text-decoration:none;
    padding:14px 24px;
    border-radius:14px;
    font-weight:700;
    transition:.3s;
    white-space:nowrap;
}

.view-all-btn:hover{
    background:#4f46e5;
    color:#fff;
}

/* ========================= */

.slider-wrapper{
    position:relative;
}

.article-slider{

    display:flex;

    gap:20px;

    overflow-x:auto;
    overflow-y:hidden;

    scroll-behavior:smooth;

    -webkit-overflow-scrolling:touch;

    touch-action:pan-x;

    scrollbar-width:none;

    scroll-snap-type:x mandatory;

    padding:10px 0 20px;
}

.article-slider::-webkit-scrollbar{
    display:none;
}

/* ========================= */

.article-card{

    flex:0 0 320px;

    width:320px;
    height:460px;

    border-radius:24px;

    overflow:hidden;

    position:relative;

    text-decoration:none;

    background:#fff;

    scroll-snap-align:start;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.35s ease;
}

.article-card:hover{
    transform:translateY(-6px);
}

.article-image{
    width:100%;
    height:100%;
}

.article-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:.5s ease;
}

.article-card:hover img{
    transform:scale(1.08);
}

/* ========================= */

.article-overlay{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:25px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.95),
        rgba(0,0,0,.7),
        transparent
    );
}

.article-category{

    display:inline-block;

    background:#facc15;

    color:#111827;

    padding:7px 14px;

    border-radius:50px;

    font-size:12px;
    font-weight:700;

    margin-bottom:12px;
}

.article-overlay h3{

    color:#fff;

    font-size:20px;

    line-height:1.5;

    margin:0;

    font-weight:700;
}

/* ========================= */

.slider-nav{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    z-index:50;

    box-shadow:
    0 10px 25px rgba(0,0,0,.15);

    transition:.3s;
}

.slider-nav:hover{
    transform:translateY(-50%) scale(1.05);
}

.slider-nav i{
    font-size:18px;
    color:#111827;
}

.prevBtn{
    left:-25px;
}

.nextBtn{
    right:-25px;
}

/* ========================= */
/* TABLET */
/* ========================= */

@media(max-width:992px){

    .slider-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .slider-header h2{
        font-size:34px;
    }

    .article-card{
        flex:0 0 300px;
        width:300px;
        height:430px;
    }

}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:768px){

    .featured-slider-section{
        padding:60px 0;
    }

    .slider-header h2{
        font-size:28px;
    }

    .slider-header p{
        font-size:15px;
    }

    .article-slider{

        gap:16px;

        padding-left:15px;
        padding-right:15px;
    }

    .article-card{

        flex:0 0 280px;

        width:280px;
        height:420px;
    }

    .article-overlay{
        padding:20px;
    }

    .article-overlay h3{
        font-size:17px;
    }

    .slider-nav{
        display:none;
    }

}

/* ========================= */
/* SMALL MOBILE */
/* ========================= */

@media(max-width:480px){

    .article-card{

        flex:0 0 260px;

        width:260px;
        height:390px;
    }

    .article-overlay h3{
        font-size:15px;
    }

}

.search-box{
    position:relative;
    max-width:750px;
    width:100%;
}

.search-box input{
    width:100%;
    height:64px;
    border:none;
    border-radius:50px;
    padding:0 70px 0 25px;
    font-size:17px;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    outline:none;
}

.search-box button{
    position:absolute;
    right:8px;
    top:8px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#4f46e5;
    color:#fff;
    cursor:pointer;
}

#searchResults{

    position:absolute;

    top:70px;
    left:0;
    right:0;

    background:#fff;

    border-radius:20px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.12);

    display:none;

    overflow:hidden;

    z-index:9999;
}

.search-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 18px;
    text-decoration:none;
    color:#111827;
    border-bottom:1px solid #f3f4f6;
    transition:.2s;
}

.search-item:hover{
    background:#f8fafc;
}

.search-item img{
    width:50px;
    height:50px;
    object-fit:cover;
    border-radius:10px;
}

.search-title{
    font-weight:600;
}

.search-category{
    font-size:12px;
    color:#6b7280;
}

.search-box{
    position:relative;
}

#searchResults{

    position:absolute;

    top:100%;
    left:0;
    right:0;

    background:#fff;

    border-radius:16px;

    box-shadow:0 15px 50px rgba(0,0,0,.15);

    display:none;

    z-index:9999;

    overflow:hidden;
}

.search-item{

    display:flex;

    gap:12px;

    padding:15px 18px;

    text-decoration:none;

    color:#111;

    border-bottom:1px solid #eee;

    background:#fff;
}

.search-item:hover{
    background:#f8fafc;
}

.search-title{
    font-weight:600;
}

.search-category{
    font-size:12px;
    color:#666;
}

.search-box{
    position:relative;
    width:100%;
}

#searchResults{

    position:absolute;

    top:calc(100% + 10px);

    left:0;
    right:0;

    background:#fff;

    border-radius:18px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.12);

    z-index:99999;

    display:none;

    overflow:hidden;
}

.search-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    text-decoration:none;

    color:#111827;

    border-bottom:1px solid #f1f5f9;

    transition:.2s;
}

.search-item:hover{
    background:#f8fafc;
}

.search-item img{
    width:50px;
    height:50px;
    object-fit:cover;
    border-radius:10px;
}

.search-title{
    font-weight:600;
    line-height:1.5;
}

.search-category{
    font-size:12px;
    color:#64748b;
    margin-top:4px;
}

.search-empty{
    padding:16px;
    color:#64748b;
}

.hero,
.hero-content,
.hero-search,
.search-box{
    overflow:visible;
}

.topics-section{
    padding:70px 0;
}

/* ===================================
   EXPLORE TOPICS
=================================== */

.topics-section{
    padding:70px 0;
}

.topics-slider{

    display:flex;

    gap:14px;

    overflow-x:auto;

    overflow-y:hidden;

    scroll-behavior:smooth;

    scrollbar-width:none;

    -ms-overflow-style:none;

    padding-bottom:10px;
}

.topics-slider::-webkit-scrollbar{
    display:none;
}

/* TOPIC CHIP */

.topic-chip{

    flex:0 0 auto;

    padding:14px 22px;

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:999px;

    text-decoration:none;

    color:#111827;

    font-size:15px;

    font-weight:600;

    white-space:nowrap;

    transition:.3s;

    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.topic-chip:hover{

    background:#4f46e5;

    color:#fff;

    border-color:#4f46e5;

    transform:translateY(-2px);
}

/* NAVIGATION */

.topic-nav{

    display:flex;

    justify-content:flex-end;

    gap:10px;

    margin-bottom:15px;
}

.topic-prev,
.topic-next{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.topic-prev:hover,
.topic-next:hover{

    background:#4f46e5;

    color:#fff;
}

/* TABLET */

@media(max-width:992px){

    .topic-chip{

        padding:13px 20px;

        font-size:14px;
    }

}

/* MOBILE */

@media(max-width:768px){

    .topic-nav{
        display:none !important;
    }

    .topic-chip{

        padding:12px 18px;

        font-size:14px;

    }

}

/* =========================================
   TOPIC PAGE
========================================= */

.article-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(350px,1fr));
gap:35px;
margin-top:40px;
}

.article-card-link{
display:block;
text-decoration:none;
color:inherit;
height:100%;
}

.article-card{

background:#ffffff;

border-radius:24px;

overflow:hidden;

box-shadow:
0 12px 35px rgba(0,0,0,.08);

transition:all .35s ease;

height:100%;

display:block;

}

.article-card:hover{

transform:translateY(-8px);

box-shadow:
0 18px 45px rgba(0,0,0,.12);

}

/* IMAGE */

.article-card img{

width:100%;

height:240px;

object-fit:cover;

display:block;

}

/* CONTENT */

.article-content{

padding:24px;

}

.article-content h3{

font-size:28px;

font-weight:800;

line-height:1.5;

margin-bottom:15px;

color:#0f172a;

}

.article-content p{

font-size:17px;

line-height:1.9;

color:#64748b;

margin-bottom:22px;

}

/* BUTTON */

.read-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:14px 24px;

background:linear-gradient(
135deg,
#5b21b6,
#b77943
);

color:#fff;

font-weight:700;

border-radius:14px;

font-size:15px;

transition:.3s;

}

.article-card:hover .read-btn{

transform:translateX(4px);

}

/* PAGE TITLE */

.topic-title{

font-size:54px;

font-family:'Playfair Display',serif;

margin-bottom:15px;

color:#0f172a;

}

.topic-desc{

font-size:20px;

color:#64748b;

margin-bottom:20px;

}

/* MOBILE */

@media(max-width:991px){

.article-grid{

grid-template-columns:repeat(2,1fr);

gap:25px;

}

.article-content h3{

font-size:22px;

}

}

@media(max-width:768px){

.article-grid{

grid-template-columns:1fr;

}

.article-card img{

height:220px;

}

.article-content{

padding:20px;

}

.article-content h3{

font-size:20px;

}

.article-content p{

font-size:15px;

}

.topic-title{

font-size:38px;

}

.topic-desc{

font-size:17px;

}

}

/* ==========================
TOPIC ARTICLE SLIDER
========================== */

.articles-slider-wrapper{

position:relative;

margin-top:40px;
padding:0 50px;
}

.articles-slider{

display:flex;
gap:24px;

overflow-x:auto;

scrollbar-width:none;
-ms-overflow-style:none;

scroll-behavior:smooth;

padding-bottom:15px;
}

.articles-slider::-webkit-scrollbar{
display:none;
}

.article-card{

flex:0 0 320px;

background:#fff;

border-radius:24px;

overflow:hidden;

text-decoration:none;

color:#111827;

box-shadow:0 8px 25px rgba(0,0,0,.08);

transition:.3s;
}

.article-card:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.article-card img{

width:100%;
height:220px;

object-fit:cover;
display:block;
}

.article-info{

padding:20px;
}

.article-info h3{

font-size:26px;

font-weight:800;

line-height:1.4;

margin-bottom:12px;

display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.article-info p{

font-size:15px;

line-height:1.8;

color:#64748b;

margin-bottom:15px;

display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.article-meta{

display:inline-block;

padding:8px 14px;

border-radius:999px;

background:#ede9fe;

color:#6d28d9;

font-size:13px;

font-weight:700;
}

.slider-btn{

position:absolute;

top:40%;

transform:translateY(-50%);

width:50px;
height:50px;

border:none;

border-radius:50%;

background:#fff;

box-shadow:0 5px 20px rgba(0,0,0,.15);

cursor:pointer;

z-index:5;

font-size:24px;
}

.prev-btn{
left:0;
}

.next-btn{
right:0;
}

@media(max-width:768px){

.articles-slider-wrapper{

padding:0;
}

.slider-btn{

display:none;
}

.article-card{

flex:0 0 85%;
}

}

