/*
Theme Name: The Calm Traveller
Theme URI: https://thecalmtraveller.com
Description: Quiet editorial theme for The Calm Traveller. Child of Twenty Twenty-Five.
Author: The Calm Traveller
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Text Domain: calm-traveller
*/

/* Layout helpers used by patterns */
.tct-eyebrow { font-family: var(--wp--preset--font-family--inter); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--sky-deep); }
.tct-card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--rule); border-radius: 14px; height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
.tct-card:hover { box-shadow: 0 10px 30px rgba(28,43,68,.08); transform: translateY(-2px); }
.tct-card a { text-decoration: none; }
.tct-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tct-card { position: relative; }
.tct-soft { background: var(--wp--preset--color--sky-wash); border-radius: 18px; }
.tct-answer { border-left: 4px solid var(--wp--preset--color--sky); background: var(--wp--preset--color--sky-wash); padding: 1.1rem 1.3rem; border-radius: 0 12px 12px 0; }
.tct-answer > *:first-child { margin-top: 0; }
.tct-note { font-family: var(--wp--preset--font-family--inter); font-size: .9rem; color: var(--wp--preset--color--muted); }
.tct-sources { font-family: var(--wp--preset--font-family--inter); font-size: .9rem; }
.tct-sources li { margin-bottom: .35rem; }
.tct-cta { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--ivory); border-radius: 18px; }
.tct-cta a:not(.wp-block-button__link) { color: var(--wp--preset--color--sky-light); }
.tct-badge { display: inline-block; font-family: var(--wp--preset--font-family--inter); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--navy); border-radius: 99px; padding: .25rem .7rem; }

/* Header */
.tct-header { border-bottom: 1px solid var(--wp--preset--color--rule); background: var(--wp--preset--color--ivory); }
.tct-header .wp-block-site-logo img { height: auto; }
.tct-header .wp-block-navigation { font-family: var(--wp--preset--font-family--inter); font-size: .95rem; font-weight: 500; }
.tct-header .wp-block-navigation a:hover { color: var(--wp--preset--color--sky-deep); }
.tct-header .current-menu-item > a, .tct-header .wp-block-navigation-item a[aria-current="page"] { color: var(--wp--preset--color--sky-deep); }

/* Footer */
.tct-footer a { text-decoration: none; }
.tct-footer a:hover { text-decoration: underline; }
.tct-footer ul { list-style: none; padding: 0; margin: 0; }
.tct-footer li { margin: 0 0 .45rem; }

/* WooCommerce */
.wc-block-components-product-price, .woocommerce-Price-amount { font-family: var(--wp--preset--font-family--inter); font-weight: 600; color: var(--wp--preset--color--navy); }
.wp-block-woocommerce-product-image-gallery img, .wc-block-components-product-image img, .wp-block-woocommerce-product-image img { border-radius: 10px; }
.wc-block-components-product-sale-badge { display: none; }
.woocommerce-product-details__short-description { font-size: 1.05rem; }
.wp-block-post-content h2 { margin-top: 2.2em; }
.single-product .wp-block-post-content h3 { margin-top: 1.6em; font-size: 1.1rem; }
.wc-block-checkout__terms, .wc-block-components-checkbox__label { font-size: .92rem; }

/* Accessibility */
:where(a):focus-visible, :where(button):focus-visible { outline: 3px solid var(--wp--preset--color--sky-deep); outline-offset: 2px; }
@media (max-width: 781px) { .tct-hide-mobile { display: none !important; } }
