/*
 * Wicked Scary - Gothic Horror Cinematic Theme
 * A dark, atmospheric design for horror movie reviews
 */

/* ============================================
   CUSTOM FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Bebas+Neue&display=swap');

/* ============================================
   CSS VARIABLES - HORROR PALETTE
   ============================================ */
:root {
  /* Dark atmospheric colors */
  --ws-black: #0a0a0a;
  --ws-void: #0d0d0d;
  --ws-obsidian: #141414;
  --ws-shadow: #1a1a1a;
  --ws-charcoal: #222222;

  /* Blood and accent colors */
  --ws-blood: #8b0000;
  --ws-crimson: #a51c1c;
  --ws-ember: #c42b2b;
  --ws-rust: #6b2020;

  /* Ghostly neutrals */
  --ws-bone: #e8e4de;
  --ws-ash: #9a9590;
  --ws-smoke: #6b6560;
  --ws-fog: rgba(232, 228, 222, 0.08);

  /* Typography */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-headline: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Crimson Pro', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Effects */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-dramatic: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 100px rgba(139, 0, 0, 0.1);
  --glow-blood: 0 0 30px rgba(139, 0, 0, 0.3);
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body) !important;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ws-bone) !important;
  background: var(--ws-black) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Atmospheric background texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 0, 0, 0.05) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Cinematic vignette effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 600;
  color: var(--ws-bone) !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

p {
  color: var(--ws-ash);
  margin-bottom: 1.5em;
}

a {
  color: var(--ws-crimson) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--ws-ember) !important;
  text-shadow: 0 0 20px rgba(196, 43, 43, 0.5);
}

/* ============================================
   SITE HEADER & BRANDING
   ============================================ */
.sheader,
.site-branding,
#masthead,
header#masthead {
  background: var(--ws-black) !important;
  padding: var(--space-md) 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

/* Remove any background image that might be set */
.sheader {
  background-image: none !important;
  background-color: var(--ws-black) !important;
}

.site-branding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 120%, rgba(139, 0, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.site-branding .site-title {
  font-family: var(--font-headline) !important;
  font-size: clamp(3rem, 8vw, 6rem) !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--ws-bone) !important;
  text-shadow:
    0 0 60px rgba(139, 0, 0, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.8),
    0 0 120px rgba(139, 0, 0, 0.2);
  margin: 0 !important;
  position: relative;
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% {
    text-shadow:
      0 0 60px rgba(139, 0, 0, 0.5),
      0 4px 20px rgba(0, 0, 0, 0.8),
      0 0 120px rgba(139, 0, 0, 0.2);
  }
  50% {
    text-shadow:
      0 0 80px rgba(139, 0, 0, 0.7),
      0 4px 20px rgba(0, 0, 0, 0.8),
      0 0 150px rgba(139, 0, 0, 0.4);
  }
}

/* Blood drip accent under title */
.site-branding .site-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ws-blood), transparent);
  border-radius: 2px;
}

.site-branding .site-title a {
  color: var(--ws-bone) !important;
  text-decoration: none !important;
}

.site-branding .site-title a:hover {
  color: var(--ws-crimson) !important;
}

.site-branding .site-description {
  font-family: var(--font-body) !important;
  font-size: 1.1rem !important;
  font-style: italic;
  color: var(--ws-smoke) !important;
  letter-spacing: 0.1em;
  margin-top: var(--space-sm) !important;
  text-transform: lowercase;
}

/* ============================================
   NAVIGATION
   ============================================ */
.top-nav-wrapper,
.primary-menu .pmenu,
.super-menu,
#smobile-menu {
  background: var(--ws-black) !important;
  border-bottom: 1px solid rgba(139, 0, 0, 0.2) !important;
  box-shadow: none !important;
}

.main-navigation ul li a {
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--ws-crimson) !important;
  padding: 1.2rem 1.5rem !important;
  transition: all 0.3s ease !important;
  position: relative;
}

.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ws-blood);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--ws-ember) !important;
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after {
  width: 100%;
}

/* Dropdown menus */
.primary-menu ul li ul.children,
.primary-menu ul li ul.sub-menu {
  background: var(--ws-shadow) !important;
  border: 1px solid rgba(139, 0, 0, 0.15) !important;
  box-shadow: var(--shadow-dramatic) !important;
}

.primary-menu ul li ul.children li a,
.primary-menu ul li ul.sub-menu li a {
  color: var(--ws-ash) !important;
  padding: 0.8rem 1.5rem !important;
  border-bottom: 1px solid rgba(139, 0, 0, 0.1) !important;
}

/* Mobile menu */
.logo-container .logofont,
.super-menu-inner a.logofont {
  font-family: var(--font-headline) !important;
  font-size: 1.5rem !important;
  letter-spacing: 0.15em !important;
  color: var(--ws-bone) !important;
}

/* Hide text logo when header image/logo exists */
.logofont,
a.logofont {
  display: none !important;
}

/* ============================================
   HEADER LOGO - RESPONSIVE SCALING
   ============================================ */

/*
 * Fix dual-logo bug: Theme has two logo containers
 * - .top-nav-wrapper .logo-container (desktop nav, top-left)
 * - .super-menu .super-menu-inner (mobile nav, centered)
 * Ensure only one shows at each breakpoint
 */

/* Desktop (1024px+): Only desktop logo visible (top-left) */
@media screen and (min-width: 1024px) {
  .top-nav-wrapper,
  .top-nav-wrapper .logo-container,
  .primary-menu .logo-container {
    display: block !important;
    visibility: visible !important;
  }
  /* Hide the mobile menu entirely at desktop */
  .super-menu,
  .super-menu .custom-logo-link,
  .super-menu .custom-logo {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Tablet (768px - 1023px): Mobile nav visible, logo positioned top-left */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Position mobile logo top-left instead of centered */
  .super-menu .super-menu-inner {
    text-align: left !important;
  }
  .super-menu .custom-logo-link,
  .super-menu-inner .custom-logo-link {
    display: inline-block !important;
    visibility: visible !important;
    text-align: left !important;
    float: left !important;
  }
  .super-menu .custom-logo,
  .super-menu-inner .custom-logo {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
  }
}

/* Mobile (767px and below): Top-left logo */
@media screen and (max-width: 767px) {
  /* Position mobile logo top-left */
  .super-menu .super-menu-inner {
    text-align: left !important;
  }
  .super-menu .custom-logo-link,
  .super-menu-inner .custom-logo-link {
    display: inline-block !important;
    visibility: visible !important;
    text-align: left !important;
    float: left !important;
  }
  .super-menu .custom-logo,
  .super-menu-inner .custom-logo {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
  }
}

/* Logo container base styles */
.logo-container,
.custom-logo-link {
  text-align: center !important;
}

/* Main logo image - fluid scaling with clamp() */
.custom-logo,
.custom-logo-link img,
.logo-container img {
  width: clamp(140px, 28vw, 320px) !important;
  max-width: 320px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  transition: width 0.3s ease !important;
}

/* Header banner/marquee wrapper */
.bottom-header-wrapper {
  width: 100%;
  padding: var(--space-sm) 0 !important;
  overflow: hidden;
}

.bottom-header-wrapper img {
  width: clamp(140px, 28vw, 320px) !important;
  max-width: 320px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Tablet breakpoint */
@media screen and (max-width: 1024px) {
  .custom-logo,
  .custom-logo-link img,
  .logo-container img,
  .bottom-header-wrapper img {
    width: clamp(120px, 25vw, 240px) !important;
    max-width: 240px !important;
  }
}

/* Large mobile / small tablet */
@media screen and (max-width: 768px) {
  .custom-logo,
  .custom-logo-link img,
  .logo-container img,
  .bottom-header-wrapper img {
    width: clamp(100px, 30vw, 180px) !important;
    max-width: 180px !important;
  }

  .bottom-header-wrapper {
    padding: var(--space-xs) 0 !important;
  }
}

/* Standard mobile */
@media screen and (max-width: 480px) {
  .custom-logo,
  .custom-logo-link img,
  .logo-container img,
  .bottom-header-wrapper img {
    width: clamp(90px, 35vw, 150px) !important;
    max-width: 150px !important;
  }
}

/* Small mobile */
@media screen and (max-width: 375px) {
  .custom-logo,
  .custom-logo-link img,
  .logo-container img,
  .bottom-header-wrapper img {
    width: clamp(80px, 38vw, 130px) !important;
    max-width: 130px !important;
  }
}

/* Extra small devices */
@media screen and (max-width: 320px) {
  .custom-logo,
  .custom-logo-link img,
  .logo-container img,
  .bottom-header-wrapper img {
    width: 100px !important;
    max-width: 100px !important;
  }
}

.toggle-mobile-menu:before,
.main-navigation ul li .sub-arrow {
  color: var(--ws-crimson) !important;
}

/* ============================================
   CONTENT AREA
   ============================================ */
.site-content {
  background: transparent !important;
  padding: var(--space-md) 0 !important;
}

.content-wrap {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

/* Prevent image overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent content overflow */
#page,
.site,
#content,
.site-content {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ============================================
   BLOG POSTS - CARD GRID
   ============================================ */
.all-blog-articles {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: var(--space-md);
}

article.blogposts-list,
article.fbox {
  background: linear-gradient(145deg, var(--ws-obsidian), var(--ws-void)) !important;
  border: 1px solid rgba(139, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  overflow: hidden;
  box-shadow: var(--shadow-subtle) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  flex: 1 1 350px !important;
}

article.blogposts-list:hover,
article.fbox:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(139, 0, 0, 0.4) !important;
  box-shadow: var(--shadow-dramatic) !important;
}

/* Featured image */
.featured-img-box {
  position: relative;
  min-height: 320px !important;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Gradient overlay - separate from the background image */
.featured-img-gradient {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.98) 0%,
    rgba(10, 10, 10, 0.7) 30%,
    rgba(139, 0, 0, 0.05) 60%,
    transparent 100%
  ) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  transition: all 0.5s ease !important;
}

article.blogposts-list:hover .featured-img-gradient {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.5) 30%,
    rgba(139, 0, 0, 0.12) 70%,
    transparent 100%
  ) !important;
}

/* Background zoom effect on hover */
article.blogposts-list:hover .featured-img-box {
  background-size: 110% !important;
}

.featured-thumbnail img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease !important;
  filter: saturate(0.8) contrast(1.1);
}

article.blogposts-list:hover .featured-thumbnail img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.15);
}

/* Post content wrapper */
.content-wrapper {
  padding: var(--space-md) !important;
  background: transparent !important;
}

.featured-img-box .content-wrapper {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
  padding: var(--space-md) var(--space-md) var(--space-sm) !important;
}

/* Post titles */
.content-wrapper h2.entry-title,
.content-wrapper h2.entry-title a,
.featured-img-box h2 {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: var(--ws-bone) !important;
  line-height: 1.3 !important;
  text-align: left !important;
  margin: 0 0 var(--space-xs) !important;
  transition: all 0.3s ease !important;
}

.content-wrapper h2.entry-title a:hover,
.featured-img-box h2 a:hover {
  color: var(--ws-crimson) !important;
  text-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
}

/* Post meta */
.post-data-text,
.content-wrapper .post-data-text,
.entry-meta {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  color: var(--ws-smoke) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.post-data-text *,
.content-wrapper .post-data-text * {
  color: var(--ws-smoke) !important;
}

.featured-img-box .entry-date,
.entry-date {
  color: var(--ws-crimson) !important;
  font-weight: 600 !important;
}

/* Post excerpt */
article .entry-content,
.content-wrapper p {
  font-family: var(--font-body) !important;
  color: var(--ws-ash) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Blogpost button/arrow */
.blogpost-button {
  background: var(--ws-blood) !important;
  color: var(--ws-bone) !important;
  box-shadow: var(--glow-blood) !important;
  font-size: 1.5rem !important;
  transition: all 0.3s ease !important;
}

.blogpost-button:hover {
  background: var(--ws-crimson) !important;
  transform: scale(1.1);
}

/* ============================================
   SINGLE POST & PAGE
   ============================================ */
.single h1.entry-title,
.page h1.entry-title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  color: var(--ws-bone) !important;
  text-align: center !important;
  line-height: 1.2 !important;
  margin: 0 0 0.25rem 0 !important;
  padding: 0 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Tighten spacing between title and entry-meta/posted-on */
.single .entry-meta,
.single div.entry-meta,
.page .entry-meta {
  margin: 0 auto 0.75rem auto !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.single .blog-data-wrapper,
.page .blog-data-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.single .post-data-divider,
.page .post-data-divider {
  display: none !important;
}

.single .post-data-positioning,
.page .post-data-positioning {
  margin: 0 !important;
  padding: 0 !important;
}

.single .post-data-text,
.page .post-data-text {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.single article .entry-content,
.page article .entry-content {
  color: var(--ws-ash) !important;
  max-width: 800px;
  margin: 0 auto;
}

.single article .entry-content h2,
.single article .entry-content h3 {
  color: var(--ws-bone) !important;
  margin-top: var(--space-md);
}

.single article .entry-content a {
  color: var(--ws-crimson) !important;
  text-decoration: underline;
  text-decoration-color: rgba(196, 43, 43, 0.3);
  text-underline-offset: 3px;
}

.single article .entry-content a:hover {
  text-decoration-color: var(--ws-crimson);
}

/* Featured image on single */
.single .featured-thumbnail {
  margin-bottom: var(--space-md) !important;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-dramatic);
}

.single .featured-thumbnail img {
  filter: saturate(0.9) contrast(1.05);
}

/* ============================================
   SIDEBAR
   ============================================ */
#secondary {
  background: transparent !important;
}

#secondary .swidgets-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

#secondary .widget-title {
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--ws-smoke) !important;
  padding-bottom: var(--space-xs) !important;
  margin-bottom: var(--space-sm) !important;
  border-bottom: 1px solid rgba(139, 0, 0, 0.2);
}

#secondary .widget li {
  background: var(--ws-obsidian) !important;
  border: 1px solid rgba(139, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  margin: var(--space-xs) 0 !important;
  padding: 0.8rem 1rem !important;
  transition: all 0.3s ease !important;
}

#secondary .widget li:hover {
  border-color: rgba(139, 0, 0, 0.3) !important;
  transform: translateX(5px);
}

#secondary .widget li a {
  color: var(--ws-ash) !important;
  font-family: var(--font-body) !important;
}

#secondary .widget li a:hover {
  color: var(--ws-bone) !important;
}

#secondary .tagcloud a,
#secondary .textwidget {
  background: var(--ws-obsidian) !important;
  color: var(--ws-ash) !important;
  border-radius: 4px !important;
}

#secondary input.search-field {
  background: var(--ws-obsidian) !important;
  border: 1px solid rgba(139, 0, 0, 0.2) !important;
  color: var(--ws-bone) !important;
  border-radius: 4px !important;
}

#secondary input.search-field:focus {
  border-color: var(--ws-crimson) !important;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.2) !important;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
  background: var(--ws-obsidian) !important;
  border: 1px solid rgba(139, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  padding: var(--space-md) !important;
}

.comments-area .comments-title,
#comments h3#reply-title {
  font-family: var(--font-display) !important;
  color: var(--ws-bone) !important;
}

.comments-area .comment-author .fn a {
  color: var(--ws-crimson) !important;
}

.comments-area .comment-content {
  color: var(--ws-ash) !important;
}

.comments-area ol.comment-list > li {
  border-bottom-color: rgba(139, 0, 0, 0.15) !important;
}

.comments-area .comment-respond input[type=text],
.comments-area .comment-respond input[type=email],
.comments-area .comment-respond textarea {
  background: var(--ws-shadow) !important;
  border: 1px solid rgba(139, 0, 0, 0.2) !important;
  color: var(--ws-bone) !important;
  border-radius: 4px !important;
}

.comments-area .comment-respond input:focus,
.comments-area .comment-respond textarea:focus {
  border-color: var(--ws-crimson) !important;
  outline: none;
}

.comments-area p.form-submit input {
  background: var(--ws-blood) !important;
  color: var(--ws-bone) !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  padding: 1rem 2rem !important;
  transition: all 0.3s ease !important;
}

.comments-area p.form-submit input:hover {
  background: var(--ws-crimson) !important;
  box-shadow: var(--glow-blood) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--ws-void) 0%, var(--ws-black) 100%) !important;
  border-top: 1px solid rgba(139, 0, 0, 0.2) !important;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-column-three {
  padding: var(--space-lg) var(--space-sm) !important;
}

.footer-column-three h3 {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  letter-spacing: 0.2em !important;
  color: var(--ws-bone) !important;
  text-transform: uppercase !important;
}

.footer-column-three h3::after {
  background: var(--ws-blood) !important;
  width: 50px !important;
  height: 2px !important;
}

.footer-column-three p,
.footer-column-three li,
.footer-column-three a {
  color: var(--ws-smoke) !important;
  font-family: var(--font-body) !important;
}

.footer-column-three a:hover {
  color: var(--ws-crimson) !important;
}

.footer-column-three .widget li {
  border-bottom-color: rgba(139, 0, 0, 0.1) !important;
}

.footer-column-three input.search-field {
  background: var(--ws-shadow) !important;
  border-color: rgba(139, 0, 0, 0.2) !important;
  color: var(--ws-bone) !important;
}

.site-info {
  border-top-color: rgba(139, 0, 0, 0.15) !important;
  color: var(--ws-smoke) !important;
  font-size: 0.85rem !important;
}

.site-info a {
  color: var(--ws-ash) !important;
}

.site-info a:hover {
  color: var(--ws-crimson) !important;
}

/* ============================================
   PAGINATION
   ============================================ */
.nav-links a,
.page-numbers li a {
  background: var(--ws-obsidian) !important;
  color: var(--ws-ash) !important;
  border: 1px solid rgba(139, 0, 0, 0.2) !important;
  border-radius: 4px !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.1em !important;
  transition: all 0.3s ease !important;
}

.nav-links a:hover,
.page-numbers li a:hover {
  background: var(--ws-blood) !important;
  color: var(--ws-bone) !important;
  border-color: var(--ws-blood) !important;
}

.page-numbers.current,
span.page-numbers.dots {
  background: var(--ws-blood) !important;
  color: var(--ws-bone) !important;
  opacity: 1 !important;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  background: var(--ws-blood) !important;
  color: var(--ws-bone) !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  background: var(--ws-crimson) !important;
  box-shadow: var(--glow-blood) !important;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
textarea {
  background: var(--ws-shadow) !important;
  border: 1px solid rgba(139, 0, 0, 0.2) !important;
  color: var(--ws-bone) !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
textarea:focus {
  border-color: var(--ws-crimson) !important;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.2) !important;
  outline: none !important;
}

/* ============================================
   ARCHIVE & SEARCH PAGES
   ============================================ */
.archive .page-header h1,
.search-results h1.page-title {
  font-family: var(--font-display) !important;
  color: var(--ws-bone) !important;
  text-align: center !important;
}

.error404 main#main,
.search-no-results section.fbox.no-results.not-found {
  background: var(--ws-obsidian) !important;
  border: 1px solid rgba(139, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  color: var(--ws-ash) !important;
}

.error404 h1,
.search-no-results h1 {
  color: var(--ws-bone) !important;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */
blockquote {
  background: var(--ws-obsidian) !important;
  border-left: 4px solid var(--ws-blood) !important;
  padding: var(--space-md) !important;
  margin: var(--space-md) 0 !important;
  font-style: italic;
  color: var(--ws-ash) !important;
}

blockquote p {
  margin-bottom: 0 !important;
}

/* ============================================
   TABLES
   ============================================ */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 1rem;
  border: 1px solid rgba(139, 0, 0, 0.15);
  color: var(--ws-ash);
}

th {
  background: var(--ws-obsidian);
  color: var(--ws-bone);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

tr:nth-child(even) {
  background: rgba(139, 0, 0, 0.03);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ws-void);
}

::-webkit-scrollbar-thumb {
  background: var(--ws-blood);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ws-crimson);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: var(--ws-blood);
  color: var(--ws-bone);
}

::-moz-selection {
  background: var(--ws-blood);
  color: var(--ws-bone);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 0, 0, 0.5);
  }
}

article.blogposts-list {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

article.blogposts-list:nth-child(1) { animation-delay: 0.1s; }
article.blogposts-list:nth-child(2) { animation-delay: 0.2s; }
article.blogposts-list:nth-child(3) { animation-delay: 0.3s; }
article.blogposts-list:nth-child(4) { animation-delay: 0.4s; }
article.blogposts-list:nth-child(5) { animation-delay: 0.5s; }
article.blogposts-list:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media screen and (max-width: 1023px) {
  .all-blog-articles {
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  }

  .site-branding .site-title {
    font-size: clamp(2rem, 10vw, 4rem) !important;
  }

  #smobile-menu {
    background: var(--ws-void) !important;
  }

  #smobile-menu.show .main-navigation ul li {
    border-bottom-color: rgba(139, 0, 0, 0.15) !important;
  }

  .smenu-hide.toggle-mobile-menu.menu-toggle {
    border-bottom-color: rgba(139, 0, 0, 0.15) !important;
  }
}

@media screen and (max-width: 700px) {
  .all-blog-articles {
    grid-template-columns: 1fr;
  }

  .featured-img-box {
    min-height: 220px !important;
  }

  .content-wrapper {
    padding: var(--space-sm) !important;
  }

  .site-branding {
    padding: var(--space-md) 0 !important;
  }

  .content-wrap {
    padding: 0 var(--space-sm) !important;
  }
}

/* Extra small devices */
@media screen and (max-width: 400px) {
  body {
    font-size: 16px;
  }

  .site-branding .site-title {
    font-size: clamp(1.5rem, 12vw, 2.5rem) !important;
    letter-spacing: 0.08em !important;
  }

  .featured-img-box {
    min-height: 180px !important;
  }

  .content-wrapper h2.entry-title,
  .content-wrapper h2.entry-title a {
    font-size: 1.1rem !important;
  }

  .main-navigation ul li a {
    padding: 1rem !important;
    font-size: 14px !important;
  }

  .content-wrap {
    padding: 0 var(--space-xs) !important;
  }

  .all-blog-articles {
    gap: var(--space-sm);
  }

}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  a {
    color: black !important;
  }

  .site-footer,
  .comments-area,
  #secondary {
    display: none !important;
  }
}
