/*
Theme Name: The Scoop
Author: Gemini Canvas
Description: A modern, high-contrast celebrity gossip theme.
Version: 1.0
Tags: blog, news, entertainment, modern, two-columns
*/

/* ================================
   Base
================================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

h1, h2, h3, h4, h5, .serif {
  font-family: 'Playfair Display', serif;
}

.text-accent { color: #db2777; }
.bg-accent { background-color: #db2777; }

.bg-gradient-brand {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth Image Zoom */
.hover-zoom-img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group:hover .hover-zoom-img {
  transform: scale(1.08);
}

/* ================================
   Breaking Ticker (not used now, but safe)
================================== */
.breaking-ticker {
  animation: ticker 35s linear infinite;
  will-change: transform;
}
.breaking-ticker:hover { animation-play-state: paused; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Underline Animation */
.link-underline {
  background-image: linear-gradient(#db2777, #db2777);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s;
}
.group:hover .link-underline { background-size: 100% 2px; }

/* Outlined Number Text */
.text-outline {
  -webkit-text-stroke: 1px #e5e7eb;
  color: transparent;
  font-family: 'Playfair Display', serif;
}
.group:hover .text-outline {
  -webkit-text-stroke: 1px #db2777;
  color: rgba(219, 39, 119, 0.1);
  transition: all 0.3s ease;
}

/* ================================
   Premium Sidebar Widgets
================================== */
.widget-card { position: relative; }

.widget-card a {
  color: #111827;
  text-decoration: none;
}
.widget-card a:hover { color: #db2777; }

.widget-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
}
.widget-card li:first-child { border-top: 0; padding-top: 0; }
.widget-card li:last-child { padding-bottom: 0; }

.widget-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #db2777;
  opacity: 0.6;
  flex: 0 0 auto;
  margin-right: 10px;
}

.widget-card li > a { flex: 1 1 auto; }

/* Search widget styling */
.widget-card .search-form { display: flex; gap: 10px; }

.widget-card .search-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
}
.widget-card .search-field:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

.widget-card .search-submit {
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.widget-card .search-submit:hover { filter: brightness(0.95); }

/* Tag Cloud */
.widget-card .tagcloud a {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 8px 10px;
  font-size: 12px !important;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}
.widget-card .tagcloud a:hover {
  border-color: #db2777;
  background: rgba(219, 39, 119, 0.06);
}

/* Calendar widget */
.widget-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.widget-card caption {
  text-align: left;
  font-weight: 800;
  margin-bottom: 10px;
}
.widget-card th,
.widget-card td {
  padding: 8px;
  border: 1px solid #f3f4f6;
  text-align: center;
}

/* ================================
   SINGLE POST BEAUTIFY (CelebWikipedia)
================================== */
.ds-prose {
  font-size: 18px;
  line-height: 1.9;
  color: #111827;
}

.ds-prose h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: 'Playfair Display', serif;
}

.ds-prose h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}

.ds-prose p {
  margin: 14px 0;
  color: #374151;
  font-weight: 300;
}

.ds-prose a {
  color: #db2777;
  text-decoration: none;
  border-bottom: 2px solid rgba(219, 39, 119, 0.25);
}
.ds-prose a:hover { border-bottom-color: rgba(219, 39, 119, 0.75); }

.ds-prose img {
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  margin: 18px 0;
}

/* Tables like clean profile */
.ds-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}
.ds-prose table th,
.ds-prose table td {
  border-top: 1px solid #f3f4f6;
  padding: 12px 12px;
  text-align: left;
  vertical-align: top;
}
.ds-prose table tr:first-child th,
.ds-prose table tr:first-child td { border-top: 0; }

.ds-prose table th {
  width: 34%;
  color: #6b7280;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

/* Quote style */
.ds-prose blockquote {
  border-left: 4px solid #db2777;
  background: rgba(219, 39, 119, 0.06);
  padding: 14px 16px;
  margin: 18px 0;
  color: #111827;
}

/* ================================
   Premium Dynamic Header
================================== */
.ds-header {
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.ds-header.is-small { box-shadow: 0 12px 30px rgba(0,0,0,.06); }

/* Logo */
.ds-logo { color: #111827; }
.ds-logo-accent {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon button */
.ds-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #f3f4f6;
  background: rgba(255,255,255,0.8);
  transition: all .2s ease;
  color: #111827;
}
.ds-icon-btn:hover {
  border-color: rgba(219, 39, 119, 0.25);
  background: rgba(219, 39, 119, 0.06);
  color: #db2777;
  transform: translateY(-1px);
}

/* CTA */
.ds-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  transition: filter .2s ease, transform .2s ease;
}
.ds-cta-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

/* ================================
   Primary Menu (if used anywhere)
================================== */
.ds-menu-area{
  position: relative;
  z-index: 60;
  overflow: visible;
}

.ds-menu{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
  overflow: visible;
}
.ds-menu > li{ position: relative; overflow: visible; }

.ds-menu > li > a{
  display:inline-block;
  padding:10px 2px;
  font-weight:900;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#111827;
  position:relative;
  transition:color .2s ease;
}
.ds-menu > li > a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:6px;
  width:0%;
  height:2px;
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  transition:width .25s ease;
  border-radius:999px;
}
.ds-menu > li:hover > a{ color:#db2777; }
.ds-menu > li:hover > a::after{ width:100%; }

.ds-menu .sub-menu{
  display:none;
  position:absolute;
  left:0;
  top:100%;
  margin-top:12px;
  min-width:240px;
  background:#fff;
  border:1px solid #f3f4f6;
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  border-radius:14px;
  padding:10px;
  list-style:none;
  z-index:99999;
}
.ds-menu > li:hover > .sub-menu{ display:block; }

.ds-menu .sub-menu li a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  color:#111827;
  text-transform:none;
}
.ds-menu .sub-menu li a:hover{
  background:rgba(219,39,119,.08);
  color:#db2777;
}

/* Mobile menu */
.ds-mobile-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.ds-mobile-menu li a{
  display:block;
  padding:14px 12px;
  border:1px solid #f3f4f6;
  border-radius:12px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#111827;
}
.ds-mobile-menu li a:hover{
  border-color: rgba(219,39,119,.35);
  background: rgba(219,39,119,.06);
  color:#db2777;
}
.ds-mobile-menu .sub-menu{
  list-style:none;
  margin:6px 0 0 14px;
  padding:0;
  display:grid;
  gap:8px;
}

/* ================================
   Search overlay
================================== */
.ds-search {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.ds-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.ds-search-panel {
  position: relative;
  max-width: 720px;
  margin: 90px auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}
.ds-search .search-form { display: flex; gap: 10px; }
.ds-search .search-field {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
}
.ds-search .search-field:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
  outline: none;
}
.ds-search .search-submit {
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ds-search .search-submit:hover { filter: brightness(0.95); }

/* ================================
   Footer Menu
================================== */
.ds-footer-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.ds-footer-menu li a{
  color:#9ca3af;
  font-size:12px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  text-decoration:none;
  transition:color .2s ease;
}
.ds-footer-menu li a:hover{ color:#fff; }

/* ================================
   CLEAN PREMIUM PAGINATION (Second image style)
   Works with: plain paginate_links OR type=list
================================== */
.ds-pagination,
.nav-links{
  margin-top: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* when paginate_links uses type => list */
.ds-pagination ul,
.nav-links ul{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
}

/* all items */
.ds-pagination a,
.ds-pagination span,
.nav-links a,
.nav-links span,
.page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width: 44px;
  height: 44px;
  padding: 0 16px;

  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background:#fff;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;

  color:#111827;
  text-decoration:none;

  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

/* hover */
.ds-pagination a:hover,
.nav-links a:hover,
a.page-numbers:hover{
  background: rgba(219,39,119,.08);
  border-color: rgba(219,39,119,.35);
  color:#db2777;
  transform: translateY(-1px);
}

/* current page */
.ds-pagination .current,
.nav-links .current,
.page-numbers.current{
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  border: none;
  color:#fff;
  box-shadow: 0 10px 22px rgba(219,39,119,.32);
}

/* dots */
.ds-pagination .dots,
.nav-links .dots,
.page-numbers.dots{
  border-color: transparent;
  background: transparent;
  color:#6b7280;
  padding: 0 10px;
  min-width: auto;
}

/* prev/next */
.ds-pagination .prev,
.ds-pagination .next,
.nav-links .prev,
.nav-links .next,
.page-numbers.prev,
.page-numbers.next{
  padding: 0 22px;
  min-width: auto;
}

/* arrow look */
.ds-pagination .next::after,
.nav-links .next::after,
.page-numbers.next::after{
  content:"→";
  font-weight: 900;
  margin-left: 8px;
}
.ds-pagination .prev::before,
.nav-links .prev::before,
.page-numbers.prev::before{
  content:"←";
  font-weight: 900;
  margin-right: 8px;
}

/* ================================
   Secondary Menu Bar (FULLY FIXED)
   - hover gap fixed
   - dropdown not behind hero/images
   - desktop overlay works
   - mobile scroll works
================================== */
.ds-secondary-nav{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);

  position: relative;
  z-index: 999999;
  overflow: visible !important;
}

.ds-secondary-scroll{
  position: relative;
  z-index: 999999;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  padding-bottom: 6px;
}
.ds-secondary-scroll::-webkit-scrollbar{ height:0; }

/* Desktop: remove scroll so submenu can overflow */
@media (min-width: 1024px){
  .ds-secondary-scroll{
    overflow: visible !important;
  }
}

.ds-menu-area{
  position: relative;
  z-index: 999999;
  overflow: visible !important;
}

.ds-secondary-menu{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
  white-space:nowrap;

  margin:0;
  padding: 6px 0;
  list-style:none;

  position: relative;
  z-index: 999999;
  overflow: visible !important;
}

.ds-secondary-menu > li{
  position:relative;
  overflow: visible !important;
}

/* Links */
.ds-secondary-menu > li > a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color:#111827;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ds-secondary-menu > li:hover > a{
  background: rgba(219,39,119,.08);
  color:#db2777;
  transform: translateY(-1px);
}
.ds-secondary-menu > li.current-menu-item > a,
.ds-secondary-menu > li.current-menu-ancestor > a{
  background: linear-gradient(135deg, rgba(219,39,119,.16) 0%, rgba(147,51,234,.14) 100%);
  color:#db2777;
}

/* Arrow */
.ds-secondary-menu > li.menu-item-has-children > a::after{
  content:"";
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid currentColor;
  opacity:.7;
  transform: translateY(1px);
}

/* Dropdown */
.ds-secondary-menu .sub-menu{
  opacity:0;
  visibility:hidden;
  pointer-events:none;

  position:absolute;
  left:0;
  top: calc(100% + 8px);

  min-width: 240px;
  padding: 10px;
  margin:0;

  list-style:none;
  background:#111827;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.30);

  z-index: 9999999;
  overflow: visible;

  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Hover bridge (gap fix) */
.ds-secondary-menu .sub-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-8px;
  height:8px;
}

/* Show */
.ds-secondary-menu > li:hover > .sub-menu,
.ds-secondary-menu > li:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateY(0);
}

/* Items */
.ds-secondary-menu .sub-menu li{ margin:0; padding:0; }

.ds-secondary-menu .sub-menu li a{
  display:block;
  padding: 12px 14px;
  border-radius: 10px;

  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;

  color:#fff;
  text-decoration:none;
  text-transform:none;
  letter-spacing:.02em;

  transition: background .15s ease, color .15s ease;
}

/* divider */
.ds-secondary-menu .sub-menu li + li a{
  border-top: 1px solid rgba(255,255,255,.10);
}
.ds-secondary-menu .sub-menu li a:hover{
  background: rgba(219,39,119,.20);
  color:#fff;
}

/* Prevent clipping */
.ds-secondary-nav .container,
.ds-menu-area{
  overflow: visible !important;
}

/* Safety: keep content below nav stack */
main, section{
  position: relative;
  z-index: 1;
}

/* =========================================
   MODERN SEARCH BAR (Header + Sidebar)
========================================= */

/* Common search form */
.search-form{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
}

/* Input field */
.search-form .search-field{
  flex:1;
  height:48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;

  font-size: 15px;
  font-weight: 500;
  color:#111827;

  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.search-form .search-field::placeholder{
  color:#9ca3af;
  font-weight:500;
}

/* Focus effect */
.search-form .search-field:focus{
  outline:none;
  border-color:#db2777;
  box-shadow: 0 0 0 4px rgba(219,39,119,.15);
  background:#fff;
}

/* Search button */
.search-form .search-submit{
  height:48px;
  padding: 0 22px;
  border-radius: 999px;
  border:0;

  display:inline-flex;
  align-items:center;
  gap:8px;

  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  color:#fff;

  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;

  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.search-form .search-submit:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(219,39,119,.35);
}

/* =========================================
   HEADER SEARCH OVERLAY (Extra Premium)
========================================= */

.ds-search-panel{
  border-radius: 20px;
  padding: 26px;
}

.ds-search .search-form{
  gap:14px;
}

.ds-search .search-field{
  height:54px;
  font-size:16px;
}

/* =========================================
   SIDEBAR SEARCH (Compact but premium)
========================================= */

.widget-card .search-form{
  gap:10px;
}

.widget-card .search-field{
  height:46px;
  font-size:14px;
}

.widget-card .search-submit{
  padding: 0 18px;
  font-size:11px;
}

/* =========================================
   Optional: icon-only button on mobile
========================================= */
@media (max-width:640px){
  .search-form .search-submit{
    padding: 0 16px;
  }
}

/* =========================================
   Modern Premium Tables (Profile Style)
========================================= */

.ds-prose table{
  width:100%;
  border-collapse: separate;   /* IMPORTANT */
  border-spacing: 0;
  margin: 18px 0;

  background:#fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

/* cells */
.ds-prose table th,
.ds-prose table td{
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid #f3f4f6;
  vertical-align: top;
}

/* first row no top border */
.ds-prose table tr:first-child th,
.ds-prose table tr:first-child td{
  border-top: 0;
}

/* label column (left) */
.ds-prose table th{
  width: 34%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:#6b7280;

  background: linear-gradient(135deg, rgba(219,39,119,.06) 0%, rgba(147,51,234,.05) 100%);
}

/* value column (right) */
.ds-prose table td{
  font-size: 15px;
  color:#111827;
  font-weight: 500;
}

/* zebra rows for readability */
.ds-prose table tr:nth-child(even) td{
  background: #fcfcfd;
}

/* hover highlight */
.ds-prose table tr:hover td{
  background: rgba(219,39,119,.06);
}

/* make strong look better */
.ds-prose table td strong{
  color:#111827;
  font-weight: 900;
}

/* remove harsh vertical line (your screenshot had strong middle border) */
.ds-prose table td,
.ds-prose table th{
  border-right: 0 !important;
}

/* =========================================
   Mobile Responsive: stacked table
========================================= */
@media (max-width: 768px){
  .ds-prose table,
  .ds-prose tbody,
  .ds-prose tr,
  .ds-prose th,
  .ds-prose td{
    display:block;
    width:100%;
  }

  .ds-prose table{
    border-radius: 14px;
  }

  .ds-prose table tr{
    border-top: 1px solid #f3f4f6;
  }

  .ds-prose table tr:first-child{
    border-top: 0;
  }

  .ds-prose table th{
    width:100%;
    border-top: 0;
    border-radius: 0;
    padding-bottom: 10px;
  }

  .ds-prose table td{
    border-top: 0;
    padding-top: 0;
    padding-bottom: 16px;
  }
}

/* If a row has a TH but empty TD -> treat as section heading */
.ds-prose table tr th:only-child{
  width:100%;
}
