/*
Theme Name: Ev Vizyon Pro
Theme URI: https://evvizyon.com/
Author: Antigravity AI
Author URI: https://evvizyon.com/
Description: Modern, minimalist, ultra-şık ve %100 mobil uyumlu İskandinav ev dekorasyonu ve halı blog teması.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: evvizyon
*/

:root {
  --primary: #C85A32;
  --primary-hover: #AF4924;
  --primary-light: #FDF4EF;
  --primary-glow: rgba(200, 90, 50, 0.2);
  --secondary: #1F2937;
  --accent: #E28743;
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F4EFE6;
  --text-main: #181E24;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #EDE7DC;
  --border-focus: #C85A32;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.03);
  --shadow-md: 0 14px 34px -10px rgba(200, 90, 50, 0.1), 0 6px 14px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(200, 90, 50, 0.16);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1220px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* READING PROGRESS BAR */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* TOPBAR */
.topbar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-msg {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-msg span {
  color: var(--primary);
  font-weight: 700;
}
.topbar-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-main);
  user-select: none;
}
.brand-logo .dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 4px;
  display: inline-block;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px var(--primary-glow);
}
.brand-logo span.tag {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* DESKTOP NAV */
.desktop-nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.nav-menu li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--primary);
  background: var(--primary-light);
}

/* ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-search-trigger {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: inherit;
  transition: var(--transition);
}
.btn-search-trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #FFF;
  box-shadow: var(--shadow-sm);
}

/* HAMBURGER BUTTON (MOBILE) */
.mobile-hamburger {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: var(--transition);
}
.mobile-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE DRAWER MENU */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-drawer.active {
  right: 0;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.drawer-close {
  background: var(--surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
}
.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-menu li a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid transparent;
  transition: var(--transition);
}
.drawer-menu li a:hover,
.drawer-menu li.current-menu-item a {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(200, 90, 50, 0.2);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* SEARCH MODAL */
.search-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.search-modal-backdrop.active {
  display: flex;
  opacity: 1;
}
.search-modal-card {
  background: #FFF;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.25s ease;
}
.search-modal-backdrop.active .search-modal-card {
  transform: translateY(0);
}
.search-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-muted);
}
.search-modal-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.search-modal-form input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}
.search-modal-form input[type="search"]:focus {
  border-color: var(--primary);
}
.search-modal-form button[type="submit"] {
  background: var(--primary);
  color: #FFF;
  border: none;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  padding: 35px 0 25px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.hero-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 90, 50, 0.4);
  transform: translateY(-3px);
}
.hero-img-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #E2E8F0;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-card:hover .hero-img-wrap img {
  transform: scale(1.05);
}
.hero-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.hero-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hero-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.hero-meta-bar span.bullet {
  color: var(--primary);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 14px;
  transition: var(--transition);
}
.hero-card:hover .hero-title {
  color: var(--primary);
}
.hero-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}
.hero-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-read-btn svg {
  transition: transform 0.25s ease;
}
.hero-card:hover .hero-read-btn svg {
  transform: translateX(5px);
}

/* HERO TRENDING SIDEBAR */
.hero-trending-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.trending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.trending-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending-header h3::before {
  content: '⚡';
}
.trending-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.trending-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(237, 231, 220, 0.7);
}
.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.trending-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  background: var(--primary-light);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trending-text h4 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 5px;
  transition: var(--transition);
}
.trending-item:hover .trending-text h4 {
  color: var(--primary);
}
.trending-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* HORIZONTAL CATEGORY BAR */
.category-strip {
  margin: 20px 0 35px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.category-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  list-style: none;
  padding: 2px;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}
.category-pill a {
  display: inline-block;
  padding: 9px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}
.category-pill a:hover,
.category-pill.active a {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* MAIN LAYOUT */
.main-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 36px;
  margin-bottom: 60px;
}
.section-headline-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}
.section-headline::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 4px;
}

/* POSTS GRID */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.post-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 90, 50, 0.35);
}
.card-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #E2E8F0;
}
.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .card-thumb-wrap img {
  transform: scale(1.06);
}
.card-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: var(--transition);
}
.post-card:hover .card-title {
  color: var(--primary);
}
.card-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.card-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.brand-promo-card {
  background: linear-gradient(145deg, #FFF9F5 0%, #FEEFE6 100%);
  border: 1px solid #FCD7C3;
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.brand-promo-card::before {
  content: 'ÖNERİ';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--primary);
  color: #FFF;
  padding: 3px 8px;
  border-radius: 4px;
}
.brand-promo-card h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.brand-promo-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.btn-promo-cta {
  display: inline-block;
  background: var(--primary);
  color: #FFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
}
.btn-promo-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.widget-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

/* PAGINATION */
.pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
}

/* SINGLE ARTICLE STYLING */
.single-wrapper {
  max-width: 860px;
  margin: 30px auto 60px;
  padding: 0 20px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.single-header {
  margin-bottom: 24px;
}
.single-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.single-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
}
.single-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

/* SHARE BUTTONS STRIP */
.share-bar {
  margin: 20px 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  color: #FFF;
  cursor: pointer;
}
.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088CC; }
.share-twitter { background: #1DA1F2; }
.share-copy {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.single-featured-wrap {
  margin-bottom: 35px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-content {
  font-size: 18px;
  line-height: 1.85;
  color: #2D3748;
}
.post-content p {
  margin-bottom: 24px;
}
.post-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 27px);
  font-weight: 800;
  color: var(--text-main);
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  line-height: 1.35;
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(19px, 3vw, 22px);
  font-weight: 700;
  color: var(--text-main);
  margin: 30px 0 14px;
}
.post-content ul, .post-content ol {
  margin: 20px 0 24px 24px;
}
.post-content li {
  margin-bottom: 10px;
}
.post-content blockquote {
  background: var(--surface-alt);
  border-left: 4px solid var(--accent);
  padding: 22px 26px;
  margin: 32px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-main);
}
.post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.post-content a:hover {
  color: var(--primary-hover);
}
.post-content img {
  border-radius: var(--radius-md);
  margin: 25px 0;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}

/* SULTAN HALI VIP CALLOUT BOX */
.sultan-callout-box {
  background: linear-gradient(135deg, #FFF6F0 0%, #FEEDE2 100%);
  border: 2px solid #FCD1B8;
  border-radius: var(--radius-md);
  padding: 26px;
  margin: 38px 0;
  position: relative;
}
.sultan-callout-box h4 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.sultan-callout-box p {
  color: #4A5568;
  font-size: 15px;
  line-height: 1.6;
}

/* FLOATING BACK TO TOP */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #FFF;
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.btn-back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* FOOTER */
.site-footer {
  background: #181E24;
  color: #E2E8F0;
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2D3748;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 18px;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 6px;
}
.footer-col p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.65;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  font-size: 14px;
  color: #CBD5E0;
}
.footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #718096;
}

/* RESPONSIVE DESIGN - TABLET & MOBILE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .main-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-hamburger {
    display: flex;
  }
  .topbar {
    display: none;
  }
  .navbar {
    height: 68px;
  }
  .brand-logo {
    font-size: 22px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-img-wrap {
    height: 240px;
  }
  .hero-body {
    padding: 20px;
  }
  .card-thumb-wrap {
    height: 200px;
  }
  .card-body {
    padding: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .btn-search-trigger span {
    display: none;
  }
  .btn-search-trigger {
    padding: 8px 10px;
  }
}

/* TOUCH HORIZONTAL CATEGORY BAR */
.cat-strip-wrap {
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 24px;
}
.cat-strip-wrap::-webkit-scrollbar {
  display: none;
}
.cat-strip {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   PERFECT EDITORIAL HEADER & NAVIGATION SYSTEM
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo .logo-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}
.brand-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.3px;
}
.brand-logo .logo-sub {
  font-size: 9.5px;
  font-family: var(--font-body);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 2px;
}

/* DESKTOP NAV */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-menu li {
  display: inline-block;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.15px;
  transition: all 0.2s ease;
}

/* NAV ACTIONS & COMPACT SEARCH */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-search-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-search-trigger span {
  display: none !important;
}
.btn-search-trigger svg {
  display: block;
}

/* HIDE DUPLICATE CATEGORY BAR ON DESKTOP */
@media (min-width: 1025px) {
  .cat-strip-wrap {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .cat-strip-wrap {
    display: block;
    padding: 12px 0 16px 0;
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-hamburger {
    display: flex !important;
  }
  .navbar {
    height: 64px;
  }
  .brand-logo .logo-main {
    font-size: 18px;
  }
  .brand-logo .logo-sub {
    font-size: 8.5px;
  }
}
