/* Athar24 News — main stylesheet (RTL). */

:root {
	--navy: #11284a;
	--navy-2: #0b1d38;
	--red: #d71920;
	--red-2: #b5121a;
	--ink: #14213d;
	--text: #2b3445;
	--muted: #6b7486;
	--line: #e3e7ee;
	--bg: #f4f6f9;
	--card: #fff;
	--radius: 6px;
	--gap: 16px;
	--font: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	direction: rtl;
	overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 800; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link { position: absolute; top: -60px; right: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: #fff; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Top bar ---------- */
.site-header { background: #fff; }
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.topbar-meta, .topbar-tools, .today, .weather { display: flex; align-items: center; gap: 8px; }
.topbar-meta { gap: 16px; }
.weather .ico { color: #f5a623; }
.weather b { color: var(--ink); }
.social { display: flex; gap: 6px; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--ink); border-radius: 50%; }
.social a:hover { color: #fff; background: var(--red); }
.topbar .search-form { width: 260px; }

.search-form { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 7px 12px; font-size: 14px; background: transparent; }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: transparent; padding: 0 12px; cursor: pointer; color: var(--ink); border-inline-start: 1px solid var(--line); display: flex; align-items: center; }
.search-form button:hover { color: var(--red); }

/* ---------- Masthead ---------- */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { flex: none; display: block; }
.site-logo img { width: 240px; height: auto; }
.masthead-ad { flex: 1; max-width: 728px; min-width: 0; }
.masthead-ad .ad-slot { aspect-ratio: 970 / 150; }

/* ---------- Navigation ---------- */
.mainnav { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .mainnav { top: 32px; }
.mainnav-in { display: flex; align-items: stretch; }
.nav-home { display: flex; align-items: center; padding: 0 14px; color: #fff; }
.nav-home:hover { color: #fff; background: var(--red); }
.nav-toggle { display: none; }
.menu-wrap { flex: 1; min-width: 0; }
.menu { display: flex; justify-content: space-between; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 13px 12px; color: #fff; font-weight: 700; font-size: 15.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.menu > li > a:hover,
.menu > li.current-menu-item > a,
.menu > li.current-category-ancestor > a,
.menu > li.current-menu-parent > a { border-bottom-color: var(--red); color: #fff; }
.menu .sub-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 190px; background: var(--navy-2); z-index: 60; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { display: block; }
.menu .sub-menu a { display: block; padding: 9px 14px; color: #fff; font-size: 14px; }
.menu .sub-menu a:hover { background: var(--red); }

/* ---------- Breaking ---------- */
.breaking { display: flex; align-items: center; margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.breaking-label { flex: none; background: var(--red); color: #fff; font-weight: 800; padding: 6px 16px; }
.breaking-track { flex: 1; overflow: hidden; position: relative; }
.breaking-list { display: flex; gap: 48px; white-space: nowrap; padding: 6px 16px; width: max-content; animation: athar-ticker var(--ticker, 40s) linear infinite; }
.breaking-track:hover .breaking-list { animation-play-state: paused; }
.breaking-list li { position: relative; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.breaking-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--red); border-radius: 50%; margin-inline-end: 8px; vertical-align: middle; }
.breaking[data-static] .breaking-list { animation: none; }
@keyframes athar-ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Generic boxes / cards ---------- */
main.wrap { padding-top: 16px; padding-bottom: 24px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.box-title, .sec-title { display: flex; align-items: center; gap: 8px; font-size: 21px; color: var(--ink); }
.box-title .ico, .sec-title .ico { color: var(--red); width: 24px; height: 24px; order: 2; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-title:not(:has(.ico))::after { content: ""; width: 4px; height: 20px; background: var(--red); border-radius: 2px; order: 2; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 14px; }
.sec-more:hover { color: var(--red-2); }

.badge { display: inline-block; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 3px; line-height: 1.8; }
.badge-red { background: var(--red); }
a.badge:hover { color: #fff; }

.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: var(--radius); padding: 9px 18px; font-weight: 700; cursor: pointer; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 14px; }

.thumb { position: relative; display: block; overflow: hidden; background: #dfe4eb; border-radius: 4px; }
.thumb.r-16-9 { aspect-ratio: 16 / 9; }
.thumb.r-3-2 { aspect-ratio: 3 / 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .thumb img, .feature:hover .thumb img { transform: scale(1.04); }
.thumb.no-img::before { content: ""; position: absolute; inset: 0; background: url("../images/logo-athar24-360.jpg") center / 45% no-repeat; opacity: .25; }
.play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(215,25,32,.92); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.play::after { content: ""; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.r-3-2 .play { width: 32px; height: 32px; }
.r-3-2 .play::after { border-width: 6px 0 6px 10px; }

.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card-title { font-size: 15.5px; font-weight: 700; line-height: 1.55; }
.card-excerpt { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.card-time { font-size: 12.5px; color: var(--muted); }
.card-lead .card-title { font-size: 19px; font-weight: 800; }

.grid-cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.grid-cards.cols-1 { grid-template-columns: 1fr; }
.grid-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Ads ---------- */
.ad-slot { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); }
.ad-item { display: none; }
.ad-item.is-active { display: block; animation: athar-fade .5s; }
.ad-item img { width: 100%; height: auto; }
.ad-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #e9edf2; color: #8a94a6; font-size: 20px; font-weight: 700; border: 1px dashed #c9d1dc; min-height: 90px; }
.ad-empty .ico { width: 36px; height: 36px; }
.ad-home_sidebar.ad-empty { aspect-ratio: 300 / 250; }
.ad-wide { margin: var(--gap) 0 0; }
.ad-inline { margin: 18px 0; }
@keyframes athar-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Home: top block ---------- */
.home-top {
	display: grid;
	gap: var(--gap);
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr) minmax(0, 1fr);
	grid-template-areas:
		"editorial hero latest"
		"features features latest";
}
.home-top.no-editorial { grid-template-areas: "hero hero latest" "features features latest"; }
.editorial { grid-area: editorial; display: flex; flex-direction: column; background: linear-gradient(#fff, #f7f8fa); }
.hero { grid-area: hero; }
.latest { grid-area: latest; display: flex; flex-direction: column; gap: var(--gap); }
.features { grid-area: features; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }

.editorial .box-title { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.editorial-title { font-size: 24px; margin-bottom: 10px; }
.editorial-text { font-size: 15px; line-height: 1.95; color: var(--text); }
.editorial-sign { margin-top: auto; font-size: 14px; color: var(--muted); font-style: italic; }
.editorial .thumb { margin-top: 10px; }

.hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); min-height: 340px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; height: 100%; }
.slide-img { display: block; height: 100%; }
.slide-img img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.slide-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,16,34,.92) 0%, rgba(6,16,34,.55) 38%, rgba(6,16,34,0) 65%); pointer-events: none; }
.slide-cat { position: absolute; top: 14px; left: 14px; z-index: 2; }
.slide-body { position: absolute; bottom: 0; right: 0; left: 0; padding: 22px 22px 40px; color: #fff; z-index: 2; }
.slide-title { font-size: 30px; line-height: 1.4; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); margin-bottom: 8px; }
.slide-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.slide-excerpt { font-size: 15px; color: #e6eaf1; max-width: 620px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.dot.is-active { background: var(--red); }

.latest-box { padding: 12px; }
.latest-box .box-title { padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.latest-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.latest-list li:last-child { border-bottom: 0; }
.latest-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.latest-list time { font-size: 12px; color: var(--muted); }

.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-media { position: relative; }
.feature-media .thumb { border-radius: 0; aspect-ratio: 16 / 8; }
.feature-media .badge { position: absolute; top: 10px; left: 10px; }
.feature-body { padding: 12px 14px; }
.feature-title { font-size: 18px; margin-bottom: 6px; }
.feature-excerpt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.feature .more .ico { width: 18px; }

/* ---------- Home rows ---------- */
.row { display: grid; gap: var(--gap); margin-top: var(--gap); }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-2 > .sec-society:first-child { grid-column: span 1; }
.row-2:has(> .sec-society) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.row-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr); }
.row-2 > .sec:only-child, .row-3 > .sec:only-child { grid-column: 1 / -1; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gap); }
.lead-side { display: flex; flex-direction: column; gap: var(--gap); }
.card-small .card-title { font-size: 14.5px; }

.sec-justice .card-title { font-size: 16.5px; }

/* Section with no posts yet: keeps the block in place until the first story. */
.sec-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 170px; padding: 16px; background: repeating-linear-gradient(135deg, #f3f5f8 0 12px, #eef1f5 12px 24px); border: 1px dashed #cfd6e0; border-radius: var(--radius); color: var(--muted); text-align: center; font-size: 14.5px; }
.sec-empty .ico { width: 34px; height: 34px; color: #b3bdcb; }
.sec-empty p { margin: 0; font-weight: 600; }
.sec-empty a { color: var(--red); font-weight: 700; font-size: 13.5px; }
.sec-empty.is-tall { min-height: 230px; }
.hero.is-empty { background: transparent; }
.hero.is-empty .sec-empty { height: 100%; min-height: 340px; }
.editorial .sec-empty { flex: 1; }
.feature.is-empty .feature-media { height: 100%; }
.feature.is-empty .sec-empty { height: 100%; min-height: 200px; border: 0; border-radius: 0; }

/* ---------- Services ---------- */
.row-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service .box-title { margin-bottom: 12px; }
.service-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.train-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.train-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.train-form select,
.train-form input,
.prayer-city select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; background: #fff; color: var(--ink); font-size: 14px; min-height: 42px; }
.train-form .btn-red { min-height: 42px; white-space: nowrap; }
.prayer-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.prayer-head .box-title { margin: 0; }
.prayer-date { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.prayer-city select { min-width: 140px; }
.prayer-times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.prayer-times li { border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 8px 4px; background: #fafbfc; }
.prayer-times li.is-next { border-color: var(--red); background: #fff4f4; }
.prayer-times span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.prayer-times b { display: block; font-size: 17px; color: var(--red); font-variant-numeric: tabular-nums; direction: ltr; }
[data-prayer].is-loading .prayer-times { opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d5dbe6; margin-top: 8px; font-size: 14px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-copy p { margin: 0; }
.footer-tagline { color: #9fb0c8; font-size: 13px; }
.footer-logo img { width: 120px; background: #fff; border-radius: 6px; padding: 4px 8px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-menu a { color: #fff; }
.footer-menu a:hover { color: #ff9ea2; }
.social-footer a { color: #fff; }

/* ---------- Single ---------- */
.single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.single-wrap > .related, .single-wrap > .comments-wrap { grid-column: 1 / -1; }
.single-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.crumbs a:hover { color: var(--red); }
.entry-head .badge { margin-bottom: 10px; }
.entry-title { font-size: 32px; line-height: 1.45; margin-bottom: 10px; }
.entry-lead { font-size: 18px; color: var(--text); font-weight: 500; border-inline-start: 4px solid var(--red); padding-inline-start: 12px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 12px 0 16px; }
.entry-meta a { color: var(--ink); font-weight: 700; }
.entry-media { margin: 0 0 16px; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.entry-media figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.entry-content { font-size: 18px; line-height: 2; color: #1f2735; overflow-wrap: anywhere; }
.entry-content h2 { font-size: 24px; margin: 1.2em 0 .5em; }
.entry-content h3 { font-size: 20px; margin: 1.1em 0 .5em; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.entry-content ul { list-style: disc; }
.entry-content blockquote { margin: 1.2em 0; padding: 12px 18px; background: #f6f7fa; border-inline-start: 4px solid var(--navy); font-size: 19px; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; border-radius: 4px; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry-content figure { margin: 1em 0; max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 6px 10px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; color: var(--ink); }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius); color: #fff; border: 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.sh-fb { background: #1877f2; }
.sh-x { background: #111; }
.sh-wa { background: #25d366; }
.sh-copy { background: var(--navy); }
.share a:hover { color: #fff; opacity: .9; }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { background: #eef1f5; padding: 3px 10px; border-radius: 3px; font-size: 13px; }
.single-side { display: flex; flex-direction: column; gap: var(--gap); position: sticky; top: 64px; }
.related .sec-title { margin-bottom: 12px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.widget-title { font-size: 18px; margin-bottom: 8px; }
.page-links { margin-top: 12px; }

/* ---------- Archive / search / 404 ---------- */
.archive-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: var(--gap); border-inline-start: 5px solid var(--red); }
.archive-title { font-size: 26px; }
.archive-title span { color: var(--red); }
.archive-desc { color: var(--muted); margin-top: 6px; }
.archive-head .search-form { max-width: 480px; margin-top: 10px; }
.archive-grid .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.archive-grid .card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.archive-grid .card-wide .card-title { font-size: 24px; }
.archive-video .archive-grid .thumb { background: #000; }
.pagination { margin-top: 20px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }
.empty { text-align: center; padding: 30px; }
.empty .search-form { max-width: 420px; margin: 0 auto; }
.page-404 > .box { text-align: center; padding: 40px 20px; }
.page-404 .big-404 { font-size: 90px; font-weight: 900; color: var(--red); line-height: 1; margin: 0 0 6px; }
.page-404 h1 { font-size: 28px; margin-bottom: 8px; }
.page-404 .search-form { max-width: 420px; margin: 16px auto; }
.page-404 .related { margin-top: var(--gap); }
.page-wrap .single-article { max-width: 900px; margin: 0 auto; }

/* ---------- Comments ---------- */
.comments { margin-top: var(--gap); }
.comment-list { padding: 0; list-style: none; }
.comment-list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-author { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--muted); }
.comment-form label { display: block; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.comment-form .submit { background: var(--red); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 22px; font-weight: 700; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.menu > li > a { padding: 13px 8px; font-size: 14.5px; }
	.home-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); grid-template-areas: "hero hero" "editorial latest" "features features"; }
	.home-top.no-editorial { grid-template-areas: "hero hero" "latest latest" "features features"; }
	.row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.row-3 > .sec-diaspora { grid-column: 1 / -1; }
	.train-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.prayer-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.topbar .search-form { width: 200px; }
	.mainnav-in { position: relative; justify-content: space-between; }
	.nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: #fff; padding: 12px 6px; font-weight: 700; cursor: pointer; }
	.nav-toggle .ico { width: 24px; height: 24px; }
	.menu-wrap { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--navy-2); max-height: calc(100vh - 60px); overflow-y: auto; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
	.mainnav.is-open .menu-wrap { display: block; }
	.menu { flex-direction: column; flex-wrap: nowrap; }
	.menu > li > a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); border-inline-start: 3px solid transparent; }
	.menu > li > a:hover, .menu > li.current-menu-item > a { border-bottom-color: rgba(255,255,255,.08); border-inline-start-color: var(--red); }
	.menu .sub-menu { display: block; position: static; box-shadow: none; background: transparent; padding-inline-start: 14px; }
	.row-2, .row-2:has(> .sec-society), .row-services { grid-template-columns: minmax(0, 1fr); }
	.single-wrap { grid-template-columns: minmax(0, 1fr); }
	.single-side { position: static; }
	.grid-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	body { font-size: 15px; }
	.topbar-in { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
	.topbar-tools { width: 100%; justify-content: space-between; }
	.topbar .search-form { flex: 1; width: auto; }
	.masthead { flex-direction: column; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
	.site-logo img { width: 180px; }
	.masthead-ad { width: 100%; }
	.home-top, .home-top.no-editorial { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "latest" "editorial" "features"; }
	.features { grid-template-columns: minmax(0, 1fr); }
	.hero, .slide-img img { min-height: 300px; }
	.slide-title { font-size: 22px; }
	.slide-excerpt { display: none; }
	.slide-body { padding: 16px 16px 36px; }
	.slide-body .btn-red { padding: 7px 14px; font-size: 14px; }
	.row-3 { grid-template-columns: minmax(0, 1fr); }
	.lead-grid { grid-template-columns: minmax(0, 1fr); }
	.lead-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-cards, .grid-cards.cols-2, .grid-cards.cols-3, .grid-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.grid-cards.cols-1 { grid-template-columns: minmax(0, 1fr); }
	.card-title { font-size: 14.5px; }
	.archive-grid .card-wide { display: flex; }
	.archive-grid .card-wide .card-title { font-size: 19px; }
	.train-form { grid-template-columns: minmax(0, 1fr); }
	.prayer-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.single-article { padding: 14px; }
	.entry-title { font-size: 24px; }
	.entry-content { font-size: 17px; }
	.footer-in { flex-direction: column; text-align: center; }
	.footer-menu { justify-content: center; }
	.breaking-label { padding: 6px 10px; }
}

@media (max-width: 340px) {
	.grid-cards, .grid-cards.cols-2, .grid-cards.cols-3, .grid-cards.cols-4 { grid-template-columns: minmax(0, 1fr); }
	.lead-side { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.breaking-list { animation: none; }
}
