/* =====================================
   SPS - Simple Problem Solutions
   style.css (Part 1)
===================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f7f9fc;
    color:#2c3e50;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* ===========================
   VARIABLES
=========================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --secondary:#0f172a;

    --text:#334155;

    --light:#f8fafc;

    --white:#ffffff;

    --border:#e5e7eb;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:14px;

    --transition:.3s ease;

}

/* ===========================
   CONTAINER
=========================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ===========================
   HEADER
=========================== */

header{

    background:#fff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

/* ===========================
   LOGO
=========================== */

.logo a{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-box{

    width:65px;

    height:65px;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    font-weight:700;

    border-radius:14px;

}

.logo h2{

    font-family:'Poppins',sans-serif;

    font-size:24px;

    color:#0f172a;

}

.logo p{

    color:#64748b;

    font-size:14px;

}

/* ===========================
   NAVIGATION
=========================== */

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    font-weight:600;

    color:#334155;

    transition:var(--transition);

    position:relative;

}

nav a:hover{

    color:var(--primary);

}

nav a.active{

    color:var(--primary);

}

nav a::after{

    content:"";

    position:absolute;

    width:0;

    height:2px;

    background:var(--primary);

    left:0;

    bottom:-6px;

    transition:.3s;

}

nav a:hover::after,

nav a.active::after{

    width:100%;

}

/* ===========================
   HERO
=========================== */

.hero{

    padding:90px 0;

    background:linear-gradient(135deg,#eef6ff,#ffffff);

}

.hero-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

    align-items:center;

}

.tag{

    display:inline-block;

    background:#dbeafe;

    color:var(--primary-dark);

    padding:10px 20px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:25px;

    letter-spacing:.5px;

    font-size:14px;

}

.hero h1{

    font-family:'Poppins',sans-serif;

    font-size:60px;

    line-height:1.15;

    margin-bottom:25px;

    color:#0f172a;

    font-weight:800;

}

.hero p{

    font-size:20px;

    color:#475569;

    margin-bottom:40px;

}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.btn-primary{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    padding:16px 34px;

    border-radius:10px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.btn-secondary{

    display:inline-block;

    border:2px solid var(--primary);

    color:var(--primary);

    padding:15px 34px;

    border-radius:10px;

    font-weight:600;

    transition:var(--transition);

    background:#fff;

}

.btn-secondary:hover{

    background:var(--primary);

    color:#fff;

}

/* ===========================
   HERO CARD
=========================== */

.hero-card{

    background:#fff;

    border-radius:16px;

    padding:35px;

    box-shadow:var(--shadow);

}

.hero-card h2{

    font-size:34px;

    margin-bottom:25px;

    color:#0f172a;

    font-family:'Poppins',sans-serif;

}

.hero-card ul li{

    padding:16px 0;

    border-bottom:1px solid #eee;

}

.hero-card ul li:last-child{

    border-bottom:none;

}

.hero-card a{

    color:#1e293b;

    font-weight:500;

    transition:var(--transition);

}

.hero-card a:hover{

    color:var(--primary);

    padding-left:6px;

}

/* ===========================
   SECTION TITLE
=========================== */

section h2{

    font-family:'Poppins',sans-serif;

    font-size:40px;

    margin-bottom:45px;

    text-align:center;

    color:#0f172a;

}
/* =====================================
   SPS - style.css (Part 2)
   Categories, Articles, Features,
   CTA, Footer & Responsive
=====================================*/

/* ===========================
   CATEGORIES
=========================== */

.categories{
    padding:80px 0;
    background:#ffffff;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.category{
    background:#f8fafc;
    border:1px solid var(--border);
    border-radius:12px;
    padding:25px 15px;
    text-align:center;
    font-weight:600;
    color:#334155;
    transition:var(--transition);
}

.category:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-5px);
    box-shadow:var(--shadow);
}

/* ===========================
   LATEST ARTICLES
=========================== */

.articles{
    padding:90px 0;
    background:#f5f7fb;
}

.article-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

article{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

article:hover{
    transform:translateY(-8px);
}

article img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.article-content{
    padding:25px;
}

.article-content span{
    display:inline-block;
    background:#dbeafe;
    color:var(--primary-dark);
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.article-content h3{
    font-family:'Poppins',sans-serif;
    font-size:24px;
    line-height:1.4;
    margin-bottom:15px;
}

.article-content h3 a{
    color:#0f172a;
}

.article-content h3 a:hover{
    color:var(--primary);
}

.article-content p{
    color:#64748b;
    margin-bottom:20px;
}

.article-content>a{
    color:var(--primary);
    font-weight:600;
}

.article-content>a:hover{
    color:var(--primary-dark);
}

/* ===========================
   FEATURES
=========================== */

.features{
    padding:90px 0;
    background:#ffffff;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.feature-grid div{
    background:#f8fafc;
    padding:35px;
    border-radius:16px;
    text-align:center;
    transition:var(--transition);
    border:1px solid var(--border);
}

.feature-grid div:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.feature-grid h3{
    font-family:'Poppins',sans-serif;
    font-size:22px;
    margin-bottom:15px;
    color:#0f172a;
}

.feature-grid p{
    color:#64748b;
}

/* ===========================
   CTA
=========================== */

.cta{
    padding:90px 20px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    text-align:center;
}

.cta h2{
    color:#fff;
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    font-size:18px;
}

.cta .btn-primary{
    background:#fff;
    color:var(--primary);
}

.cta .btn-primary:hover{
    background:#f1f5f9;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

footer h3{
    color:#fff;
    margin-bottom:20px;
    font-family:'Poppins',sans-serif;
}

footer p{
    line-height:1.8;
}

footer ul li{
    margin-bottom:12px;
}

footer ul li a{
    color:#cbd5e1;
    transition:var(--transition);
}

footer ul li a:hover{
    color:#ffffff;
    padding-left:5px;
}

.copyright{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:50px;
    padding-top:20px;
    color:#94a3b8;
    font-size:15px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero-grid{
    grid-template-columns:1fr;
}

.hero-card{
    margin-top:20px;
}

.hero h1{
    font-size:48px;
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

header .container{
    flex-direction:column;
    gap:20px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.hero{
    padding:70px 0;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:18px;
}

.hero-buttons{
    justify-content:center;
}

.hero-content{
    text-align:center;
}

.hero-card h2{
    font-size:30px;
}

.article-grid{
    grid-template-columns:1fr;
}

.feature-grid{
    grid-template-columns:1fr;
}

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

}

@media(max-width:480px){

.logo-box{
    width:55px;
    height:55px;
    font-size:22px;
}

.logo h2{
    font-size:20px;
}

.hero h1{
    font-size:32px;
}

section h2{
    font-size:30px;
}

.btn-primary,
.btn-secondary{
    width:100%;
    text-align:center;
}

.hero-buttons{
    flex-direction:column;
}

.hero-card{
    padding:25px;
}

.article-content{
    padding:20px;
}

}
/* =====================================
   SPS - style.css (Part 3)
   Animations, Utilities, Search,
   Newsletter, Dark Mode, Extras
=====================================*/


/* ===========================
   SMOOTH ANIMATIONS
=========================== */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.hero-content,
.hero-card,
.category,
article,
.feature-grid div,
.cta{

    animation:fadeUp .8s ease;

}


/* ===========================
   HOVER EFFECTS
=========================== */

article,
.category,
.feature-grid div,
.hero-card{

    transition:all .35s ease;

}

article:hover,
.hero-card:hover{

    transform:translateY(-8px);

}

.category:hover{

    transform:translateY(-8px) scale(1.03);

}

.feature-grid div:hover{

    transform:translateY(-8px);

}


/* ===========================
   SEARCH BOX
=========================== */

.search-box{

    max-width:700px;

    margin:50px auto;

    display:flex;

    background:#fff;

    border-radius:50px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.search-box input{

    flex:1;

    border:none;

    outline:none;

    padding:18px 25px;

    font-size:17px;

}

.search-box button{

    border:none;

    background:var(--primary);

    color:#fff;

    padding:0 35px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.search-box button:hover{

    background:var(--primary-dark);

}


/* ===========================
   NEWSLETTER
=========================== */

.newsletter{

    background:#fff;

    padding:70px 30px;

    text-align:center;

}

.newsletter h2{

    margin-bottom:15px;

}

.newsletter p{

    color:#64748b;

    margin-bottom:30px;

}

.newsletter form{

    max-width:650px;

    margin:auto;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.newsletter input{

    flex:1;

    padding:16px 20px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}

.newsletter button{

    background:var(--primary);

    color:#fff;

    border:none;

    padding:16px 30px;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.newsletter button:hover{

    background:var(--primary-dark);

}


/* ===========================
   TAGS
=========================== */

.tags{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:20px;

}

.tags a{

    background:#eef4ff;

    color:var(--primary);

    padding:8px 16px;

    border-radius:30px;

    font-size:14px;

    transition:.3s;

}

.tags a:hover{

    background:var(--primary);

    color:#fff;

}


/* ===========================
   AUTHOR BOX
=========================== */

.author-box{

    display:flex;

    gap:20px;

    align-items:center;

    padding:25px;

    border-radius:15px;

    background:#fff;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

    margin-top:40px;

}

.author-box img{

    width:80px;

    height:80px;

    border-radius:50%;

}

.author-box h4{

    margin-bottom:8px;

}

.author-box p{

    color:#64748b;

}


/* ===========================
   BREADCRUMB
=========================== */

.breadcrumb{

    background:#eef4ff;

    padding:15px 0;

}

.breadcrumb ul{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

.breadcrumb li{

    color:#64748b;

}

.breadcrumb a{

    color:var(--primary);

}


/* ===========================
   PAGINATION
=========================== */

.pagination{

    display:flex;

    justify-content:center;

    gap:12px;

    margin:60px 0;

}

.pagination a{

    width:45px;

    height:45px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:#fff;

    box-shadow:0 5px 15px rgba(0,0,0,.06);

    transition:.3s;

}

.pagination a:hover,
.pagination .active{

    background:var(--primary);

    color:#fff;

}


/* ===========================
   BACK TO TOP
=========================== */

#topBtn{

    position:fixed;

    bottom:25px;

    right:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    font-size:20px;

    display:none;

    box-shadow:0 10px 25px rgba(0,0,0,.20);

    transition:.3s;

}

#topBtn:hover{

    background:var(--primary-dark);

    transform:translateY(-4px);

}


/* ===========================
   UTILITIES
=========================== */

.text-center{

    text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}


/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f5f9;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}


/* ===========================
   DARK MODE SUPPORT
=========================== */

body.dark{

    background:#0f172a;

    color:#e2e8f0;

}

body.dark header,
body.dark article,
body.dark .hero-card,
body.dark .feature-grid div,
body.dark .category,
body.dark .newsletter{

    background:#1e293b;

    color:#fff;

}

body.dark footer{

    background:#020617;

}

body.dark p{

    color:#cbd5e1;

}


/* ===========================
   SELECTION
=========================== */

::selection{

    background:var(--primary);

    color:#fff;

}
/*==================================================
 ARTICLE PAGE STYLES - PART 1
 SPS - Simple Problem Solutions
==================================================*/

/* Breadcrumb */

.breadcrumb{
    background:#f8fafc;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
    padding:16px 0;
}

.breadcrumb ul{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.breadcrumb li{
    color:#64748b;
    font-size:15px;
}

.breadcrumb a{
    color:#2563eb;
    font-weight:500;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

/* ==========================
   ARTICLE HERO
========================== */

.article-hero{

    background:#ffffff;

    padding:60px 0;

}

.article-category{

    display:inline-block;

    background:#dbeafe;

    color:#1d4ed8;

    padding:8px 18px;

    border-radius:40px;

    font-size:14px;

    font-weight:600;

    margin-bottom:20px;

}

.article-hero h1{

    font-family:'Poppins',sans-serif;

    font-size:48px;

    line-height:1.25;

    color:#0f172a;

    margin-bottom:20px;

}

.article-description{

    font-size:19px;

    color:#475569;

    max-width:850px;

    margin-bottom:30px;

}

.article-meta{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

    color:#64748b;

    margin-bottom:35px;

    font-size:15px;

}

.article-meta span{

    display:flex;

    align-items:center;

    gap:6px;

}

.featured-image{

    width:100%;

    border-radius:16px;

    margin-top:25px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

/* ==========================
   ARTICLE LAYOUT
========================== */

.article-layout{

    display:grid;

    grid-template-columns:3fr 1fr;

    gap:40px;

    padding:70px 0;

}

/* ==========================
   MAIN ARTICLE
========================== */

.article-content{

    background:#ffffff;

    padding:45px;

    border-radius:16px;

    box-shadow:0 8px 30px rgba(0,0,0,.05);

}

/* ==========================
   SIDEBAR
========================== */

.sidebar{

    display:flex;

    flex-direction:column;

    gap:30px;

}

/* ==========================
   SIDEBAR WIDGETS
========================== */

.widget{

    background:#ffffff;

    padding:30px;

    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.widget h3{

    font-size:24px;

    font-family:'Poppins',sans-serif;

    margin-bottom:20px;

    color:#0f172a;

}

.widget ul{

    list-style:none;

}

.widget li{

    border-bottom:1px solid #e5e7eb;

    padding:14px 0;

}

.widget li:last-child{

    border-bottom:none;

}

.widget a{

    color:#334155;

    font-weight:500;

    transition:.3s;

}

.widget a:hover{

    color:#2563eb;

    padding-left:6px;

}

/* ==========================
   TABLE OF CONTENTS
========================== */

.article-content ol{

    background:#f8fafc;

    border-left:5px solid #2563eb;

    padding:25px 35px;

    margin:30px 0;

    border-radius:12px;

}

.article-content ol li{

    margin:14px 0;

}

.article-content ol a{

    color:#2563eb;

    font-weight:600;

}

.article-content ol a:hover{

    text-decoration:underline;

}

/* ==========================
   ARTICLE SECTIONS
========================== */

.article-content section{

    margin:50px 0;

}

.article-content hr{

    border:none;

    border-top:1px solid #e5e7eb;

    margin:50px 0;

}

/* ==========================
   STICKY SIDEBAR
========================== */

.sidebar{

    position:sticky;

    top:110px;

    align-self:start;

}

/* ==========================
   IMAGE HOVER
========================== */

.featured-image{

    transition:.4s;

}

.featured-image:hover{

    transform:scale(1.01);

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

.article-layout{

grid-template-columns:1fr;

}

.sidebar{

position:relative;

top:0;

}

}

@media(max-width:768px){

.article-hero{

padding:40px 0;

}

.article-hero h1{

font-size:36px;

}

.article-description{

font-size:17px;

}

.article-content{

padding:30px;

}

.article-meta{

gap:15px;

font-size:14px;

}

}

@media(max-width:480px){

.article-content{

padding:20px;

}

.article-hero h1{

font-size:30px;

}

.article-meta{

flex-direction:column;

align-items:flex-start;

}

.widget{

padding:20px;

}

}
/*==================================================
 ARTICLE PAGE STYLES - PART 2
 Typography, Lists, Tables, Callout Boxes, FAQ
==================================================*/

/* ==========================
   ARTICLE TYPOGRAPHY
========================== */

.article-content h2{
    font-family:'Poppins',sans-serif;
    font-size:34px;
    color:#0f172a;
    margin:45px 0 20px;
    line-height:1.3;
}

.article-content h3{
    font-family:'Poppins',sans-serif;
    font-size:26px;
    color:#1e293b;
    margin:30px 0 15px;
}

.article-content h4{
    font-size:22px;
    color:#334155;
    margin:25px 0 12px;
}

.article-content p{
    font-size:18px;
    color:#475569;
    line-height:1.9;
    margin-bottom:20px;
}

.article-content strong{
    color:#0f172a;
    font-weight:700;
}

.article-content em{
    color:#2563eb;
}

/* ==========================
   LINKS
========================== */

.article-content a{
    color:#2563eb;
    font-weight:600;
}

.article-content a:hover{
    text-decoration:underline;
}

/* ==========================
   ORDERED LIST
========================== */

.article-content ol{
    padding-left:25px;
}

.article-content ol li{
    margin:12px 0;
    line-height:1.8;
}

/* ==========================
   UNORDERED LIST
========================== */

.article-content ul{
    padding-left:25px;
    margin:20px 0;
}

.article-content ul li{
    margin:12px 0;
    line-height:1.8;
    color:#475569;
}

/* ==========================
   BLOCKQUOTE
========================== */

.article-content blockquote{

    border-left:5px solid #2563eb;

    background:#f8fafc;

    padding:25px;

    margin:35px 0;

    font-size:19px;

    font-style:italic;

    border-radius:10px;

    color:#334155;

}

/* ==========================
   INLINE CODE
========================== */

.article-content code{

    background:#eef2ff;

    color:#1d4ed8;

    padding:3px 7px;

    border-radius:6px;

    font-size:15px;

}

/* ==========================
   CODE BLOCK
========================== */

pre{

    background:#0f172a;

    color:#ffffff;

    padding:25px;

    border-radius:12px;

    overflow-x:auto;

    margin:35px 0;

}

pre code{

    background:none;

    color:#fff;

}

/* ==========================
   TABLE
========================== */

.article-content table{

    width:100%;

    border-collapse:collapse;

    margin:35px 0;

}

.article-content table th{

    background:#2563eb;

    color:#fff;

    padding:16px;

    text-align:left;

}

.article-content table td{

    border:1px solid #e5e7eb;

    padding:15px;

}

.article-content table tr:nth-child(even){

    background:#f8fafc;

}

/* ==========================
   IMAGES
========================== */

.article-content img{

    width:100%;

    border-radius:14px;

    margin:30px 0;

}

.article-content figure{

    margin:35px 0;

}

.article-content figcaption{

    text-align:center;

    color:#64748b;

    margin-top:10px;

    font-size:14px;

}

/* ==========================
   TIP BOX
========================== */

.tip-box{

    background:#ecfdf5;

    border-left:6px solid #10b981;

    padding:25px;

    margin:35px 0;

    border-radius:12px;

}

.tip-box strong{

    display:block;

    margin-bottom:10px;

    color:#065f46;

}

/* ==========================
   WARNING BOX
========================== */

.warning-box{

    background:#fff7ed;

    border-left:6px solid #f97316;

    padding:25px;

    margin:35px 0;

    border-radius:12px;

}

.warning-box strong{

    display:block;

    margin-bottom:10px;

    color:#c2410c;

}

/* ==========================
   NOTE BOX
========================== */

.note-box{

    background:#eff6ff;

    border-left:6px solid #2563eb;

    padding:25px;

    margin:35px 0;

    border-radius:12px;

}

.note-box strong{

    display:block;

    margin-bottom:10px;

}

/* ==========================
   FAQ
========================== */

#faq{

    margin-top:70px;

}

.faq-item{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    margin-bottom:18px;

    overflow:hidden;

}

.faq-item h3{

    padding:22px;

    margin:0;

    cursor:pointer;

    background:#f8fafc;

    transition:.3s;

}

.faq-item h3:hover{

    background:#eef4ff;

}

.faq-item p{

    padding:22px;

    margin:0;

    display:none;

}

/* ==========================
   HORIZONTAL RULE
========================== */

.article-content hr{

    margin:60px 0;

    border:none;

    border-top:1px solid #e5e7eb;

}

/* ==========================
   HIGHLIGHT TEXT
========================== */

mark{

    background:#fde68a;

    padding:2px 5px;

    border-radius:4px;

}

/* ==========================
   RESPONSIVE TABLE
========================== */

@media(max-width:768px){

.article-content table{

display:block;

overflow-x:auto;

}

.article-content h2{

font-size:28px;

}

.article-content h3{

font-size:23px;

}

.article-content p{

font-size:17px;

}

}
/*==================================================
 ARTICLE PAGE STYLES - PART 3
 Author, Share, Related Posts, Newsletter,
 Pagination & Responsive
==================================================*/


/*==========================
  AUTHOR BOX
==========================*/

.author-box{

    display:flex;
    align-items:center;
    gap:25px;

    margin:60px 0;

    padding:35px;

    background:#fff;

    border-radius:18px;

    border:1px solid #e5e7eb;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.author-box img{

    width:100px;

    height:100px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #dbeafe;

}

.author-box h3{

    margin-bottom:10px;

    font-family:'Poppins',sans-serif;

    color:#0f172a;

}

.author-box p{

    margin:0;

    color:#64748b;

    line-height:1.8;

}


/*==========================
  SHARE BUTTONS
==========================*/

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin:35px 0;

}

.tags a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 22px;

    background:#2563eb;

    color:#fff;

    border-radius:40px;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.tags a:hover{

    background:#1d4ed8;

    transform:translateY(-3px);

}


/*==========================
  RELATED POSTS
==========================*/

.article-grid{

    margin-top:40px;

}

.article-grid article{

    transition:.35s;

}

.article-grid article:hover{

    transform:translateY(-8px);

}

.article-grid img{

    height:220px;

    object-fit:cover;

}

.article-content span{

    display:inline-block;

    margin-bottom:12px;

}


/*==========================
  PAGINATION
==========================*/

.pagination{

    display:flex;

    justify-content:space-between;

    gap:20px;

    margin-top:60px;

}

.pagination a{

    display:inline-block;

    background:#2563eb;

    color:#fff;

    padding:14px 28px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.pagination a:hover{

    background:#1d4ed8;

}


/*==========================
  NEWSLETTER
==========================*/

.newsletter{

    margin-top:80px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    color:#fff;

    padding:70px 30px;

    border-radius:20px;

    text-align:center;

}

.newsletter h2{

    color:#fff;

    margin-bottom:15px;

}

.newsletter p{

    color:#e2e8f0;

    margin-bottom:35px;

}

.newsletter form{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}

.newsletter input{

    width:420px;

    max-width:100%;

    padding:16px 20px;

    border:none;

    border-radius:10px;

    font-size:16px;

}

.newsletter button{

    border:none;

    background:#fff;

    color:#2563eb;

    padding:16px 30px;

    border-radius:10px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.newsletter button:hover{

    background:#f1f5f9;

}


/*==========================
  ARTICLE NAVIGATION
==========================*/

.post-navigation{

    display:flex;

    justify-content:space-between;

    gap:25px;

    margin:60px 0;

}

.post-navigation a{

    flex:1;

    background:#fff;

    border:1px solid #e5e7eb;

    padding:25px;

    border-radius:15px;

    transition:.3s;

}

.post-navigation a:hover{

    border-color:#2563eb;

    transform:translateY(-4px);

}


/*==========================
  SIDEBAR SEARCH
==========================*/

.sidebar-search{

    display:flex;

    margin-bottom:25px;

}

.sidebar-search input{

    flex:1;

    padding:14px;

    border:1px solid #ddd;

    border-right:none;

    border-radius:10px 0 0 10px;

}

.sidebar-search button{

    background:#2563eb;

    color:#fff;

    border:none;

    padding:0 20px;

    border-radius:0 10px 10px 0;

    cursor:pointer;

}


/*==========================
  ARTICLE TAGS
==========================*/

.article-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:25px;

}

.article-tags a{

    background:#eef4ff;

    color:#2563eb;

    padding:8px 15px;

    border-radius:30px;

    font-size:14px;

    transition:.3s;

}

.article-tags a:hover{

    background:#2563eb;

    color:#fff;

}


/*==========================
  PRINT
==========================*/

@media print{

header,
footer,
.sidebar,
.newsletter,
.tags,
.pagination,
#topBtn{

display:none;

}

.article-layout{

display:block;

}

.article-content{

box-shadow:none;

padding:0;

}

body{

background:#fff;

}

}


/*==========================
  MOBILE
==========================*/

@media(max-width:992px){

.author-box{

flex-direction:column;

text-align:center;

}

.pagination{

flex-direction:column;

}

.post-navigation{

flex-direction:column;

}

.newsletter{

padding:50px 20px;

}

}


@media(max-width:768px){

.newsletter input{

width:100%;

}

.newsletter button{

width:100%;

}

.tags{

justify-content:center;

}

.author-box{

padding:25px;

}

.article-grid{

grid-template-columns:1fr;

}

}


@media(max-width:480px){

.author-box img{

width:80px;

height:80px;

}

.tags a{

width:100%;

}

.pagination a{

text-align:center;

width:100%;

}

.newsletter h2{

font-size:28px;

}

.newsletter p{

font-size:16px;

}

}


/*==========================
  END ARTICLE STYLES
==========================*/
/* Contact Form */

form{
    margin-top:30px;
}

form label{
    display:block;
    margin-bottom:8px;
    color:#0f172a;
}

form input,
form textarea{

    width:100%;

    padding:15px;

    border:1px solid #d1d5db;

    border-radius:10px;

    font-size:16px;

    font-family:inherit;

    transition:.3s;

}

form input:focus,
form textarea:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 3px rgba(37,99,235,.15);

}

form button{

    background:#2563eb;

    color:#fff;

    border:none;

    padding:15px 30px;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

form button:hover{

    background:#1d4ed8;

}