/* =====================================================================
   War-Documentary.info: the site footer in the dark design (template-parts/footer-dark.php), added 2026-10-15.
   A dark graphite ground, a shade cooler at the top edge: it follows the navy of the page above and still stands apart from it.
   The footer has its own names (.wd-foot) and does not rely on the styles of any page, so later it can go to every English page.
   ===================================================================== */
.wd-foot{--f-text:#c6cdd6;--f-soft:#b8c0cb;--f-muted:#8b939e;--f-line:rgba(255,255,255,.08);--f-yellow:#ffc107;
	position:relative;overflow-x:clip;color:var(--f-text);font-family:Transat,sans-serif;font-weight:300;font-size:15px;line-height:1.7;letter-spacing:0;text-align:left;
	background:
		radial-gradient(48% 380px at 100% 100%,rgba(58,111,134,.13),rgba(58,111,134,0) 72%),
		radial-gradient(44% 300px at 0% 0%,rgba(143,170,210,.07),rgba(143,170,210,0) 72%),
		linear-gradient(180deg,#1c1f25 0,#17191e 260px,#141619 100%);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.wd-foot *,.wd-foot *::before,.wd-foot *::after{box-sizing:border-box}
.wd-foot p{margin:0}
.wd-foot ul{margin:0;padding:0;list-style:none}
.wd-foot li{margin:0;padding:0}
.wd-foot li::before{content:none}
.wd-foot a{color:#fff;text-decoration:none;transition:color .2s ease,text-decoration-color .2s ease}
.wd-foot a:hover{color:#fff}
.wd-foot :focus-visible{outline:2px solid var(--f-yellow);outline-offset:4px;border-radius:4px}
.wd-foot .wd-ico{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* the same width as the sections of the About page; the name of the site below is sized to it */
.wd-foot__in{container-type:inline-size;max-width:clamp(1600px,30vw + 986px,1760px);margin:0 auto;padding:clamp(56px,3vw + 26px,92px) max(20px,clamp(12px,6vw - 40px,200px)) 0;box-sizing:content-box}

/* the "@" of an email is drawn here, so the address is not in the page's code as one piece (wd-footer.js puts it together) */
.wd-at::before{content:"@"}

/* the name of the site across the whole width: the letters look cut into dark stone, light catches their lower edge */
.wd-foot__mark{display:block;width:max-content;max-width:100%;margin:0 0 clamp(22px,1.6vw + 8px,38px);color:#30343b;font-weight:700;font-size:clamp(32px,8.6vw,156px);font-size:calc(100cqi / 10.25);line-height:.86;letter-spacing:-.005em;text-transform:uppercase;white-space:nowrap;
	background:linear-gradient(180deg,#4f5560 0%,#373b43 46%,#272a30 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
	filter:drop-shadow(0 1.5px 0 rgba(255,255,255,.09)) drop-shadow(0 -1px 0 rgba(0,0,0,.65));transition:filter .3s ease}
.wd-foot__mark:hover{filter:drop-shadow(0 1px 0 rgba(255,255,255,.14)) drop-shadow(0 -1px 0 rgba(0,0,0,.6)) brightness(1.12)}

/* the motto on the left, the email on the right */
.wd-foot__row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px}
.wd-foot__motto{color:#e3e8ee;font-size:clamp(18px,.6vw + 11px,24px);line-height:1.35}
.wd-foot__label{margin:0 0 10px;color:var(--f-muted);font-size:14px;line-height:1.4}
/* the underline of the email is the yellow of the headings on the page */
.wd-foot__mail{display:inline-flex;align-items:center;gap:12px;color:#fff;font-weight:700;font-size:clamp(21px,1vw + 10px,31px);line-height:1.3;overflow-wrap:anywhere}
.wd-foot__mail .wd-ico{width:22px;height:22px;color:var(--f-yellow)}
.wd-foot__mail .wd-mail-text{text-decoration:underline;text-decoration-color:rgba(255,193,7,.5);text-decoration-thickness:2px;text-underline-offset:.3em;transition:text-decoration-color .2s ease}
.wd-foot__mail:hover .wd-mail-text{text-decoration-color:var(--f-yellow)}

/* the strip: links on the site and the movie blog; on the right the button for the note about the photographs */
.wd-foot__strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 40px;margin-top:clamp(36px,2.4vw + 12px,56px);padding:18px 0;border-top:1px solid var(--f-line)}
.wd-foot__links{display:flex;flex-wrap:wrap;align-items:center;gap:14px 44px}
.wd-foot__links a{display:inline-flex;align-items:center;gap:12px;padding:6px 0;color:#fff;font-weight:700;font-size:16px;line-height:1.35}
.wd-foot__links .wd-ico{color:var(--f-yellow)}
.wd-foot__links a:not(.wd-foot__film):hover{text-decoration:underline;text-decoration-color:var(--f-yellow);text-decoration-thickness:2px;text-underline-offset:.3em}
.wd-foot__links .wd-foot__film{gap:14px;padding:0}
.wd-foot__film img{display:block;flex:none;width:38px;height:auto;opacity:.92;transition:opacity .2s ease}
.wd-foot__film span{display:flex;flex-direction:column;gap:2px;line-height:1.3}
.wd-foot__film small{color:var(--f-muted);font-size:13px;font-weight:300}
.wd-foot__film b{font-weight:700;font-size:16px}
.wd-foot__film:hover img{opacity:1}
.wd-foot__film:hover b{text-decoration:underline;text-decoration-color:var(--f-yellow);text-decoration-thickness:2px;text-underline-offset:.3em}
.wd-foot__toggle{display:inline-flex;align-items:center;gap:12px;margin:0;padding:6px 2px 6px 0;border:0;border-radius:0;background:none;color:#fff;font-family:Transat,sans-serif;font-weight:700;font-size:15px;line-height:1.3;letter-spacing:0;text-transform:none;cursor:pointer}
.wd-foot__pm{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.26);transition:box-shadow .2s ease}
.wd-foot__pm .wd-ico{width:16px;height:16px;transition:transform .3s ease}
.wd-foot__toggle:hover .wd-foot__pm,.wd-foot__toggle[aria-expanded="true"] .wd-foot__pm{box-shadow:inset 0 0 0 1px var(--f-yellow)}
.wd-foot__toggle[aria-expanded="true"] .wd-foot__pm .wd-ico{transform:rotate(45deg)}

/* the note about the photographs. Without JavaScript it is simply open and the button is not shown; with it, the note
   is closed until the button is pressed, and opens smoothly (the motion is switched on only once the page is ready) */
.wd-foot__drawer{display:grid;grid-template-rows:1fr}
.wd-foot--js .wd-foot__drawer{grid-template-rows:0fr}
.wd-foot--ready .wd-foot__drawer{transition:grid-template-rows .42s cubic-bezier(.2,.7,.2,1)}
.wd-foot--js .wd-foot__drawer.is-open{grid-template-rows:1fr}
.wd-foot:not(.wd-foot--js) .wd-foot__toggle{display:none}
.wd-foot__drawer-in{min-height:0;overflow:hidden}
/* a raised panel of the same graphite, with the thin line of light on its edge, as the panels of the About page */
.wd-foot__note{position:relative;isolation:isolate;margin:6px 0 24px;padding:26px 30px 28px;border-radius:18px;background:
	radial-gradient(80% 70% at 100% 100%,rgba(58,111,134,.16),rgba(58,111,134,0) 66%),
	linear-gradient(160deg,#272b32 0%,#202329 55%,#1c1f24 100%)}
.wd-foot__note::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1px;pointer-events:none;
	background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.06) 30%,rgba(255,255,255,0) 55%,rgba(143,184,255,.1));
	-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
	mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.wd-foot__note p{max-width:66ch;color:var(--f-soft);font-size:15px;line-height:1.72}
.wd-foot__note p+p{margin-top:10px}
.wd-foot__note a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:.22em}
.wd-foot__note a:hover{text-decoration-color:var(--f-yellow)}

/* the bar at the bottom: the copyright and the purpose of the project */
.wd-foot__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 48px;padding:22px 0 26px;border-top:1px solid var(--f-line);color:var(--f-muted);font-size:14px;line-height:1.6}

/* ---------- responsive ---------- */
@media (min-width: 992px){
	/* the two paragraphs of the note side by side */
	.wd-foot__note{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 56px;padding:28px 34px 30px}
	.wd-foot__note p+p{margin-top:0}
}
@media (max-width: 767.98px){
	.wd-foot__in{padding-top:52px}
	/* small letters cut in stone need more light to be seen */
	.wd-foot__mark{background-image:linear-gradient(180deg,#646b77 0%,#464b54 50%,#33373e 100%)}
	.wd-foot__strip{flex-direction:column;align-items:flex-start}
	.wd-foot__links{flex-direction:column;align-items:flex-start;gap:18px}
	.wd-foot__note{padding:22px 20px 24px;border-radius:16px}
	.wd-foot__bar{flex-direction:column;align-items:flex-start;gap:10px}
}
@media (prefers-reduced-motion: reduce){
	.wd-foot--ready .wd-foot__drawer,.wd-foot__pm .wd-ico,.wd-foot__mark{transition:none}
}
