/*
Theme Name: Portal Inhai
Theme URI: https://inhai.com.br/
Author: Portal Inhai
Author URI: https://inhai.com.br/
Description: Tema jornalístico responsivo criado para o Portal Inhai, com manchetes, canais editoriais, vídeos, colunistas, horóscopo e anúncios.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: inhai-portal
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

:root {
  --inhai-navy: #071a33;
  --inhai-blue: #075fd8;
  --inhai-red: #e41f26;
  --inhai-purple: #6f19d9;
  --inhai-orange: #f25a00;
  --inhai-green: #087a4c;
  --inhai-pink: #d60068;
  --inhai-text: #0b1425;
  --inhai-muted: #617085;
  --inhai-line: #e5e9ef;
  --inhai-surface: #ffffff;
  --inhai-bg: #f4f6f8;
  --inhai-radius: 10px;
  --inhai-shadow: 0 8px 24px rgba(7, 26, 51, .08);
  --inhai-container: 1480px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--inhai-text);
  background: var(--inhai-bg);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--inhai-blue); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 16px;
  clip: auto;
  color: #fff;
  background: var(--inhai-navy);
}

.site-container {
  width: min(calc(100% - 64px), var(--inhai-container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--inhai-line);
  box-shadow: 0 2px 12px rgba(7, 26, 51, .04);
  backdrop-filter: blur(12px);
}

body.admin-bar .site-header { top: 32px; }

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 300px;
}

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 270px; max-height: 66px; }

.brand-fallback { display: flex; align-items: center; gap: 18px; }
.brand-name {
  color: var(--inhai-navy);
  font-size: clamp(36px, 3.2vw, 58px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -4px;
}
.brand-tagline {
  max-width: 112px;
  color: #8aa1bc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.primary-navigation { margin-left: auto; }
.primary-navigation ul, .footer-menu, .social-menu { margin: 0; padding: 0; list-style: none; }
.primary-navigation > div > ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.primary-navigation a {
  display: block;
  padding: 34px 0;
  color: var(--inhai-text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.primary-navigation li { position: relative; }
.primary-navigation .current-menu-item > a,
.primary-navigation a:hover { color: var(--inhai-blue); }
.primary-navigation .sub-menu {
  position: absolute;
  top: 76px;
  left: -18px;
  display: none;
  min-width: 220px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--inhai-line);
  border-radius: 8px;
  box-shadow: var(--inhai-shadow);
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu a { padding: 10px 18px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button, .menu-toggle {
  width: 46px; height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--inhai-navy);
  background: #fff;
  border: 1px solid var(--inhai-line);
  border-radius: 12px;
  cursor: pointer;
}
.icon-button:hover, .menu-toggle:hover { background: #f1f5f9; }
.icon-button svg, .menu-toggle svg { width: 25px; height: 25px; }
.live-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  color: #fff;
  background: var(--inhai-red);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 7px 18px rgba(228, 31, 38, .22);
}
.live-button:hover { color: #fff; background: #bd1117; }
.live-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.menu-toggle { border: 0; background: transparent; }

.search-panel {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: 16vh;
  background: rgba(7, 26, 51, .94);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel-inner { width: min(760px, calc(100% - 40px)); }
.search-panel .search-form { display: flex; gap: 10px; }
.search-panel .search-field {
  width: 100%;
  padding: 18px 20px;
  color: var(--inhai-navy);
  background: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 20px;
}
.search-panel .search-submit {
  padding: 0 28px;
  color: #fff;
  background: var(--inhai-blue);
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}
.search-close { position: absolute; top: 34px; right: 34px; color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }

.hero-zone { padding: 22px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.75fr .92fr .98fr;
  gap: 22px;
}
.story-card {
  position: relative;
  overflow: hidden;
  background: var(--inhai-surface);
  border: 1px solid var(--inhai-line);
  border-radius: var(--inhai-radius);
}
.story-card:hover { box-shadow: var(--inhai-shadow); }
.story-media { position: relative; overflow: hidden; background: linear-gradient(135deg, #dbe7f5, #a9bed8); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card:hover .story-media img { transform: scale(1.025); }
.story-media.no-image::after {
  content: "INHAI";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(7, 26, 51, .25);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -2px;
}

.hero-main { min-height: 430px; }
.hero-main .story-media { position: absolute; inset: 0; }
.hero-main .story-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 20% 0 0;
  background: linear-gradient(transparent, rgba(2, 10, 22, .92));
}
.hero-main-content {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 44px;
  bottom: 98px;
  color: #fff;
}
.story-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--category-color, var(--inhai-blue));
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-main .story-category { color: #fff; }
.hero-title, .story-title, .entry-title, .section-title { font-family: Georgia, "Times New Roman", serif; }
.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.07;
  letter-spacing: -.8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.hero-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.hero-deck { max-width: 760px; margin: 9px 0 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.35; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-briefs {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 13px 24px;
  color: #fff;
  background: linear-gradient(90deg, #f13a34, #dc171f);
}
.hero-briefs span { padding: 0 15px; font-size: 13px; font-weight: 800; line-height: 1.35; border-left: 1px solid rgba(255,255,255,.55); }
.hero-briefs span:first-child { border-left: 0; }
.hero-briefs span::before { content: "•"; margin-right: 7px; }

.hero-secondary .story-media { height: 235px; }
.story-body { padding: 19px 20px 22px; }
.story-title { margin: 0; font-size: 20px; line-height: 1.12; letter-spacing: -.25px; overflow-wrap: break-word; hyphens: auto; }
.story-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.story-excerpt { margin: 12px 0 0; color: var(--inhai-muted); font-size: 15px; line-height: 1.38; }
.hero-carousel .story-media { height: 220px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 13px; }
.carousel-dots span { width: 9px; height: 9px; background: #c8ced7; border-radius: 50%; }
.carousel-dots span:first-child { background: var(--inhai-navy); }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 34px;
}
.quick-card .story-media { height: 145px; border-radius: var(--inhai-radius) var(--inhai-radius) 0 0; }
.quick-card .story-body { padding: 13px 16px 18px; }
.quick-card .story-title { font-size: 17px; line-height: 1.16; }
.quick-card .story-title a { -webkit-line-clamp: 3; }
.quick-card .story-excerpt { margin-top: 6px; font-size: 14px; }

.content-area { padding: 38px 0 72px; background: #fff; border-top: 1px solid var(--inhai-line); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, .72fr); gap: 52px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; border-bottom: 3px solid var(--inhai-navy); }
.section-title { margin: 0; padding: 0 0 12px; font-size: 31px; line-height: 1; }
.section-link { color: var(--inhai-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.news-list { display: grid; gap: 0; }
.news-row { display: grid; grid-template-columns: 245px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--inhai-line); }
.news-row:first-child { padding-top: 0; }
.news-row .story-media { height: 150px; border-radius: 8px; }
.news-row .story-title { font-size: 27px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #8894a4; font-size: 12px; }
.story-meta a { color: inherit; }

/* Canais editoriais da página inicial */
.channels-area { padding: 48px 0 72px; background: #fff; border-top: 1px solid var(--inhai-line); }
.channels-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.channels-kicker { display: block; margin-bottom: 5px; color: var(--inhai-blue); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.channels-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 43px); line-height: 1; }
.channels-description { max-width: 550px; margin: 0; color: var(--inhai-muted); font-size: 14px; line-height: 1.45; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 26px; }
.channel-panel { --channel-color: var(--inhai-blue); min-width: 0; }
.channel-heading { display: flex; align-items: center; justify-content: center; min-height: 39px; margin: 0 0 10px; padding: 0 12px; color: var(--channel-color); border-top: 3px solid var(--channel-color); border-bottom: 1px solid var(--inhai-line); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; text-align: center; text-transform: uppercase; }
.channel-heading a:hover { color: var(--channel-color); opacity: .72; }
.channel-lead { position: relative; min-height: 250px; overflow: hidden; background: #dce5ef; border-radius: 7px; }
.channel-lead .story-media { position: absolute; inset: 0; }
.channel-lead .story-media::before { content: ""; position: absolute; z-index: 1; inset: 34% 0 0; background: linear-gradient(transparent, rgba(3, 12, 24, .93)); }
.channel-lead-content { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 17px; color: #fff; }
.channel-lead-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.12; letter-spacing: -.15px; text-shadow: 0 2px 7px rgba(0,0,0,.35); }
.channel-lead-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.channel-list { display: grid; gap: 11px; margin-top: 12px; }
.channel-mini { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 67px; padding-bottom: 11px; border-bottom: 1px solid var(--inhai-line); }
.channel-mini:last-child { padding-bottom: 0; border-bottom: 0; }
.channel-mini .story-media { height: 67px; border-radius: 5px; }
.channel-mini-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.channel-mini-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.play-band { margin-top: 48px; overflow: hidden; background: #edf5ff; border-radius: 10px; }
.play-heading { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; color: #fff; background: linear-gradient(90deg, #0869ef, #3399ff); }
.play-heading h2 { margin: 0; font-size: 26px; font-weight: 950; letter-spacing: -1.2px; }
.play-heading a { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.play-heading a:hover { color: #fff; opacity: .8; }
.play-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; padding: 20px; }
.play-card { display: grid; grid-template-columns: 46% 1fr; min-height: 150px; overflow: hidden; background: #fff; border-radius: 7px; }
.play-card .story-media { min-height: 150px; }
.play-card-body { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
.play-card-title { margin: 0; font-family: Georgia, serif; font-size: 17px; line-height: 1.15; }
.play-card-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.play-card:first-child { color: #fff; background: #087ff0; }
.play-card:first-child .play-card-title { font-size: 20px; }
.play-icon { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-bottom: 9px; color: #087ff0; background: #fff; border-radius: 50%; font-size: 11px; }

.columnists-band { margin-top: 48px; border-top: 3px solid var(--inhai-red); border-bottom: 1px solid #cfd5de; }
.columnists-heading, .horoscope-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0 12px; }
.columnists-heading span, .horoscope-heading span { display: block; margin-bottom: 3px; color: var(--inhai-red); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.columnists-heading h2, .horoscope-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1; }
.columnists-heading > a, .horoscope-heading > a { color: var(--inhai-blue); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.columnists-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.columnist-card { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 126px; padding: 19px 20px; border-top: 1px solid var(--inhai-line); border-right: 1px solid var(--inhai-line); }
.columnist-card:nth-child(-n+4) { border-top: 0; }
.columnist-card:nth-child(4n+1) { padding-left: 0; }
.columnist-card:nth-child(4n), .columnist-card:last-child { padding-right: 0; border-right: 0; }
.columnist-avatar { display: block; width: 82px; height: 82px; overflow: hidden; background: #edf1f5; border-radius: 14px; }
.columnist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.columnist-copy { min-width: 0; }
.columnist-copy h3 { margin: 0 0 8px; color: var(--inhai-red); font-size: 16px; line-height: 1.1; }
.columnist-copy h3 a:hover { color: #a60e14; }
.columnist-copy p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.28; }
.columnist-copy p a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.horoscope-band { margin-top: 44px; padding: 0 22px 24px; background: linear-gradient(135deg, #faf7ff 0%, #f1f7ff 100%); border: 1px solid #e2ddef; border-radius: 10px; }
.horoscope-heading span { color: #8a2be2; }
.horoscope-source { margin: 6px 0 0; color: var(--inhai-muted); font-size: 11px; line-height: 1.2; }
.horoscope-source a { color: #6f19d9; font-weight: 800; }
.zodiac-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.zodiac-card { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 116px; padding: 10px 4px; color: var(--inhai-navy); background: rgba(255,255,255,.78); border: 1px solid rgba(111,25,217,.1); border-radius: 8px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.zodiac-card:hover { color: var(--inhai-navy); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(68,32,105,.12); }
.zodiac-symbol { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 7px; color: #fff; background: #e63b42; border-radius: 50%; font-size: 27px; line-height: 1; }
.zodiac-card strong { font-size: 12px; line-height: 1.1; }
.zodiac-card small { margin-top: 4px; color: var(--inhai-muted); font-size: 8px; white-space: nowrap; }
.zodiac-card-2 .zodiac-symbol, .zodiac-card-6 .zodiac-symbol, .zodiac-card-10 .zodiac-symbol { background: #26a269; }
.zodiac-card-3 .zodiac-symbol, .zodiac-card-7 .zodiac-symbol, .zodiac-card-11 .zodiac-symbol { background: #e09c21; }
.zodiac-card-4 .zodiac-symbol, .zodiac-card-8 .zodiac-symbol, .zodiac-card-12 .zodiac-symbol { background: #2477d4; }
.zodiac-card-5 .zodiac-symbol, .zodiac-card-9 .zodiac-symbol { background: #8a2be2; }

.trending-board { margin-top: 48px; border-top: 1px solid #cbd2dc; }
.trending-title { display: inline-block; margin: -1px 0 20px; padding: 10px 18px; color: #fff; background: var(--inhai-blue); border-radius: 0 0 6px 6px; font-size: 17px; font-weight: 900; }
.trending-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trending-column h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; }
.trending-column ol { counter-reset: board; margin: 0; padding: 0; list-style: none; }
.trending-column li { position: relative; min-height: 38px; padding: 0 0 10px 27px; margin-bottom: 10px; border-bottom: 1px solid var(--inhai-line); font-size: 13px; line-height: 1.28; }
.trending-column li::before { counter-increment: board; content: counter(board); position: absolute; left: 0; top: 0; color: var(--inhai-blue); font-weight: 900; }

.sidebar { display: grid; align-content: start; gap: 28px; }
.widget {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--inhai-line);
  border-radius: var(--inhai-radius);
}
.widget-title { margin: 0 0 18px; padding-bottom: 12px; font-size: 20px; border-bottom: 2px solid var(--inhai-red); }
.popular-list { counter-reset: popular; margin: 0; padding: 0; list-style: none; }
.popular-list li { position: relative; min-height: 54px; padding: 0 0 16px 42px; margin-bottom: 16px; border-bottom: 1px solid var(--inhai-line); }
.popular-list li:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.popular-list li::before { counter-increment: popular; content: counter(popular); position: absolute; left: 0; top: -5px; color: #d6dce4; font-family: Georgia, serif; font-size: 34px; font-weight: 900; }
.popular-list a { font-family: Georgia, serif; font-size: 17px; font-weight: 700; line-height: 1.18; }
.ad-slot {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #a0a9b5;
  background: #f5f6f8;
  border: 1px dashed #cbd2dc;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
}

.portal-ad { margin: 28px 0; }
.portal-ad-inner { width: min(calc(100% - 40px), var(--inhai-container)); margin: 0 auto; text-align: center; }
.portal-ad-middle .portal-ad-inner { width: 100%; }
.portal-ad-label { display: block; margin-bottom: 7px; color: #8b95a3; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portal-ad-content { max-width: 100%; overflow: hidden; }
.portal-ad-content img, .portal-ad-content iframe, .portal-ad-content video { max-width: 100%; }
.portal-ad-content img { height: auto; }
.portal-ad-footer { margin: 40px 0 0; padding: 28px 0; background: #f5f7fa; border-top: 1px solid var(--inhai-line); }

.page-shell { padding: 46px 0 80px; background: #fff; }
.archive-header { margin-bottom: 34px; }
.archive-label { color: var(--inhai-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.archive-title { margin: 6px 0 0; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 56px); letter-spacing: -1px; }
.archive-description { max-width: 760px; color: var(--inhai-muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid .story-media { height: 190px; }
.post-grid .story-title { font-size: 24px; }

.single-layout { display: grid; grid-template-columns: minmax(0, 850px) minmax(280px, 360px); justify-content: space-between; gap: 58px; }
.single-article .entry-title { margin: 8px 0 18px; font-size: clamp(38px, 5vw, 66px); line-height: .98; letter-spacing: -1.7px; }
.entry-subtitle { margin: 0 0 20px; color: var(--inhai-muted); font-size: 20px; line-height: 1.42; }
.single-featured { margin: 28px 0; overflow: hidden; border-radius: 12px; }
.single-featured img { width: 100%; }
.entry-content { color: #253246; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.entry-content > * { max-width: 100%; }
.entry-content a { color: var(--inhai-blue); text-decoration: underline; }
.entry-content h2, .entry-content h3 { color: var(--inhai-navy); line-height: 1.15; }
.entry-content blockquote { margin: 28px 0; padding: 8px 0 8px 24px; border-left: 5px solid var(--inhai-red); font-size: 24px; font-weight: 700; line-height: 1.35; }
.entry-content iframe { max-width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.post-tags a { padding: 7px 10px; background: #eef2f6; border-radius: 5px; font-size: 12px; }
.author-box { display: flex; gap: 18px; margin-top: 36px; padding: 24px; background: var(--inhai-bg); border-radius: 10px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; }
.author-box h3 { margin: 4px 0 5px; }
.author-box p { margin: 0; color: var(--inhai-muted); font-size: 14px; }

.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 40px; padding: 10px 13px; background: #eef2f6; border-radius: 5px; text-align: center; }
.pagination .current { color: #fff; background: var(--inhai-blue); }

.comments-area { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--inhai-line); }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { margin-bottom: 18px; padding: 20px; background: var(--inhai-bg); border-radius: 8px; }
.comment-meta { font-size: 13px; }
.comment-content { margin-top: 12px; }
.comment-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid #ccd4df; border-radius: 6px; }
.submit { padding: 12px 20px; color: #fff; background: var(--inhai-blue); border: 0; border-radius: 6px; font-weight: 800; cursor: pointer; }

.site-footer { background: #fff; border-top: 1px solid var(--inhai-line); }
.footer-logo-only { display: flex; align-items: center; justify-content: center; padding: 34px 0; }
.footer-logo-only a { display: inline-flex; align-items: center; justify-content: center; }
.footer-logo-only img { display: block; width: min(420px, 86vw); max-width: 100%; height: auto; }

.alignwide { width: min(1100px, 100%); max-width: none; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--inhai-muted); font-size: 12px; }
.sticky { outline: 2px solid transparent; }
.gallery-caption { color: var(--inhai-muted); }
.bypostauthor { outline: 0; }

@media (max-width: 1260px) {
  .site-container { width: min(calc(100% - 40px), var(--inhai-container)); }
  .header-inner { gap: 18px; }
  .site-branding { min-width: 230px; }
  .brand-tagline { display: none; }
  .primary-navigation > div > ul { gap: 18px; }
  .primary-navigation a { font-size: 13px; }
  .hero-grid { grid-template-columns: 1.55fr .9fr .9fr; }
  .hero-title { font-size: 34px; }
}

@media (max-width: 1080px) {
  .primary-navigation { position: fixed; z-index: 220; top: 0; right: -100%; width: min(390px, 88vw); height: 100vh; padding: 90px 28px 30px; background: #fff; box-shadow: -10px 0 30px rgba(7,26,51,.18); transition: right .25s ease; overflow-y: auto; }
  .primary-navigation.is-open { right: 0; }
  .primary-navigation > div > ul { display: block; }
  .primary-navigation a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--inhai-line); }
  .primary-navigation .sub-menu { position: static; display: block; padding-left: 16px; border: 0; box-shadow: none; }
  .primary-navigation .sub-menu a { padding: 10px 0; font-size: 15px; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
  .hero-carousel { grid-column: 1 / -1; display: grid; grid-template-columns: 42% 1fr; }
  .hero-carousel .story-media { height: 230px; }
  .carousel-dots { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .single-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-grid { grid-template-columns: 1fr 1fr; }
  .play-card:first-child { grid-column: 1 / -1; }
  .columnists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columnist-card:nth-child(n) { padding: 19px 20px; border-top: 1px solid var(--inhai-line); border-right: 1px solid var(--inhai-line); }
  .columnist-card:nth-child(-n+2) { border-top: 0; }
  .columnist-card:nth-child(2n+1) { padding-left: 0; }
  .columnist-card:nth-child(2n), .columnist-card:last-child { padding-right: 0; border-right: 0; }
  .zodiac-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .site-container { width: min(calc(100% - 28px), var(--inhai-container)); }
  .header-inner { min-height: 72px; }
  .site-branding { min-width: 0; }
  .brand-name { font-size: 38px; }
  .custom-logo { max-width: 190px; max-height: 52px; }
  .live-button { width: 46px; padding: 0; justify-content: center; }
  .live-button .live-text { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 480px; }
  .hero-secondary .story-media { height: 220px; }
  .hero-carousel { display: block; }
  .hero-carousel .story-media { height: 220px; }
  .news-row { grid-template-columns: 170px 1fr; gap: 16px; }
  .news-row .story-media { height: 120px; }
  .news-row .story-title { font-size: 22px; }
  .sidebar { grid-template-columns: 1fr; }
  .channels-intro { display: block; }
  .channels-description { margin-top: 12px; }
  .trending-columns { grid-template-columns: 1fr; gap: 22px; }
  .zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .header-actions { gap: 4px; }
  .icon-button, .menu-toggle, .live-button { width: 41px; height: 41px; min-height: 41px; }
  .hero-main { min-height: 510px; }
  .hero-main-content { left: 20px; right: 20px; bottom: 142px; }
  .hero-title { font-size: 29px; }
  .hero-deck { font-size: 14px; }
  .hero-briefs { grid-template-columns: 1fr; padding: 11px 18px; }
  .hero-briefs span { padding: 3px 0; border-left: 0; }
  .quick-grid, .post-grid { grid-template-columns: 1fr; }
  .channel-grid, .play-grid { grid-template-columns: 1fr; }
  .play-card:first-child { grid-column: auto; }
  .channel-lead { min-height: 235px; }
  .play-card { grid-template-columns: 42% 1fr; }
  .columnists-heading, .horoscope-heading { align-items: flex-start; }
  .columnists-grid { grid-template-columns: 1fr; }
  .columnists-grid .columnist-card { padding: 16px 0; border-right: 0; border-top: 1px solid var(--inhai-line); }
  .columnists-grid .columnist-card:first-child { border-top: 0; }
  .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .horoscope-band { padding-inline: 14px; }
  .quick-card .story-media, .post-grid .story-media { height: 210px; }
  .news-row { grid-template-columns: 1fr; }
  .news-row .story-media { height: 210px; }
  .single-article .entry-title { font-size: 39px; }
  .entry-content { font-size: 18px; }
  .portal-ad-inner { width: min(calc(100% - 28px), var(--inhai-container)); }
  .portal-ad-middle .portal-ad-inner { width: 100%; }
}
