/*
Theme Name: Tawergha Child
Theme URI: /
Description: Tawergha Foundation child theme of Twenty Twenty-Five. Owns the site brand (colors, typography, masthead, footer, legacy URL routes). Source-only TAW-02 D candidate; not deployed.
Author: Tawergha Foundation migration (EDSP ECO)
Template: twentytwentyfive
Version: 0.1.0-taw02
Requires at least: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tawergha-child
*/

/* ---- page frame: orange gradient pattern comes from the legacy static asset, referenced by path (no binary in Git) ---- */
body {
	background: #ff9900 url(/onewebstatic/c24ee9a661.gif) repeat-x 50% 0;
	color: var(--wp--preset--color--taw-brown);
}
.taw-page { max-width: 1020px; margin-inline: auto; padding: 16px 16px 0; }
.taw-page > .entry-content, .taw-page .wp-block-post-content { max-width: none; padding: 0; }
.wp-site-blocks { padding: 0; }

/* ---- masthead ---- */
.taw-banner { border: 2px solid #ff8731; border-radius: 8px; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; }
.taw-banner > * { margin: 0; }
.taw-banner-text { font-family: Verdana, Geneva, sans-serif; font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.6rem); color: #2b1200; }
.taw-banner-hand img { width: 63px; height: auto; display: block; }
.taw-masthead-row { align-items: flex-start; margin-bottom: 8px; }
.taw-site-title, .taw-site-title a { font-family: "Dancing Script", "Segoe Script", "Brush Script MT", "URW Chancery L", cursive; font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.4rem); white-space: nowrap; line-height: 1.05; color: #fff; text-decoration: none; margin: 0; text-shadow: 0 1px 2px rgba(55, 26, 5, .55); }
.taw-tagline { font-style: italic; font-size: 1.15rem; line-height: 1.3; text-align: right; color: #2b1200; margin: 8px 0 0; }
.taw-language-nav { margin: 0 0 20px; font-size: 1.05rem; }
.taw-language-nav .wp-block-navigation__container { gap: 0; }
.taw-language-nav a { color: #2b1200; text-decoration: none; padding: .4em .55em; }
.taw-language-nav a:hover, .taw-language-nav a:focus { text-decoration: underline; }
/* language dropdowns use the core Navigation submenu behaviour; only colors are branded here */
.taw-language-nav .wp-block-navigation__submenu-container { background: #fff; border-color: #ff8731; }
.taw-language-nav .wp-block-navigation__submenu-container a { color: #2b1200; }

/* ---- two-column body (main 66% / sidebar 34%), stacks on small screens by core columns behaviour ---- */
.taw-two-col { gap: 24px; align-items: flex-start; }
.taw-two-col > .wp-block-column { align-self: flex-start; }
.taw-two-col .taw-main { min-width: 0; }
.taw-banner-card { background: #f6f6f6; padding: 15px; border-radius: 5px; margin: 0 0 24px; }
.taw-banner-card .wp-block-image { margin: 0; }
.taw-banner-image img { width: 100%; height: auto; display: block; }
.taw-main h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 400; margin: 0 0 12px; color: #2b1200; }
.taw-main > p, .taw-main > .wp-block-paragraph { font-style: italic; font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin: 0 0 12px; color: #2b1200; }

/* objectives: one real ordered list; counters draw the source's numbered circles */
.taw-objectives { list-style: none; counter-reset: taw-obj; padding: 0; margin: 24px 0; }
.taw-objectives > li { counter-increment: taw-obj; position: relative; min-height: 100px; padding: 8px 90px 8px 124px; margin: 0 0 10px; font-size: 1rem; line-height: 1.5; }
.taw-objectives > li::before { content: counter(taw-obj); position: absolute; inset-inline-start: 0; top: 0; width: 100px; height: 100px; box-sizing: border-box; border-radius: 50%; background: #f6f6f6; color: #c43a00; font-size: 64px; line-height: 100px; text-align: center; }
.taw-objectives br { display: none; }
.taw-objectives > li strong { display: block; font-size: 1.4rem; font-weight: 400; margin-bottom: 4px; }
.taw-objectives a { color: #2b1200; text-decoration: none; }
.taw-objectives a:hover { text-decoration: underline; }
.taw-objectives .taw-done { position: absolute; inset-inline-end: 0; top: 10px; width: 80px; height: auto; }
.taw-objectives.taw-rtl > li { padding: 8px 124px 8px 90px; }

.taw-help-box, .taw-sidebar-panel, .taw-article-panel { border-radius: 8px; padding: 15px 20px; }
.taw-help-box { margin: 24px 0; }
.taw-help-box h3 { font-size: 1.25rem; font-weight: 400; margin: 12px 0 0; text-align: center; }
.taw-help-box h3:first-child { font-size: 1.55rem; margin: 0 0 12px; text-align: inherit; }
.taw-help-box li { font-size: 1.0rem; line-height: 1.8; }
.taw-help-box a, .taw-sidebar-panel a, .taw-article-panel a { color: #0a4aa3; }
.taw-sidebar-panel { padding: 20px 24px 24px; border-radius: 5px; }
.taw-sidebar-panel h3 { font-size: 1.3rem; font-weight: 400; margin: 0 0 12px; }
.taw-sidebar-panel p { font-size: .875rem; line-height: 1.8; text-align: justify; margin: 0 0 12px; color: #371a05; }
/* one.com image border (15px solid #f6f6f6, 5px radius) on framed hero images; content-box keeps the inner crop ratio */
.taw-framed img { box-sizing: content-box; width: calc(100% - 30px); max-width: calc(100% - 30px); border: 15px solid #f6f6f6; border-radius: 5px; }
.taw-sidebar-logo { margin: 24px auto 0; max-width: 216px; }
.taw-sidebar-logo img { width: 100%; height: auto; display: block; }

/* ---- article page (request for help) ---- */
.taw-article-panel { padding: 24px 28px 32px; }
.taw-article-panel h2 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); font-weight: 700; margin: 0 0 8px; }
.taw-article-panel p { font-size: clamp(1.02rem, 2.4vw, 1.25rem); line-height: 1.5; margin: 0 0 1em; }
.taw-article-panel p em { font-style: italic; }
.taw-lang-link { text-align: right; margin: 0 0 1em; }
.taw-article-panel .taw-lang-link a { color: #c00000; font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.75rem); text-decoration: none; }

/* ---- right-to-left blocks (dir/lang attributes are added server-side by functions.php) ---- */
.taw-rtl { direction: rtl; text-align: right; unicode-bidi: isolate; }
.taw-ar-large, .taw-article-panel p.taw-rtl { font-size: clamp(1.2rem, 3vw, 1.75rem); line-height: 1.7; }
.taw-two-col { direction: ltr; } /* Arabic source keeps the main column left, sidebar right */

/* ---- footer ---- */
.taw-footer { max-width: 1020px; margin: 40px auto 0; padding: 0 16px 32px; }
.taw-footer-columns { gap: 0; border: 1px solid rgba(255, 255, 255, .85); }
.taw-footer-col { border-inline-end: 1px solid rgba(255, 255, 255, .85); padding: 6px 10px; }
.taw-footer-col:last-child { border-inline-end: 0; }
.taw-footer-title { font-family: Verdana, Geneva, sans-serif; font-size: .9rem; font-weight: 700; margin: 0 0 6px; color: #2b1200; }
.taw-footer-list { list-style: none; padding: 0; margin: 0; font-family: Verdana, Geneva, sans-serif; font-size: .85rem; line-height: 1.9; }
.taw-footer-list a { color: #2b1200; text-decoration: none; }
.taw-footer-list a:hover { text-decoration: underline; }
@media (max-width: 781px) {
	.taw-footer-col { border-inline-end: 0; border-bottom: 1px solid rgba(255, 255, 255, .85); }
	.taw-objectives > li { padding: 8px 8px 8px 112px; min-height: 90px; }
	.taw-objectives > li::before { width: 90px; height: 90px; font-size: 56px; line-height: 90px; }
	.taw-objectives .taw-done { position: static; display: inline-block; width: 48px; vertical-align: middle; }
	.taw-tagline { text-align: left; }
	.taw-site-title, .taw-site-title a { white-space: normal; }
	.taw-article-panel { padding: 16px; }
}

/* ---- flow pages (TAW-03): panels, wrapped images, sidebar news, document lists ---- */
.taw-flow-wide { margin: 0 0 24px; }
.taw-panel { border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; overflow: hidden; }
.taw-panel.taw-panel-tint, .taw-panel.taw-panel-outline { border: 1px solid #371a05; color: #2b1200; }
.taw-panel h2, .taw-panel h3 { font-size: clamp(1.4rem, 3.2vw, 1.75rem); font-weight: 400; margin: 0 0 12px; color: #2b1200; }
.taw-panel p, .taw-panel li { font-size: clamp(1rem, 2.2vw, 1.0625rem); line-height: 1.5; }
.taw-panel p { margin: 0 0 1em; }
.taw-panel.taw-panel-tint a, .taw-panel.taw-panel-outline a { color: #0a2d6e; }
.taw-main > h2:first-child, .taw-main > .wp-block-heading:first-child { margin-top: 0; }
.taw-main > p em { color: #2b1200; }
.taw-main .wp-block-image.alignleft { float: left; margin: 0 20px 12px 0; }
.taw-main .wp-block-image.alignright { float: right; margin: 0 0 12px 20px; }
.taw-main .wp-block-image img, .taw-sidebar .wp-block-image img { max-width: 100%; height: auto; }
.taw-panel .wp-block-image { margin: 0 0 12px; }
.taw-panel::after, .taw-article-panel::after { content: ""; display: block; clear: both; }
.taw-sidebar-flow .wp-block-image { margin: 0 auto 16px; }
.taw-sidebar-flow p { font-size: .8125rem; line-height: 1.6; margin: 0 0 .6em; text-align: left; }
.taw-sidebar-flow h2, .taw-sidebar-flow h3 { font-size: 1.3rem; font-weight: 400; margin: 12px 0; }
.taw-sidebar-flow p strong { color: #2b1200; }
.taw-doc-list { list-style: none; padding: 0; margin: 0 0 32px; background: #fff; border: 1px solid #000; }
.taw-doc-list > li { margin: 0; padding: 10px 10px; border-bottom: 1px solid #000; font-family: Verdana, Geneva, sans-serif; font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.taw-doc-list > li:last-child { border-bottom: 0; }
.taw-doc-list a { color: #0a2d6e; }
.taw-year-heading { font-family: Verdana, Geneva, sans-serif; font-size: 1rem !important; font-weight: 700 !important; background: #fff; border: 1px solid #000; border-bottom: 0; margin: 24px 0 0 !important; padding: 10px; }
.taw-year-heading + .taw-doc-list { border-top: 1px solid #000; margin-top: 0; }
@media (max-width: 781px) {
	.taw-main .wp-block-image.alignleft, .taw-main .wp-block-image.alignright { float: none; margin: 0 auto 12px; }
	.taw-panel { padding: 14px; }
}

/* one.com card layout: image column left, text right (core columns stack below 782px); gallery replaces the carousel */
.taw-card-columns { gap: 20px; align-items: flex-start; }
.taw-card-image img { width: 100%; height: auto; display: block; }
.taw-gallery { gap: 8px; }
.taw-gallery img { height: auto; }

/* branded 404 (templates/404.html): same masthead as the pages, one white panel, no stock imagery */
.taw-error-panel { padding: 24px 28px; border-radius: 6px; }
.taw-error-panel h1 { margin-top: 0; }

/* ======================================================================================================
   TAW-06 typography roles and masthead rhythm (measured on the live pages, innermost text elements):
   wordmark = Dancing Script (bold, synthetic italic, 80px); headings, menu, intro, tagline = Georgia;
   body, sidebar and card text = Verdana (live uses 12px orange; here 14.4px in the dark brown for contrast).
   ====================================================================================================== */
/* self-hosted brand font (SIL OFL 1.1, tools/fetch_fonts.py; binary is outside Git, served at /taw-fonts/) */
@font-face { font-family: "Dancing Script"; src: url(/taw-fonts/DancingScript-Variable.ttf) format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }

.taw-site-title, .taw-site-title a { font-weight: 700; font-size: clamp(2.5rem, 7.2vw, 5rem); line-height: 1.2; text-shadow: none; }
.taw-masthead-row { margin-top: 4px; margin-bottom: 0; }
.taw-tagline { font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; }

/* language menu: Georgia, active language as a white pill (aria-current is set in functions.php) */
.taw-language-nav { margin: 14px 0 40px; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.taw-language-nav .wp-block-navigation-item__content { padding: 8px 16px; border-radius: 4px; }
.taw-language-nav .is-active-language > .wp-block-navigation-item__content { background: #fff; color: #371a05; }

/* body copy: Verdana in panels, sidebars and cards */
.taw-panel p, .taw-panel li, .taw-sidebar-flow p, .taw-sidebar-panel p, .taw-card-text p, .taw-card-text li,
.taw-flow-wide p, .taw-main > .taw-panel p { font-family: Verdana, Geneva, sans-serif; font-size: .9rem; line-height: 1.6; color: #371a05; }
.taw-panel p, .taw-sidebar-flow p, .taw-card-text p { margin: 0 0 .8em; }
/* the "Find out how you can help today" box keeps Georgia (heading directly followed by the list) */
.taw-panel > h2 + ul li, .taw-panel > h3 + ul li, .taw-help-box li, .taw-panel > h2 + ul + p, .taw-panel > h3 + ul + p {
	font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.8; }
.taw-objectives > li { font-family: Verdana, Geneva, sans-serif; font-size: .9rem; }
.taw-objectives > li strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.taw-sidebar-flow h2, .taw-sidebar-flow h3 { font-family: Georgia, "Times New Roman", serif; }
@media (max-width: 781px) {
	.taw-language-nav { margin-bottom: 24px; }
}
.taw-banner-text { font-size: clamp(1rem, 2.4vw, 1.375rem); }
.taw-framed { margin-bottom: 36px; }
.taw-main > p, .taw-main > .wp-block-paragraph, .taw-main > .wp-block-group > p.has-text-align-justify { font-size: clamp(1.1rem, 2.4vw, 1.25rem); }

/* ---- compact slideshow (core/gallery .taw-gallery): scroll-snap strip that works without JS; assets/js/gallery.js adds controls ---- */
.taw-gallery.wp-block-gallery { display: flex; flex-wrap: nowrap; gap: 0; width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; margin: 0; }
.taw-gallery.wp-block-gallery > .wp-block-image { flex: 0 0 100%; width: 100%; max-width: 100%; margin: 0; scroll-snap-align: start; }
.taw-gallery.wp-block-gallery > .wp-block-image img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.taw-gallery:focus-visible { outline: 3px solid #371a05; outline-offset: 2px; }
.taw-slideshow { max-width: 100%; }
.taw-slideshow.is-enhanced .taw-gallery.wp-block-gallery { scrollbar-width: none; }
.taw-slideshow.is-enhanced .taw-gallery.wp-block-gallery::-webkit-scrollbar { display: none; }
.taw-slideshow-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-family: Verdana, Geneva, sans-serif; font-size: .8rem; color: #371a05; }
.taw-slideshow-button { min-width: 44px; min-height: 36px; font-size: 1.4rem; line-height: 1; background: #fff; color: #371a05; border: 1px solid #371a05; border-radius: 4px; cursor: pointer; }
.taw-slideshow-button:disabled { opacity: .45; cursor: default; }
.taw-slideshow-button:focus-visible { outline: 3px solid #371a05; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .taw-gallery.wp-block-gallery { scroll-behavior: auto; } }

/* Action cards: the first paragraph of every anchored card is its title; one compact, consistent emphasis (also in slider cards) */
.taw-slug-home-action .taw-panel[id] .taw-card-text > p:first-child,
.taw-slug-home-action .taw-panel[id] > p:first-of-type { font-weight: 700; }

/* outlined single-heading panels (e.g. the campaign page title): live heading is 24px Georgia */
.taw-panel-outline h2, .taw-panel-outline h3 { font-size: 1.5rem; margin: 0; }

/* the theme body weight is 300, so <strong> resolved to 400: use a regular body weight and a real bold for source bold text */
.taw-panel p, .taw-panel li, .taw-sidebar-flow p, .taw-sidebar-panel p, .taw-card-text p, .taw-flow-wide p { font-weight: 400; }
.taw-panel strong, .taw-sidebar-flow strong, .taw-sidebar-panel strong, .taw-flow-wide strong, .taw-card-text strong, .taw-main strong { font-weight: 700; }
.taw-objectives > li strong { font-weight: 400; }

/* ---- TAW-07 follow-up ---- */
/* Road Sign Action: the authored alert/introduction keeps its emphasis: bold dark red (about 7:1 on white; bold, so not color-only) */
.taw-slug-road-sign-action .taw-panel > p:first-child strong { color: #b00020; }

/* static, non-submitting picture of the historical campaign letter form (no form controls, no endpoint, no script) */
.taw-static-form { margin-top: 20px; font-family: Verdana, Geneva, sans-serif; }
.taw-static-note { font-style: italic; font-size: .85rem; line-height: 1.5; margin: 0 0 16px; }
.taw-static-label { margin: 0 0 4px; font-size: .95rem; }
.taw-static-field { background: #fff; border: 1px solid #371a05; min-height: 34px; margin: 0 0 14px; padding: 4px 10px; box-sizing: border-box; }
.taw-static-select { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.taw-static-select::after { content: "\25BE"; font-size: .9rem; }
.taw-static-select .taw-static-select-text { margin: 0; font-size: .95rem; }
.taw-static-check { margin: 0 0 6px; font-size: .95rem; }
.taw-static-check::before { content: "\2713"; display: inline-block; width: 15px; height: 15px; margin-right: 10px; border: 1px solid #371a05; background: #fff; font-size: 12px; line-height: 15px; text-align: center; vertical-align: 1px; }
.taw-static-buttons { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.taw-static-button { margin: 0; padding: 6px 16px; background: #fff; border-radius: 4px; font-size: .95rem; pointer-events: none; user-select: none; }
/* page-specific footer links (source footer variant): ordinary links under the content */
.taw-page-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; max-width: 1020px; margin: 20px auto 0; padding: 0 16px; font-family: Verdana, Geneva, sans-serif; font-size: .9rem; }
.taw-static-select > p { margin: 0 !important; text-align: left; }
.taw-static-buttons { align-items: flex-start; }
.taw-static-buttons > p { margin: 0 !important; margin-inline: 0 !important; }
.taw-static-form > * { max-width: none; }

/* TAW-08: an image the public export does not contain stays referenced (nothing fabricated); show it as a labeled frame, not a browser glyph */
.taw-missing-source { min-width: 200px; min-height: 120px; border: 1px dashed #371a05; padding: 8px; box-sizing: border-box; font-family: Verdana, Geneva, sans-serif; font-size: .8rem; color: #371a05; }
.taw-missing-source::before { content: "Image not in the source export"; display: block; font-weight: 700; margin-bottom: 4px; }

/* TAW-09: IDP lead image (a 462x320 slideshow-player still shown at the full panel width, 952px, on the live page) and its authored bold title */
.taw-slug-idp .taw-panel > .wp-block-image { max-width: none; width: 100%; }
.taw-slug-idp .taw-panel > .wp-block-image img { width: 100%; height: auto; aspect-ratio: 462 / 320; object-fit: cover; }
.taw-slug-idp .taw-panel > h2 { font-weight: 700; font-size: 1.75rem; }
.taw-slug-idp .taw-panel > .wp-block-image > a { display: block; width: 100%; }

/* TAW-10: Special Thanks. The two intro paragraphs keep the italic intro style; each entry (Georgia name + short sans text) and the long
   Friends-for-Tawergha name list use compact, readable spacing like the live page. */
.taw-slug-home-special-thanks-page .taw-main > p:nth-of-type(n+3) { font-family: Verdana, Geneva, sans-serif; font-style: normal; font-size: .9rem; line-height: 1.6; margin: 0 0 10px; padding-inline: 18px; color: #371a05; }
.taw-slug-home-special-thanks-page .taw-main > h3 { font-size: 1.5rem; font-weight: 400; margin: 26px 0 4px; padding-inline: 18px; }
.taw-slug-home-special-thanks-page .taw-sidebar-flow p { margin: 0; line-height: 1.45; font-size: .85rem; }

/* Donate: the bank details and appeal are source headings (h3, kept for semantics) used as body lines; live shows them as Georgia ~20px text */
.taw-slug-home-donate .taw-panel > h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 400; line-height: 1.5; margin: 0 0 .5em; }

/* TAW-10: narrow source slideshow keeps its width and is centered; source side-by-side rows (portrait | text | portrait) */
.taw-gallery.taw-gallery-centered, .taw-slideshow[class*="taw-w-"] { margin-inline: auto; }
.taw-source-row { align-items: center; gap: 16px; }
.taw-source-row .taw-row-cell { text-align: center; }
.taw-source-row .taw-row-cell img { width: 100%; height: auto; }

/* TAW-11: Dutch home help box: the closing "> Klik op deze ... pagina link <" is a source h3; size it like the English closing line */
.taw-slug-nederlands .taw-panel > ul + h3 { font-size: 1.15rem; font-weight: 400; text-align: center; margin: .9em 0 0; }

/* TAW-21: site title contrast. The source title is white script on the orange page (contrast 2.14:1 on #ff9900);
   it keeps the script face, size and position and takes the existing nav brown (#371a05, about 8:1). */
.taw-site-title, .taw-site-title a { color: #371a05; text-shadow: none; }

/* TAW-21: database entries = English | photo | Arabic columns (source table row), stacked in source order below 782px */
.taw-entry-columns { gap: 0; align-items: stretch; margin: 0; }
.taw-entry-columns > .wp-block-column { padding: 15px; border: 1px solid #000; margin: 0 -1px 0 0; min-width: 0; }
.taw-entry-photo img { width: 100%; height: auto; display: block; }
.taw-entry-columns p { margin: 0 0 .8em; }
@media (max-width: 781px) { .taw-entry-columns > .wp-block-column { margin: 0 0 -1px; } }

/* Video pagination (owner decision 2026-11-20): NEXT on the left, BACK on the right, one row, LTR also on Arabic/RTL pages. */
.taw-video-pager{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;direction:ltr;clear:both;width:100%;max-width:100%;box-sizing:border-box;margin:16px 0}
.taw-video-pager>.wp-block-image{margin:0;flex:0 1 auto;min-width:0;float:none}
.taw-video-pager>.taw-pager-next{order:1;margin-right:auto}
.taw-video-pager>.taw-pager-back{order:2;margin-left:auto}
.taw-video-pager>.wp-block-image img{max-width:100%;height:auto}

/* TAW-65 owner decision: photo edges = adjacent text CONTENT edges (inside the white-card padding), aspect ratio kept.
   --taw-pad mirrors .taw-panel horizontal padding (20px desktop, 14px <=781px) and .taw-sidebar-panel (24px). */
:root { --taw-pad: 20px; }
@media (max-width: 781px) { :root { --taw-pad: 14px; } }
/* lead photo (direct child of the main column, above the text cards): fill the text content width */
.taw-main > .wp-block-image.taw-framed { max-width: none; width: auto; margin-inline: var(--taw-pad); }
.taw-main > .wp-block-image.taw-framed > a { display: block; }
.taw-main > .wp-block-image.taw-framed img { box-sizing: border-box; display: block; width: 100%; max-width: 100%; height: auto; border: 0; border-radius: 0; aspect-ratio: auto !important; object-fit: contain; }
/* shared "Latest Campaign News" sidebar photos: full text-content width; logos/icons keep their own size */
.taw-sidebar-flow .wp-block-image:not(:has(img[src*="logo"])) { max-width: none; width: 100%; margin-inline: 0; }
.taw-sidebar-flow .wp-block-image:not(:has(img[src*="logo"])) > a { display: block; }
.taw-sidebar-flow .wp-block-image:not(:has(img[src*="logo"])) img { display: block; width: 100%; max-width: 100%; height: auto; }
