/* Public Design System for Üst Manşet */

:root {
  --pub-bg: #ffffff;
  --pub-surface: #f8fafc;
  --pub-surface-dark: #0f172a;
  --pub-text-main: #0f172a;
  --pub-text-muted: #64748b;
  --pub-text-light: #94a3b8;
  --pub-border: #e2e8f0;
  --pub-border-dark: #334155;
  --pub-brand-red: #dc2626;
  --pub-brand-red-hover: #b91c1c;
  --pub-brand-navy: #1e293b;
  --pub-focus-ring: #2563eb;

  --pub-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pub-radius: 2px;
  --pub-transition: 0.15s ease-in-out;
  --pub-max-width: 1280px;
  --pub-reading-width: 75ch;
}

/* Base resets & typography */
html {
  font-family: var(--pub-font);
  background-color: var(--pub-bg);
  color: var(--pub-text-main);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--pub-bg);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pub-brand-navy);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--pub-radius);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Container */
.pub-container {
  width: 100%;
  max-width: var(--pub-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Header */
.pub-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--pub-border);
  background: #ffffff;
}

.pub-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--pub-border);
}

.pub-brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--pub-brand-navy);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pub-brand span.highlight {
  color: var(--pub-brand-red);
}

.pub-header-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-text-muted);
}

.pub-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: visible;
  white-space: nowrap;
  padding: 12px 0;
}

.pub-nav-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--pub-text-main);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--pub-transition);
}

.pub-nav-item:hover,
.pub-nav-item.active {
  color: var(--pub-brand-red);
  border-bottom-color: var(--pub-brand-red);
}

.pub-nav-item.parent-active {
  color: var(--pub-brand-navy);
  border-bottom-color: var(--pub-brand-navy);
}

.pub-nav-item-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pub-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  max-width: min(280px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid var(--pub-border);
  border-radius: 4px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  z-index: 900;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

/* Hover bridge preventing space flicker */
.pub-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.pub-dropdown-menu.align-right {
  left: auto;
  right: 0;
}

.pub-dropdown-item {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-text-main);
  text-decoration: none;
  text-transform: none;
  transition: all var(--pub-transition);
}

.pub-dropdown-item:hover,
.pub-dropdown-item.active {
  background: var(--pub-surface);
  color: var(--pub-brand-red);
}

/* Mobile Drawer */
.pub-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 9999;
}

.pub-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86vw, 340px);
  background: #ffffff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Breaking Bar & Scrolling Ticker */
.pub-breaking-bar {
  background: var(--pub-brand-red);
  color: #ffffff;
  padding: 8px 0;
  overflow: hidden;
}
.pub-breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.pub-breaking-badge {
  background: #991b1b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--pub-radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  z-index: 2;
}
.pub-breaking-single {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-breaking-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.pub-breaking-title:hover {
  text-decoration: underline;
}
.pub-breaking-ticker-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.pub-breaking-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: pubBreakingTicker 28s linear infinite;
  will-change: transform;
}
.pub-breaking-ticker-wrapper:hover .pub-breaking-ticker-track {
  animation-play-state: paused;
}
.pub-breaking-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.pub-breaking-ticker-item:hover {
  text-decoration: underline;
}
.pub-breaking-ticker-bullet {
  color: #fecdd3;
  font-size: 16px;
}
@keyframes pubBreakingTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ad Containers & AdSense Support */
.pub-ad-container {
  margin: 24px auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pub-ad-container[data-slot-code="article_detail_sidebar"] {
  min-height: 250px;
}
.pub-ad-container[data-slot-code="home_after_lead"],
.pub-ad-container[data-slot-code="home_middle"],
.pub-ad-container[data-slot-code="category_top"] {
  min-height: 250px;
}
.pub-ad-container[data-slot-code="article_after_summary"],
.pub-ad-container[data-slot-code="article_after_content"] {
  min-height: 90px;
}

.pub-ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: var(--pub-text-muted);
  margin-bottom: 6px;
  padding: 0 4px;
}
.pub-ad-badge {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--pub-surface);
  color: var(--pub-text-muted);
  padding: 2px 6px;
  border-radius: var(--pub-radius);
  font-size: 10px;
}
.pub-ad-advertiser {
  font-size: 11px;
  color: var(--pub-text-muted);
  font-weight: 600;
}
.pub-ad-link {
  display: block;
  overflow: hidden;
  border-radius: var(--pub-radius);
  transition: opacity 0.15s ease;
  max-width: 100%;
}
.pub-ad-link:hover {
  opacity: 0.95;
}
.pub-ad-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.pub-adsense-unit {
  display: block;
  width: 100%;
}
.pub-ad-test-placeholder {
  background: #0f172a;
  color: #38bdf8;
  border: 1px dashed #0284c7;
  padding: 16px;
  font-family: monospace;
  font-size: 13px;
  text-align: center;
  border-radius: var(--pub-radius);
  width: 100%;
  user-select: none;
}

/* Section Header */
.pub-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--pub-brand-navy);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.pub-section-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--pub-brand-navy);
  margin: 0;
}
.pub-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--pub-brand-red);
  text-decoration: none;
}
.pub-section-link:hover {
  text-decoration: underline;
}

/* Cards & Grid */
.pub-hero-primary {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pub-border);
  background: #ffffff;
}
.pub-hero-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--pub-surface);
  overflow: hidden;
  position: relative;
}
.pub-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-hero-content {
  padding: 20px;
}
.pub-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pub-brand-red);
  margin-bottom: 8px;
  text-decoration: none;
}
.pub-hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px 0;
}
.pub-hero-title a {
  color: var(--pub-text-main);
  text-decoration: none;
}
.pub-hero-title a:hover {
  color: var(--pub-brand-red);
}
.pub-hero-summary {
  font-size: 15px;
  color: var(--pub-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Article List Item */
.pub-article-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pub-border);
}
.pub-article-item:last-child {
  border-bottom: none;
}
.pub-article-item-thumb {
  width: 100px;
  height: 68px;
  flex-shrink: 0;
  background: var(--pub-surface);
  overflow: hidden;
  border-radius: var(--pub-radius);
}
.pub-article-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-article-item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px 0;
}
.pub-article-item-title a {
  color: var(--pub-text-main);
  text-decoration: none;
}
.pub-article-item-title a:hover {
  color: var(--pub-brand-red);
}
.pub-meta {
  font-size: 12px;
  color: var(--pub-text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Article Shell & Smart Sidebar Layout */
.pub-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.pub-article-shell--single {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.pub-article-main {
  min-width: 0;
}
.pub-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pub-sidebar-block {
  background: #ffffff;
  border: 1px solid var(--pub-border);
  padding: 16px;
  border-radius: var(--pub-radius);
}
.pub-sidebar-ad {
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
}
@media (max-width: 1024px) {
  .pub-article-shell {
    grid-template-columns: 1fr;
  }
  .pub-article-sidebar {
    position: static;
  }
}

/* Article Reading View */
.pub-article-header {
  margin-bottom: 24px;
}
.pub-article-detail-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin: 12px 0;
  color: var(--pub-brand-navy);
}
.pub-article-summary {
  font-size: 19px;
  font-weight: 500;
  color: var(--pub-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  border-left: 4px solid var(--pub-brand-red);
  padding-left: 16px;
}
.pub-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--pub-border);
  border-bottom: 1px solid var(--pub-border);
  font-size: 13px;
  color: var(--pub-text-muted);
  margin-bottom: 24px;
}

.pub-article-body {
  width: 100%;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 40px;
}
.pub-article-body p {
  margin-bottom: 1.5em;
}
.pub-article-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: var(--pub-brand-navy);
}
.pub-article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: var(--pub-brand-navy);
}
.pub-article-body blockquote {
  border-left: 4px solid var(--pub-brand-navy);
  margin: 1.8em 0;
  padding: 12px 20px;
  background: var(--pub-surface);
  font-style: italic;
  font-size: 19px;
}
.pub-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.pub-article-body th,
.pub-article-body td {
  border: 1px solid var(--pub-border);
  padding: 10px 14px;
  font-size: 15px;
}
.pub-article-body th {
  background: var(--pub-surface);
  font-weight: 700;
}

/* Sensitive Content Overlay */
.pub-sensitive-container {
  position: relative;
  overflow: hidden;
}
.pub-sensitive-blur {
  filter: blur(20px);
  pointer-events: none;
  user-select: none;
}
.pub-sensitive-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 10;
}

/* Social Share Links */
.pub-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--pub-border);
  border-bottom: 1px solid var(--pub-border);
}
.pub-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: var(--pub-brand-navy);
  text-decoration: none;
  border-radius: var(--pub-radius);
  border: none;
  cursor: pointer;
}
.pub-share-btn:hover {
  opacity: 0.9;
}

/* Footer */
.pub-footer {
  background: var(--pub-brand-navy);
  color: #94a3b8;
  padding: 40px 0 24px 0;
  margin-top: 60px;
  border-top: 4px solid var(--pub-brand-red);
}
.pub-footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.pub-footer a:hover {
  color: #ffffff;
}

/* Image Fit & Responsive Utility Classes */
.pub-responsive-img {
  width: 100%;
  height: 100%;
  display: block;
}
.pub-fit-cover {
  object-fit: cover;
}
.pub-fit-contain {
  object-fit: contain;
}
.pub-fit-fill {
  object-fit: fill;
}
.pub-fit-scale-down {
  object-fit: scale-down;
}

/* Header Component Responsive Layout */
.pub-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--pub-border);
  position: relative;
}
.pub-header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pub-search-desktop {
  display: flex;
  align-items: center;
  position: relative;
}
.pub-search-input-desktop {
  padding: 6px 32px 6px 12px;
  font-size: 13px;
  border: 1px solid var(--pub-border, #e2e8f0);
  border-radius: 20px;
  outline: none;
  width: 180px;
  transition: width 0.2s;
}
.pub-search-submit-desktop {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #64748b;
  font-size: 14px;
}

.pub-mobile-search-trigger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--pub-text-main);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.pub-mobile-trigger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--pub-text-main);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.pub-mobile-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--pub-border);
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 900;
}
.pub-mobile-search-form {
  display: flex;
  gap: 8px;
}
.pub-mobile-search-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--pub-border);
  border-radius: 4px;
  outline: none;
}
.pub-mobile-search-submit {
  background: var(--pub-brand-navy);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
}

/* Breaking Bar Responsive Layout */
.pub-breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.pub-breaking-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.pub-breaking-title-primary {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: block;
}
.pub-breaking-desktop-items {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  overflow: hidden;
}

/* Home Section Layouts */
.pub-hero-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.pub-hero-secondary-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pub-hero-secondary-card {
  border: 1px solid var(--pub-border);
  background: #ffffff;
  min-width: 0;
}
.pub-hero-secondary-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.pub-hero-secondary-content {
  padding: 12px;
}
.pub-hero-secondary-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.pub-hero-secondary-title a {
  color: var(--pub-text-main);
  text-decoration: none;
}
.pub-tag-sm {
  font-size: 10px;
}

/* Featured & Editor Section */
.pub-featured-editor-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.pub-featured-wrapper,
.pub-editor-choice-wrapper {
  min-width: 0;
}
.pub-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pub-featured-card {
  border: 1px solid var(--pub-border);
  padding: 10px;
  background: #ffffff;
  min-width: 0;
}
.pub-featured-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 8px;
}
.pub-featured-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.pub-featured-title a {
  color: var(--pub-text-main);
  text-decoration: none;
}

.pub-editor-choice-list {
  display: flex;
  flex-direction: column;
}
.pub-editor-item {
  border-bottom: 1px solid var(--pub-border);
}
.pub-article-item-content {
  min-width: 0;
  flex: 1;
}

/* Columnists & Showcases */
.pub-columnists-block {
  margin-bottom: 40px;
  background: var(--pub-surface);
  border: 1px solid var(--pub-border);
  padding: 20px;
  border-radius: 4px;
}
.pub-columnists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.pub-columnist-card {
  border: 1px solid var(--pub-border);
  padding: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 4px;
  min-width: 0;
}
.pub-columnist-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 10px;
  flex-shrink: 0;
  border: 2px solid var(--pub-brand-navy);
}
.pub-columnist-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #475569;
}
.pub-columnist-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--pub-brand-navy);
  text-decoration: none;
  margin-bottom: 2px;
  line-height: 1.2;
}
.pub-columnist-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--pub-brand-red);
  margin-bottom: 8px;
}
.pub-columnist-article-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  text-align: left;
  width: 100%;
}
.pub-columnist-article-title a {
  color: var(--pub-text-main);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-showcase-block {
  margin-bottom: 40px;
}
.pub-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.pub-showcase-card {
  border: 1px solid var(--pub-border);
  padding: 10px;
  background: #ffffff;
  min-width: 0;
}
.pub-showcase-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 8px;
}
.pub-showcase-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.pub-showcase-title a {
  color: var(--pub-text-main);
  text-decoration: none;
}

.pub-latest-news-block {
  margin-top: 40px;
}
.pub-latest-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.pub-latest-card {
  border: 1px solid var(--pub-border);
  padding: 12px;
  background: #ffffff;
  min-width: 0;
}

/* Footer Responsive Layout */
.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.pub-footer-brand-col,
.pub-footer-cat-col,
.pub-footer-corp-col {
  min-width: 0;
}
.pub-footer-logo {
  max-height: 40px;
  width: auto;
}
.pub-footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 8px;
}
.pub-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pub-footer-social-link {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}
.pub-footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pub-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.pub-footer-cats-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-footer-link {
  color: #cbd5e1;
  text-decoration: none;
  padding: 2px 0;
  display: inline-block;
}
.pub-footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Mobile & Tablet Media Queries */
@media (max-width: 1024px) {
  .pub-featured-editor-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pub-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pub-footer-brand-col {
    grid-column: span 2;
  }
}
/* Mobile Search Panel (Inline Flow in Header) */
.pub-mobile-search-panel {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--pub-border);
  padding: 12px 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}
.pub-mobile-search-form {
  display: flex;
  gap: 8px;
  max-width: 100%;
}
.pub-mobile-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius, 4px);
  outline: none;
}
.pub-mobile-search-submit {
  background: var(--pub-brand-navy);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--pub-radius, 4px);
  cursor: pointer;
  min-height: 44px;
  flex-shrink: 0;
}

/* Mobile Drawer Overlay & Slide-Out Panel */
.pub-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
}
.pub-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}
.pub-drawer {
  position: relative;
  width: min(86vw, 340px);
  height: 100%;
  background: #ffffff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
}
.pub-drawer-header {
  min-height: 64px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--pub-border);
  background: var(--pub-surface, #f8fafc);
  flex-shrink: 0;
}
.pub-drawer-close {
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--pub-text-main);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.pub-drawer-close:hover,
.pub-drawer-close:focus-visible {
  background: #e2e8f0;
  outline: 2px solid var(--pub-brand-navy);
}
.pub-drawer-body {
  padding: 12px 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.pub-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pub-drawer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #f1f5f9;
}
.pub-drawer-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--pub-text-main);
  text-decoration: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 48px;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.pub-drawer-link:hover {
  color: var(--pub-brand-navy);
  background: #f8fafc;
}
.pub-drawer-link.active {
  color: var(--pub-brand-red);
  font-weight: 700;
  border-left-color: var(--pub-brand-red);
  background: #fef2f2;
}
.pub-drawer-link.parent-active {
  color: var(--pub-brand-navy);
  font-weight: 700;
}
.pub-drawer-accordion-btn {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: var(--pub-text-muted, #64748b);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.pub-drawer-accordion-btn:focus-visible {
  outline: 2px solid var(--pub-brand-navy);
  border-radius: 4px;
}
.pub-drawer-chevron {
  display: inline-block;
  transition: transform 0.2s ease;
  font-weight: 700;
}
.pub-drawer-chevron.open {
  transform: rotate(180deg);
}

.pub-drawer-subcat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2px;
  margin-bottom: 6px;
}
.pub-drawer-subcat-list.level-1 {
  padding-left: 16px;
  border-left: 2px solid var(--pub-border);
}
.pub-drawer-subcat-list.level-2 {
  padding-left: 28px;
  border-left: 2px solid #cbd5e1;
}
.pub-drawer-subcat-list .pub-drawer-row {
  min-height: 44px;
  border-bottom: none;
}
.pub-drawer-subcat-list .pub-drawer-link {
  font-size: 14px;
  min-height: 44px;
  padding: 8px 10px;
}

/* Detail Page Social Share Bar Grid Layout */
.pub-share-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
  padding: 16px 0;
  border-top: 1px solid var(--pub-border);
  border-bottom: 1px solid var(--pub-border);
  width: 100%;
}
.pub-share-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pub-text-muted);
}
.pub-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.pub-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  min-height: 44px;
  box-sizing: border-box;
  text-align: center;
  transition: opacity 0.15s ease;
}
.pub-share-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}
.pub-share-twitter {
  background: #000000;
}
.pub-share-facebook {
  background: #1877f2;
}
.pub-share-whatsapp {
  background: #25d366;
}
.pub-share-telegram {
  background: #229ed9;
}
.pub-share-copy {
  background: #475569;
}
.pub-share-full {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .pub-share-bar {
    flex-direction: row;
    align-items: center;
  }
  .pub-share-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .pub-share-full {
    grid-column: auto;
  }
}

/* Category Page Header & Tag Bar Touch Targets */
.pub-category-header {
  margin-bottom: 28px;
  min-width: 0;
}
.pub-tag-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pub-tag-bar::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .pub-nav {
    display: none !important;
  }
  .pub-header-top {
    padding: 8px 0;
  }
  .pub-header-right-actions {
    gap: 8px;
  }
  .pub-header-date {
    display: none;
  }
  .pub-search-desktop {
    display: none;
  }
  .pub-mobile-search-trigger {
    display: flex;
  }
  .pub-mobile-trigger {
    display: flex;
  }
  .pub-hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
  }
  .pub-hero-title {
    font-size: 18px;
    line-height: 1.3;
  }
  .pub-hero-summary {
    font-size: 13px;
    line-height: 1.4;
  }
  .pub-hero-content {
    padding: 14px;
  }
  .pub-breaking-desktop-items {
    display: none;
  }
  .pub-featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pub-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .pub-footer-brand-col {
    grid-column: span 1;
  }
  .pub-footer-cats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
