/* ======================================================
   GUARDVISION BLOG CSS
   Bagian 1
   Hero • Typography • Cover
====================================================== */

/* ---------- Root ---------- */

:root{
    --primary:#E30613;
    --dark:#111827;
    --dark2:#1F2937;
    --light:#F8FAFC;
    --white:#ffffff;
    --gray:#6B7280;
    --border:#E5E7EB;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:18px;
    --transition:.3s ease;
}

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#fff;
    color:var(--dark);
    line-height:1.8;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

/* ---------- Container ---------- */

.blog-container{
    max-width:1150px;
    margin:auto;
    padding:0 20px;
}

/* ======================================================
   HERO
====================================================== */

.article-hero{

    padding:120px 20px 70px;

    background:linear-gradient(135deg,#111827,#1F2937);

    color:#fff;

    text-align:center;

}

/* ---------- Breadcrumb ---------- */

.breadcrumb{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:8px;

    flex-wrap:wrap;

    font-size:14px;

    margin-bottom:25px;

    color:#CBD5E1;

}

.breadcrumb a{

    color:#CBD5E1;

    transition:.3s;

}

.breadcrumb a:hover{

    color:#fff;

}

/* ---------- Badge ---------- */

.article-badge{

    display:inline-block;

    padding:8px 18px;

    background:rgba(227,6,19,.15);

    color:#FFB4BA;

    border:1px solid rgba(227,6,19,.4);

    border-radius:50px;

    font-size:14px;

    font-weight:600;

    margin-bottom:22px;

}

/* ---------- Judul ---------- */

.article-title{

    font-size:46px;

    line-height:1.2;

    max-width:900px;

    margin:auto;

    font-weight:700;

}

/* ---------- Deskripsi ---------- */

.article-desc{

    max-width:760px;

    margin:28px auto;

    color:#D1D5DB;

    font-size:18px;

    line-height:1.9;

}

/* ---------- Meta ---------- */

.article-meta{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:25px;

    flex-wrap:wrap;

    margin-top:25px;

    color:#D1D5DB;

    font-size:15px;

}

.article-meta span{

    display:flex;

    align-items:center;

    gap:8px;

}

/* ======================================================
   COVER
====================================================== */

.article-cover{

    margin-top:60px;

}

.article-cover img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}

/* ======================================================
   SECTION
====================================================== */

.article-section{

    padding:80px 20px;

}

.article-section h2{

    font-size:34px;

    margin-bottom:25px;

    color:var(--dark);

}

.article-section p{

    margin-bottom:22px;

    color:#374151;

    text-align:justify;

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:992px){

.article-title{

font-size:36px;

}

}

@media(max-width:768px){

.article-hero{

padding:100px 20px 60px;

}

.article-title{

font-size:30px;

}

.article-desc{

font-size:16px;

}

.article-meta{

gap:15px;

font-size:14px;

}

.article-section{

padding:60px 20px;

}

.article-section h2{

font-size:28px;

}

}

@media(max-width:480px){

.article-title{

font-size:26px;

}

.article-desc{

font-size:15px;

line-height:1.8;

}

}

/* ======================================================
   GUARDVISION BLOG CSS
   Bagian 2
   Article • TOC • Typography • Box
======================================================*/

/* ===========================
   DAFTAR ISI
=========================== */

.table-of-content{

    background:#fff;

    border:1px solid var(--border);

    border-radius:18px;

    padding:30px;

    margin:60px 0;

    box-shadow:var(--shadow);

}

.table-of-content h2{

    font-size:24px;

    margin-bottom:20px;

}

.table-of-content ul{

    list-style:none;

}

.table-of-content li{

    margin:14px 0;

}

.table-of-content a{

    color:var(--dark);

    transition:var(--transition);

    font-weight:500;

}

.table-of-content a:hover{

    color:var(--primary);

    padding-left:6px;

}

/* ===========================
   ARTICLE
=========================== */

.article-content{

    max-width:900px;

    margin:auto;

}

.article-content h2{

    font-size:34px;

    margin-top:70px;

    margin-bottom:25px;

    color:var(--dark);

}

.article-content h3{

    font-size:28px;

    margin-top:50px;

    margin-bottom:18px;

    color:var(--dark);

}

.article-content h4{

    font-size:22px;

    margin-top:35px;

    margin-bottom:15px;

}

.article-content p{

    font-size:18px;

    color:#374151;

    margin-bottom:22px;

    text-align:justify;

    line-height:1.9;

}

.article-content strong{

    color:var(--primary);

}

.article-content em{

    color:#555;

}

/* ===========================
   LIST
=========================== */

.article-content ul{

    margin:25px 0;

    padding-left:22px;

}

.article-content ol{

    margin:25px 0;

    padding-left:22px;

}

.article-content li{

    margin-bottom:12px;

    line-height:1.8;

}

/* ===========================
   TABLE
=========================== */

.article-content table{

    width:100%;

    border-collapse:collapse;

    margin:40px 0;

    overflow:hidden;

    border-radius:12px;

}

.article-content th{

    background:var(--primary);

    color:#fff;

    padding:16px;

}

.article-content td{

    padding:16px;

    border:1px solid #eee;

}

/* ===========================
   BLOCKQUOTE
=========================== */

.article-content blockquote{

    margin:40px 0;

    padding:25px 30px;

    border-left:5px solid var(--primary);

    background:#FFF5F5;

    font-style:italic;

    border-radius:10px;

}

/* ===========================
   TIPS BOX
=========================== */

.tips-box{

    background:#FFF7ED;

    border-left:6px solid #F97316;

    padding:25px;

    border-radius:12px;

    margin:40px 0;

}

.tips-box h4{

    color:#EA580C;

    margin-bottom:12px;

}

/* ===========================
   INFO BOX
=========================== */

.info-box{

    background:#EFF6FF;

    border-left:6px solid #2563EB;

    padding:25px;

    border-radius:12px;

    margin:40px 0;

}

.info-box h4{

    color:#1D4ED8;

    margin-bottom:12px;

}

/* ===========================
   WARNING BOX
=========================== */

.warning-box{

    background:#FEF2F2;

    border-left:6px solid #DC2626;

    padding:25px;

    border-radius:12px;

    margin:40px 0;

}

.warning-box h4{

    color:#B91C1C;

    margin-bottom:12px;

}

/* ===========================
   CHECKLIST
=========================== */

.check-list{

    list-style:none;

    padding:0;

}

.check-list li{

    padding-left:35px;

    position:relative;

    margin-bottom:14px;

}

.check-list li::before{

    content:"✔";

    position:absolute;

    left:0;

    color:#16A34A;

    font-weight:bold;

}

/* ===========================
   GARIS PEMBATAS
=========================== */

.article-divider{

    width:100%;

    height:1px;

    background:#E5E7EB;

    margin:70px 0;

}

/* ===========================
   HIGHLIGHT
=========================== */

.highlight{

    background:#FEF08A;

    padding:3px 8px;

    border-radius:6px;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.article-content p{

font-size:16px;

}

.article-content h2{

font-size:28px;

}

.article-content h3{

font-size:24px;

}

.table-of-content{

padding:25px;

}

.article-content table{

display:block;

overflow:auto;

}

}

/* ======================================================
   GUARDVISION BLOG CSS
   Bagian 3
   CTA • Author • Related Post • FAQ • Share
======================================================*/

/* ===========================
   CTA
=========================== */

.article-cta{

    margin:80px 0;

    padding:60px 40px;

    background:linear-gradient(135deg,#E30613,#B8000F);

    color:#fff;

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow);

}

.article-cta h2{

    font-size:34px;

    margin-bottom:15px;

}

.article-cta p{

    max-width:700px;

    margin:auto;

    line-height:1.8;

    opacity:.95;

}

.article-cta .btn-wa{

    display:inline-block;

    margin-top:30px;

    background:#fff;

    color:#E30613;

    padding:16px 34px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

}

.article-cta .btn-wa:hover{

    transform:translateY(-4px);

}

/* ===========================
   AUTHOR BOX
=========================== */

.author-box{

    display:flex;

    gap:20px;

    align-items:center;

    padding:30px;

    border:1px solid var(--border);

    border-radius:18px;

    margin:70px 0;

    background:#fff;

}

.author-box img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

}

.author-box h3{

    margin-bottom:8px;

}

.author-box p{

    margin:0;

}

/* ===========================
   SHARE
=========================== */

.share-box{

    display:flex;

    align-items:center;

    gap:15px;

    margin:50px 0;

    flex-wrap:wrap;

}

.share-box a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#F3F4F6;

    transition:.3s;

}

.share-box a:hover{

    background:#E30613;

    color:#fff;

}

/* ===========================
   RELATED POST
=========================== */

.related-post{

    margin-top:90px;

}

.related-post h2{

    text-align:center;

    margin-bottom:40px;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.related-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.3s;

}

.related-card:hover{

    transform:translateY(-8px);

}

.related-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.related-content{

    padding:25px;

}

.related-content span{

    color:#E30613;

    font-size:14px;

    font-weight:600;

}

.related-content h3{

    margin:15px 0;

    font-size:22px;

}

.related-content p{

    color:#6B7280;

    margin-bottom:20px;

}

.related-content a{

    color:#E30613;

    font-weight:700;

}

/* ===========================
   FAQ
=========================== */

.blog-faq{

    margin-top:90px;

}

.blog-faq h2{

    text-align:center;

    margin-bottom:40px;

}

.faq-item{

    border:1px solid #E5E7EB;

    border-radius:14px;

    margin-bottom:18px;

    overflow:hidden;

}

.faq-question{

    padding:20px 25px;

    background:#fff;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.faq-question:hover{

    background:#F9FAFB;

}

.faq-answer{

    padding:0 25px 20px;

    color:#4B5563;

}

/* ===========================
   ARTICLE NAVIGATION
=========================== */

.article-nav{

    display:flex;

    justify-content:space-between;

    gap:20px;

    margin:80px 0;

    flex-wrap:wrap;

}

.article-nav a{

    flex:1;

    border:1px solid #E5E7EB;

    padding:20px;

    border-radius:15px;

    transition:.3s;

}

.article-nav a:hover{

    border-color:#E30613;

    transform:translateY(-4px);

}

/* ===========================
   TAG
=========================== */

.article-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:40px;

}

.article-tags a{

    padding:8px 18px;

    background:#F3F4F6;

    border-radius:30px;

    font-size:14px;

    transition:.3s;

}

.article-tags a:hover{

    background:#E30613;

    color:#fff;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.author-box{

flex-direction:column;

text-align:center;

}

.article-cta{

padding:45px 25px;

}

.article-cta h2{

font-size:28px;

}

.related-card img{

height:200px;

}

.article-nav{

flex-direction:column;

}

}

/* ======================================================
   GUARDVISION BLOG CSS
   Bagian 4 (FINAL)
   Progress • Back To Top • Animation • Footer
======================================================*/

/* ===========================
   READING PROGRESS BAR
=========================== */

.reading-progress{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:var(--primary);

    z-index:9999;

    transition:.1s linear;

}

/* ===========================
   BACK TO TOP
=========================== */

.back-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    box-shadow:var(--shadow);

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    transform:translateY(-5px);

}

/* ===========================
   ARTICLE IMAGE
=========================== */

.article-content img{

    width:100%;

    margin:40px 0;

    border-radius:18px;

    box-shadow:var(--shadow);

}

/* ===========================
   IMAGE CAPTION
=========================== */

.article-content figcaption{

    text-align:center;

    font-size:14px;

    color:#6B7280;

    margin-top:-20px;

    margin-bottom:30px;

}

/* ===========================
   CODE
=========================== */

.article-content code{

    background:#F3F4F6;

    padding:3px 8px;

    border-radius:6px;

    font-size:15px;

}

.article-content pre{

    background:#111827;

    color:#fff;

    padding:25px;

    overflow:auto;

    border-radius:15px;

    margin:40px 0;

}

/* ===========================
   LINK
=========================== */

.article-content a{

    color:var(--primary);

    font-weight:600;

}

.article-content a:hover{

    text-decoration:underline;

}

/* ===========================
   SELECTION
=========================== */

::selection{

    background:var(--primary);

    color:#fff;

}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#C1C1C1;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);

}

/* ===========================
   FADE ANIMATION
=========================== */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

/* ===========================
   TABLE HOVER
=========================== */

.article-content tbody tr:hover{

    background:#F9FAFB;

}

/* ===========================
   BUTTON
=========================== */

.btn-red{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    padding:15px 32px;

    border-radius:50px;

    transition:.3s;

    font-weight:700;

}

.btn-red:hover{

    transform:translateY(-4px);

}

/*==============================
FOOTER PROFESSIONAL
==============================*/

.footer{
    background:#0b1120;
    color:#fff;
    margin-top:80px;
}

.footer-top{

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:60px;

    padding:55px 0;
}

.footer-left{

    display:flex;

    align-items:center;

    gap:25px;
}

.footer-logo{

    width:110px;
    flex-shrink:0;
}

.footer-company h3{

    font-size:30px;

    margin-bottom:10px;
}

.footer-company p{

    max-width:620px;

    color:#d7d7d7;

    line-height:1.8;
}

.footer-contact{

    margin-top:18px;

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    color:#ccc;

    font-size:15px;
}

.footer-btn{

    display:inline-block;

    padding:15px 32px;

    background:#E30613;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.footer-btn:hover{

    background:#ff1f2d;

    transform:translateY(-2px);
}

.footer-menu{

    border-top:1px solid rgba(255,255,255,.08);

    border-bottom:1px solid rgba(255,255,255,.08);

    padding:18px 0;

    text-align:center;
}

.footer-menu .container{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:35px;
}

.footer-menu a{

    color:#ddd;

    text-decoration:none;

    transition:.3s;
}

.footer-menu a:hover{

    color:#E30613;
}

.footer-bottom{

    padding:18px 0;

    text-align:center;

    color:#bdbdbd;

    font-size:14px;
}

.footer-bottom p{

    margin:5px 0;
}

@media(max-width:992px){

.footer-top{

    flex-direction:column;

    text-align:center;
}

.footer-left{

    flex-direction:column;
}

.footer-company p{

    max-width:100%;
}

.footer-contact{

    justify-content:center;
}

.footer-menu .container{

    gap:18px;
}

.footer-logo{

    width:90px;
}

.footer-company h3{

    font-size:26px;
}

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.back-top{

right:15px;

bottom:15px;

width:46px;

height:46px;

}

.reading-progress{

height:px;

}

.article-content pre{

padding:18px;

font-size:14px;

}

}

/* ======================================================
   ARTICLE INFO
====================================================== */

.article-info{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    margin:18px 0 25px;

    color:#6B7280;

    font-size:15px;

    font-weight:500;

}

.article-info span{

    display:flex;

    align-items:center;

    gap:6px;

}

@media (max-width:768px){

    .article-info{

        flex-direction:column;

        gap:10px;

    }

}

/* ==========================================================
   RESPONSIVE ARTICLE COVER
   Tempel di paling bawah blog.css
========================================================== */

/* Cover Artikel */
.article-cover{
    width:100%;
    margin:40px 0;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.article-cover figure{
    margin:0;
}

.article-cover img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:cover;
    border-radius:18px;
    transition:transform .35s ease;
}

.article-cover:hover img{
    transform:scale(1.02);
}

.article-cover figcaption{
    padding:15px 20px;
    text-align:center;
    font-size:.95rem;
    color:#666;
    background:#fff;
    line-height:1.6;
}

/* ===============================
   TABLET
================================== */

@media (max-width:991px){

.article-cover{
    margin:30px 0;
    border-radius:15px;
}

.article-cover img{
    border-radius:15px;
}

.article-cover figcaption{
    font-size:.9rem;
    padding:14px 16px;
}

}

/* ===============================
   MOBILE
================================== */

@media (max-width:768px){

.article-cover{
    margin:25px 0;
    border-radius:12px;
}

.article-cover img{
    width:100%;
    height:auto;
    border-radius:12px;
}

.article-cover figcaption{
    padding:12px;
    font-size:.85rem;
}

}

/* ===============================
   MOBILE KECIL
================================== */

@media (max-width:480px){

.article-cover{
    margin:20px 0;
    border-radius:10px;
}

.article-cover img{
    border-radius:10px;
}

.article-cover figcaption{
    font-size:.8rem;
    line-height:1.5;
}

}