/* WTTC footer (template-parts/wttc-footer.php). Same design as the Elementor footer it replaces: dark plate, four columns, thin rule,
   bottom row. Tokens only (tokens.css). Hello's a:hover colour is overridden state by state. */
/* Short pages: the footer stays at the bottom of the screen (the content takes the free height), with or without the smooth scroll wrapper. */
body.wp-theme-wttc-theme, body.wp-child-theme-wttc-theme { min-height: 100vh; display: flex; flex-direction: column; }
body.wp-theme-wttc-theme > main, body.wp-theme-wttc-theme > #content, body.wp-child-theme-wttc-theme > main, body.wp-child-theme-wttc-theme > #content { flex: 1 0 auto; }
#smooth-content { min-height: 100vh; display: flex; flex-direction: column; }
#smooth-content > main, #smooth-content > #content { flex: 1 0 auto; }
.wttc-footer { background: var(--wttc-plate); color: var(--wttc-white); font-family: var(--wttc-font-sans); }
.wttc-footer a, .wttc-footer a:visited { color: var(--wttc-white); text-decoration: none; }
.wttc-footer__wrap { width: min(var(--wttc-container), calc(100% - 48px)); margin-inline: auto; padding: 80px 0 20px; }
.wttc-footer__grid { display: grid; grid-template-columns: 1.78fr 1fr 1.22fr 1.56fr; gap: 40px 48px; padding-bottom: 36px; }

.wttc-footer__id { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }   /* logo with the contact lines to its right (a flag, not a column) */
.wttc-footer__logo { display: block; flex: 0 0 auto; width: 100px; height: 100px; }
.wttc-footer__logo img { display: block; width: 100%; height: 100%; }
.wttc-footer__contact { display: grid; gap: 8px; margin: 0; font-size: 16px; line-height: 1.3; }
.wttc-footer__contact a:hover, .wttc-footer__contact a:focus-visible { color: var(--wttc-accent); text-decoration: underline; text-underline-offset: 3px; }
.wttc-footer__social { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0 0 24px -7px; padding: 0; list-style: none; }
.wttc-footer__social li { margin: 0; }
.wttc-footer__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--wttc-radius); transition: background-color .2s ease; }
.wttc-footer__social a:hover, .wttc-footer__social a:focus-visible, .wttc-footer__social a:active { background: rgba(255, 255, 255, .12); }
.wttc-footer__partner { display: flex; align-items: center; gap: 16px; font-size: 16px; letter-spacing: -.2px; }
.wttc-footer__partner-logo { display: block; width: auto; height: 64px; }
a.wttc-footer__partner + .wttc-footer__partner, .wttc-footer__partner + .wttc-footer__partner { margin-top: 14px; }
a.wttc-footer__partner:hover span, a.wttc-footer__partner:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }

.wttc-footer__title { margin: 0 0 18px; color: var(--wttc-white); font: 400 28px/1.1 var(--wttc-font-serif); }
.wttc-footer__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wttc-footer__list li { margin: 0; }
.wttc-footer__list a { font-size: 16px; line-height: 1.5; }
.wttc-footer__list a:hover, .wttc-footer__list a:focus-visible { color: var(--wttc-accent); text-decoration: underline; text-underline-offset: 4px; }
.wttc-footer__text { margin: 0 0 28px; max-width: 34ch; font-size: 16px; line-height: 1.5; }
.wttc-footer .wttc-footer__button, .wttc-footer .wttc-footer__button:visited { display: inline-block; padding: 15px 34px; border: 1px solid transparent; border-radius: var(--wttc-radius); background: var(--wttc-white); color: var(--wttc-navy); font: 500 12px/1.2 var(--wttc-font-sans); letter-spacing: .3px; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.wttc-footer .wttc-footer__button:hover, .wttc-footer .wttc-footer__button:focus-visible, .wttc-footer .wttc-footer__button:active { background: var(--wttc-accent); border-color: var(--wttc-accent); color: var(--wttc-navy); }

/* Bottom row: copyright on the left edge, legal links on the right edge (desktop); on phones the links first and the copyright last. */
.wttc-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .19); }
.wttc-footer__copy { order: -1; margin: 0; padding: 13px 0; font-size: 12px; line-height: 20px; letter-spacing: .5px; text-transform: uppercase; }
.wttc-footer__legal-list { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0 -20px 0 0; padding: 0; list-style: none; }
.wttc-footer__legal-list li { margin: 0; }
.wttc-footer__legal-list a { display: block; padding: 13px 20px; font-size: 12px; line-height: 20px; letter-spacing: .5px; text-transform: uppercase; }
.wttc-footer__legal-list a:hover, .wttc-footer__legal-list a:focus-visible { color: var(--wttc-accent); text-decoration: underline; text-underline-offset: 4px; }
.wttc-footer a:focus-visible { outline: 2px solid var(--wttc-white); outline-offset: 3px; }

@media (max-width: 1024px) {
	.wttc-footer__wrap { padding-top: 56px; }
	.wttc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wttc-footer__brand, .wttc-footer__news { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.wttc-footer__wrap { padding-top: 44px; }
	.wttc-footer__title { font-size: 24px; margin-bottom: 14px; }
	.wttc-footer__list a, .wttc-footer__text, .wttc-footer__contact { font-size: 15px; }
	.wttc-footer__id { flex-direction: column; align-items: flex-start; gap: 18px; }
	.wttc-footer__legal-list { margin-left: 0; }
	.wttc-footer__legal-list a { padding: 8px 20px 8px 0; }
}
@media (max-width: 767px) {
	.wttc-footer__bar { flex-direction: column; align-items: flex-start; }
	.wttc-footer__copy { order: 0; padding: 4px 0 12px; }
	.wttc-footer__legal-list { justify-content: flex-start; margin: 0; }
	.wttc-footer__legal-list a { padding: 8px 20px 8px 0; }
}
@media (prefers-reduced-motion: reduce) { .wttc-footer__social a, .wttc-footer .wttc-footer__button { transition: none; } }
