/*
Theme Name: Gedenana
Author: Gedenana
Description: Gedenana is a Tigrinya platform for sharing art, literature, and philosophy. It celebrates creativity, promotes thoughtful dialogue, and preserves the richness of Tigrinya language and culture.
Version: 4.7.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gedenana
Tags: news, blog, grid-layout, custom-header, custom-menu, custom-colors, custom-logo, featured-images
*/

:root {
  --ink: #131313;
  --muted: #6e6e6e;
  --paper: #f1f1f1;
  --white: #fff;
  --line: #d9d5cc;
  --accent: #1976bd;
  --accent-dark: #b92918;
  --max: 1165px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-layout-boxed { background: #d8d3ca; }
.site-layout-boxed > .topbar,
.site-layout-boxed > .site-header,
.site-layout-boxed > .gedenana-primary-nav,
.site-layout-boxed > .ticker,
.site-layout-boxed > .site-main,
.site-layout-boxed > .site-footer { width: min(calc(100% - 36px), 1440px); margin-inline: auto; }
.site-layout-boxed > .site-main { background: var(--paper); }
.site-layout-boxed > .topbar { margin-top: 18px; }
.site-layout-boxed > .site-footer { margin-bottom: 18px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 6px; left: 6px; width: auto; height: auto; padding: 12px 16px; overflow: visible; clip: auto; white-space: normal; border: 2px solid currentColor; background: #fff; color: #071b31; font-weight: 800; }
.gedenana-reading-progress { position: fixed; z-index: 1100; top: 0; right: 0; left: 0; height: 3px; pointer-events: none; }
.gedenana-reading-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.rtl .gedenana-reading-progress span { transform-origin: right center; }
.admin-bar .gedenana-reading-progress { top: 46px; }

.topbar { background: var(--ink); color: #ddd; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); }
.masthead { min-height: 122px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-branding { text-align: center; }
.site-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: .9; font-weight: 900; letter-spacing: -.055em; }
.site-description { margin: 9px 0 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.custom-logo { max-height: 78px; width: auto; }
.header-date { font-family: Georgia, serif; font-size: .9rem; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.primary-nav { border-top: 1px solid var(--line); }
.nav-inner { min-height: 49px; }
.primary-nav .menu { list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 42px); margin: 0; padding: 0; min-height: 49px; }
.primary-nav a { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 19px; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle.is-active .menu-icon { background: transparent; }
.menu-toggle.is-active .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-active .menu-icon::after { top: 0; transform: rotate(-45deg); }
.drawer-close, .menu-overlay { display: none; }
.header-login { padding: 9px 3px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.search-panel { padding: 18px 0; border-top: 1px solid var(--line); background: var(--white); }
.search-panel .search-form, .single-article > .search-form { display: flex; max-width: 680px; margin-inline: auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); }
.search-submit { min-height: 48px; padding: 0 20px; border: 0; background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; }

.ticker { border-bottom: 1px solid var(--line); background: var(--white); }
.ticker-inner { display: flex; gap: 22px; align-items: center; min-height: 43px; overflow: hidden; }
.ticker-label { flex: none; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ticker-posts { display: flex; gap: 34px; white-space: nowrap; overflow: hidden; font-size: .85rem; font-weight: 700; }
.ticker-posts span::before { content: '•'; color: var(--accent); padding-right: 10px; }

.site-main { padding-block: 36px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr .8fr; gap: 28px; padding-bottom: 38px; border-bottom: 3px solid var(--ink); }
.lead-story { position: relative; min-height: 590px; background: #222; overflow: hidden; color: #fff; }
.lead-story img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .8; transition: transform .5s ease; }
.lead-story:hover img { transform: scale(1.02); }
.lead-story::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.lead-content { position: absolute; z-index: 1; left: clamp(24px, 4vw, 52px); right: clamp(24px, 4vw, 52px); bottom: 38px; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lead-content .kicker { color: #ff7a68; }
.lead-title { max-width: 900px; margin: 0 0 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4.4vw, 4.7rem); line-height: .96; letter-spacing: -.035em; }
.lead-excerpt { max-width: 720px; margin: 0; color: #e6e6e6; font-size: 1.05rem; }
.story-meta { margin-top: 17px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lead-story .story-meta { color: #ccc; }
.side-stories { display: grid; grid-template-rows: repeat(2, 1fr); gap: 26px; }
.side-story + .side-story { padding-top: 25px; border-top: 1px solid var(--line); }
.side-story img { aspect-ratio: 16/9; width: 100%; object-fit: cover; margin-bottom: 17px; }
.side-story h2 { font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.08; margin: 0; }

.section { padding-top: 42px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; border-top: 1px solid var(--ink); padding-top: 12px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; letter-spacing: -.025em; }
.section-heading a { font-size: .7rem; font-weight: 900; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.story-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.story-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.story-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.story-grid.layout-list { display: block; }
.story-grid.layout-list .story-card { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: 25px; padding: 0 0 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.story-grid.layout-list .story-card > a { grid-row: 1 / span 4; }
.story-grid.layout-list .story-card img { margin-bottom: 0; }
.story-card { min-width: 0; }
.story-card img, .archive-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; margin-bottom: 16px; background: #ddd; }
.story-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.14; }
.story-card p { color: var(--muted); font-size: .9rem; }
.newsletter { margin-top: 52px; padding: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; }
.newsletter h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.newsletter p { color: #bbb; }
.newsletter-form { display: flex; }
.newsletter-form input { width: 100%; min-height: 52px; border: 0; padding: 0 16px; }
.newsletter-form .button { min-height: 52px; background: var(--accent); border-color: var(--accent); }

.content-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .7fr); gap: 60px; }
.article-column { min-width: 0; }
.content-layout .single-article { max-width: none; }
.content-layout .article-image { width: 100%; max-width: 100%; margin-left: 0; transform: none; }
.content-layout .sidebar { min-width: 0; }
.page-title { margin: 0 0 32px; padding-bottom: 18px; border-bottom: 3px solid var(--ink); font-family: Georgia, serif; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; }
.archive-header { margin-bottom: 30px; }
.archive-header .page-title { margin-bottom: 18px; }
.archive-description { max-width: 760px; color: var(--muted); font-family: Georgia, serif; font-size: 1.08rem; }
.archive-description p { margin: 0; text-align: justify; }
.archive-card { display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.archive-card img { margin: 0; }
.archive-card h2 { margin: 3px 0 10px; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.08; }
.archive-card p { color: var(--muted); }
.archive-posts.layout-grid { display: grid; gap: 32px 24px; }
.archive-posts.layout-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.archive-posts.layout-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.archive-posts.layout-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.archive-posts.layout-grid .archive-card { display: block; margin: 0; padding: 0 0 24px; }
.archive-posts.layout-grid .archive-card img { margin-bottom: 15px; }
.archive-posts.layout-grid .archive-card h2 { font-size: 1.4rem; }
.archive-posts.layout-grid .archive-card p { font-size: .9rem; }
.sidebar .widget { margin-bottom: 35px; padding-top: 12px; border-top: 2px solid var(--ink); }
.widget-title { margin: 0 0 15px; font-family: Georgia, serif; font-size: 1.4rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.gedenana-recent-stories { display: grid; gap: 14px; }
.widget .gedenana-recent-stories > li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 0 0 14px; align-items: start; }
.widget .gedenana-recent-stories.without-images > li { grid-template-columns: 1fr; }
.gedenana-recent-stories__image { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.gedenana-recent-stories__image img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.gedenana-recent-stories__title { display: block; font-family: Georgia, serif; font-size: .95rem; font-weight: 800; line-height: 1.22; overflow-wrap: anywhere; }
.gedenana-recent-stories__meta { display: flex; flex-wrap: wrap; margin-top: 6px; gap: 3px 8px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.gedenana-recent-stories__meta a { color: var(--accent); font-weight: 800; }
.widget .wp-block-latest-posts__featured-image img { width: 80px; aspect-ratio: 4 / 3; margin: 0 12px 8px 0; object-fit: cover; }

.single-article { max-width: 840px; margin-inline: auto; }
.article-header { text-align: center; margin-bottom: 30px; }
.article-title { margin: 5px 0 20px; font-family: Georgia, serif; font-size: clamp(2.5rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.045em; }
.article-deck { margin: 0 auto; max-width: 720px; color: var(--muted); font-family: Georgia, serif; font-size: 1.25rem; }
.gedenana-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem 1rem; margin: 1.125rem 0 0; padding: 0; list-style: none; color: var(--muted); font-family: Inter, Arial, sans-serif; font-size: .78rem; font-weight: 700; line-height: 1.4; }
.gedenana-article-meta li { display: inline-flex; min-width: 0; align-items: center; gap: .4rem; }
.gedenana-article-meta i { width: 1em; flex: 0 0 auto; color: var(--accent); text-align: center; }
.gedenana-article-meta a { color: inherit; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; }
.gedenana-article-meta a:hover { color: var(--accent); text-decoration-color: currentColor; }
.gedenana-article-meta a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gedenana-article-meta time { white-space: nowrap; }
.article-image { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); margin-bottom: 36px; overflow: hidden; background: #071b31; }
.article-image img { width: 100%; height: auto; }
.gedenana-default-featured-image { background: #071b31; }
.article-content { font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.75; text-align: justify; }
.lead-excerpt, .story-card p, .archive-card p { text-align: justify; }
.article-content h2, .article-content h3 { line-height: 1.1; margin-top: 2em; }
.article-content blockquote { margin: 2em 0; padding-left: 24px; border-left: 4px solid var(--accent); font-size: 1.45rem; line-height: 1.4; }
.article-share { margin-top: 45px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: Inter, Arial, sans-serif; }
.article-share > strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.25rem; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-links a, .share-links button { padding: 8px 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 800 .68rem/1 Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.share-links a:hover, .share-links button:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.related-articles { max-width: 1100px; margin: 60px auto 0; }
.article-submission-form { margin-top: 32px; font-family: Inter, Arial, sans-serif; font-size: .95rem; }
.article-submission-form label { display: block; margin-bottom: 7px; font-weight: 800; }
.article-submission-form input, .article-submission-form select, .article-submission-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); }
.article-submission-form textarea { resize: vertical; }
.article-submission-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-help { color: var(--muted); font-size: .83rem; }
.submission-honeypot { position: absolute; left: -9999px; }
.submission-notice { margin: 25px 0; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--white); font-family: Inter, Arial, sans-serif; }
.submission-notice.success { border-color: #27834a; }
.comments-area { margin-top: 55px; padding: 28px; border: 1px solid var(--comments-border, var(--line)); background: var(--comments-bg, var(--white)); }
.comments-header { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.comments-header h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; }
.comments-header p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-inline-start: clamp(12px, 3vw, 32px); }
.comment-body { position: relative; min-height: 64px; margin-bottom: 24px; padding-block: 0 24px; padding-inline: clamp(52px, 7vw, 70px) 0; border-bottom: 1px solid var(--comments-border, var(--line)); }
.comment-body .avatar { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: clamp(40px, 5vw, 50px); height: clamp(40px, 5vw, 50px); border-radius: 50%; }
.comments-avatars-hidden .comment-body { min-height: 0; padding-inline-start: 0; }
.comments-avatars-hidden .comment-body .avatar { display: none; }
.comment-author { font-family: Georgia, serif; font-size: 1.08rem; }
.comment-metadata { margin: 3px 0 12px; color: var(--muted); font-size: .72rem; }
.comment-content { font-family: Georgia, serif; text-align: justify; }
.reply a { color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.comment-respond { margin-top: 34px; }
.comment-reply-title { font-family: Georgia, serif; font-size: 1.8rem; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 800; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--comments-border, var(--line)); background: var(--white); color: var(--ink); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-form .form-submit .submit { width: auto; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; font-weight: 800; cursor: pointer; }
.comment-form .form-submit .submit:hover { border-color: var(--accent); background: var(--accent); color: #fff !important; }
.comment-form .form-submit .submit:focus-visible { border-color: var(--accent); outline: 3px solid var(--accent); outline-offset: 3px; background: var(--accent); color: #fff !important; }
.pagination { margin-top: 35px; display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); }
.pagination .current { background: var(--ink); color: #fff; }

.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-grid:not(.has-menu) { grid-template-columns: 1.4fr 1fr; }
.footer-brand { font-family: Georgia, serif; font-size: 2.5rem; font-weight: 900; }
.site-footer p { color: inherit; max-width: 430px; opacity: .72; }
.site-footer h3 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-menu li { margin-bottom: 8px; }
.copyright { display: flex; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; gap: 8px 22px; align-items: center; justify-content: space-between; border-top: 1px solid currentColor; color: inherit; font-size: .75rem; opacity: .72; }
.footer-extra-links { display: flex; flex-wrap: wrap; margin-top: 12px; gap: 10px; }
.footer-extra-links a, .footer-legal-links a { text-decoration: underline; text-underline-offset: .2em; }
.footer-extra-links i { margin-right: 7px; }
.footer-extra-links a:focus-visible, .footer-legal-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.social-links a { padding: 7px 10px; border: 1px solid currentColor; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Gedenana editorial design */
body { background: #ededed; font-family: Arial, Helvetica, sans-serif; }
.site-layout-boxed > .topbar, .site-layout-boxed > .site-header, .site-layout-boxed > .gedenana-primary-nav, .site-layout-boxed > .ticker, .site-layout-boxed > .site-main, .site-layout-boxed > .site-footer { width: min(calc(100% - 30px), var(--max)); }
.site-layout-boxed > .topbar { margin-top: 0; }
.site-layout-boxed > .site-footer { margin-bottom: 0; }
.topbar { background: #f8f8f8; color: #111; border-bottom: 1px solid #eee; }
.topbar-inner { min-height: 38px; font-size: .64rem; }
.utility-links { display: flex; align-items: center; gap: 27px; }
.utility-links span, .utility-links a { font-weight: 800; color: #111; }
.topbar .social-links { margin: 0; gap: 12px; }
.topbar .social-links a { padding: 0; border: 0; font-size: .62rem; }
.site-header { background: var(--header-bg); border: 0; }
.masthead { min-height: 104px; grid-template-columns: 1fr auto; padding-inline: 24px; }
.masthead .header-date { display: none; }
.site-branding { text-align: left; justify-self: start; }
.site-title { color: #176fae; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.05em; }
.custom-logo { max-height: 72px; }
.header-actions { min-width: min(42vw, 390px); }
.desktop-search { display: block; width: 100%; }
.desktop-search .search-form { display: flex; width: 100%; }
.desktop-search .search-form label { flex: 1; }
.desktop-search .search-field { border-radius: 24px 0 0 24px; border-color: #ddd; }
.desktop-search .search-submit { min-width: 82px; background: #1976bd; text-transform: uppercase; font-size: .7rem; }
.header-actions > .search-toggle { display: none; }
.site-header:not(.has-desktop-search) .header-actions { min-width: 0; }
.primary-nav { border: 0; border-bottom: 3px solid #1976bd; background: #071b31; }
.nav-inner { min-height: 50px; }
.primary-nav .menu { justify-content: flex-start; gap: 0; min-height: 50px; }
.primary-nav .menu > li > a { display: block; padding: 14px 18px; color: #fff; font-size: .92rem; font-weight: 900; }
.primary-nav .current-menu-item > a, .primary-nav .menu > li > a:hover { background: #1976bd; color: #fff; }
.site-main { padding: 10px 0 65px; background: #fff; }
.ticker { display: none; }

.news-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 445px; margin-bottom: 48px; }
.mosaic-lead, .mosaic-tile { position: relative; min-width: 0; overflow: hidden; background: #14202d; color: #fff; }
.mosaic-image, .mosaic-image img { width: 100%; height: 100%; }
.mosaic-image img { object-fit: cover; transition: transform .35s ease; }
.mosaic-lead:hover img, .mosaic-tile:hover img { transform: scale(1.035); }
.mosaic-lead::after, .mosaic-tile::after { content: ''; position: absolute; pointer-events: none; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.mosaic-caption { position: absolute; z-index: 2; right: 18px; bottom: 22px; left: 18px; text-align: center; }
.mosaic-caption h1, .mosaic-caption h2 { margin: 0; font-family: Arial, Helvetica, sans-serif; font-weight: 900; line-height: 1.08; }
.mosaic-caption h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.mosaic-caption h2 { font-size: clamp(.95rem, 1.4vw, 1.22rem); }
.mosaic-caption a:hover { color: #fff; }
.mosaic-secondary { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-width: 0; }

.home-editorial { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, .95fr); gap: 46px; }
.block-title { position: relative; margin-bottom: 25px; border-bottom: 2px solid #222; }
.block-title h2 { display: inline-block; margin: 0 0 -2px; padding: 7px 13px; background: #222; color: #fff; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }
.latest-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.latest-feature img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.latest-feature h2, .latest-feature h3 { margin: 17px 0 8px; font-size: 1.45rem; line-height: 1.16; }
.latest-feature p { color: #777; font-size: 1rem; }
.latest-list { display: grid; align-content: start; gap: 20px; }
.latest-list article { display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; }
.latest-list img { width: 108px; height: 76px; object-fit: cover; }
.latest-list h3 { margin: 0; font-size: .9rem; line-height: 1.18; }
.popular-item { display: grid; grid-template-columns: 92px 1fr; gap: 15px; align-items: center; margin-bottom: 22px; }
.popular-item img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.popular-item h3 { margin: 0; font-size: .86rem; line-height: 1.2; }
.home-editorial + .section { margin-top: 48px; }
.newsletter { background: #071b31; }
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
