/*
Theme Name: Desi Kahaniya Pro (हिंदी कहानियां थीम - White Theme)
Theme URI: https://wordpress.org/themes/desi-kahaniya-pro
Author: Desi Stories Web Team
Author URI: https://example.com
Description: High-CTR, ad-optimized White Theme WordPress theme specifically crafted for Hindi Story Portals, Desi Kahaniya, Erotica & Literature blogs. Includes 3 In-Article ad slots inside stories, Header/Sidebar/Sticky Footer ads, View More pagination, and pure white crisp reading experience.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-header, custom-menu, featured-images, footer-widgets, right-sidebar, translation-ready, theme-options, white-background
Text Domain: desi-kahaniya
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Rozha+One&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #e11d48;
  --primary-hover: #be123c;
  --accent-color: #f59e0b;
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --header-bg: #ffffff;
  --font-body: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Rozha One', 'Noto Sans Devanagari', serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-color);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Top Bar */
.site-header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.top-bar {
  background: linear-gradient(90deg, #be123c, #e11d48, #f59e0b);
  color: #ffffff;
  font-size: 13px;
  padding: 7px 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo span {
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 16px;
  align-items: center;
}

.main-nav a {
  font-weight: 700;
  font-size: 15px;
  color: #334155;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  background-color: #fff1f2;
  color: var(--primary-color);
}

/* Mobile Navbar & Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: #fff1f2;
  border-color: #fecdd3;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--primary-color);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 16px 20px 24px;
  animation: slideDown 0.25s ease-out;
}

.mobile-nav-drawer.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  display: block;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  background-color: #fff1f2;
  color: var(--primary-color);
  border-color: #fecdd3;
  padding-left: 18px;
}


/* Ad Containers (High CTR Formatting) */
.ad-container {
  text-align: center;
  margin: 20px 0;
  padding: 14px;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
}

.ad-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.header-ad-banner {
  margin: 16px auto;
  max-width: 728px;
}

.in-article-ad {
  margin: 28px 0;
  padding: 16px;
  background-color: #fdf2f4;
  border: 1px dashed #fecdd3;
  border-radius: 12px;
}

/* Main Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* Story Cards Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.story-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 24px -6px rgba(225, 29, 72, 0.12);
}

.story-card-thumb {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #f1f5f9;
  overflow: hidden;
}

.story-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .story-card-thumb img {
  transform: scale(1.05);
}

.story-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.story-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #0f172a;
}

.story-card-title a:hover {
  color: var(--primary-color);
}

.story-card-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-view-more:hover {
  background-color: var(--primary-hover);
  transform: translateX(2px);
}

/* Single Story / Post View (White Canvas) */
.single-story-article {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.single-story-title {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 18px;
}

.single-story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

.reader-controls-bar {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.story-content-body {
  font-size: 19px;
  line-height: 1.9;
  color: #1e293b;
}

.story-content-body p {
  margin-bottom: 22px;
  text-align: justify;
  text-indent: 1.5em;
}

/* Story Hyperlinks - Auto Bold Red Styling */
.story-content-body a,
.single-story-article a:not(.btn-view-more):not(.btn-share-whatsapp):not(.btn-share-telegram):not(.story-card-title a),
article .story-content-body a {
  color: #e11d48 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-decoration-color: #e11d48 !important;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.story-content-body a:hover,
.single-story-article a:not(.btn-view-more):not(.btn-share-whatsapp):not(.btn-share-telegram):hover {
  color: #be123c !important;
  text-decoration-color: #be123c !important;
  background-color: #fff1f2;
  border-radius: 4px;
  padding: 0 4px;
}


/* Social Share Bar */
.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn-share-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-share-telegram {
  background-color: #0088cc;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.25);
}

/* Sidebar Widgets (White Card Style) */
.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.widget-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sticky Bottom Ad (White & High Contrast) */
.sticky-footer-ad-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 2px solid var(--primary-color);
  padding: 8px 12px;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-footer-ad-close {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Numbered Pagination (As requested: [ 1 ][ 2 ][ ... ][ 127 ][ Next » ]) */
.pagination-wrapper, .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 36px 0 20px;
  width: 100%;
}

.pagination .nav-links, .wp-pagenavi, .desi-pagination {
  display: inline-flex;
  align-items: stretch;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pagination .page-numbers, .wp-pagenavi a, .wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  min-width: 44px;
  height: 42px;
  font-size: 15px;
  font-weight: 700;
  color: #0284c7;
  background-color: #ffffff;
  border-right: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1;
}

.pagination .page-numbers:last-child, .wp-pagenavi a:last-child, .wp-pagenavi span:last-child {
  border-right: none;
}

/* Active current page block matching user's reference image */
.pagination .page-numbers.current, .wp-pagenavi span.current {
  background-color: #85370e !important; /* Deep rich brown block */
  color: #ffffff !important;
  font-weight: 800;
}

/* Dots separator */
.pagination .page-numbers.dots, .wp-pagenavi span.dots {
  background-color: #85370e !important;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 2px;
}

.pagination .page-numbers:hover:not(.current):not(.dots),
.wp-pagenavi a:hover {
  background-color: #f8fafc;
  color: #0369a1;
}

.pagination .page-numbers.prev, .pagination .page-numbers.next {
  color: #0284c7;
  font-weight: 700;
}

/* Tags Section & Tag Cloud (Right Sidebar & Single Post) */
.sidebar-tags-cloud, .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tags-cloud a, .tagcloud a, .story-tags a {
  display: inline-flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-tags-cloud a:hover, .tagcloud a:hover, .story-tags a:hover {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  border-color: #e11d48 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

/* Responsive & Mobile Navbar */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .site-header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* =========================================================
   ADS + HOME GRID + SIDEBAR + COMMENTS + RESPONSIVE FIXES
   ========================================================= */

/* Home page ads inserted after every 4th story */
.stories-grid > .home-story-ad {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 4px 0;
}

.stories-grid > .home-story-ad .ad-container {
  width: 100%;
  max-width: 100%;
}

/* Keep ad network creatives responsive */
.ad-container iframe,
.ad-container img,
.ad-container video,
.ad-container canvas,
.ad-container ins {
  max-width: 100% !important;
}

.ad-container iframe {
  border: 0;
}

.ad-container > * {
  max-width: 100%;
}

/* Sidebar ads */
.site-sidebar .ad-container {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
}

.site-sidebar .sidebar-ad,
.site-sidebar .sidebar-sticky-ad {
  min-width: 0;
  overflow: hidden;
}

.site-sidebar .ad-container iframe,
.site-sidebar .ad-container img,
.site-sidebar .ad-container ins {
  max-width: 100% !important;
}

/* Long story content must never create horizontal scrolling */
.story-content-body,
.story-content-body p,
.story-content-body img,
.story-content-body iframe,
.story-content-body video,
.story-content-body table,
.single-story-article {
  max-width: 100%;
}

.story-content-body {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.story-content-body img,
.story-content-body video {
  height: auto;
}

.story-content-body iframe {
  width: 100%;
}

/* Tables inside stories stay usable on small screens */
.story-content-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

/* WordPress comments */
#comments,
.comments-area {
  width: 100%;
  max-width: 100%;
  margin-top: 32px;
}

.comments-title {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-main);
}

.comment-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.comment-list .comment {
  margin: 0 0 18px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.comment-list .children {
  list-style: none;
  margin: 16px 0 0;
  padding-left: 24px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.comment-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 800;
  color: var(--text-main);
}

.comment-metadata {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.comment-content {
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.comment-content p {
  margin-bottom: 10px;
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  display: inline-flex;
  padding: 6px 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 7px;
  color: var(--primary-color) !important;
  font-size: 13px;
  font-weight: 800;
}

.comment-form {
  margin-top: 24px;
}

.comment-form p {
  margin-bottom: 14px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: var(--text-main);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.10);
}

.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  padding: 10px 18px;
  background: var(--primary-color);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.comment-form .submit:hover {
  background: var(--primary-hover);
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
  font-size: 13px;
  color: var(--text-muted);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment-form-cookies-consent input {
  margin-top: 4px;
  flex: 0 0 auto;
}

/* Story meta/share controls */
.single-story-meta span {
  overflow-wrap: anywhere;
}

.social-share-buttons a {
  max-width: 100%;
}

/* Pagination should wrap instead of causing horizontal overflow */
.pagination {
  overflow-x: auto;
  padding-bottom: 4px;
}

.pagination .nav-links {
  max-width: 100%;
}

/* Sticky footer ad should respect mobile safe space */
.sticky-footer-ad-bar {
  max-width: 100vw;
  overflow: hidden;
}

.sticky-footer-ad-bar .ad-container {
  margin: 0 auto;
  border: 0;
  background: transparent;
}

/* =========================
   Tablet
   ========================= */
@media (max-width: 1100px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
  }

  .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .story-card-thumb {
    height: 180px;
  }
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 900px) {
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 16px;
  }

  .content-area {
    width: 100%;
    min-width: 0;
  }

  .site-sidebar {
    width: 100%;
    min-width: 0;
  }

  .site-header .header-inner {
    padding: 10px 0;
  }

  .site-logo {
    font-size: 23px;
    min-width: 0;
  }

  .mobile-nav-drawer {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-card-thumb {
    height: 210px;
  }

  .story-card-body {
    padding: 16px;
  }

  .story-card-title {
    font-size: 19px;
  }

  .story-card-footer {
    gap: 10px;
    align-items: flex-start;
  }

  .story-card-footer .btn-view-more {
    flex-shrink: 0;
  }

  /* Home ad becomes a normal full-width block on mobile */
  .stories-grid > .home-story-ad {
    grid-column: 1 / -1;
  }

  .home-story-ad .ad-container {
    margin: 18px 0;
    padding: 10px;
  }

  /* Single story */
  .single-story-article {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .single-story-title {
    font-size: 27px;
    line-height: 1.4;
  }

  .single-story-meta {
    gap: 9px 14px;
    font-size: 13px;
  }

  .story-content-body {
    font-size: 17px;
    line-height: 1.85;
  }

  .story-content-body p {
    margin-bottom: 20px;
    text-align: left;
    text-indent: 0;
  }

  .in-article-ad {
    margin: 22px 0;
    padding: 10px;
  }

  .social-share-buttons {
    flex-direction: column;
    gap: 9px;
  }

  .social-share-buttons a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Sidebar */
  .sidebar-widget {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .site-sidebar .ad-container {
    margin-bottom: 18px;
  }

  /* Comments */
  .comment-list .children {
    padding-left: 12px;
  }

  .comment-list .comment {
    padding: 14px;
  }

  /* Pagination */
  .pagination .nav-links,
  .wp-pagenavi,
  .desi-pagination {
    max-width: 100%;
    overflow-x: auto;
  }

  .pagination .page-numbers,
  .wp-pagenavi a,
  .wp-pagenavi span {
    min-width: 40px;
    height: 40px;
    padding: 7px 12px;
    font-size: 14px;
  }

  .sticky-footer-ad-bar {
    padding: 6px 8px;
  }

  .sticky-footer-ad-close {
    right: 8px;
  }
}

/* =========================
   Small phones
   ========================= */
@media (max-width: 480px) {
  .top-bar {
    font-size: 11px;
    padding: 6px 8px;
  }

  .site-logo {
    font-size: 21px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .section-header h2 {
    font-size: 20px !important;
  }

  .story-card-thumb {
    height: 190px;
  }

  .story-card-footer {
    flex-direction: column;
  }

  .story-card-footer .btn-view-more {
    width: 100%;
    justify-content: center;
  }

  .single-story-title {
    font-size: 24px;
  }

  .single-story-article {
    padding: 16px 12px;
  }

  .story-content-body {
    font-size: 16px;
  }

  .ad-container {
    padding: 8px;
    border-radius: 9px;
  }

  .ad-label {
    font-size: 9px;
    margin-bottom: 5px;
  }

  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    font-size: 16px;
  }
}
