/**
 * Nowa WordPress Theme - Core Design System Stylesheet
 * Architecture based on Erikse Design System Blueprint
 *
 * @author  Aziz Akça
 * @version 1.0.0
 */

/* -------------------------------------------------------------
 * 1. CSS Custom Properties / Design Tokens
 * ------------------------------------------------------------- */
:root {
  /* Brand & Accent Colors */
  --ei-primary: #e93d3d;
  --ei-primary-hover: #f42e2e;
  --ei-primary-light: #fdecec;

  /* Text & Typography Colors */
  --ei-black: #2a3141;
  --ei-desc: #505c75;
  --ei-meta: #99a0ae;

  /* Surfaces & Backgrounds */
  --ei-bg: #fefefe;
  --ei-white: #ffffff;
  --ei-section: #f9f9f9;
  --ei-border: #ebedf0;

  /* Category Specific Accent Colors */
  --ei-cat-aplikasi: #7c3aed;
  --ei-cat-sosial: #ec4899;
  --ei-cat-website: #3b82f6;
  --ei-cat-internet: #06b6d4;
  --ei-cat-info: #f59e0b;
  --ei-cat-default: #e93d3d;

  /* Sizing & Border Radii */
  --ei-radius-sm: 12px;
  --ei-radius-md: 16px;
  --ei-radius-lg: 20px;
  --ei-radius-xl: 25px;
  --ei-radius-full: 9999px;

  /* Shadows */
  --ei-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --ei-box-shadow: 0 3px 20px rgba(132, 132, 133, 0.15);
  --ei-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);

  /* Navbar Dimensions & Glass */
  --ei-navbar-height: 76px;
  --ei-navbar-height-scrolled: 64px;
  --ei-navbar-bg-scrolled: rgba(254, 254, 254, 0.88);
  --ei-bottom-tab-height: 64px;

  /* Animation Timings */
  --ei-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ei-transition: 0.3s var(--ei-ease);
}

/* -------------------------------------------------------------
 * 2. Dark Mode Override Tokens
 * ------------------------------------------------------------- */
html[data-applied-mode="dark"],
[data-theme="dark"] {
  --ei-primary: #e93d3d;
  --ei-primary-hover: #f42e2e;
  --ei-primary-light: #293345;

  --ei-black: #ffffff;
  --ei-desc: #99a0ae;
  --ei-meta: #6c7585;

  --ei-bg: #151c28;
  --ei-white: #232a39;
  --ei-section: #1b2230;
  --ei-border: #293345;

  --ei-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --ei-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
  --ei-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.4);

  --ei-navbar-bg-scrolled: rgba(21, 28, 40, 0.88);
}

/* -------------------------------------------------------------
 * 3. Reset & Base Typography
 * ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ei-bg);
  color: var(--ei-desc);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--ei-transition), color var(--ei-transition);
}

/* Atmospheric Ambient Dual-Glow Background Layer (Erikse Spec Section 3) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(50% 50% at 50% 50%, rgba(131, 255, 209, 0.15) 0%, rgba(255, 255, 255, 0) 100%), 
    radial-gradient(50% 50% at 50% 50%, rgba(255, 172, 131, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  background-position: -40vw -300px, 40vw -300px;
  background-repeat: no-repeat;
  transition: background var(--ei-transition);
}

/* Dark Mode Ambient Glow */
html[data-applied-mode="dark"] body::before,
[data-theme="dark"] body::before {
  background: 
    radial-gradient(50% 50% at 50% 50%, rgba(55, 126, 100, 0.15) 0%, rgba(21, 28, 40, 0) 100%), 
    radial-gradient(50% 50% at 50% 50%, rgba(181, 99, 58, 0.15) 0%, rgba(21, 28, 40, 0) 100%);
  background-position: -40vw -300px, 40vw -300px;
}

body.has-bottom-nav {
  padding-bottom: calc(var(--ei-bottom-tab-height) + 24px + env(safe-area-inset-bottom));
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--ei-black);
  font-weight: 700;
  line-height: 1.25;
  transition: color var(--ei-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link:focus {
  background-color: var(--ei-primary);
  border-radius: var(--ei-radius-md);
  color: #fff;
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 20px;
  top: 20px;
  padding: 12px 24px;
  text-decoration: none;
  width: auto;
  z-index: 999999;
}

/* Container */
.nowa-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* -------------------------------------------------------------
 * 4. Reading Progress Bar
 * ------------------------------------------------------------- */
.nowa-reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ei-primary) 0%, #ff7b7b 100%);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* -------------------------------------------------------------
 * 5. Sticky Dynamic Top Navbar
 * Specification: Fixed & transparent at top, frosted glass on scroll.
 * ------------------------------------------------------------- */
.nowa-navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ei-navbar-height);
  z-index: 10000;
  background: transparent;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: 
    background var(--ei-transition), 
    border-color var(--ei-transition), 
    box-shadow var(--ei-transition), 
    height var(--ei-transition);
}

/* Scrolled state triggered by JavaScript when scrollY > 20 */
.nowa-navbar-header.is-scrolled {
  height: var(--ei-navbar-height-scrolled);
  background: var(--ei-navbar-bg-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--ei-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .nowa-navbar-header.is-scrolled {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}

.nowa-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Logo */
.nowa-navbar-brand {
  display: flex;
  align-items: center;
}

.nowa-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ei-black);
  letter-spacing: -0.02em;
}

.nowa-brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ei-ease);
}
.nowa-brand-link:hover .nowa-brand-emblem {
  transform: rotate(-8deg) scale(1.06);
}

.nowa-brand-dot {
  color: var(--ei-primary);
}

/* Primary Navigation Menu */
.nowa-navbar-nav {
  display: none;
}

@media (min-width: 992px) {
  .nowa-navbar-nav {
    display: block;
  }
}

.nowa-menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nowa-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ei-desc);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nowa-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
  transition: width 0.25s var(--ei-ease);
}

.nowa-nav-link:hover,
.menu-item.current-menu-item > .nowa-nav-link {
  color: var(--ei-primary);
}

.nowa-nav-link:hover::after,
.menu-item.current-menu-item > .nowa-nav-link::after {
  width: 100%;
}

/* Right Actions Group */
.nowa-navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nowa-action-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--ei-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ei-black);
  cursor: pointer;
  background: rgba(150, 150, 150, 0.08);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nowa-action-btn:hover {
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  border-color: rgba(233, 61, 61, 0.2);
  transform: translateY(-2px);
}

/* Dark / Light Toggle Icons */
.nowa-icon-sun {
  display: none;
}
.nowa-icon-moon {
  display: block;
}

[data-theme="dark"] .nowa-icon-sun {
  display: block;
}
[data-theme="dark"] .nowa-icon-moon {
  display: none;
}

/* Pill CTA Button (Spec 6.A) */
.nowa-btn-pill-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--ei-radius-full);
  background: var(--ei-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(233, 61, 61, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 768px) {
  .nowa-btn-pill-cta {
    display: inline-flex;
  }
}

.nowa-btn-pill-cta:hover {
  background: var(--ei-primary-hover);
  box-shadow: 0 6px 20px rgba(233, 61, 61, 0.4);
  transform: translateY(-2px);
}

/* Hamburger Toggle for Mobile */
.nowa-hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

@media (min-width: 992px) {
  .nowa-hamburger-btn {
    display: none;
  }
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Navigation Drawer */
.nowa-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 20000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.nowa-mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nowa-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nowa-mobile-drawer.is-open .nowa-drawer-backdrop {
  opacity: 1;
}

.nowa-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--ei-white);
  padding: 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s var(--ei-ease);
  display: flex;
  flex-direction: column;
}

.nowa-mobile-drawer.is-open .nowa-drawer-panel {
  transform: translateX(0);
}

.nowa-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.nowa-mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nowa-mobile-menu-list a {
  font-size: 17px;
  font-weight: 600;
  color: var(--ei-black);
  display: block;
  padding: 8px 0;
}

.nowa-mobile-menu-list a:hover {
  color: var(--ei-primary);
}

/* -------------------------------------------------------------
 * 6. Bottom Floating Tab Bar (Dock)
 * Requirement: "alt tab bar olsun"
 * ------------------------------------------------------------- */
.nowa-bottom-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--ei-bottom-tab-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 9990;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--ei-border);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  transition: background var(--ei-transition), border-color var(--ei-transition);
}

[data-theme="dark"] .nowa-bottom-tab-bar {
  background: rgba(35, 42, 57, 0.92);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
}

.nowa-tab-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 12px;
}

.nowa-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  color: var(--ei-desc);
  font-size: 11px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  border-radius: var(--ei-radius-md);
  transition: color 0.2s ease, transform 0.2s var(--ei-ease);
}

.nowa-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ei-ease);
}

.nowa-tab-item:hover,
.nowa-tab-item.is-active {
  color: var(--ei-primary);
}

.nowa-tab-item:hover .nowa-tab-icon,
.nowa-tab-item.is-active .nowa-tab-icon {
  transform: translateY(-2px) scale(1.08);
}

.nowa-tab-indicator {
  position: absolute;
  bottom: 0px;
  width: 4px;
  height: 4px;
  background-color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
}

/* Tab Bar Dark Toggle Icons */
.nowa-tab-icon-sun {
  display: none;
}
.nowa-tab-icon-moon {
  display: block;
}
[data-theme="dark"] .nowa-tab-icon-sun {
  display: block;
}
[data-theme="dark"] .nowa-tab-icon-moon {
  display: none;
}

/* Visibility Modes for Bottom Tab Bar */
body.bottom-nav--mobile_only .nowa-bottom-tab-bar {
  display: flex;
}
@media (min-width: 1024px) {
  body.bottom-nav--mobile_only .nowa-bottom-tab-bar {
    display: none;
  }
  body.bottom-nav--mobile_only {
    padding-bottom: 0;
  }
}

/* When set to 'always' in customizer, it displays as a floating glass dock on desktop */
@media (min-width: 1024px) {
  body.bottom-nav--always .nowa-bottom-tab-bar {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
    width: auto;
    border-radius: var(--ei-radius-full);
    border: 1px solid var(--ei-border);
    padding: 8px 16px;
    height: auto;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  }
  body.bottom-nav--always .nowa-tab-bar-container {
    gap: 16px;
    padding: 0;
  }
}

/* -------------------------------------------------------------
 * 7. Live Spotlight Search Modal (Ctrl + K)
 * ------------------------------------------------------------- */
.nowa-search-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

.nowa-search-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.nowa-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nowa-search-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--ei-white);
  border-radius: var(--ei-radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ei-border);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.3s var(--ei-ease);
}

.nowa-search-modal.is-open .nowa-search-dialog {
  transform: translateY(0) scale(1);
}

.nowa-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ei-border);
}

.nowa-search-input-icon {
  color: var(--ei-primary);
  display: flex;
}

.nowa-search-field {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: var(--ei-black);
}

.nowa-search-field::placeholder {
  color: var(--ei-meta);
}

.nowa-search-clear {
  color: var(--ei-meta);
  cursor: pointer;
  display: none;
}
.nowa-search-clear.is-visible {
  display: flex;
}

.nowa-kbd {
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-family: monospace;
  color: var(--ei-meta);
}

.nowa-search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 16px 24px;
}

.nowa-search-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--ei-meta);
}

.nowa-search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--ei-radius-md);
  margin-bottom: 8px;
  background: var(--ei-section);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nowa-search-result-item:hover,
.nowa-search-result-item.is-selected {
  background: var(--ei-primary-light);
  border-color: rgba(233, 61, 61, 0.2);
  transform: translateX(4px);
}

.nowa-search-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--ei-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.nowa-search-item-info {
  flex: 1;
  min-width: 0;
}

.nowa-search-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ei-black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nowa-search-item-meta {
  font-size: 12px;
  color: var(--ei-meta);
  display: flex;
  gap: 8px;
}

.nowa-search-footer {
  padding: 12px 24px;
  background: var(--ei-section);
  border-top: 1px solid var(--ei-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ei-meta);
}

.nowa-search-hints {
  display: flex;
  gap: 16px;
}

.nowa-search-hints kbd {
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  padding: 2px 5px;
  border-radius: 4px;
  margin-right: 4px;
}

/* -------------------------------------------------------------
 * 8. Impact Hero Section (Spec 4 & 5)
 * ------------------------------------------------------------- */
.nowa-hero-section {
  padding: 130px 0 40px;
  text-align: center;
}

.nowa-hero-card {
  max-width: 920px;
  margin: 0 auto;
}

.nowa-hero-eyebrow-wrapper {
  margin-bottom: 20px;
}

.nowa-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nowa-eyebrow-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
  animation: nowa-pulse 2s infinite ease-in-out;
}

@keyframes nowa-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(233, 61, 61, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(233, 61, 61, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(233, 61, 61, 0); }
}

.nowa-hero-title {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ei-black);
  margin-bottom: 20px;
}

.nowa-hero-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--ei-desc);
  max-width: 780px;
  margin: 0 auto 28px;
}

.nowa-hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.nowa-hero-tags-label {
  color: var(--ei-meta);
  font-weight: 600;
}

.nowa-hero-tag-link {
  color: var(--ei-desc);
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  padding: 5px 14px;
  border-radius: var(--ei-radius-full);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nowa-hero-tag-link:hover {
  color: var(--ei-primary);
  border-color: var(--ei-primary);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 9. Top Showcase 3-Card Grid (Spec 6.B: 25% - 50% - 25%)
 * ------------------------------------------------------------- */
.nowa-showcase-section {
  padding: 20px 0 60px;
}

.nowa-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .nowa-showcase-grid {
    grid-template-columns: 1.2fr 2.4fr 1.2fr;
  }
}

.nowa-showcase-card {
  position: relative;
  height: 320px;
  border-radius: var(--ei-radius-xl);
  overflow: hidden;
  box-shadow: var(--ei-shadow);
  transition: transform 0.4s var(--ei-ease), box-shadow 0.4s var(--ei-ease);
}

.nowa-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ei-shadow-hover);
}

.nowa-showcase-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.nowa-showcase-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nowa-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ei-ease);
}

.nowa-showcase-card:hover .nowa-showcase-img {
  transform: scale(1.08); /* Spec: 8% Ken Burns hover zoom */
}

.nowa-showcase-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a3141 0%, #151c28 100%);
}

.nowa-showcase-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.nowa-showcase-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Frosted Glass Badge */
.nowa-glass-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--ei-radius-full);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nowa-showcase-title {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nowa-showcase-card.is-featured-center .nowa-showcase-title {
  font-size: 24px;
}

.nowa-showcase-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.nowa-showcase-dot {
  opacity: 0.5;
}

/* -------------------------------------------------------------
 * 10. Two-Column Portal Architecture (Spec 5: 70% Feed + 375px Sidebar)
 * ------------------------------------------------------------- */
.nowa-portal-section {
  padding: 30px 0 80px;
}

.nowa-portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .nowa-portal-grid {
    grid-template-columns: calc(100% - 423px) 375px; /* 375px + 48px gap */
  }
}

.nowa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ei-border);
}

.nowa-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nowa-section-indicator {
  width: 4px;
  height: 22px;
  background-color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
}

.nowa-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ei-black);
}

.nowa-feed-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--ei-meta);
  background: var(--ei-section);
  padding: 4px 12px;
  border-radius: var(--ei-radius-full);
}

/* -------------------------------------------------------------
 * 11. Horizontal Feed Card (Spec 6.C)
 * 240x160 Thumbnail + Category Pill + Clamped Excerpt + Meta
 * ------------------------------------------------------------- */
.nowa-feed-stream {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nowa-feed-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--ei-white);
  padding: 20px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
  box-shadow: var(--ei-shadow);
  transition: transform 0.3s var(--ei-ease), box-shadow 0.3s var(--ei-ease), border-color 0.3s ease;
}

@media (min-width: 640px) {
  .nowa-feed-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}

.nowa-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ei-shadow-hover);
  border-color: rgba(233, 61, 61, 0.2);
}

.nowa-feed-thumb-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--ei-radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ei-section);
}

@media (min-width: 640px) {
  .nowa-feed-thumb-wrapper {
    width: 240px;
    height: 160px; /* 3:2 ratio */
  }
}

.nowa-feed-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.nowa-feed-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ei-ease);
}

.nowa-feed-card:hover .nowa-feed-thumb-img {
  transform: scale(1.08); /* 8% zoom */
}

.nowa-feed-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ei-meta);
  background: var(--ei-section);
}

.nowa-feed-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Category Pill Badges (Semantic Mappings from Erikse Spec) */
.nowa-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--ei-radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  transition: all 0.2s ease;
}

.nowa-pill--aplikasi {
  background: rgba(124, 58, 237, 0.12);
  color: var(--ei-cat-aplikasi);
}
.nowa-pill--sosial {
  background: rgba(236, 72, 153, 0.12);
  color: var(--ei-cat-sosial);
}
.nowa-pill--website {
  background: rgba(59, 130, 246, 0.12);
  color: var(--ei-cat-website);
}
.nowa-pill--internet {
  background: rgba(6, 182, 212, 0.12);
  color: var(--ei-cat-internet);
}
.nowa-pill--info {
  background: rgba(245, 158, 11, 0.12);
  color: var(--ei-cat-info);
}

.nowa-pill:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.nowa-feed-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nowa-feed-title a {
  color: var(--ei-black);
  transition: color 0.2s ease;
}

.nowa-feed-card:hover .nowa-feed-title a {
  color: var(--ei-primary);
}

.nowa-feed-excerpt {
  font-size: 14px;
  color: var(--ei-desc);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nowa-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ei-meta);
  margin-top: 4px;
}

.nowa-meta-dot {
  opacity: 0.5;
}

.nowa-meta-author-link:hover {
  color: var(--ei-primary);
}

/* -------------------------------------------------------------
 * 12. Sidebar Architecture & Custom Widgets (Spec 6.D)
 * ------------------------------------------------------------- */
.nowa-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.nowa-widget {
  background: var(--ei-white);
  padding: 28px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
  box-shadow: var(--ei-shadow);
}

.nowa-widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.nowa-widget-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ei-border);
  margin-left: 16px;
}

/* 1. Pill Categories with hover sliding counters */
.nowa-category-pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nowa-cat-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--ei-section);
  border-radius: var(--ei-radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--ei-black);
  transition: all 0.25s var(--ei-ease);
}

.nowa-cat-count {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--ei-radius-full);
  background: var(--ei-white);
  color: var(--ei-meta);
  transition: all 0.25s var(--ei-ease);
}

.nowa-cat-pill-row:hover {
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  transform: translateX(4px); /* Spec: slide 4px right on hover */
}

.nowa-cat-pill-row:hover .nowa-cat-count {
  background: var(--ei-primary);
  color: #ffffff;
}

/* 2. Most Popular Posts Widget (72x72 Thumb + Red Tag + Clamped Title) */
.nowa-popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nowa-popular-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nowa-popular-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px; /* Spec: 14px radius */
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ei-section);
}

.nowa-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ei-ease);
}

.nowa-popular-item:hover .nowa-popular-thumb img {
  transform: scale(1.08);
}

.nowa-popular-content {
  flex: 1;
  min-width: 0;
}

.nowa-popular-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ei-primary); /* Spec: red category tag */
  display: block;
  margin-bottom: 2px;
}

.nowa-popular-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.nowa-popular-title a {
  color: var(--ei-black);
  transition: color 0.2s ease;
}

.nowa-popular-item:hover .nowa-popular-title a {
  color: var(--ei-primary);
}

.nowa-popular-date {
  font-size: 12px;
  color: var(--ei-meta);
}

/* 3. Stay Connected Social Box */
.nowa-social-connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.nowa-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--ei-radius-lg);
  background: var(--ei-section);
  color: var(--ei-black);
  border: 1px solid var(--ei-border);
  transition: all 0.25s var(--ei-ease);
}

.nowa-social-label {
  font-size: 11px;
  font-weight: 700;
}

.nowa-social-btn:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(233, 61, 61, 0.3);
}

/* -------------------------------------------------------------
 * 13. Single Article Layout & Editorial Typography
 * ------------------------------------------------------------- */
.nowa-single-main {
  padding-bottom: 80px;
}

.nowa-breadcrumbs {
  padding: 100px 0 20px;
}

.nowa-breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ei-meta);
}

.nowa-breadcrumb-separator {
  opacity: 0.4;
}

.nowa-breadcrumb-item.current {
  color: var(--ei-desc);
  font-weight: 600;
}

.nowa-single-article {
  background: var(--ei-white);
  padding: 36px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
  box-shadow: var(--ei-shadow);
}

.nowa-article-cat-wrap {
  margin-bottom: 16px;
}

.nowa-article-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.nowa-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ei-border);
  margin-bottom: 32px;
}

.nowa-author-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nowa-author-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.nowa-author-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: var(--ei-radius-full);
  border: 2px solid var(--ei-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nowa-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -3px;
  width: 17px;
  height: 17px;
  background: var(--ei-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.nowa-author-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.nowa-author-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ei-black);
}

.nowa-author-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nowa-author-name a:hover {
  color: var(--ei-primary);
}

.nowa-author-role {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ei-desc);
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  padding: 2px 9px;
  border-radius: var(--ei-radius-full);
  letter-spacing: -0.01em;
}

/* Micro Meta Pills (Date, Updated, Read Time, Views) */
.nowa-meta-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nowa-pill-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ei-desc);
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  padding: 3px 9px;
  border-radius: var(--ei-radius-full);
  line-height: 1.25;
  transition: all var(--ei-transition);
}

.nowa-pill-meta svg {
  color: var(--ei-meta);
  flex-shrink: 0;
}

.nowa-pill-meta.is-updated {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.nowa-pill-meta.is-updated svg {
  color: #059669;
}

html[data-applied-mode="dark"] .nowa-pill-meta.is-updated,
[data-theme="dark"] .nowa-pill-meta.is-updated {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.25);
}

html[data-applied-mode="dark"] .nowa-pill-meta.is-updated svg,
[data-theme="dark"] .nowa-pill-meta.is-updated svg {
  color: #34d399;
}

.nowa-pill-meta.is-reading-time svg {
  color: #f59e0b;
}

.nowa-pill-meta.is-views svg {
  color: #3b82f6;
}

/* Bookmark Button in Header */
.nowa-bookmark-btn {
  transition: all 0.2s ease;
}

.nowa-bookmark-btn.is-bookmarked {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  box-shadow: 0 2px 8px rgba(233, 61, 61, 0.35);
}

.nowa-bookmark-btn.is-bookmarked svg {
  fill: currentColor;
}

/* Mini Feedback Toast */
.nowa-mini-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--ei-black);
  color: var(--ei-bg);
  padding: 10px 22px;
  border-radius: var(--ei-radius-full);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nowa-mini-toast.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.nowa-share-quick {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nowa-share-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--ei-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ei-section);
  color: var(--ei-desc);
  cursor: pointer;
  border: 1px solid var(--ei-border);
  transition: all 0.2s ease;
}

.nowa-share-btn:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-2px);
}

.nowa-article-hero-media {
  margin-bottom: 36px;
  border-radius: var(--ei-radius-lg);
  overflow: hidden;
}

.nowa-article-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--ei-radius-lg);
}

.nowa-hero-caption {
  font-size: 13px;
  color: var(--ei-meta);
  text-align: center;
  margin-top: 10px;
}

/* Editorial Body Typography */
.nowa-article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ei-black);
}

.nowa-article-body p {
  margin-bottom: 24px;
}

.nowa-article-body h2 {
  font-size: 28px;
  margin: 40px 0 20px;
}

.nowa-article-body h3 {
  font-size: 22px;
  margin: 32px 0 16px;
}

.nowa-article-body ul,
.nowa-article-body ol {
  margin: 0 0 24px 28px;
}

.nowa-article-body li {
  margin-bottom: 10px;
}

.nowa-article-body blockquote {
  border-left: 4px solid var(--ei-primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--ei-section);
  border-radius: 0 var(--ei-radius-md) var(--ei-radius-md) 0;
  font-style: italic;
  font-size: 19px;
  color: var(--ei-black);
}

.nowa-article-body pre,
.nowa-article-body code {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
}

.nowa-article-body pre {
  background: #1e2430;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--ei-radius-md);
  overflow-x: auto;
  margin: 30px 0;
  font-size: 14px;
}

.nowa-article-body p code {
  background: var(--ei-section);
  color: var(--ei-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* Article Tags */
.nowa-article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ei-border);
}

.nowa-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.nowa-tags-label {
  font-weight: 700;
  color: var(--ei-black);
  font-size: 14px;
}

.nowa-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nowa-tag-pill {
  padding: 6px 14px;
  background: var(--ei-section);
  border-radius: var(--ei-radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ei-desc);
  transition: all 0.2s ease;
}

.nowa-tag-pill:hover {
  background: var(--ei-primary-light);
  color: var(--ei-primary);
}

/* Extended Share Banner */
.nowa-share-banner {
  background: var(--ei-section);
  padding: 24px;
  border-radius: var(--ei-radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.nowa-share-heading {
  font-weight: 700;
  color: var(--ei-black);
  font-size: 15px;
}

.nowa-share-buttons {
  display: flex;
  gap: 12px;
}

.nowa-share-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--ei-radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.nowa-share-card:hover {
  transform: translateY(-2px);
}

.sc-tw { background: #000000; }
.sc-in { background: #0a66c2; }
.sc-wa { background: #25d366; }

/* Quick Share - Google Follow Button in Header Meta */
.nowa-share-btn.share-google {
  background: var(--ei-section);
  border-color: var(--ei-border);
}

.nowa-share-btn.share-google:hover {
  background: var(--ei-white);
  border-color: #1a73e8;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
  transform: translateY(-2px);
}

/* Google Preferred Source CTA Card (Google Keşfet & Arama Tercihi) */
.nowa-google-source-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  border-radius: var(--ei-radius-lg);
  padding: 22px 24px;
  margin: 36px 0 32px 0;
  transition: all var(--ei-transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--ei-shadow);
}

.nowa-google-source-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4285F4 0%, #34A853 35%, #FBBC05 70%, #EA4335 100%);
}

.nowa-google-source-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--ei-radius-md);
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nowa-google-source-content {
  flex-grow: 1;
}

.nowa-google-source-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a73e8;
  display: block;
  margin-bottom: 4px;
}

.nowa-google-source-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ei-black);
  margin-bottom: 4px;
  line-height: 1.3;
}

.nowa-google-source-desc {
  font-size: 13.5px;
  color: var(--ei-desc);
  line-height: 1.45;
  margin: 0;
}

.nowa-google-source-action {
  flex-shrink: 0;
}

.nowa-google-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a73e8;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--ei-radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
  white-space: nowrap;
}

.nowa-google-source-btn:hover {
  background: #1557b0;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.nowa-google-source-btn svg {
  transition: transform 0.2s ease;
}

.nowa-google-source-btn:hover svg {
  transform: translateX(3px);
}

/* Author Box */
.nowa-author-box {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--ei-section);
  border-radius: var(--ei-radius-lg);
  margin-bottom: 40px;
}

.nowa-author-large-avatar {
  border-radius: var(--ei-radius-full);
}

.nowa-author-box-role {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ei-primary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.nowa-author-box-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.nowa-author-box-bio {
  font-size: 14px;
  color: var(--ei-desc);
  margin-bottom: 12px;
}

.nowa-author-all-posts {
  font-size: 13px;
  font-weight: 700;
  color: var(--ei-primary);
}

/* Post Navigation (Prev / Next) */
.nowa-post-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 600px) {
  .nowa-post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

.nowa-nav-post-card {
  padding: 20px;
  background: var(--ei-section);
  border-radius: var(--ei-radius-lg);
  border: 1px solid var(--ei-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.nowa-nav-post-card:hover {
  border-color: var(--ei-primary);
  transform: translateY(-2px);
}

.nowa-nav-post-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ei-meta);
  text-transform: uppercase;
}

.nowa-nav-post-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ei-black);
}

/* -------------------------------------------------------------
 * 14. Related Posts Section & Comments
 * ------------------------------------------------------------- */
.nowa-related-posts-section {
  margin-top: 48px;
}

.nowa-related-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nowa-comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--ei-border);
}

.nowa-comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.comment-body {
  background: var(--ei-white);
  padding: 24px;
  border-radius: var(--ei-radius-lg);
  border: 1px solid var(--ei-border);
}

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

.comment-author .avatar {
  border-radius: var(--ei-radius-full);
}

.comment-author .fn {
  font-weight: 700;
  color: var(--ei-black);
}

.comment-metadata a {
  font-size: 12px;
  color: var(--ei-meta);
}

.comment-content {
  font-size: 15px;
  color: var(--ei-desc);
  line-height: 1.6;
}

.reply a {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ei-primary);
}

/* Comment Form */
.comment-respond {
  background: var(--ei-white);
  padding: 32px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
}

.comment-reply-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

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

.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ei-black);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--ei-border);
  background: var(--ei-section);
  border-radius: var(--ei-radius-md);
  color: var(--ei-black);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--ei-primary);
  background: var(--ei-white);
}

.nowa-btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--ei-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--ei-radius-full);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(233, 61, 61, 0.3);
  transition: all 0.2s ease;
}

.nowa-btn-primary:hover {
  background: var(--ei-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 61, 61, 0.45);
}

.nowa-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ei-section);
  color: var(--ei-black);
  font-weight: 700;
  border-radius: var(--ei-radius-full);
  border: 1px solid var(--ei-border);
  transition: all 0.2s ease;
}

.nowa-btn-secondary:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 15. Pagination & Archive Header
 * ------------------------------------------------------------- */
.nowa-pagination {
  margin-top: 40px;
}

.nowa-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nowa-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--ei-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  color: var(--ei-black);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--ei-shadow);
  transition: all 0.2s ease;
}

.nowa-pagination .page-numbers:hover,
.nowa-pagination .page-numbers.current {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-2px);
}

/* Archive Banner Card */
.nowa-archive-header {
  padding: 120px 0 40px;
}

.nowa-archive-banner-card {
  background: var(--ei-white);
  padding: 40px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
  box-shadow: var(--ei-shadow);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.nowa-archive-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--ei-radius-full);
  margin-bottom: 14px;
}

.nowa-archive-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.nowa-archive-desc {
  font-size: 16px;
  color: var(--ei-desc);
  margin-bottom: 16px;
}

.nowa-archive-meta {
  font-size: 13px;
  color: var(--ei-meta);
}

/* 404 & Empty State */
.nowa-404-main {
  padding: 140px 0 80px;
  text-align: center;
}

.nowa-404-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--ei-white);
  padding: 60px 40px;
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
  box-shadow: var(--ei-shadow);
}

.nowa-404-badge {
  font-size: 72px;
  font-weight: 900;
  color: var(--ei-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.nowa-404-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.nowa-404-desc {
  font-size: 15px;
  color: var(--ei-desc);
  margin-bottom: 28px;
}

.nowa-404-search {
  margin-bottom: 28px;
}

.nowa-inline-search-form {
  display: flex;
  gap: 10px;
}

.nowa-inline-search-field {
  flex: 1;
  padding: 12px 18px;
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  border-radius: var(--ei-radius-full);
  color: var(--ei-black);
}

.nowa-no-posts-found {
  text-align: center;
  padding: 60px 20px;
  background: var(--ei-white);
  border-radius: var(--ei-radius-xl);
  border: 1px solid var(--ei-border);
}

.nowa-empty-icon {
  color: var(--ei-meta);
  margin-bottom: 16px;
}

.nowa-empty-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.nowa-empty-desc {
  font-size: 15px;
  color: var(--ei-desc);
  max-width: 500px;
  margin: 0 auto 24px;
}

/* -------------------------------------------------------------
 * 16. Site Footer, Pre-Footer Newsletter & Developer Architecture
 * ------------------------------------------------------------- */

/* A. Pre-Footer Atmospheric Newsletter Card */
.nowa-prefooter-newsletter {
  padding: 40px 0 0;
  position: relative;
  z-index: 10;
}

.nowa-newsletter-card {
  background: linear-gradient(135deg, var(--ei-white) 0%, var(--ei-section) 100%);
  border: 1px solid var(--ei-border);
  border-radius: var(--ei-radius-xl);
  padding: 44px 40px;
  box-shadow: var(--ei-shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .nowa-newsletter-card {
  background: linear-gradient(135deg, #1f2737 0%, #171e2c 100%);
}

.nowa-newsletter-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 61, 61, 0.12) 0%, rgba(233, 61, 61, 0) 70%);
  pointer-events: none;
}

.nowa-newsletter-badge-wrap {
  margin-bottom: 12px;
}

.nowa-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--ei-primary-light);
  color: var(--ei-primary);
  border-radius: var(--ei-radius-full);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nowa-badge-ping {
  width: 7px;
  height: 7px;
  background-color: var(--ei-primary);
  border-radius: 50%;
  animation: nowa-pulse 2s infinite ease-in-out;
}

.nowa-newsletter-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ei-black);
  margin-bottom: 8px;
}

.nowa-newsletter-desc {
  font-size: 15px;
  color: var(--ei-desc);
  line-height: 1.55;
  max-width: 540px;
}

/* Newsletter Input Form */
.nowa-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nowa-newsletter-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ei-bg);
  border: 1px solid var(--ei-border);
  border-radius: var(--ei-radius-full);
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nowa-newsletter-input-group:focus-within {
  border-color: var(--ei-primary);
  box-shadow: 0 0 0 3px rgba(233, 61, 61, 0.15);
}

.nowa-newsletter-input-icon {
  color: var(--ei-meta);
  display: flex;
}

.nowa-newsletter-input {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ei-black);
}

.nowa-newsletter-input::placeholder {
  color: var(--ei-meta);
}

.nowa-newsletter-btn {
  padding: 10px 22px;
  font-size: 13px;
  white-space: nowrap;
}

.nowa-newsletter-subtext {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ei-meta);
  padding-left: 12px;
}

/* B. Main Footer */
.nowa-site-footer {
  background: var(--ei-section);
  border-top: 1px solid var(--ei-border);
  padding: 64px 0 40px;
  margin-top: 50px;
  position: relative;
}

.nowa-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ei-border);
  margin-bottom: 32px;
}

.nowa-footer-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--ei-black);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.nowa-footer-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ei-border);
  margin-left: 14px;
}

/* Brand Column */
.nowa-footer-brand {
  display: flex;
  flex-direction: column;
}

.nowa-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ei-black);
  letter-spacing: -0.02em;
}

.nowa-footer-brand-title {
  color: var(--ei-black);
}

.nowa-footer-brand-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ei-desc);
  margin: 14px 0 18px;
  max-width: 320px;
}

/* Status Indicator Pill */
.nowa-footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--ei-radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  align-self: flex-start;
}

.nowa-status-indicator-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: nowa-pulse-green 2s infinite ease-in-out;
}

@keyframes nowa-pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Footer Link Lists */
.nowa-footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nowa-footer-link-list li a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ei-desc);
  transition: all 0.2s ease;
}

.nowa-footer-link-list li a:hover {
  color: var(--ei-primary);
  transform: translateX(4px);
}

.nowa-footer-cat-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nowa-footer-count-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--ei-radius-full);
  background: var(--ei-white);
  color: var(--ei-meta);
  border: 1px solid var(--ei-border);
  transition: all 0.2s ease;
}

.nowa-footer-cat-link:hover .nowa-footer-count-badge {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
}

/* Community Social Grid */
.nowa-footer-social-intro {
  font-size: 13.5px;
  color: var(--ei-desc);
  line-height: 1.5;
  margin-bottom: 14px;
}

.nowa-footer-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nowa-footer-social-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--ei-radius-md);
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ei-black);
  transition: all 0.2s var(--ei-ease);
}

.nowa-footer-social-card:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 61, 61, 0.25);
}

/* C. Sub-Footer Bottom Bar */
.nowa-footer-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.nowa-sub-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nowa-footer-copyright {
  font-size: 13px;
  color: var(--ei-meta);
}

.nowa-dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ei-meta);
}

.nowa-dev-link {
  color: var(--ei-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tech Stack Badges */
.nowa-sub-center {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 900px) {
  .nowa-sub-center {
    display: flex;
  }
}

.nowa-tech-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  border-radius: var(--ei-radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--ei-meta);
}

/* Back to Top Button */
.nowa-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--ei-radius-full);
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ei-black);
  cursor: pointer;
  box-shadow: var(--ei-shadow);
  transition: all 0.2s var(--ei-ease);
}

.nowa-back-to-top-btn:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(233, 61, 61, 0.28);
}

.nowa-top-btn-arrow {
  display: flex;
  transition: transform 0.2s ease;
}

.nowa-back-to-top-btn:hover .nowa-top-btn-arrow {
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 17. Mobile & Responsive Layout Engine (Ultra-Refined)
 * ------------------------------------------------------------- */

/* Universal mobile constraints */
.nowa-site-wrapper {
  overflow-x: hidden;
  width: 100%;
}

.entry-content,
.nowa-article-body {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content table,
.entry-content pre {
  max-width: 100% !important;
}

/* =============================================================
   TABLETS & MEDIUM SCREENS (< 1024px)
   ============================================================= */
@media (max-width: 1023px) {
  .nowa-portal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nowa-feed-column {
    width: 100%;
  }

  .nowa-sidebar-column {
    width: 100%;
  }

  .nowa-sidebar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .nowa-breadcrumbs {
    padding: 85px 0 16px;
  }

  .nowa-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nowa-showcase-card {
    height: 280px;
  }
}

/* =============================================================
   MOBILE DEVICES (< 768px)
   Ultra-optimized single article, feed, header & typography
   ============================================================= */
@media (max-width: 767px) {
  :root {
    --ei-navbar-height: 62px;
    --ei-navbar-height-scrolled: 58px;
    --ei-bottom-tab-height: 58px;
  }

  /* Base Body & Container adjustments */
  body.has-bottom-nav {
    padding-bottom: calc(var(--ei-bottom-tab-height) + 20px + env(safe-area-inset-bottom));
  }

  .nowa-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header Navbar on Mobile */
  .nowa-navbar-header {
    height: var(--ei-navbar-height);
  }

  .nowa-navbar-header.is-scrolled {
    height: var(--ei-navbar-height-scrolled);
  }

  .nowa-brand-link {
    font-size: 19px;
    gap: 8px;
  }

  .nowa-brand-emblem svg {
    width: 24px;
    height: 24px;
  }

  .nowa-action-btn {
    width: 36px;
    height: 36px;
  }

  .nowa-action-btn svg {
    width: 18px;
    height: 18px;
  }

  .nowa-navbar-actions {
    gap: 6px;
  }

  /* Breadcrumbs on Mobile */
  .nowa-breadcrumbs {
    padding: 72px 0 12px;
  }

  .nowa-breadcrumbs-list {
    font-size: 11.5px;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nowa-breadcrumbs-list::-webkit-scrollbar {
    display: none;
  }

  .nowa-breadcrumb-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* -----------------------------------------------------------
   * TEKİL YAZI SAYFASI (SINGLE POST MOBILE OPTIMIZATION)
   * ----------------------------------------------------------- */
  .nowa-single-main {
    padding-bottom: 40px;
  }

  .nowa-single-article,
  .nowa-page-article {
    padding: 20px 14px;
    border-radius: 16px;
    border: 1px solid var(--ei-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  }

  .nowa-article-cat-wrap {
    margin-bottom: 12px;
  }

  .nowa-pill {
    padding: 3px 10px;
    font-size: 11px;
  }

  .nowa-article-title,
  .nowa-page-title {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Article Meta Bar on Mobile */
  .nowa-article-meta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .nowa-author-meta-item {
    width: 100%;
    gap: 12px;
  }

  .nowa-author-avatar-img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .nowa-author-head-row {
    gap: 6px;
    margin-bottom: 4px;
  }

  .nowa-author-name {
    font-size: 14px;
  }

  .nowa-author-role {
    font-size: 10.5px;
    padding: 1px 7px;
  }

  .nowa-meta-pills {
    gap: 5px;
  }

  .nowa-pill-meta {
    font-size: 11px;
    padding: 2.5px 7px;
  }

  .nowa-share-quick {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--ei-border);
  }

  .nowa-share-btn {
    width: 34px;
    height: 34px;
  }

  /* Featured Hero Image on Mobile */
  .nowa-article-hero-media,
  .nowa-page-hero-media {
    margin-bottom: 22px;
    border-radius: 12px;
  }

  .nowa-article-hero-img,
  .nowa-page-hero-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
  }

  .nowa-hero-caption {
    font-size: 11.5px;
    margin-top: 6px;
  }

  /* Article Body (Content) Typography on Mobile */
  .nowa-article-body,
  .nowa-page-body {
    font-size: 16px;
    line-height: 1.72;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .nowa-article-body p,
  .nowa-page-body p {
    margin-bottom: 18px;
  }

  .nowa-article-body h1 {
    font-size: 24px;
    margin: 30px 0 14px;
  }

  .nowa-article-body h2 {
    font-size: 21px;
    margin: 26px 0 12px;
    line-height: 1.3;
  }

  .nowa-article-body h3 {
    font-size: 18px;
    margin: 22px 0 10px;
    line-height: 1.35;
  }

  .nowa-article-body h4 {
    font-size: 16px;
    margin: 18px 0 8px;
  }

  .nowa-article-body ul,
  .nowa-article-body ol {
    margin: 0 0 18px 20px;
    padding: 0;
  }

  .nowa-article-body li {
    margin-bottom: 6px;
  }

  .nowa-article-body blockquote {
    margin: 22px 0;
    padding: 12px 14px;
    font-size: 15px;
    border-left-width: 3px;
    border-radius: 0 10px 10px 0;
  }

  .nowa-article-body pre {
    font-size: 12.5px;
    padding: 12px 14px;
    margin: 18px 0;
    border-radius: 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre;
  }

  .nowa-article-body p code {
    font-size: 13px;
    padding: 2px 5px;
  }

  .nowa-article-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    font-size: 13px;
  }

  .nowa-article-body th,
  .nowa-article-body td {
    padding: 8px 10px;
    min-width: 90px;
  }

  .nowa-article-body img {
    border-radius: 10px;
  }

  .nowa-article-body figure {
    margin: 18px 0;
    max-width: 100%;
  }

  /* Tags on Mobile */
  .nowa-article-footer {
    margin-top: 32px;
    padding-top: 20px;
  }

  .nowa-article-tags {
    gap: 8px;
    margin-bottom: 24px;
  }

  .nowa-tag-pill {
    padding: 5px 12px;
    font-size: 12px;
  }

  /* Extended Share Banner on Mobile */
  .nowa-share-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    border-radius: 14px;
    gap: 12px;
    margin-bottom: 28px;
  }

  .nowa-share-heading {
    font-size: 13px;
    text-align: center;
  }

  .nowa-share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }

  .nowa-share-card {
    justify-content: center;
    padding: 10px 4px;
    font-size: 11.5px;
    gap: 5px;
    border-radius: 10px;
  }

  /* Google Preferred Source Card on Mobile */
  .nowa-google-source-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 16px;
    margin: 28px 0 24px 0;
  }

  .nowa-google-source-action {
    width: 100%;
  }

  .nowa-google-source-btn {
    width: 100%;
    justify-content: center;
  }

  /* Author Bio Box on Mobile */
  .nowa-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
    border-radius: 14px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .nowa-author-box-avatar {
    flex-shrink: 0;
  }

  .nowa-author-large-avatar {
    width: 64px;
    height: 64px;
  }

  .nowa-author-box-role {
    font-size: 10.5px;
  }

  .nowa-author-box-name {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .nowa-author-box-bio {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .nowa-author-all-posts {
    font-size: 12px;
  }

  /* Post Navigation (Prev / Next) on Mobile */
  .nowa-post-navigation {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }

  .nowa-nav-post-card {
    padding: 14px;
    border-radius: 12px;
  }

  .nowa-nav-post-title {
    font-size: 13.5px;
  }

  /* Comments on Mobile */
  .nowa-comments-area {
    margin-top: 32px;
    padding-top: 24px;
  }

  .nowa-comment-list {
    gap: 16px;
    margin-bottom: 32px;
  }

  .comment-body {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .comment-meta {
    gap: 10px;
    margin-bottom: 10px;
  }

  .comment-author .avatar {
    width: 36px;
    height: 36px;
  }

  .comment-author .fn {
    font-size: 13.5px;
  }

  .comment-content {
    font-size: 14px;
  }

  .comment-respond {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .comment-reply-title {
    font-size: 17px;
    margin-bottom: 14px;
  }

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

  .comment-form label {
    font-size: 12.5px;
    margin-bottom: 4px;
  }

  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    font-size: 16px; /* Prevents iOS Safari auto-zoom */
    padding: 10px 14px;
    border-radius: 10px;
  }

  .nowa-btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Related Posts on Mobile */
  .nowa-related-posts-section {
    margin-top: 32px;
  }

  .nowa-related-grid {
    gap: 16px;
  }

  /* -----------------------------------------------------------
   * ANA SAYFA VE DİĞER SAYFALARIN MOBİL OPTİMİZASYONU
   * ----------------------------------------------------------- */
  .nowa-hero-section {
    padding: 88px 0 24px;
  }

  .nowa-hero-eyebrow-wrapper {
    margin-bottom: 14px;
  }

  .nowa-hero-eyebrow {
    font-size: 11px;
    padding: 5px 14px;
  }

  .nowa-hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .nowa-hero-desc {
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.55;
  }

  .nowa-hero-tags {
    gap: 6px;
    font-size: 12px;
  }

  .nowa-hero-tag-link {
    padding: 4px 10px;
    font-size: 11.5px;
  }

  /* 3'lü Vitrin Kartları (Showcase) on Mobile */
  .nowa-showcase-section {
    padding: 10px 0 32px;
  }

  .nowa-showcase-grid {
    gap: 14px;
  }

  .nowa-showcase-card {
    height: 230px;
    border-radius: 16px;
  }

  .nowa-showcase-card.is-featured-center .nowa-showcase-title {
    font-size: 18px;
  }

  .nowa-showcase-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .nowa-showcase-content {
    padding: 14px;
    gap: 6px;
  }

  .nowa-glass-badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .nowa-showcase-meta {
    font-size: 11px;
    gap: 6px;
  }

  /* Portal Feed & Yatay Kartlar on Mobile */
  .nowa-portal-section {
    padding: 18px 0 50px;
  }

  .nowa-portal-grid {
    gap: 28px;
  }

  .nowa-section-header {
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  .nowa-section-title {
    font-size: 19px;
  }

  .nowa-feed-stream {
    gap: 16px;
  }

  .nowa-feed-card {
    padding: 14px;
    border-radius: 16px;
    gap: 14px;
  }

  .nowa-feed-thumb-wrapper {
    height: 180px;
    border-radius: 12px;
    width: 100%;
  }

  .nowa-feed-title {
    font-size: 17px;
    line-height: 1.35;
  }

  .nowa-feed-excerpt {
    font-size: 13px;
    line-height: 1.5;
  }

  .nowa-meta-line {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Sidebar on Mobile */
  .nowa-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nowa-widget {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .nowa-widget-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .nowa-cat-pill-row {
    padding: 10px 14px;
    font-size: 13px;
  }

  .nowa-cat-count {
    font-size: 11px;
    padding: 2px 8px;
  }

  .nowa-popular-posts-list {
    gap: 12px;
  }

  .nowa-popular-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }

  .nowa-popular-title {
    font-size: 13px;
  }

  .nowa-social-connect-grid {
    gap: 8px;
  }

  .nowa-social-btn {
    padding: 10px 4px;
    border-radius: 12px;
  }

  .nowa-social-label {
    font-size: 10px;
  }

  /* Bottom Tab Bar on Mobile */
  .nowa-bottom-tab-bar {
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .nowa-tab-bar-container {
    padding: 0 4px;
  }

  .nowa-tab-item {
    padding: 4px 6px;
    font-size: 10px;
    gap: 2px;
  }

  .nowa-tab-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Pre-Footer Newsletter on Mobile */
  .nowa-prefooter-newsletter {
    padding: 24px 0 0;
  }

  .nowa-newsletter-card {
    padding: 24px 16px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 16px;
  }

  .nowa-newsletter-title {
    font-size: 20px;
  }

  .nowa-newsletter-desc {
    font-size: 13.5px;
  }

  .nowa-newsletter-input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 10px;
  }

  .nowa-newsletter-input-icon {
    display: none;
  }

  .nowa-newsletter-input {
    width: 100%;
    padding: 12px 18px;
    background: var(--ei-bg);
    border: 1px solid var(--ei-border);
    border-radius: var(--ei-radius-full);
    font-size: 14px;
  }

  .nowa-newsletter-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .nowa-newsletter-subtext {
    justify-content: center;
    text-align: center;
    font-size: 11px;
    padding: 0;
  }

  /* Footer on Mobile */
  .nowa-site-footer {
    padding: 40px 0 32px;
    margin-top: 40px;
  }

  .nowa-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
    margin-bottom: 24px;
  }

  .nowa-footer-social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nowa-footer-sub {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 24px;
  }

  .nowa-sub-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .nowa-dev-pill {
    margin-left: 0;
    font-size: 12px;
  }

  .nowa-sub-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nowa-tech-badge {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .nowa-back-to-top-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Search Modal on Mobile */
  .nowa-search-modal {
    padding: 60px 10px 10px;
  }

  .nowa-search-dialog {
    border-radius: 16px;
  }

  .nowa-search-input-wrapper {
    padding: 14px 16px;
    gap: 10px;
  }

  .nowa-search-field {
    font-size: 15px;
  }

  .nowa-search-results {
    padding: 12px 14px;
    max-height: 340px;
  }

  .nowa-search-footer {
    padding: 10px 14px;
    font-size: 11px;
  }

  .nowa-search-hints {
    display: none;
  }
}

/* =============================================================
   EXTRA SMALL SMARTPHONES (< 480px)
   ============================================================= */
@media (max-width: 480px) {
  .nowa-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nowa-single-article,
  .nowa-page-article {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .nowa-article-title,
  .nowa-page-title {
    font-size: 20px;
    line-height: 1.32;
  }

  .nowa-article-body,
  .nowa-page-body {
    font-size: 15px;
    line-height: 1.68;
  }

  .nowa-share-card {
    font-size: 10.5px;
    padding: 8px 2px;
  }

  .nowa-share-card svg {
    width: 14px;
    height: 14px;
  }

  .nowa-author-box {
    padding: 18px 12px;
  }

  .nowa-author-large-avatar {
    width: 56px;
    height: 56px;
  }

  .comment-respond {
    padding: 16px 12px;
  }

  .nowa-feed-thumb-wrapper {
    height: 160px;
  }
}

/* -------------------------------------------------------------
 * 18. Interactive App Promo Toast (Vakit Geldi Pro)
 * ------------------------------------------------------------- */
.nowa-app-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 400px;
  max-width: calc(100vw - 32px);
  z-index: 9980;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--ei-border);
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
  padding: 20px;
  transform: translateY(40px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

[data-theme="dark"] .nowa-app-toast,
html[data-applied-mode="dark"] .nowa-app-toast {
  background: rgba(21, 28, 40, 0.94);
  border-color: rgba(41, 51, 69, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.nowa-app-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nowa-app-toast.is-hiding {
  transform: translateY(25px) scale(0.94);
  opacity: 0;
  pointer-events: none;
}

.nowa-app-toast-inner {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Close button */
.nowa-app-toast-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ei-meta);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.nowa-app-toast-close:hover {
  background: var(--ei-primary);
  color: #ffffff;
  border-color: var(--ei-primary);
  transform: rotate(90deg);
}

/* App Icon & 3D Card */
.nowa-app-icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.nowa-app-icon-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.nowa-app-pro-tag {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #EAB308;
  color: #1e293b;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.nowa-app-icon-ambient {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.45) 0%, rgba(15, 118, 110, 0) 70%);
  z-index: -1;
  animation: nowa-pulse-teal 3.2s infinite ease-in-out;
}

@keyframes nowa-pulse-teal {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 0.25; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* App Details */
.nowa-app-details {
  flex: 1;
  min-width: 0;
  position: relative;
}

.nowa-app-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.nowa-app-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
  padding: 2px 8px;
  border-radius: var(--ei-radius-full);
}

[data-theme="dark"] .nowa-app-tag,
html[data-applied-mode="dark"] .nowa-app-tag {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.15);
}

.nowa-app-free-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--ei-radius-full);
}

[data-theme="dark"] .nowa-app-free-badge,
html[data-applied-mode="dark"] .nowa-app-free-badge {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
}

.nowa-app-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ei-black);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.nowa-app-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ei-desc);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature Pills */
.nowa-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.nowa-app-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ei-desc);
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  padding: 2.5px 8px;
  border-radius: var(--ei-radius-full);
  line-height: 1.2;
}

.nowa-app-feature-pill svg {
  color: #0f766e;
  flex-shrink: 0;
}

[data-theme="dark"] .nowa-app-feature-pill svg,
html[data-applied-mode="dark"] .nowa-app-feature-pill svg {
  color: #2dd4bf;
}

/* CTA Actions */
.nowa-app-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nowa-app-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: #ffffff !important;
  border-radius: var(--ei-radius-full);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transition: all 0.25s var(--ei-ease);
  flex: 1;
  justify-content: center;
  text-decoration: none;
}

.nowa-app-cta-btn:hover {
  background: linear-gradient(135deg, #134e4a 0%, #042f2e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.5);
  color: #ffffff !important;
}

/* QR Code Toggle Button */
.nowa-app-qr-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--ei-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ei-section);
  border: 1px solid var(--ei-border);
  color: var(--ei-desc);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nowa-app-qr-btn:hover {
  background: var(--ei-white);
  color: #0f766e;
  border-color: #0f766e;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

/* QR Code Popover */
.nowa-app-qr-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  background: var(--ei-white);
  border: 1px solid var(--ei-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  width: 200px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nowa-app-qr-popover.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nowa-app-qr-content img {
  border-radius: 10px;
  margin-bottom: 8px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.nowa-app-qr-content span {
  font-size: 11px;
  color: var(--ei-desc);
  line-height: 1.35;
  display: block;
}

/* Minimized Floating Pill Badge */
.nowa-app-min-badge {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9975;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--ei-radius-full);
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--ei-ease);
}

.nowa-app-min-badge.is-visible {
  display: inline-flex;
}

.nowa-app-min-badge:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.55);
}

.nowa-min-badge-icon {
  display: flex;
  align-items: center;
}

.nowa-min-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 8px #fde047;
  animation: nowa-pulse-gold 2s infinite;
}

@keyframes nowa-pulse-gold {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Mobile responsive placement (Floats right above the Bottom Tab Bar!) */
@media (max-width: 767px) {
  .nowa-app-toast,
  body.has-bottom-nav .nowa-app-toast {
    right: 12px;
    left: 12px;
    bottom: calc(var(--ei-bottom-tab-height) + 12px + env(safe-area-inset-bottom));
    width: auto;
    padding: 16px 14px;
    border-radius: 18px;
  }

  .nowa-app-min-badge,
  body.has-bottom-nav .nowa-app-min-badge {
    right: 16px;
    bottom: calc(var(--ei-bottom-tab-height) + 14px + env(safe-area-inset-bottom));
    padding: 6px 14px 6px 8px;
    font-size: 11.5px;
  }

  .nowa-app-qr-btn,
  .nowa-app-qr-popover {
    display: none !important;
  }

  .nowa-app-desc {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .nowa-app-features {
    margin-bottom: 10px;
    gap: 4px;
  }

  .nowa-app-feature-pill {
    font-size: 10px;
    padding: 2px 6px;
  }

  .nowa-app-cta-btn {
    padding: 9px 14px;
    font-size: 12.5px;
  }
}
