/* News / press release layout. BEM "wttc-post"; colours, type and spacing from tokens.css only. */

.wttc-post { padding-top: calc(var(--wttc-header-full) + 28px); background: var(--wttc-white); color: #151B34; font-family: var(--wttc-font-sans); }
.wttc-post a:not(.wttc-button) { color: inherit; } /* not the buttons: their own colours (components.css) must win */
.wttc-post a.wttc-chip, .wttc-post a.wttc-chip:visited, .wttc-post a.wttc-chip:hover, .wttc-post a.wttc-chip:focus-visible, .wttc-post a.wttc-chip:active { color: var(--wttc-navy); } /* the rule above would paint the hover text like the text around it, and the chip vanishes */

/* Elementor header on the article (scope "none"): it is transparent (white menu), so give it the navy bar (the article keeps its top room: the header overlays the page). */
.wttc-oldhdr [data-elementor-type="header"] .elementor-top-section { background-color: var(--wttc-navy); }

.wttc-post__head, .wttc-post__figure, .wttc-post__body { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.wttc-post__head { width: min(640px, calc(100% - 48px)); }


.wttc-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; font-size: 12px; color: rgba(21, 27, 52, .68); }

.wttc-post__title { margin: 0 0 18px; color: var(--wttc-navy); font: 400 clamp(30px, 4.6vw, 44px)/1.12 var(--wttc-font-serif); letter-spacing: -.3px; text-wrap: balance; }
.wttc-post__standfirst { margin: 0 0 22px; color: rgba(21, 27, 52, .82); font-size: 18px; line-height: 1.55; }

.wttc-post__byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; margin-bottom: 26px; border-block: 1px solid rgba(209, 207, 200, .55); font-size: 13px; color: rgba(21, 27, 52, .68); }
.wttc-post__byline strong { color: #151B34; font-weight: 500; }

.wttc-share { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wttc-share li { margin: 0; display: flex; align-items: center; gap: 8px; }
.wttc-share__btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #D1CFC8; border-radius: 50%; background: transparent; color: var(--wttc-navy); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.wttc-share__btn:hover, .wttc-share__btn:focus-visible { background: var(--wttc-accent); color: var(--wttc-navy); }
/* Every state is set here: Hello Elementor paints any button red (#c36) on :hover, :focus and :active, and a clicked button keeps :focus. */
button.wttc-share__btn:hover, button.wttc-share__btn:focus-visible { background: var(--wttc-accent); border-color: var(--wttc-accent); color: var(--wttc-navy); }
button.wttc-share__btn:active { background: var(--wttc-accent); border-color: var(--wttc-accent); color: var(--wttc-navy); opacity: .85; }
button.wttc-share__btn:focus:not(:focus-visible):not(:hover):not(:active) { background: transparent; border-color: #D1CFC8; color: var(--wttc-navy); }
.wttc-share__btn:focus-visible { outline: 2px solid var(--wttc-navy); outline-offset: 2px; }
.wttc-share__done { font-size: 12px; color: var(--wttc-navy); }
.wttc-share__done[hidden] { display: none; }

.wttc-post__figure { margin-block: 0 0; }
.wttc-post__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: rgba(209, 207, 200, .55); }
.wttc-post__caption { margin-top: 10px; font-size: 12px; color: rgba(21, 27, 52, .68); }

.wttc-post__body { display: grid; gap: 40px; padding-block: 34px 18px; }
.wttc-post__body.has-side { grid-template-columns: minmax(0, 1fr) 190px; }
.wttc-post__content { min-width: 0; }

.wttc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.wttc-facts__item { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 8px; background: #F3F0E7; }
.wttc-facts__value { color: var(--wttc-navy); font: 400 26px/1.1 var(--wttc-font-serif); }
.wttc-facts__label { font-size: 12px; line-height: 1.4; color: rgba(21, 27, 52, .68); }

.wttc-prose { font-size: 16px; line-height: 1.75; color: #151B34; overflow-wrap: break-word; }
.wttc-prose > * { margin-block: 0 1.1rem; }
.wttc-prose h2, .wttc-prose h3, .wttc-prose h4 { margin: 2rem 0 .8rem; color: var(--wttc-navy); font-family: var(--wttc-font-serif); font-weight: 400; line-height: 1.2; }
.wttc-prose h2 { font-size: 28px; } .wttc-prose h3 { font-size: 22px; } .wttc-prose h4 { font-size: 18px; }
.wttc-prose a { color: var(--wttc-navy); text-decoration: underline; text-underline-offset: 2px; }
.wttc-prose ul, .wttc-prose ol { padding-left: 1.3em; }
.wttc-prose li { margin-bottom: .4rem; }
.wttc-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.wttc-prose figure { margin-inline: 0; }
.wttc-prose figcaption { margin-top: 8px; font-size: 12px; color: rgba(21, 27, 52, .68); }
.wttc-prose blockquote { margin: 1.6rem 0; padding: 20px 0 4px; border: 0; border-top: 2px solid var(--wttc-accent); color: var(--wttc-navy); font: italic 400 24px/1.3 var(--wttc-font-serif); }
.wttc-prose blockquote p { margin: 0 0 .6rem; font: inherit; color: inherit; }
.wttc-prose blockquote cite { display: block; margin-top: 10px; color: rgba(21, 27, 52, .68); font: normal 400 13px/1.4 var(--wttc-font-sans); }
.wttc-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wttc-prose th, .wttc-prose td { padding: 8px 10px; border-bottom: 1px solid rgba(209, 207, 200, .55); text-align: left; }

.wttc-post__side { align-self: start; position: sticky; top: calc(var(--wttc-header-full) + 24px); }
.wttc-side { margin-bottom: 22px; }
.wttc-side__title { margin: 0 0 8px; color: rgba(21, 27, 52, .68); font: 500 11px/1.3 var(--wttc-font-sans); letter-spacing: .5px; text-transform: uppercase; }
.wttc-side__list { margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--wttc-accent); list-style: none; font-size: 13px; line-height: 1.5; color: #151B34; }
.wttc-side__list li { margin-bottom: 6px; }
.wttc-side__text { margin: 0; font-size: 13px; line-height: 1.5; color: #151B34; }
.wttc-side__text a { color: var(--wttc-navy); text-decoration: underline; }

.wttc-more { margin-top: 28px; padding: 36px 0 48px; background: var(--wttc-cream); }
.wttc-more__inner { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.wttc-more__title { margin: 0 0 16px; color: var(--wttc-navy); font: 400 24px/1.2 var(--wttc-font-serif); }
.wttc-more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

@media (max-width: 860px) {
	.wttc-post__body.has-side { grid-template-columns: minmax(0, 1fr); }
	.wttc-post__side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; padding-top: 12px; border-top: 1px solid rgba(209, 207, 200, .55); }
}
@media (prefers-reduced-motion: reduce) { .wttc-share__btn { transition: none; } }

/* Blog articles: galleries (a row of pictures) and embedded video. */
.wttc-prose .wttc-gallery, .wttc-prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-block: 1.6rem; }
.wttc-prose .wttc-gallery figure, .wttc-prose .wp-block-gallery figure { margin: 0; }
.wttc-prose .wttc-gallery img, .wttc-prose .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wttc-prose .wp-block-embed { margin-block: 1.6rem; }
.wttc-prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.wttc-prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
