/*
Theme Name: Gölge Haber
Author: Gölge Tema
Description: Mobil öncelikli, yüksek performanslı, Google News ve yapay zekâ tarayıcıları için hazırlanmış profesyonel WordPress haber teması.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: golge-haber
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: news, magazine, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --gh-red: #ed1c24;
  --gh-red-dark: #bd1118;
  --gh-ink: #111318;
  --gh-muted: #69707b;
  --gh-line: #e5e7eb;
  --gh-surface: #f4f6f8;
  --gh-white: #fff;
  --gh-radius: 18px;
  --gh-shadow: 0 12px 35px rgba(17, 19, 24, .08);
  --gh-container: 1240px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--gh-surface); color: var(--gh-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; text-rendering: optimizeLegibility; }
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gh-red); }
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 { clip: auto !important; width: auto; height: auto; left: 12px; top: 12px; padding: 10px 14px; background: #fff; z-index: 100000; }
.gh-container { width: min(calc(100% - 28px), var(--gh-container)); margin-inline: auto; }
.gh-site-main { min-height: 55vh; }

/* Header */
.gh-topline { background: var(--gh-ink); color: #fff; font-size: 12px; }
.gh-topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.gh-topline a { color: #fff; opacity: .85; }
.gh-topline__links { display: flex; gap: 16px; }
.gh-header { background: #fff; border-bottom: 1px solid var(--gh-line); position: sticky; top: 0; z-index: 900; }
.admin-bar .gh-header { top: 32px; }
.gh-header__main { height: 82px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.gh-brand { justify-self: center; display: inline-flex; align-items: center; min-width: 0; }
.gh-brand__text { display: inline-flex; align-items: center; font-weight: 900; font-size: clamp(24px, 4vw, 38px); letter-spacing: -1.6px; line-height: 1; }
.gh-brand__mark { background: var(--gh-red); color: #fff; padding: 5px 7px 6px; margin-right: 5px; }
.custom-logo { display: block; max-height: 55px; width: auto; }
.gh-icon-btn { border: 0; background: transparent; color: var(--gh-ink); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.gh-icon-btn:hover { background: var(--gh-surface); color: var(--gh-red); }
.gh-icon { width: 23px; height: 23px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gh-nav { background: #fff; border-top: 1px solid #f0f1f2; }
.gh-nav ul { list-style: none; display: flex; align-items: center; justify-content: center; gap: 30px; margin: 0; padding: 0; }
.gh-nav .menu > li { position: relative; }
.gh-nav a { display: block; padding: 14px 0; font-weight: 750; font-size: 15px; }
.gh-nav .current-menu-item > a, .gh-nav a:hover { color: var(--gh-red); }
.gh-nav .sub-menu { position: absolute; top: calc(100% - 1px); left: -16px; z-index: 950; display: none; min-width: 230px; padding: 8px; gap: 0; align-items: stretch; justify-content: flex-start; flex-direction: column; border: 1px solid var(--gh-line); border-radius: 0 0 13px 13px; background: #fff; box-shadow: var(--gh-shadow); }
.gh-nav .menu-item-has-children:hover > .sub-menu, .gh-nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
.gh-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; white-space: normal; }
.gh-search-panel { display: none; padding: 14px 0; border-top: 1px solid var(--gh-line); }
.gh-search-panel.is-open { display: block; }
.gh-search-form { display: flex; gap: 8px; max-width: 720px; margin: auto; }
.gh-search-form input { flex: 1; min-width: 0; border: 1px solid var(--gh-line); border-radius: 12px; padding: 12px 14px; }
.gh-search-form button, .gh-button { border: 0; background: var(--gh-red); color: #fff; border-radius: 12px; padding: 11px 18px; font-weight: 800; cursor: pointer; }

/* Mobile drawer */
.gh-drawer { position: fixed; inset: 0 auto 0 0; width: min(88vw, 390px); background: #fff; z-index: 1100; transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; box-shadow: 20px 0 50px rgba(0,0,0,.18); }
.gh-drawer.is-open { transform: none; }
.gh-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-bottom: 1px solid var(--gh-line); }
.gh-drawer__title { font-size: 18px; font-weight: 900; }
.gh-drawer ul { list-style: none; margin: 0; padding: 10px 18px 24px; }
.gh-drawer ul ul { padding: 0 0 6px 14px; }
.gh-drawer li { border-bottom: 1px solid var(--gh-line); }
.gh-drawer a { display: block; padding: 14px 4px; font-weight: 750; }
.gh-overlay { visibility: hidden; opacity: 0; position: fixed; inset: 0; background: rgba(11,13,17,.55); z-index: 1050; transition: opacity .25s; }
.gh-overlay.is-open { visibility: visible; opacity: 1; }

/* Shared sections */
.gh-section { margin-block: 26px; }
.gh-panel { max-width: 100%; min-width: 0; background: #fff; border-radius: var(--gh-radius); box-shadow: var(--gh-shadow); padding: 22px; }
.gh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.gh-section-title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 3vw, 28px); line-height: 1.15; letter-spacing: -.5px; }
.gh-section-title::before { content: ""; width: 6px; height: 26px; border-radius: 9px; background: var(--gh-red); }
.gh-more { color: var(--gh-muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
.gh-placeholder { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #202631, #48566b); color: rgba(255,255,255,.8); overflow: hidden; }
.gh-placeholder::after { content: "GH"; font-size: 42px; font-weight: 950; letter-spacing: -4px; opacity: .34; }
.gh-thumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.gh-card:hover .gh-thumb { transform: scale(1.035); }
.gh-label { display: inline-flex; padding: 5px 8px; border-radius: 7px; background: var(--gh-red); color: #fff; font-size: 11px; line-height: 1; font-weight: 900; text-transform: uppercase; letter-spacing: .35px; }
.gh-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--gh-muted); font-size: 12px; }

/* Story strip */
.gh-stories { background: #fff; border-bottom: 1px solid var(--gh-line); padding: 14px 0; overflow: hidden; }
.gh-stories__track { display: flex; gap: 18px; overflow-x: auto; padding: 3px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gh-story { min-width: 76px; text-align: center; scroll-snap-align: start; font-size: 12px; font-weight: 750; }
.gh-story__image { display: block; width: 68px; height: 68px; margin: 0 auto 6px; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--gh-red), #6d28d9, #ffb000); }
.gh-story__image > span, .gh-story__image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; background: #d7dce2; }
.gh-stories--square .gh-story { min-width: 94px; }
.gh-stories--square .gh-story__image { width: 86px; height: 64px; border-radius: 14px; padding: 2px; }
.gh-stories--square .gh-story__image > span, .gh-stories--square .gh-story__image img { border-radius: 11px; }

/* Hero */
.gh-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 18px; }
.gh-hero > * { min-width: 0; }
.gh-hero__lead { min-height: 500px; position: relative; border-radius: var(--gh-radius); overflow: hidden; background: #222; }
.gh-hero__lead .gh-thumb, .gh-hero__lead .gh-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.gh-hero__lead::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.gh-hero__content { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(20px, 4vw, 38px); color: #fff; }
.gh-hero__title { margin: 11px 0 12px; max-width: 100%; overflow-wrap: anywhere; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -1.5px; }
.gh-hero__side { display: grid; gap: 16px; grid-template-rows: repeat(2, 1fr); }
.gh-card--overlay { min-width: 0; min-height: 240px; position: relative; overflow: hidden; border-radius: var(--gh-radius); background: #222; color: #fff; }
.gh-card--overlay .gh-thumb, .gh-card--overlay .gh-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.gh-card--overlay::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.gh-card--overlay .gh-card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 18px; }
.gh-card--overlay h3 { margin: 8px 0 0; font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; }

/* Numbered headline carousel */
.gh-headlines { overflow: hidden; border-radius: var(--gh-radius); background: #111; box-shadow: var(--gh-shadow); }
.gh-headlines__slides { position: relative; min-height: clamp(390px, 52vw, 620px); }
.gh-headlines__slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility .35s ease; }
.gh-headlines__slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.gh-headlines__slide::after { content: ""; position: absolute; z-index: 1; inset: 22% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.gh-headlines__media, .gh-headlines__media .gh-thumb, .gh-headlines__media .gh-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.gh-headlines__media .gh-thumb { object-fit: cover; }
.gh-headlines__slide .gh-hero__content { max-width: 950px; }
.gh-headlines__nav { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 1px; background: rgba(255,255,255,.15); }
.gh-headlines__button { min-width: 0; border: 0; border-top: 3px solid transparent; padding: 12px 10px; background: #171a20; color: #fff; cursor: pointer; text-align: left; }
.gh-headlines__button span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #292e37; font-size: 16px; font-weight: 950; transition: background .2s ease, transform .2s ease; }
.gh-headlines__button small { display: none; margin-top: 7px; overflow: hidden; color: #bdc2ca; font-size: 11px; line-height: 1.25; }
.gh-headlines__button:hover span, .gh-headlines__button.is-active span { transform: translateY(-2px); background: var(--gh-red); }
.gh-headlines__button.is-active { border-top-color: var(--gh-red); background: #20242c; }
@media (min-width: 1000px) {
  .gh-headlines__button small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Ticker + market */
.gh-ticker { background: var(--gh-ink); color: #fff; overflow: hidden; }
.gh-ticker__inner { min-height: 52px; display: flex; align-items: center; gap: 17px; }
.gh-ticker__label { align-self: stretch; display: flex; align-items: center; padding: 0 20px; margin-left: -14px; background: var(--gh-red); font-weight: 950; white-space: nowrap; }
.gh-ticker__viewport { min-width: 0; flex: 1; overflow: hidden; }
.gh-ticker__items { display: flex; width: max-content; white-space: nowrap; font-size: 14px; will-change: transform; animation: gh-ticker var(--gh-ticker-speed, 35s) linear infinite; }
.gh-ticker__set { display: flex; gap: 34px; padding-right: 34px; }
.gh-ticker__items a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--gh-red); }
.gh-ticker:hover .gh-ticker__items { animation-play-state: paused; }
@keyframes gh-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gh-market { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 1px; background: var(--gh-line); border: 1px solid var(--gh-line); border-radius: 14px; overflow-x: auto; }
.gh-market__item { min-width: 145px; background: #fff; padding: 13px 16px; }
.gh-market__name { color: var(--gh-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.gh-market__value { font-size: 18px; font-weight: 900; }
.gh-up { color: #0f9d58; } .gh-down { color: var(--gh-red); }
.gh-data-source { display: block; width: max-content; margin-top: 7px; color: var(--gh-muted); font-size: 10px; }

/* Cards/grids */
.gh-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gh-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.gh-grid > *, .gh-layout > *, .gh-list-card > *, .gh-card { min-width: 0; }
.gh-card { max-width: 100%; }
.gh-card__media { display: block; width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #dfe4e9; }
.gh-card__media .gh-placeholder { height: 100%; }
.gh-card__body { padding-top: 12px; }
.gh-card__title { margin: 8px 0; max-width: 100%; overflow-wrap: anywhere; font-size: 18px; line-height: 1.24; letter-spacing: -.25px; }
.gh-card__excerpt { color: var(--gh-muted); font-size: 14px; margin: 8px 0 0; }
.gh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 25px; align-items: start; }
.gh-layout--single { grid-template-columns: minmax(0, 1fr); }
.gh-list { display: grid; gap: 16px; }
.gh-list-card { display: grid; grid-template-columns: 220px 1fr; gap: 17px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--gh-line); }
.gh-list-card__media { aspect-ratio: 16/10; border-radius: 13px; overflow: hidden; }
.gh-list-card__media .gh-placeholder { height: 100%; }
.gh-list-card h3 { margin: 8px 0; overflow-wrap: anywhere; font-size: 21px; line-height: 1.2; }
.gh-ranking { counter-reset: rank; display: grid; gap: 2px; }
.gh-ranking__item { counter-increment: rank; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--gh-line); font-weight: 750; line-height: 1.25; }
.gh-ranking__item::before { content: counter(rank); color: var(--gh-red); font-size: 32px; line-height: 1; font-weight: 950; font-style: italic; }
.gh-sidebar { display: grid; gap: 20px; }
.gh-sidebar .widget { background: #fff; border-radius: var(--gh-radius); padding: 20px; box-shadow: var(--gh-shadow); }
.gh-sidebar .widget-title { margin: 0 0 14px; font-size: 20px; }
.gh-sidebar .gh-container, .gh-footer .gh-container { width: 100%; }
.gh-sidebar .gh-section, .gh-footer .gh-section { margin: 0; }
.gh-sidebar .gh-grid, .gh-sidebar .gh-grid--4, .gh-footer .gh-grid, .gh-footer .gh-grid--4 { grid-template-columns: 1fr; }
.gh-sidebar .gh-services { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gh-sidebar .gh-panel { padding: 0; box-shadow: none; }

/* Widget-only front page layout */
.gh-home-zone,
.gh-home-primary,
.gh-home-sidebar { min-width: 0; }
.gh-home-layout { display: grid; gap: 25px; align-items: start; margin-block: 25px; }
.gh-home-layout--columns { grid-template-columns: minmax(0, 1fr) 340px; }
.gh-home-layout--single { grid-template-columns: minmax(0, 1fr); }
.gh-home-primary { display: grid; gap: 20px; }
.gh-home-primary .gh-container,
.gh-home-sidebar .gh-container { width: 100%; }
.gh-home-primary .gh-section,
.gh-home-sidebar .gh-section { margin: 0; }
.gh-home-primary > .widget { min-width: 0; }
.gh-home-zone--top > .widget:first-child .gh-section,
.gh-home-zone--top > .widget:first-child.gh-section { margin-top: 0; }
.gh-home-zone--bottom > .widget:last-child .gh-section,
.gh-home-zone--bottom > .widget:last-child.gh-section { margin-bottom: 0; }

/* Service widgets */
.gh-services { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.gh-service { display: flex; align-items: center; gap: 12px; padding: 18px; min-height: 90px; border-radius: 15px; background: linear-gradient(135deg, #181c24, #323b49); color: #fff; }
.gh-service:nth-child(2) { background: linear-gradient(135deg, #075985, #0ea5e9); }
.gh-service:nth-child(3) { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.gh-service:nth-child(4) { background: linear-gradient(135deg, #14532d, #22c55e); }
.gh-service__icon { font-size: 28px; }
.gh-service strong { display: block; }
.gh-service small { opacity: .75; }
.gh-weather { display: grid; grid-template-columns: minmax(230px,.8fr) 1.2fr; gap: 24px; align-items: center; }
.gh-weather .gh-data-source { grid-column: 1 / -1; margin-top: -16px; }
.gh-weather__main { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; }
.gh-weather__icon { font-size: 52px; line-height: 1; }
.gh-weather__main small, .gh-weather__main strong { display: block; }
.gh-weather__main strong { font-size: 38px; line-height: 1; }
.gh-weather__condition { justify-self: end; color: var(--gh-muted); font-weight: 800; }
.gh-weather__details { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border-radius: 12px; background: var(--gh-line); }
.gh-weather__details span { padding: 12px; background: var(--gh-surface); color: var(--gh-muted); font-size: 12px; }
.gh-weather__details strong { display: block; margin-top: 4px; color: var(--gh-ink); font-size: 15px; }
.gh-score-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gh-score-table th, .gh-score-table td { padding: 10px 8px; border-bottom: 1px solid var(--gh-line); text-align: left; }
.gh-score-table tr:first-child { color: var(--gh-muted); }
.gh-quake { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--gh-line); }
.gh-quake__mag { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gh-red); color: #fff; font-weight: 950; }
.gh-live { display: grid; gap: 0; }
.gh-live__item { display: grid; grid-template-columns: 52px 1fr; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--gh-line); }
.gh-live__time { color: var(--gh-red); font-size: 13px; font-weight: 900; }
.gh-prayer__hero { border-radius: 14px; padding: 20px; background: linear-gradient(135deg, #182d3e, #32647b); color: #fff; }
.gh-prayer__next { display: flex; justify-content: space-between; gap: 10px; align-items: end; }
.gh-prayer__next strong { font-size: 30px; }
.gh-prayer__times { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; margin-top: 10px; background: rgba(255,255,255,.2); }
.gh-prayer__time { padding: 10px 4px; text-align: center; background: rgba(0,0,0,.15); font-size: 12px; }
.gh-prayer__time strong { display: block; font-size: 14px; }
.gh-fixture { display: grid; gap: 8px; }
.gh-fixture__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 11px; border-radius: 10px; background: var(--gh-surface); font-size: 13px; }
.gh-fixture__row span:last-child { text-align: right; }

/* Article */
.gh-breadcrumb { color: var(--gh-muted); font-size: 13px; margin: 24px 0 12px; }
.gh-breadcrumb a { font-weight: 750; }
.gh-article { background: #fff; border-radius: var(--gh-radius); box-shadow: var(--gh-shadow); overflow: hidden; }
.gh-article__header { padding: clamp(22px, 5vw, 52px) clamp(20px, 6vw, 70px) 28px; }
.gh-article__title { margin: 8px 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; letter-spacing: -1.8px; }
.gh-article__lead { margin: 0 0 22px; color: #3c424c; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.45; font-weight: 620; }
.gh-author { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--gh-line); }
.gh-author__identity { display: flex; align-items: center; gap: 12px; }
.gh-author__identity img { border-radius: 50%; }
.gh-article__featured { margin: 0; background: #ddd; }
.gh-article__featured img { width: 100%; display: block; }
.gh-article__body { min-width: 0; padding: 28px clamp(20px, 6vw, 70px) 50px; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 21px); line-height: 1.82; }
.gh-article__body > * { max-width: 790px; margin-left: auto; margin-right: auto; }
.gh-article__body .alignwide { max-width: 100%; }
.gh-article__body .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.gh-article__body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.gh-article__body h2, .gh-article__body h3 { margin-top: 1.8em; font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.2; letter-spacing: -.5px; }
.gh-article__body blockquote { border-left: 5px solid var(--gh-red); background: var(--gh-surface); padding: 18px 22px; font-style: italic; }
.gh-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.gh-share a { padding: 9px 13px; border: 1px solid var(--gh-line); border-radius: 9px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 800; }
.gh-tags { display: flex; flex-wrap: wrap; gap: 8px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.gh-tags a { background: var(--gh-surface); padding: 7px 10px; border-radius: 8px; font-size: 13px; }

/* Archive/comments/footer */
.gh-page-head { padding: 34px 0 12px; }
.gh-page-title { margin: 0; font-size: clamp(30px, 5vw, 48px); letter-spacing: -1.2px; }
.navigation.pagination { margin: 28px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 9px; background: #fff; font-weight: 800; }
.page-numbers.current { background: var(--gh-red); color: #fff; }
.gh-comments { margin-top: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; margin: 12px 0; padding: 18px; border-radius: 14px; }
.comment-form-comment textarea { width: 100%; min-height: 140px; padding: 12px; border: 1px solid var(--gh-line); border-radius: 12px; }
.gh-footer { margin-top: 50px; background: #12151b; color: #d8dbe0; }
.gh-footer__main { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; padding: 48px 0; }
.gh-footer h2, .gh-footer h3, .gh-footer .widget-title { margin: 0 0 14px; color: #fff; font-size: 18px; }
.gh-footer ul { list-style: none; margin: 0; padding: 0; }
.gh-footer li { margin: 9px 0; }
.gh-footer a { color: #d8dbe0; }
.gh-footer a:hover { color: #fff; }
.gh-footer .gh-brand__text > span:last-child { color: #fff; }
.gh-footer__about { color: #aeb4bd; }
.gh-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; }
.gh-cookie { display: none; position: fixed; z-index: 1200; inset: auto 18px 18px; max-width: 530px; margin-left: auto; background: #0f1115; color: #fff; padding: 16px 18px; border-radius: 14px; box-shadow: 0 15px 50px rgba(0,0,0,.3); align-items: center; gap: 15px; font-size: 13px; }
.gh-cookie.is-visible { display: flex; }
.gh-cookie button { border: 0; background: var(--gh-red); color: #fff; padding: 9px 12px; border-radius: 8px; font-weight: 900; cursor: pointer; }

@media (max-width: 1180px) {
  .gh-nav ul { gap: 20px; }
  .gh-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
	.gh-home-layout--columns { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .gh-layout .gh-grid:not(.gh-grid--4) { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1100px) {
  .gh-layout { grid-template-columns: 1fr; }
	.gh-home-layout--columns { grid-template-columns: 1fr; }
  .gh-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gh-sidebar .widget { min-width: 0; }
  .gh-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gh-footer__main { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .gh-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .gh-topline, .gh-nav { display: none; }
  .gh-header__main { height: 68px; }
  .gh-hero { grid-template-columns: 1fr; }
  .gh-hero__lead { min-height: 460px; }
  .gh-hero__side { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
}

@media (max-width: 760px) {
  :root { --gh-radius: 14px; }
  .admin-bar .gh-header { top: 46px; }
  .gh-container { width: min(calc(100% - 20px), var(--gh-container)); }
  .gh-brand__text { font-size: 25px; }
  .gh-header__main { grid-template-columns: 42px 1fr 42px; }
  .gh-stories { padding-top: 10px; }
  .gh-story { min-width: 66px; }
  .gh-story__image { width: 60px; height: 60px; }
  .gh-section { margin-block: 18px; }
  .gh-panel { padding: 16px; }
  .gh-hero { gap: 10px; }
  .gh-hero__lead { min-height: 390px; }
  .gh-hero__title { font-size: 31px; }
	.gh-headlines__slides { min-height: 410px; }
	.gh-headlines__nav { display: flex; overflow-x: auto; }
	.gh-headlines__button { min-width: 58px; padding: 9px; }
	.gh-headlines__button span { width: 31px; height: 31px; }
  .gh-hero__side { gap: 10px; }
  .gh-card--overlay { min-height: 200px; }
  .gh-card--overlay h3 { font-size: 16px; }
  .gh-ticker__inner { width: 100%; }
  .gh-ticker__label { margin-left: 0; padding-inline: 14px; font-size: 13px; }
  .gh-grid, .gh-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .gh-card__title { font-size: 15px; }
  .gh-card__excerpt { display: none; }
  .gh-list-card { grid-template-columns: 125px 1fr; gap: 12px; }
  .gh-list-card h3 { font-size: 16px; }
  .gh-list-card .gh-card__excerpt { display: none; }
  .gh-sidebar { grid-template-columns: 1fr; }
  .gh-services { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
	.gh-weather { grid-template-columns: 1fr; gap: 15px; }
	.gh-weather__details { grid-template-columns: repeat(2,1fr); }
  .gh-service { min-height: 82px; padding: 12px; font-size: 13px; }
  .gh-service__icon { font-size: 22px; }
  .gh-article__header { padding-inline: 18px; }
  .gh-article__title { font-size: 34px; }
  .gh-author { align-items: flex-start; flex-direction: column; }
  .gh-article__body { padding-inline: 18px; font-size: 18px; }
  .gh-prayer__times { grid-template-columns: repeat(3, 1fr); }
  .gh-footer__main { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px 18px; padding: 36px 0; }
  .gh-cookie { inset: auto 10px 10px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 410px) {
  .gh-hero__lead { min-height: 350px; }
  .gh-hero__side { grid-template-columns: 1fr; }
  .gh-card--overlay { min-height: 215px; }
  .gh-grid, .gh-grid--4 { grid-template-columns: 1fr; }
  .gh-card:not(.gh-card--overlay) { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 11px; }
  .gh-card__media { aspect-ratio: 1.2; }
  .gh-card__body { padding-top: 0; }
  .gh-card__title { margin-bottom: 4px; }
  .gh-list-card { grid-template-columns: 105px 1fr; }
  .gh-services { grid-template-columns: 1fr 1fr; }
  .gh-article__title { font-size: 30px; letter-spacing: -1px; }
  .gh-footer__main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.gh-ticker__items { animation: none; }
}

@media print {
  .gh-header, .gh-footer, .gh-stories, .gh-share, .gh-sidebar, .gh-cookie { display: none !important; }
  body { background: #fff; }
  .gh-article { box-shadow: none; }
}

/* Independent story shapes; no Bootstrap dependency. */
.gh-home-slider .gh-home-slider__media .gh-thumb { object-fit: contain; object-position: center; background: #111; }
.gh-home-slider__number:focus-visible { outline: 3px solid var(--gh-red); outline-offset: 2px; }
.gh-home-slider .gh-slider-numbers--circle span { border-radius: 50%; }
.gh-home-slider .gh-slider-numbers--pill span { width: auto; min-width: 48px; padding: 0 12px; border-radius: 999px; }
.gh-home-slider .gh-slider-numbers--outline span { background: transparent; border: 1px solid var(--gh-red); color: var(--gh-red); }
.gh-home-slider .gh-slider-numbers--outline .is-active span { background: var(--gh-red); color: #fff; }
.gh-home-slider .gh-slider-numbers--minimal span { background: transparent; border-radius: 0; border-bottom: 3px solid transparent; }
.gh-home-slider .gh-slider-numbers--minimal .is-active span { color: var(--gh-red); border-bottom-color: var(--gh-red); }
.gh-home-slider .gh-slider-numbers--scroll { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
.gh-home-slider .gh-slider-numbers--scroll button { flex-shrink: 0; }
.gh-home-slider .gh-home-slider__number span { width: auto; min-width: 34px; padding-inline: 7px; }
.gh-story__image--circle, .gh-story__image--circle > * { border-radius: 50%; }
.gh-story__image--rounded, .gh-story__image--rounded > * { border-radius: 14px; }
.gh-stories--square .gh-story__image, .gh-stories--square .gh-story__image > * { border-radius: 0; }
.gh-story__image--pill { width: 110px; height: 64px; border-radius: 999px; }
.gh-story__image--pill > * { border-radius: 999px; }
.gh-story--pill { min-width: 116px; }
.gh-flex-news__featured, .gh-flex-news__headline-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.gh-flex-news__lead .gh-card { height: 100%; min-height: 350px; }
.gh-flex-news__supporting { display: grid; gap: 16px; }
.gh-flex-news__supporting .gh-card { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; }
.gh-flex-news__supporting .gh-card__body { padding: 0; }
.gh-flex-news__supporting .gh-card__title { font-size: 16px; }
.gh-flex-news__horizontal { display: grid; gap: 18px; }
.gh-flex-news__mosaic { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.gh-flex-news__mosaic-item--large { grid-column: 1 / -1; }
.gh-flex-news__mosaic-item--large .gh-card { min-height: 350px; }
.gh-flex-news__headlines { list-style: none; padding: 0; margin: 0; }
.gh-flex-news__headlines a { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--gh-line); font-weight: 750; }
.gh-flex-news__number, .gh-sidebar-news__number { color: var(--gh-red); font-size: 28px; font-weight: 900; }
.gh-sidebar-news { min-width: 0; }
.gh-sidebar-news__title { margin: 0 0 16px; }
.gh-sidebar-news__list { list-style: none; margin: 0; padding: 0; }
.gh-sidebar-news__item { padding: 14px 0; border-bottom: 1px solid var(--gh-line); }
.gh-sidebar-news__item h3 { margin: 5px 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.gh-sidebar-news__item time { font-size: 12px; color: var(--gh-muted); }
.gh-sidebar-news--numbered .gh-sidebar-news__item a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-weight: 750; }
.gh-sidebar-news__item--thumbnail { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 12px; }
.gh-sidebar-news__media { height: 86px; overflow: hidden; border-radius: 10px; }
.gh-sidebar-news__item--timeline { position: relative; border-left: 2px solid var(--gh-line); padding-left: 20px; margin-left: 5px; }
.gh-sidebar-news__item--timeline::before { content: ''; position: absolute; left: -6px; top: 20px; width: 10px; height: 10px; background: var(--gh-red); border-radius: 50%; }
.gh-sidebar-news__cards { display: grid; gap: 20px; }
.gh-home-slider__headline { font-size: clamp(24px,3vw,44px); line-height: 1.12; margin: 14px 0; }
.gh-home-slider__numbers { display: flex; justify-content: center; flex-wrap: wrap; background: linear-gradient(#fff, #f5f6f8); gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.15); scrollbar-width: thin; }
.gh-home-slider__number { padding: 0; border: 0; background: transparent; }
.gh-home-slider__number span { height: 38px; border-radius: 8px; background: #e9edf2; color: #4b5563; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.gh-home-slider__number.is-active span, .gh-home-slider__number:hover span { background: var(--gh-red); color: #fff; transform: none; }
.gh-home-slider__number.is-active span { box-shadow: 0 3px 9px rgba(0,0,0,.16); }
.gh-home-slider .gh-slider-numbers--minimal .is-active span { box-shadow: none; }
.gh-home-slider__number.is-active { background: transparent; }
.gh-home-sidebar { grid-template-columns: 1fr; }
.gh-home-sidebar .gh-weather { grid-template-columns: 1fr; }
.gh-home-sidebar .gh-weather__details { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gh-home-sidebar .gh-prayer__times { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gh-home-primary .gh-flex-news__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gh-home-primary .gh-headlines__slides { min-height: 460px; }
.gh-layout.gh-layout--single { grid-template-columns: minmax(0,1fr); }
@media (max-width: 640px) {
  .gh-flex-news__featured, .gh-flex-news__headline-list, .gh-flex-news__mosaic { grid-template-columns: 1fr; }
  .gh-home-primary .gh-headlines__slides { min-height: 340px; }
  .gh-home-slider__numbers .gh-home-slider__number { min-width: 32px; }
  .gh-flex-news__horizontal .gh-list-card { grid-template-columns: 100px minmax(0,1fr); }
}
