/* ==========================================
   Expert Voice Stylesheet
   assets/css/styles.css
========================================== */

:root{
    --ev-primary:#0fa89d;
    --ev-accent:#ffde59;
    --ev-dark:#154551;

    --ev-light:#f5f7fa;
    --ev-text:#1f2937;
    --ev-muted:#6b7280;
    --ev-border:#e5e7eb;
}

/* ==========================================
   Base
========================================== */

body{
    font-family: Arial, Helvetica, sans-serif;
    background:var(--ev-light);
    color:var(--ev-text);
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/* ==========================================
   Topbar
========================================== */

.topbar{
    background:var(--ev-dark);
    color:#fff;
    font-size:14px;
}

.topbar a{
    color:#fff;
}

.topbar a:hover{
    color:var(--ev-accent);
}

/* ==========================================
   Navbar
========================================== */

.navbar{
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
}

.navbar-brand img{
    height:50px;
}

.nav-link{
    color:var(--ev-dark);
    font-weight:600;
    padding:10px 14px !important;
}

.nav-link:hover,
.nav-link.active{
    color:var(--ev-primary);
}

/* ==========================================
   Buttons
========================================== */

.btn-ev{
    background:var(--ev-primary);
    color:#fff;
    border:none;
}

.btn-ev:hover{
    background:var(--ev-dark);
    color:#fff;
}

.btn-ev-outline{
    border:2px solid var(--ev-primary);
    color:var(--ev-primary);
    background:#fff;
}

.btn-ev-outline:hover{
    background:var(--ev-primary);
    color:#fff;
}

/* ==========================================
   Hero Slider
========================================== */

.hero-slider .carousel-item{
    height:520px;
    position:relative;
    overflow:hidden;
    border-radius:0 0 22px 22px;
}

.hero-slider img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(55%);
}

.hero-caption{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
}

.hero-caption .content{
    max-width:700px;
}

.hero-badge{
    background:var(--ev-accent);
    color:#000;
    padding:8px 14px;
    border-radius:30px;
    font-weight:700;
    font-size:14px;
    margin-bottom:15px;
}

.hero-title{
    font-size:48px;
    font-weight:800;
    line-height:1.2;
    color:#fff;
    margin-bottom:15px;
}

.hero-subtitle{
    color:#f3f4f6;
    font-size:18px;
    margin-bottom:22px;
}

/* ==========================================
   Sections
========================================== */

.section-wrapper{
    padding:70px 0;
}

.section-header{
    margin-bottom:30px;
}

.section-title{
    font-size:28px;
    font-weight:800;
    color:var(--ev-dark);
}

.section-subtitle{
    color:var(--ev-muted);
}

.title-line{
    width:80px;
    height:4px;
    background:var(--ev-accent);
    border-radius:10px;
    margin-top:10px;
}

/* ==========================================
   Post Cards
========================================== */

.post-card{
    background:#fff;
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.25s ease;
    height:100%;
}

.post-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,.10);
}

.post-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.post-card .card-body{
    padding:18px;
}

.post-meta{
    font-size:13px;
    color:var(--ev-muted);
    margin-bottom:8px;
}

.post-category-badge{
    background:rgba(15,168,157,.1);
    color:var(--ev-primary);
    font-size:12px;
    font-weight:700;
    padding:6px 10px;
    border-radius:20px;
    display:inline-block;
    margin-bottom:10px;
}

.post-title{
    font-size:20px;
    font-weight:800;
    line-height:1.35;
    margin-bottom:10px;
    color:var(--ev-dark);
}

.post-desc{
    color:#556070;
    font-size:15px;
    line-height:1.6;
    margin-bottom:14px;
}

.read-more{
    font-weight:700;
    color:var(--ev-primary);
}

.read-more:hover{
    color:var(--ev-dark);
}

/* ==========================================
   Featured
========================================== */

.featured-large img{
    height:480px;
    object-fit:cover;
}

.featured-small img{
    height:180px;
    object-fit:cover;
}

/* ==========================================
   Category Section
========================================== */

.category-block{
    margin-bottom:60px;
}

.category-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.category-name{
    font-size:30px;
    font-weight:800;
    color:var(--ev-dark);
}

/* ==========================================
   Ad Box
========================================== */

.ad-box{
    background:linear-gradient(
        135deg,
        var(--ev-primary),
        var(--ev-dark)
    );
    color:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.ad-box h4{
    font-weight:800;
}

/* ==========================================
   Footer
========================================== */

.footer{
    background:var(--ev-dark);
    color:#dbe5ea;
    padding:50px 0 20px;
}

.footer-logo{
    height:52px;
    margin-bottom:15px;
}

.footer-title{
    color:#fff;
    font-weight:700;
    margin-bottom:15px;
}

.footer a{
    color:#dbe5ea;
}

.footer a:hover{
    color:var(--ev-accent);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:25px;
    padding-top:20px;
    font-size:14px;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width:991px){

    .hero-title{
        font-size:34px;
    }

    .hero-slider .carousel-item{
        height:430px;
    }

    .category-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

}

@media (max-width:767px){

    .hero-title{
        font-size:28px;
    }

    .hero-subtitle{
        font-size:16px;
    }

    .hero-slider .carousel-item{
        height:380px;
    }

    .post-card img{
        height:200px;
    }

    .category-name{
        font-size:24px;
    }

}

/* HERO IMAGE FIX */

.hero-slider .carousel-item img {

width:100%;

/*height:auto;*/

max-height:550px;

/*object-fit:cover;*/

background:#000;

}

/* CTA SECTION */

.cta-section {

background:#0d0f13;

color:#fff;

padding:50px 0;

}

.cta-logo {

max-width:120px;

}

.cta-text {

font-size:20px;

font-weight:500;

line-height:1.6;

}

.btn-cta {

background:#1eb6a8;

color:#fff;

font-weight:600;

}

.btn-cta:hover {

background:#159b8f;

color:#fff;

}

.cta-social a {

display:inline-block;

width:38px;

height:38px;

line-height:38px;

text-align:center;

border-radius:50%;

background:#1a1c20;

color:#fff;

margin:0 5px;

transition:0.3s;

}

.cta-social a:hover {

background:#1eb6a8;

}


/* ===========================
POST PAGE STYLING
=========================== */

.post-title-main {

font-size: 32px;
font-weight: 700;
color: #1c1c1c;

}

.post-meta {

color: #777;
font-size: 14px;

}

.post-short-desc {

background: #fff3cd;
border-left: 5px solid #ffb703;
padding: 18px;
font-size: 16px;
line-height: 1.7;
border-radius: 6px;

}

.post-content {

font-size: 17px;
line-height: 1.9;
color: #333;

}

.post-content p {

margin-bottom: 18px;

}

.post-content h2,
.post-content h3 {

margin-top: 25px;
font-weight: 600;

}

/* Sidebar */

.sidebar-card {

border: none;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);

}

.sidebar-card .card-header {

background: #f8f9fa;
font-weight: 600;

}

/* Share */

.share-section .btn {

border-radius: 50px;

}

/* ===========================
CATEGORY PAGE
=========================== */

.category-header-section {

background: #f8f9fa;
padding: 40px 0;
margin-bottom: 30px;

}

.category-title {

font-size: 32px;
font-weight: 700;
margin-bottom: 10px;

}

.category-desc {

font-size: 16px;
color: #555;
max-width: 700px;

}

/* Cards match index */

.post-card {

border: none;
box-shadow: 0 2px 12px rgba(0,0,0,0.05);
transition: 0.3s;

}

.post-card:hover {

transform: translateY(-5px);

}

.post-card img {

height: 220px;
object-fit: cover;

}

.post-title {

font-weight: 600;

}

.post-desc {

font-size: 14px;
color: #666;

}

/* Sidebar */

.sidebar-card {

border: none;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);

}

.sidebar-card .card-header {

background: #f8f9fa;
font-weight: 600;

}

/* Read more */

.read-more {

font-weight: 600;
color: #ff4157;
text-decoration: none;

}

.read-more:hover {

text-decoration: underline;

}


/* ===========================
CATEGORY PAGE
=========================== */

.category-header-section {

background: #f8f9fa;
padding: 40px 0;
margin-bottom: 30px;

}

.category-title {

font-size: 32px;
font-weight: 700;
margin-bottom: 10px;

}

.category-desc {

font-size: 16px;
color: #555;
max-width: 700px;

}

/* Cards match index */

.post-card {

border: none;
box-shadow: 0 2px 12px rgba(0,0,0,0.05);
transition: 0.3s;

}

.post-card:hover {

transform: translateY(-5px);

}

.post-card img {

height: 220px;
object-fit: cover;

}

.post-title {

font-weight: 600;

}

.post-desc {

font-size: 14px;
color: #666;

}

/* Sidebar */

.sidebar-card {

border: none;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);

}

.sidebar-card .card-header {

background: #f8f9fa;
font-weight: 600;

}

/* Read more */

.read-more {

font-weight: 600;
color: #ff4157;
text-decoration: none;

}

.read-more:hover {

text-decoration: underline;

}