/* =========================================================
   InsgramIO - style.css
   Educational demo — Instagram-gradient accent theme
   ========================================================= */

:root{
  --grad: linear-gradient(90deg, #833AB4 0%, #C13584 35%, #E1306C 60%, #F77737 85%, #FCAF45 100%);
  --grad-soft: linear-gradient(135deg, #f9ecf3 0%, #fdf3ec 100%);
  --purple: #833AB4;
  --pink: #E1306C;
  --orange: #F77737;
  --text-dark: #262626;
  --text-muted: #737373;
  --white: #ffffff;
  --border: #e8e8e8;
  --bg-soft: #fafafa;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(193, 53, 132, 0.12);
}

*{ box-sizing: border-box; margin:0; padding:0; }

body{
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
}

.container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a{ text-decoration:none; color:inherit; }

/* ---------- TOPBAR ---------- */
.topbar{
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:20px;
}
.brand-icon{
  background: var(--grad);
  color:#fff;
  width:38px;
  height:38px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:700;
}
.nav-links{ display:flex; gap:28px; }
.nav-links a{
  font-weight:500;
  font-size:14px;
  color: var(--text-muted);
}
.nav-links a:hover{ color: var(--pink); }

/* ---------- HERO ---------- */
.hero{
  background: var(--grad-soft);
  padding: 68px 0 60px;
  text-align:center;
}
.hero h1{
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height:1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ===============================
   SEGMENTED MEDIA TABS
================================ */

.type-tabs{
    width:100%;
    max-width:720px;
    margin:0 auto 28px;

    display:flex;

    border-radius:12px;
    overflow:hidden;

    background:linear-gradient(90deg,#8B3DFF,#4E82FF);

    box-shadow:0 12px 28px rgba(78,130,255,.22);
}

.tab{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:16px 10px;

    text-decoration:none;

    border:none;
    background:transparent;

    color:#fff;

    font-family:'Poppins',sans-serif;
    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.25s;
}
.tab:not(:last-child){
    border-right:1px solid rgba(255,255,255,.18);
}

.tab:hover{
    background:rgba(255,255,255,.08);
}

.tab.active{
    background:var(--grad);
    color:#fff;
}

.tab span:first-child{
    font-size:17px;
}

@media(max-width:768px){

    .type-tabs{
        flex-wrap:wrap;
        border-radius:10px;
    }

    .tab{
        flex:1 1 50%;
        font-size:14px;
        padding:14px;
    }

}



/* paste box */
.paste-box{
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.paste-box input{
  flex:1;
  min-width: 160px;
  border:none;
  outline:none;
  font-family:'Poppins',sans-serif;
  font-size:15px;
  padding: 12px 14px;
  color: var(--text-dark);
  background: transparent;
}
.paste-box input::placeholder{ color:#bdbdbd; }

.btn{
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:14px;
  border:none;
  border-radius: 10px;
  padding: 12px 22px;
  cursor:pointer;
  transition: transform .12s ease, opacity .15s ease;
  white-space:nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-ghost{
  background: #f7f0f4;
  color: var(--pink);
}
.btn-ghost:hover{ background:#f1e3ea; }
.btn-primary{
  background: var(--grad);
  color: #fff;
}
.btn-primary:hover{ opacity: 0.92; }
.btn-primary:disabled{ opacity:.6; cursor:not-allowed; }

.hint{
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------- RESULTS ---------- */
.results-area{
  max-width: 900px;
  margin: 32px auto 0;
}
.results-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.result-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align:left;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  animation: rise .4s ease forwards;
}
@keyframes rise{ to{ opacity:1; transform:translateY(0); } }

.result-thumb{
  aspect-ratio: 1/1;
  border-radius: 10px;
  margin-bottom: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.result-thumb .play{
  width:36px; height:36px;
  border-radius:50%;
  background: rgba(0,0,0,0.45);
  display:flex; align-items:center; justify-content:center;
}
.result-thumb .play::after{
  content:'';
  border-left: 11px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left:3px;
}
.result-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight:600;
}
.result-meta .tag{ color: var(--pink); }

.result-dl-btn{
  width:100%;
  border:none;
  background: var(--grad);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:13px;
  padding: 10px;
  border-radius: 8px;
  cursor:pointer;
}
.result-dl-btn:hover{ opacity: 0.9; }

.empty-note{
  text-align:center;
  color: var(--text-muted);
  font-size:14px;
  font-weight:500;
  padding: 12px;
}

/* ---------- FEATURES ---------- */
.features{ padding: 60px 0; }
.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align:center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon{ font-size: 30px; margin-bottom:12px; }
.feature-card h3{ font-size:16px; margin-bottom:8px; }
.feature-card p{ font-size:14px; color: var(--text-muted); }

/* ---------- HOW IT WORKS ---------- */
.how{ background: var(--bg-soft); padding: 68px 0; }
.how h2{
  text-align:center;
  font-size: 28px;
  font-weight:700;
  margin-bottom: 44px;
}
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step{ text-align:center; }
.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px; height:38px;
  border-radius:50%;
  background: var(--grad);
  color:#fff;
  font-weight:700;
  margin-bottom: 14px;
}
.step h3{ font-size:16px; margin-bottom:8px; }
.step p{ font-size:14px; color: var(--text-muted); }



/* ---------- FAQ ---------- */


.faq {
    padding: 55px 0;
    background: #fff;
}

.faq h2 {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: #262626;
}

.faq details {
    max-width: 850px;
    margin: 0 auto 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    overflow: hidden;
    transition: .2s;
}

.faq details:hover{
    border-color:#E1306C;
}

.faq summary{
    list-style:none;
    cursor:pointer;
    padding:18px 22px;
    font-size:16px;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#222;
}

.faq summary::-webkit-details-marker{
    display:none;
}

.faq summary::after{
    content:"⌄";
    font-size:18px;
    transition:.25s;
}

.faq details[open] summary::after{
    transform:rotate(180deg);
}

.faq p{
    padding:0 22px 18px;
    color:#666;
    font-size:15px;
    line-height:1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px){
  .paste-box{ flex-direction:column; }
  .features-grid, .steps{ grid-template-columns: 1fr; }
}



/* ====================================
   INFORMATION SECTION
==================================== */

.info-section{
    padding:80px 0;
    background:#fff;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 420px;
    align-items:center;
    gap:70px;
}

.info-text h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:25px;
    color:#203A7A;
}

.info-text p{
    font-size:17px;
    line-height:1.9;
    color:#666;
    margin-bottom:18px;
}

.info-image{
    text-align:center;
}

.info-image img{
    width:100%;
    max-width:330px;
}

@media(max-width:900px){

    .info-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .info-image{
        order:-1;
    }

    .info-text h2{
        font-size:34px;
    }

}




/* ===============================
   WHY US SECTION
================================*/

.why-box-section {
  padding: 70px 0;
  background: #fff;
}

.why-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 70px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid #18b7ff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  position: relative;
}

.why-box::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(135deg, #ff00ff, #00c3ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.why-box h2 {
  text-align: center;
  font-size: 36px;
  color: #203A7A;
  margin-bottom: 42px;
  font-weight: 700;
}

.why-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 36px;
}

.why-row:last-child {
  margin-bottom: 0;
}

.why-row-right {
  grid-template-columns: 1fr 110px;
}

.why-row h3 {
  font-size: 25px;
  color: #203A7A;
  margin-bottom: 8px;
  font-weight: 700;
}

.why-row p {
  font-size: 15px;
  line-height: 1.75;
  color: #111;
  font-weight: 500;
}

.why-art {
  font-size: 58px;
  text-align: center;
}

@media (max-width: 700px) {
  .why-box {
    padding: 36px 24px;
  }

  .why-row,
  .why-row-right {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-row-right .why-art {
    order: -1;
  }

  .why-box h2 {
    font-size: 30px;
  }

  .why-row h3 {
    font-size: 22px;
  }
}






.downloaders-section {
  padding: 70px 0 40px;
  background: #fff;
}

.downloaders-section h2 {
  text-align: center;
  font-size: 30px;
  color: #203A7A;
  margin-bottom: 38px;
}

.download-feature {
  max-width: 980px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 34px;
}

.download-feature.right-img {
  grid-template-columns: 1fr 150px;
}

.download-img {
  width: 125px;
  height: 125px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f9ecf3, #fdf3ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  box-shadow: 0 10px 25px rgba(193, 53, 132, 0.12);
}

.download-content h3 {
  font-size: 22px;
  color: #203A7A;
  margin-bottom: 7px;
}

.download-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  max-width: 720px;
}

@media (max-width: 700px) {
  .download-feature,
  .download-feature.right-img {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-img {
    margin: 0 auto;
  }
}






/* ===================================
   TERMS & CONDITIONS
=================================== */

.terms-section{
    padding:70px 0;
    background: linear-gradient(
        135deg,
        #833AB4 0%,
        #C13584 35%,
        #E1306C 60%,
        #F77737 85%,
        #FCAF45 100%
    );
    position: relative;
}

.terms-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.90);
}

.terms-section .container{
    position:relative;
    z-index:2;
    max-width:900px;
}

.terms-section h2{
    text-align:center;
    font-size:30px;
    font-weight:700;
    color:#203A7A;
    margin-bottom:28px;
}

.terms-section p{
    color:#555;
    font-size:15px;
    line-height:1.9;
    margin-bottom:18px;
    text-align:justify;
}

/* ===============================
  footer
================================*/

.footer{
  background:linear-gradient(135deg,#fff7fb 0%,#fff2f8 45%,#fff7ef 100%);
  color:#262626;
  padding:42px 0 20px;
  border-top:1px solid #f1e4ec;
}

.footer-inner{
  max-width:1020px;
}

.footer-brand{
  text-align:center;
  max-width:560px;
  margin:0 auto 30px;
}

.footer-logo{
  display:inline-block;
  font-size:30px;
  font-weight:800;
  letter-spacing:3px;
  margin-bottom:10px;
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.footer-brand p{
  color:#5f5f5f;
  font-size:14px;
  line-height:1.7;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px;
  padding:28px 0;
  border-top:1px solid #eadde5;
  border-bottom:1px solid #eadde5;
}

.footer-col{
  padding:4px 0;
}

.footer-col h3{
  font-size:15px;
  margin-bottom:14px;
  color:#1f1f1f;
  font-weight:700;
}

.footer-col a{
  display:block;
  width:max-content;
  color:#666;
  font-size:13.5px;
  margin-bottom:10px;
  transition:.2s;
}

.footer-col a:hover{
  color:var(--pink);
  transform:translateX(3px);
}

.footer-bottom{
  text-align:center;
  color:#737373;
  font-size:12.5px;
  padding-top:18px;
  line-height:1.7;
}

.footer-bottom p{
  margin-bottom:3px;
}

@media(max-width:700px){
  .footer{
    padding:36px 0 18px;
  }

  .footer-links{
    grid-template-columns:1fr;
    text-align:center;
    gap:22px;
  }

  .footer-col a{
    width:auto;
  }
}







/* ===============================
   STATIC PAGES
================================ */

.page-header{
  padding:80px 0 55px;
  background:linear-gradient(135deg,#fff7fb 0%,#fff2f8 45%,#fff7ef 100%);
  text-align:center;
  border-bottom:1px solid #f1e4ec;
}

.page-header h1{
  font-size:44px;
  font-weight:800;
  margin-bottom:14px;
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.page-header p{
  max-width:680px;
  margin:0 auto;
  font-size:17px;
  line-height:1.7;
  color:#666;
}

.page-content{
  padding:65px 0;
  background:#fff;
}

.page-content .container{
  max-width:900px;
}

.page-content h2{
  font-size:28px;
  color:#203A7A;
  margin:36px 0 14px;
  font-weight:700;
}

.page-content h2:first-child{
  margin-top:0;
}

.page-content p{
  font-size:16px;
  line-height:1.9;
  color:#5f5f5f;
  margin-bottom:18px;
}

.page-content strong{
  color:#262626;
}

.page-content ul,
.page-content ol{
  margin:18px 0 26px;
  padding-left:24px;
}

.page-content li{
  font-size:16px;
  color:#5f5f5f;
  margin-bottom:10px;
  line-height:1.7;
}

.page-content ul li::marker{
  color:var(--pink);
}

.page-content ol li::marker{
  color:var(--pink);
  font-weight:700;
}

@media(max-width:700px){
  .page-header{
    padding:60px 0 42px;
  }

  .page-header h1{
    font-size:34px;
  }

  .page-header p{
    font-size:15px;
  }

  .page-content{
    padding:45px 0;
  }

  .page-content h2{
    font-size:24px;
  }

  .page-content p,
  .page-content li{
    font-size:15px;
  }
}

/* ===============================
   blog
================================ */

.blog-section{
    padding:70px 0;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.blog-card{

    background:#fff;

    border:1px solid #eee;

    border-radius:18px;

    padding:28px;

    transition:.3s;

    box-shadow:0 8px 24px rgba(0,0,0,.05);

}

.blog-card:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.blog-card h3{

    font-size:22px;

    margin-bottom:14px;

    color:#203A7A;

}

.blog-card p{

    color:#666;

    line-height:1.8;

    margin-bottom:18px;

}

.blog-card a{

    color:var(--pink);

    font-weight:600;

}



/* ===============================
   LOGO
=============================== */

.logo{
    display:block;
    height:42px;
    width:auto;
    max-width:180px;
    object-fit:contain;
}

.brand{
    display:flex;
    align-items:center;
}

.topbar{
    padding:14px 0;
}

.topbar-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:60px;
}


/* FORCE HEADER LOGO SIZE */
header.topbar .brand img.logo{
    height:42px !important;
    width:auto !important;
    max-width:180px !important;
    object-fit:contain !important;
    display:block !important;
}

header.topbar{
    padding:12px 0 !important;
    height:auto !important;
}

header.topbar .topbar-inner{
    min-height:56px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
}

.logo {
  height: 42px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .logo {
    height: 36px !important;
    max-width: 160px !important;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}





/* ===============================
   PREMIUM BLOG PAGE
================================ */

.blog-section{
  padding:80px 0;
  background:linear-gradient(135deg,#fff7fb 0%,#ffffff 45%,#fff7ef 100%);
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.blog-card{
  position:relative;
  background:#fff;
  border:1px solid #f1dfe8;
  border-radius:22px;
  padding:30px;
  overflow:hidden;
  box-shadow:0 14px 35px rgba(193,53,132,.10);
  transition:.3s ease;
}

.blog-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:var(--grad);
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 55px rgba(193,53,132,.18);
  border-color:#f3b6d1;
}

.blog-card h3{
  font-size:22px;
  line-height:1.35;
  color:#203A7A;
  margin-bottom:14px;
  font-weight:700;
}

.blog-card p{
  color:#666;
  font-size:15px;
  line-height:1.8;
  margin-bottom:24px;
}

.blog-card a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:999px;
  background:var(--grad);
  color:#fff;
  font-weight:600;
  font-size:14px;
  box-shadow:0 8px 22px rgba(225,48,108,.22);
  transition:.25s ease;
}

.blog-card a:hover{
  transform:translateX(4px);
  opacity:.92;
}

@media(max-width:700px){
  .blog-section{
    padding:55px 0;
  }

  .blog-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .blog-card{
    padding:24px;
    border-radius:18px;
  }

  .blog-card h3{
    font-size:20px;
  }
}



/* ===============================
   BLOG ARTICLE PAGE
================================ */

.article-section{
  padding:70px 0;
  background:#fff;
}

.article-wrap{
  max-width:880px;
  margin:0 auto;
  background:#fff;
  border:1px solid #f1dfe8;
  border-radius:24px;
  padding:46px;
  box-shadow:0 18px 50px rgba(193,53,132,.10);
}

.article-wrap h2{
  font-size:30px;
  color:#203A7A;
  margin:38px 0 14px;
  line-height:1.3;
}

.article-wrap h2:first-child{
  margin-top:0;
}

.article-wrap h3{
  font-size:22px;
  color:#262626;
  margin:28px 0 12px;
}

.article-wrap p{
  font-size:16px;
  line-height:1.9;
  color:#5f5f5f;
  margin-bottom:18px;
}

.article-wrap ul,
.article-wrap ol{
  padding-left:24px;
  margin:18px 0 26px;
}

.article-wrap li{
  font-size:16px;
  line-height:1.8;
  color:#5f5f5f;
  margin-bottom:10px;
}

.article-wrap li::marker{
  color:var(--pink);
  font-weight:700;
}

.article-note{
  background:linear-gradient(135deg,#fff7fb,#fff7ef);
  border-left:5px solid var(--pink);
  border-radius:16px;
  padding:20px 22px;
  margin:30px 0;
  color:#444;
  line-height:1.8;
}

.article-cta{
  margin:44px 0;
  padding:30px;
  text-align:center;
  border-radius:22px;
  background:linear-gradient(135deg,#833AB4,#E1306C,#F77737);
  color:#fff;
}

.article-cta h3{
  color:#fff;
  margin-bottom:10px;
}

.article-cta p{
  color:#fff;
  margin-bottom:20px;
}

.article-cta a{
  display:inline-block;
  background:#fff;
  color:var(--pink);
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
}

.related-articles{
  padding:60px 0;
  background:linear-gradient(135deg,#fff7fb 0%,#ffffff 45%,#fff7ef 100%);
}

.related-articles h2{
  text-align:center;
  font-size:32px;
  color:#203A7A;
  margin-bottom:30px;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.related-card{
  background:#fff;
  border:1px solid #f1dfe8;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 32px rgba(193,53,132,.10);
  transition:.25s;
}

.related-card:hover{
  transform:translateY(-6px);
}

.related-card h3{
  font-size:19px;
  color:#203A7A;
  margin-bottom:10px;
}

.related-card p{
  color:#666;
  font-size:14px;
  line-height:1.7;
  margin-bottom:16px;
}

.related-card a{
  color:var(--pink);
  font-weight:700;
}

@media(max-width:700px){
  .article-section{
    padding:45px 0;
  }

  .article-wrap{
    padding:28px 22px;
    border-radius:18px;
  }

  .article-wrap h2{
    font-size:25px;
  }

  .article-wrap h3{
    font-size:20px;
  }

  .article-wrap p,
  .article-wrap li{
    font-size:15px;
  }
}





/* ===============================
   BACK TO TOP
================================ */

#backToTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:var(--grad);

    color:#fff;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(193,53,132,.35);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.3s;

    z-index:9999;

}

#backToTop:hover{

    transform:translateY(-4px) scale(1.08);

}

#backToTop.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

@media(max-width:768px){

#backToTop{

right:18px;

bottom:18px;

width:46px;

height:46px;

font-size:20px;

}

}


/* ===============================
   ARTICLE META
================================ */

.article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:30px;
    font-size:14px;
    color:#777;
    padding-bottom:20px;
    border-bottom:1px solid #eee;
}

.article-meta span{
    display:flex;
    align-items:center;
    gap:6px;
}


.article-wrap p{
    font-size:17px;
    line-height:2;
    color:#555;
    margin-bottom:22px;
}



.article-wrap img{
    width:100%;
    border-radius:18px;
    margin:28px 0;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}




.article-wrap table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

.article-wrap th{
    background:var(--grad);
    color:#fff;
    padding:14px;
}

.article-wrap td{
    padding:14px;
    border:1px solid #eee;
}




.article-wrap blockquote{
    margin:30px 0;
    padding:24px;
    background:#faf7ff;
    border-left:5px solid var(--pink);
    border-radius:15px;
    font-style:italic;
    color:#555;
}

/* ===============================
   BLOG ARTICLE IMAGES
================================ */

.article-image{
    display:block;
    width:100%;
    max-width:700px;
    height:auto;
    border-radius:18px;
    margin:30px auto;
    box-shadow:0 18px 40px rgba(0,0,0,.10);
    border:1px solid #eee;
}

.article-image:hover{
    transform:scale(1.01);
}

@media(max-width:768px){
    .article-image{
        border-radius:14px;
        margin:24px auto;
    }
}


/* FORCE BLOG IMAGE SIZE */
.article-wrap img.article-image{
    display:block !important;
    width:100% !important;
    max-width:700px !important;
    height:auto !important;
    margin:30px auto !important;
    border-radius:18px !important;
    box-shadow:0 18px 40px rgba(0,0,0,.10) !important;
    border:1px solid #eee !important;
    object-fit:contain !important;
}

.blog-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.reading-time{
    font-size:12px;
    font-weight:600;
    color:#777;
    background:#f6f6f8;
    padding:7px 12px;
    border-radius:999px;
}

.blog-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
}

.blog-card-premium{
    display:flex;
    flex-direction:column;
    height:100%;
}

.blog-card-premium h3{
    margin-top:8px;
    margin-bottom:14px;
    font-size:22px;
    line-height:1.35;
}

.blog-card-premium p{
    flex:1;
}

.blog-read-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:700;
}

.blog-read-more span{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--grad);
    color:#fff;
    transition:.25s;
}

.blog-card-premium:hover .blog-read-more span{
    transform:translateX(4px);
}

