/* ChatSansar Fixed & Optimized Stylesheet v2026.04 */
/* Merged: inline critical CSS + style.min.css + enlarged mobile logo */

/* ===== 1.0 CSS Custom Properties ===== */
:root {
  --primary: #e20378;
  --primary-dark: #b3005e;
  --secondary: #feae04;
  --success: #6bc045;
  --info: #02aeee;
  --dark: #231f1f;
  --text: #333333;
  --text-light: #656565;
  --bg: #f5f5f5;
  --bg-light: #f3f5f8;
  --white: #ffffff;
  --gradient: linear-gradient(to right, #e30a73, #feae04);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 30px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 29px rgba(68,88,144,0.1);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ===== 2.0 Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== 3.0 Image Handling ===== */
img { display: block; max-width: 100%; height: auto; }
img.object-contain { object-fit: contain; width: 100%; height: 100%; }
img.object-cover { object-fit: cover; width: 100%; height: 100%; }

/* ===== 4.0 Typography ===== */
h1, h2, h3, h4, h5, h6 { color: #152535; line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; } h2 { font-size: 1.75rem; } h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; } h5 { font-size: 1.1rem; } h6 { font-size: 1rem; }
p { color: var(--text-light); font-size: 14px; line-height: 2; font-weight: 400; margin-bottom: 1em; }
a { color: #0056b3; text-decoration: none; transition: color var(--transition); }
a:hover { color: #003366; }
ul, ol { margin: 0; list-style: none; }

/* ===== 5.0 Layout Utilities ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-lg-8 { flex: 0 0 66.667%; max-width: 66.667%; padding: 0 15px; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.mb-15 { margin-bottom: 15px; } .mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; } .mb-70 { margin-bottom: 70px; }
.mt-15 { margin-top: 15px; } .mt-30 { margin-top: 30px; }

@media (max-width: 991px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 767px) {
  .col-md-6, .col-lg-4, .col-lg-6, .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
}

/* ===== 6.0 Buttons ===== */
.viral-btn, .add-post-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 52px;
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--gradient);
  transition: opacity var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.viral-btn:hover, .add-post-btn:hover { opacity: 0.9; color: var(--white); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 160px;
  padding: 16px 24px;
  background: #1f7a38;
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition);
  white-space: nowrap;
}
.button:hover { background: #165c2a; }

/* ===== 7.0 Header ===== */
.header-area { position: relative; z-index: 100; width: 100%; }

.top-header-area {
  position: relative;
  width: 100%;
  height: 48px;
  border-bottom: 1px solid #dedede;
  background: var(--white);
}
.top-header-content {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-breaking-news-area { flex: 0 0 70%; min-width: 70%; }
.ticker { width: 100%; text-align: left; position: relative; overflow: hidden; }
.ticker ul { width: 100%; position: relative; }
.ticker ul li { display: none; width: 100%; }
.ticker ul li a { display: block; font-size: 12px; color: var(--text-light); height: 38px; line-height: 38px; }
.ticker ul li a:hover { color: var(--primary); }

.top-social-info-area {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
}
.top-social-info-area a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  font-size: 14px;
  width: 32px;
  height: 32px;
}
.top-social-info-area a:hover { color: var(--primary); transform: scale(1.1); }

@media (max-width: 768px) {
  .top-social-info-area { gap: 10px; }
  .top-social-info-area a { font-size: 20px; width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .top-social-info-area { gap: 8px; }
  .top-social-info-area a { font-size: 18px; width: 24px; height: 24px; }
}

/* ===== 8.0 Navigation ===== */
.viral-news-main-menu { position: relative; width: 100%; z-index: 10; height: 120px; background: var(--white); }
.classy-nav-container { background: transparent; }
.classy-navbar { height: 120px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

/* Logo */
.nav-brand { height: 200px; width: 200px; display: block; flex-shrink: 0; }
.nav-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Desktop nav */
.classynav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.classynav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.classynav ul li { position: relative; }
.classynav ul li a {
  font-weight: 700; text-transform: uppercase;
  padding: 14px 14px; color: var(--dark); font-size: 14px;
  display: block; transition: color var(--transition); white-space: nowrap;
}
.classynav ul li a:hover, .classynav ul li.active > a { color: var(--primary); }

/* Desktop dropdown — opens on hover */
.classynav ul li .dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); box-shadow: var(--shadow-md);
  border-radius: var(--radius); min-width: 210px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s ease; z-index: 1000; list-style: none;
}
.classynav ul li:hover > .dropdown,
.classynav ul li.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.classynav ul li .dropdown li { width: 100%; }
.classynav ul li .dropdown li a {
  padding: 11px 18px; text-transform: none;
  border-bottom: 1px solid #f0f0f0; font-size: 14px; font-weight: 500;
}
.classynav ul li .dropdown li:last-child a { border-bottom: none; }

/* Chat Now */
.add-post-button { flex-shrink: 0; margin-left: 10px; }

/* Hamburger — hidden desktop */
.classy-navbar-toggler { display: none; cursor: pointer; padding: 8px; background: none; border: none; }
.navbarToggler { display: flex; flex-direction: column; gap: 5px; width: 28px; }
.navbarToggler span { display: block; width: 100%; height: 3px; background: var(--dark); border-radius: 2px; }
.classy-navbar-toggler:hover .navbarToggler span { background: var(--primary); }

/* Close X button — hidden desktop */
.nav-close-btn { display: none; }

/* Overlay — covers page but NOT the drawer (300px wide) */
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; }
.nav-overlay.active { display: block; }
@media (max-width: 767px) {
  .nav-overlay.active { left: 300px; width: calc(100% - 300px); }
}

/* ── Tablet ── */
@media (max-width: 991px) {
  .viral-news-main-menu { height: 100px; }
  .classy-navbar { height: 100px; }
  .nav-brand { height: 160px; width: 160px; }
  .classynav ul li a { padding: 12px 10px; font-size: 13px; }
}

/* ── Mobile: left drawer ── */
@media (max-width: 767px) {
  .viral-news-main-menu { height: 100px; }
  .classy-navbar { height: 100px; gap: 15px; }
  .nav-brand { height: 160px; width: 160px; }
  .classy-navbar-toggler { display: flex; }

  .classynav {
    display: block;
    position: fixed; top: 0; left: -310px;
    width: 300px; height: 100vh;
    background: var(--white);
    box-shadow: 5px 0 20px rgba(0,0,0,0.15);
    z-index: 99999; overflow-y: auto;
    transition: left 0.3s ease;
  }
  .classynav.active { left: 0; }

  /* Close button */
  .nav-close-btn {
    display: flex; align-items: center; justify-content: center;
    align-self: flex-end; margin: 14px 14px 0 auto;
    width: 36px; height: 36px; background: #f0f0f0;
    border: none; border-radius: 50%; cursor: pointer;
    font-size: 18px; color: var(--dark);
  }
  .nav-close-btn::before { content: "✕"; }
  .nav-close-btn:hover { background: var(--primary); color: #fff; }

  .classynav ul { flex-direction: column; width: 100%; display: flex; margin: 0; padding: 0; }
  .classynav ul li { width: 100%; }
  .classynav ul li a {
    padding: 14px 20px; border-bottom: 1px solid #f0f0f0;
    font-size: 15px; text-transform: none; white-space: normal;
  }

  /* Mobile dropdown: collapse/expand */
  .classynav ul li .dropdown {
    position: static !important; transform: none !important;
    box-shadow: none !important; opacity: 1 !important; visibility: visible !important;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    width: 100%; min-width: unset;
    background: #f4f4f4; border-left: 4px solid var(--primary); border-radius: 0;
  }
  .classynav ul li.open > .dropdown { max-height: 400px; }
  .classynav ul li .dropdown li a {
    padding: 11px 20px 11px 26px; font-size: 14px;
    color: #444; border-bottom: 1px solid #e5e5e5; text-transform: none;
  }
  .classynav ul li .dropdown li:last-child a { border-bottom: none; }

  /* Chat Now */
  .add-post-button { margin: 0; width: 100%; padding: 15px 20px; }
  .add-post-button .add-post-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .viral-news-main-menu { height: 85px; }
  .classy-navbar { height: 85px; }
  .nav-brand { height: 140px; width: 140px; }
}

/* Pink divider line — matches footer top border */
.hero-divider {
  width: 100%;
  height: 5px;
  background: var(--primary);
  margin: 0;
}

/* Section HR with breathing room */
.section-divider {
  border: none;
  border-top: 1px solid #dedede;
  margin: 40px 0;
}

/* ===== 9.0 Hero Area ===== */
.hero-area {
  position: relative;
  z-index: 1;
  background: var(--bg-light);
  padding-top: 20px;
  border-bottom: 5px solid var(--primary);
}

/* ===== HERO SLIDES ===== */

/* ── Desktop: 3 cards side by side ── */
@media (min-width: 768px) {
  .hero-slides-css {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .hero-slides-css-inner { display: contents; } /* inner div has no effect on desktop */
  .hero-slides-css .single-blog-post {
    flex: 0 0 auto;
    width: 420px;
    max-width: 32%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px;
  }
  .hero-slides-css .single-blog-post.d-flex {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .hero-slides-css .post-thumb {
    flex: 0 0 129px;
    width: 129px;
    height: 85px;
    border-radius: 6px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-slides-css .post-thumb a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
  .hero-slides-css .post-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .hero-slides-css .post-data { flex: 1; min-width: 0; }
  .hero-slides-css .post-title h6 { font-size: 14px; color: var(--dark); line-height: 1.4; margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-slides-css .post-meta a { font-size: 12px; color: var(--text-light); line-height: 1.5; display: block; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-slides-css .single-blog-post { width: 300px; padding: 10px; }
  .hero-slides-css .post-thumb { flex: 0 0 100px; width: 100px; height: 66px; }
  .hero-slides-css .post-title h6 { font-size: 13px; }
  .hero-slides-css .post-meta a { font-size: 11px; }
}

/* ── Mobile: auto-slide + manual swipe, 1 card = full width ── */
@keyframes heroSlide {
  0%     { transform: translateX(0); }
  28%    { transform: translateX(0); }
  33%    { transform: translateX(-33.333%); }
  61%    { transform: translateX(-33.333%); }
  66%    { transform: translateX(-66.666%); }
  94%    { transform: translateX(-66.666%); }
  100%   { transform: translateX(0); }
}

@media (max-width: 767px) {
  .hero-slides-css {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
  }
  .hero-slides-css-inner {
    display: flex;
    width: 300%;
    animation: heroSlide 15s ease-in-out infinite;
    will-change: transform;
  }
  /* JS adds this while swiping — kills animation, enables smooth drag */
  .hero-slides-css-inner.is-dragging {
    animation: none;
    transition: none;
  }
  .hero-slides-css-inner.is-snapping {
    animation: none;
    transition: transform 0.35s ease;
  }
  .hero-slides-css .single-blog-post {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px;
    box-sizing: border-box;
    margin-bottom: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .hero-slides-css .post-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .hero-slides-css .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hero-slides-css .post-data { flex: 1; min-width: 0; }
  .hero-slides-css .post-title h6 { font-size: 14px; font-weight: 700; color: var(--dark); white-space: normal; line-height: 1.4; margin-bottom: 5px; }
  .hero-slides-css .post-meta a { font-size: 12px; color: var(--text-light); white-space: normal; }
}

/* ===== 10.0 Chat Login Section ===== */
.chat-login-section {
  padding: 40px 0;
  background: var(--bg-light);
}
.chat-login-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.chat-login-header {
  background: var(--gradient);
  padding: 28px 32px 24px;
  text-align: center;
  color: var(--white);
}
.chat-login-header svg { margin-bottom: 10px; }
.chat-login-header h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.chat-login-header p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin: 0;
}
.chat-login-form {
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chat-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-login-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chat-login-field input,
.chat-login-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.chat-login-field input:focus,
.chat-login-field select:focus {
  outline: none;
  border-color: var(--primary);
}
.chat-login-hint {
  font-size: 11px;
  color: var(--text-light);
}
.chat-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.chat-login-btn:hover { opacity: 0.9; }
.chat-login-terms {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}
.chat-login-terms a { color: var(--primary); }

.button-container { text-align: center; margin: 30px 0; }

@media (max-width: 767px) {
  .chat-login-section { padding: 24px 0; }
  .chat-login-header { padding: 22px 20px 18px; }
  .chat-login-header h2 { font-size: 1.2rem; }
  .chat-login-form { padding: 20px 20px 18px; gap: 14px; }
}
@media (max-width: 480px) {
  .chat-login-box { border-radius: 0; box-shadow: none; }
  .chat-login-section { padding: 0; }
}

/* ===== 11.0 Chat Rooms Section ===== */
.section-bg { background: var(--bg-light); padding: 40px 0; }
.chats-header { text-align: center; margin-bottom: 40px; }
.chats-header h1 { font-size: 2rem; margin-bottom: 15px; color: #152535; }
.chats-header p { max-width: 800px; margin: 0 auto; color: var(--text); }

#chats .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 10px 30px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  text-align: center;
}
#chats .box:hover { transform: scale(1.05); }

#chats .icon {
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--bg-light);
}
#chats .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

#chats .title { font-weight: 700; margin-bottom: 15px; font-size: 18px; color: #111; }
#chats .title a { color: inherit; }
#chats .box:hover .title a { color: var(--primary); }
#chats .description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  text-align: center;
  margin: 0;
}

@media (max-width: 767px) {
  #chats .box { margin: 0 0 20px; padding: 20px; }
  #chats .icon { width: 56px; height: 56px; }
}

/* ===== 12.0 Blog Posts Area ===== */
.viral-story-blog-post { padding: 50px 0; }
.single-blog-post { position: relative; z-index: 1; }
.single-blog-post.style-3 { margin-bottom: 30px; }

.single-blog-post.style-3 .post-thumb {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1000 / 740;
}
.single-blog-post.style-3 .post-thumb a { display: block; width: 100%; height: 100%; }
.single-blog-post.style-3 .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.single-blog-post.style-3 .post-thumb:hover img { transform: scale(1.05); }

.single-blog-post.style-3 .post-data { margin: 0; }
.single-blog-post.style-3 .post-catagory {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 26px;
  padding: 2px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-weight: 600;
}
.single-blog-post.style-3 .post-catagory.cat-2 { background: var(--success); }
.single-blog-post.style-3 .post-catagory.cat-3 { background: var(--secondary); color: #1a2e5c; }
.single-blog-post.style-3 .post-catagory:hover { background: var(--dark); color: var(--white); }

.single-blog-post.style-3 .post-title h2 {
  font-size: 24px;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.single-blog-post.style-3 .post-title:hover h2 { color: var(--primary); }
.single-blog-post.style-3 .post-meta .post-author {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.single-blog-post.style-3 .post-meta .post-author a { color: var(--dark); }
.single-blog-post.style-3 .post-meta ul { margin: 10px 0; padding-left: 20px; }
.single-blog-post.style-3 .post-meta ul li { list-style: disc; color: var(--text); margin-bottom: 5px; }

@media (max-width: 767px) {
  .single-blog-post.style-3 .post-title h2 { font-size: 20px; }
  .single-blog-post.style-3 .post-thumb { aspect-ratio: 4 / 3; }
}

/* Post thumb for hero/sidebar */
.post-thumb {
  flex: 0 0 129px;
  width: 129px;
  height: 85px;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}
.post-thumb a { display: block; width: 100%; height: 100%; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-data { flex: 1; min-width: 0; }
.post-data .post-title { display: block; margin-bottom: 5px; }
.post-data .post-title h6 {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
  transition: color var(--transition);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-data .post-title:hover h6 { color: var(--primary); }
.post-meta a { font-size: 12px; color: var(--text-light); }
.post-meta a:hover { color: var(--primary); }

/* ===== 13.0 Sidebar ===== */
.sidebar-area { padding: 0 15px; }

.newsletter-widget {
  position: relative;
  background: var(--gradient);
  padding: 30px 25px;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.newsletter-widget h4 {
  text-align: center;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.25rem;
}
.newsletter-widget form input,
.newsletter-widget form select {
  width: 100%;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 15px;
}
.newsletter-widget form button,
.newsletter-widget form input[type="submit"] {
  width: 100%;
  height: 48px;
  background: var(--success);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-widget form button:hover { background: var(--white); color: var(--primary); }
.newsletter-widget form .label {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}
.newsletter-widget form a { color: #F5F5DC; text-decoration: underline; }

.latest-comments-widget { margin-bottom: 30px; }
.latest-comments-widget h4 { margin-bottom: 30px; font-weight: 600; color: #222; }
.latest-comments-widget .single-comments {
  display: flex;
  margin-bottom: 20px;
  background: var(--white);
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  gap: 15px;
}
.latest-comments-widget .single-comments .comments-thumbnail {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}
.latest-comments-widget .single-comments .comments-text { flex: 1; min-width: 0; }
.latest-comments-widget .single-comments .comments-text a {
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
}
.latest-comments-widget .single-comments .comments-text a span { color: var(--primary); }
.latest-comments-widget .single-comments .comments-text a:hover { color: var(--primary); }
.latest-comments-widget .single-comments .comments-text p {
  margin: 0;
  font-size: 12px;
  color: #4d4d4d;
  line-height: 1.4;
}

/* ===== 14.0 Footer ===== */
.footer-area {
  background: var(--bg-light);
  border-top: 5px solid var(--primary);
  padding-top: 50px;
}
.footer-widget-area { margin-bottom: 40px; }
.footer-widget-area .widget-title {
  display: block;
  margin: 30px 0;
  font-weight: 600;
  font-size: 18px;
}
.footer-widget-area p { color: var(--text); margin-bottom: 20px; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.footer-nav ul li { flex: 0 0 50%; max-width: 50%; }

/* Footer columns: stay 2-col until 480px */
@media (max-width: 767px) and (min-width: 481px) {
  .footer-area .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
.footer-nav ul li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--primary); }

/* Footer chat options */
.footer-widget-area .single-blog-post.style-2 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}
.footer-widget-area .single-blog-post.style-2 .post-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: var(--white);
}
.footer-widget-area .single-blog-post.style-2 .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.footer-widget-area .single-blog-post.style-2 .post-data { flex: 1; min-width: 0; }
.footer-widget-area .single-blog-post.style-2 .post-title h5,
.footer-widget-area .single-blog-post.style-2 .post-title h6 {
  font-size: 14px;
  color: var(--dark);
  transition: color var(--transition);
  margin-bottom: 5px;
}
.footer-widget-area .single-blog-post.style-2 .post-title:hover h5,
.footer-widget-area .single-blog-post.style-2 .post-title:hover h6 { color: var(--primary); }
.footer-widget-area .single-blog-post.style-2 .post-meta p { margin: 0; font-size: 12px; }
.footer-widget-area .single-blog-post.style-2 .post-meta a { color: var(--text-light); }

.bottom-footer-area {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #dedede;
  margin-top: 30px;
}
.bottom-footer-area p { color: var(--dark); font-size: 12px; font-weight: 600; margin: 0; }
.bottom-footer-area p a { color: var(--dark); font-weight: 600; }
.bottom-footer-area p a:hover { color: var(--primary); }

/* ===== 15.0 Breadcrumb ===== */
nav[aria-label="breadcrumb"] { background: #f8f9fa; padding: 10px 0; font-size: 14px; }
nav[aria-label="breadcrumb"] ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}
nav[aria-label="breadcrumb"] li { color: #666; }
nav[aria-label="breadcrumb"] li a { color: #0056b3; }
nav[aria-label="breadcrumb"] li a:hover { color: #003366; text-decoration: underline; }

/* ===== 16.0 Scroll Up ===== */
#scrollUp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: background var(--transition), opacity 0.3s;
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  /* Flex centers the arrow */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  padding-bottom: 2px; /* optical centering for ↑ */
}
#scrollUp.visible { opacity: 1; pointer-events: auto; }
#scrollUp:hover { background: var(--dark); }

/* ===== 17.0 Responsive Iframe ===== */
.responsive-iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 83.33%;
}
.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 280px) { .responsive-iframe-container { padding-top: 125%; } }

/* ===== 18.0 Advertisements ===== */
.ad-widget { margin-bottom: 30px; text-align: center; }
.ad-widget iframe { border: 0; max-width: 100%; }

/* ===== 19.0 Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.wow { visibility: hidden; }
.wow.animated { visibility: visible; animation: fadeInUp 0.6s ease forwards; }

/* ===== 20.0 Mobile Optimizations ===== */
@media (max-width: 767px) {
  .single-blog-post.d-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .post-thumb { margin: 0 auto; }
  .post-data { margin: 0; width: 100%; }
  .post-data .post-title h6 { white-space: normal; }

  .button { font-size: 16px; padding: 12px 20px; height: auto; min-width: auto; }

  .footer-nav ul li { flex: 0 0 50%; max-width: 50%; }

  .latest-comments-widget .single-comments {
    flex-direction: column;
    gap: 10px;
  }
  .latest-comments-widget .single-comments .comments-thumbnail {
    flex: 0 0 auto;
  }
}

/* ===== 21.0 Print Styles ===== */
@media print {
  .header-area, .sidebar-area, .footer-area, .iframe-container, .button-container { display: none; }
  main { width: 100%; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10px; }
}

/* ===== 22.0 Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== 23.0 Legacy Compatibility ===== */
/* Old style.css overrides that may be referenced by JS/plugins */
.add-post-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 52px;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 0 30px;
  font-size: 14px !important;
  line-height: 52px;
  font-weight: 700 !important;
  transition-duration: 500ms;
  text-transform: uppercase;
  background: #e30a73;
  background: linear-gradient(to right, #e30a73, #feae04);
  white-space: nowrap;
  text-align: center;
}
.add-post-btn:hover { color: #fff; }

.viral-btn {
  display: inline-block;
  min-width: 150px;
  height: 52px;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 0 30px;
  font-size: 14px;
  line-height: 52px;
  font-weight: 700;
  transition-duration: 500ms;
  text-transform: uppercase;
  background: #e30a73;
  background: linear-gradient(to right, #e30a73, #feae04);
}

/* Section padding utilities */
.section-padding-50 { padding-top: 50px; padding-bottom: 50px; }
.section-padding-50-0 { padding-top: 50px; padding-bottom: 0; }
.section-padding-0-50 { padding-top: 0; padding-bottom: 50px; }
.section-padding-100 { padding-top: 100px; padding-bottom: 100px; }

/* Height utilities */
.height-400 { height: 400px !important; }
.height-500 { height: 500px !important; }
.height-600 { height: 600px !important; }
.height-700 { height: 700px !important; }
.height-800 { height: 800px !important; }

/* Spacing utilities */
.ml-15 { margin-left: 15px !important; }
.ml-30 { margin-left: 30px !important; }
.ml-50 { margin-left: 50px !important; }
.mr-15 { margin-right: 15px !important; }
.mr-30 { margin-right: 30px !important; }
.mr-50 { margin-right: 50px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-70 { margin-top: 70px !important; }
.mt-80 { margin-top: 80px !important; }
.mt-100 { margin-top: 100px !important; }
.mb-80 { margin-bottom: 80px !important; }
.mb-100 { margin-bottom: 100px !important; }

/* Background utilities */
.bg-img { background-position: center center; background-size: cover; background-repeat: no-repeat; }
.bg-white { background-color: #ffffff !important; }
.bg-dark { background-color: #000000 !important; }
.bg-transparent { background-color: transparent !important; }

/* Font utilities */
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }

/* Overlay */
.bg-overlay { position: relative; z-index: 2; background-position: center center; background-size: cover; }
.bg-overlay::after {
  background-color: rgba(2, 3, 28, 0.9);
  position: absolute;
  z-index: -1;
  top: 0; left: 0;
  width: 100%; height: 100%;
  content: "";
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

/* Text utilities */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }
/* ===== 24.0 Sub-page / Article Layout ===== */

/* Breadcrumb area — matches original design exactly */
.viral-news-breadcumb-area {
  position: relative; z-index: 1;
  background-color: #f3f5f8;
  height: 230px;
  border-bottom: 5px solid #e20378;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 767px) {
  .viral-news-breadcumb-area { flex-direction: column; height: auto; padding: 15px 0; }
}
.viral-news-breadcumb-area h3 { font-size: 30px; color: #e20378; margin-bottom: 10px; }
.viral-news-breadcumb-area .breadcrumb { display: flex; padding: 0; margin: 0; background: transparent; list-style: none; gap: 0.5rem; }
.viral-news-breadcumb-area .breadcrumb-item { font-size: 14px; color: #007bff; }
.viral-news-breadcumb-area .breadcrumb-item a { color: #007bff; text-decoration: none; }
.viral-news-breadcumb-area .breadcrumb-item + .breadcrumb-item::before { content: '>'; margin-right: 0.5rem; color: #6c757d; }
.viral-news-breadcumb-area .breadcrumb-item.active { color: #6c757d; pointer-events: none; }

/* Blog area */
.blog-area { padding: 50px 0; }
.section-padding-100 { padding: 50px 0; }
@media (max-width: 767px) { .blog-area, .section-padding-100 { padding: 30px 0; } }

/* Article detail */
.single-blog-post-details .post-thumb {
  position: relative; z-index: 1; margin-bottom: 30px;
  width: 100%; height: auto;
}
.single-blog-post-details .post-thumb img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
}

.single-blog-post-details .post-data .post-catagory {
  background-color: #e20378; 
  color: #fff;
  display: inline-block; 
  text-transform: uppercase; 
  font-size: 12px;
  padding: 4px 10px; 
  text-align: center; 
  margin-bottom: 15px;
  white-space: nowrap;
  
  /* Force shrink-to-fit behavior */
  width: fit-content;
  max-width: max-content;
}
.single-blog-post-details .post-data .post-catagory.tag-2 { background-color: #6bc045; }
.single-blog-post-details .post-data .post-catagory.tag-3 { background-color: #ee9202; }
.single-blog-post-details .post-data .post-catagory:hover { background-color: #231f1f; }

.single-blog-post-details .post-data .post-title {
  font-size: 36px; line-height: 1.5; margin-bottom: 30px; color: var(--dark);
}
@media (min-width: 768px) and (max-width: 991px) { .single-blog-post-details .post-data .post-title { font-size: 24px; } }
@media (max-width: 767px) { .single-blog-post-details .post-data .post-title { font-size: 24px; } }

.single-blog-post-details .post-data .post-author {
  margin-bottom: 0; display: block; font-size: 14px; color: #656565; font-weight: 700;
}
.single-blog-post-details .post-data .post-author a { font-size: 14px; color: #231f1f; font-weight: 700; }
.single-blog-post-details .post-data .post-date {
  font-size: 12px; text-transform: uppercase; color: #656565; display: block; margin-bottom: 0;
}
.single-blog-post-details .post-data .post-meta p { font-weight: 500; }

/* Article body content */
.single-blog-post-details .post-data .post-meta h2 { font-size: 1.5rem; color: var(--dark); margin: 30px 0 12px; line-height: 1.3; }
.single-blog-post-details .post-data .post-meta h3 { font-size: 1.2rem; color: var(--dark); margin: 22px 0 10px; }
.single-blog-post-details .post-data .post-meta p { color: var(--text); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.single-blog-post-details .post-data .post-meta ul,
.single-blog-post-details .post-data .post-meta ol { margin: 12px 0 16px 22px; }
.single-blog-post-details .post-data .post-meta li { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.single-blog-post-details .post-data .post-meta ol li { list-style: decimal; }
.single-blog-post-details .post-data .post-meta a { color: var(--primary); }
.single-blog-post-details .post-data .post-meta a:hover { color: var(--primary-dark); }
.custom-list { list-style: disc; margin-left: 22px; }
.custom-list li { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 6px; }

/* CTA buttons */
.button-container { text-align: center; margin: 24px 0; }
.chat-button, .video-button { display: inline-block; margin: 6px; }
.chat-button button {
  padding: 12px 24px; font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  color: #fff; background: #e20378; border-radius: 6px; font-family: inherit; transition: opacity .2s;
}
.video-button button {
  padding: 12px 24px; font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  color: #fff; background: #2196F3; border-radius: 6px; font-family: inherit; transition: opacity .2s;
}
.chat-button button:hover, .video-button button:hover { opacity: .85; }
.app-download { text-align: center; margin: 20px 0; }
.app-download img { display: inline-block; border-radius: 6px; }

/* Related articles — style-5 (50% thumb, side by side) */
.related-articles { margin-top: 40px; }
.related-articles h2 { font-size: 1.3rem; margin-bottom: 20px; }
.single-blog-post.style-3.style-5 .post-thumb {
  flex: 0 0 50%; min-width: 50%; width: 50%; margin-bottom: 0; margin-right: 15px;
}
.single-blog-post.style-3.style-5 .post-data { margin-bottom: 0; }
@media (max-width: 767px) {
  .single-blog-post.style-3.style-5 { flex-wrap: wrap; }
  .single-blog-post.style-3.style-5 .post-thumb { flex: 0 0 100%; min-width: 100%; width: 100%; margin-bottom: 50px; margin-right: 0; }
  .single-blog-post.style-3.style-5 .post-data { flex: 0 0 100%; min-width: 100%; }
}
/* ===== Fix legacy classy-menu wrapper ===== */
.classy-menu {
  display: contents;
}