/*
Theme Name:   Astra Shuttle
Theme URI:    https://shuttlecock-europe.org/
Description:  Light customisation of Astra for Shuttlecock Europe.
Author:       Shuttlecock Europe
Template:     astra
Version:      1.0.2
Text Domain:  astra-shuttle
*/

:root, body {
	--ast-global-color-0: #12285a;
	--ast-global-color-1: #c98a0b;
	--ast-global-color-2: #101828;
	--ast-global-color-3: #475467;
	--ast-global-color-4: #f6f7fb;
	--ast-global-color-5: #ffffff;
	--ast-global-color-6: #e4e7ec;
	--ast-global-color-7: #fff7e6;
	--ast-global-color-8: #0b1736;
	--sfe-radius: 10px;
	--sfe-shadow: 0 1px 2px rgba(16,24,40,.06), 0 6px 18px rgba(16,24,40,.06);
}

body { background: var(--ast-global-color-4); color: var(--ast-global-color-2); -webkit-font-smoothing: antialiased; }

/* Header: navy bar with an amber accent line */
.site-header, .main-header-bar { background: var(--ast-global-color-0); border-bottom: 3px solid var(--ast-global-color-1); }
.main-header-bar .site-title a, .main-header-bar .site-description,
.main-header-menu > .menu-item > a, .ast-site-identity .site-title a { color: #fff; }
.main-header-menu > .menu-item > a:hover, .main-header-menu > .current-menu-item > a { color: #ffd37a; }
.site-description { opacity: .8; font-size: .85rem; }
.ast-site-identity .site-title { letter-spacing: .02em; font-weight: 700; }

/* Menu contrast (Astra uses highly specific selectors) */
body .ast-builder-menu-1 .main-header-menu .menu-item > .menu-link,
body .main-header-menu .menu-item > .menu-link { color: #fff; opacity: 1; font-weight: 500; }
body .ast-builder-menu-1 .main-header-menu .menu-item:hover > .menu-link,
body .ast-builder-menu-1 .main-header-menu .current-menu-item > .menu-link,
body .main-header-menu .current-menu-item > .menu-link { color: #ffd37a; }
body .ast-builder-menu-1 .main-header-menu .sub-menu { background: var(--ast-global-color-8); }
.ast-menu-toggle, .menu-toggle .menu-toggle-icon, .ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon { color: #fff; }
.cat-links a, .ast-blog-single-element.ast-taxonomy-container a { color: var(--ast-global-color-1); font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }

/* Content cards */
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single,
.ast-separate-container .comments-area, .ast-separate-container .ast-archive-description {
	background: #fff; border-radius: var(--sfe-radius); box-shadow: var(--sfe-shadow); border: 0;
}
.ast-separate-container .ast-article-post { transition: transform .15s ease, box-shadow .15s ease; }
.ast-separate-container .ast-article-post:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.10); }

/* Typography */
.entry-content { font-size: 1.05rem; line-height: 1.75; }
h1, h2, h3, .entry-title { color: var(--ast-global-color-0); letter-spacing: -.01em; }
.entry-title a { color: inherit; }
.entry-content a { text-underline-offset: 3px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content blockquote { border-left: 4px solid var(--ast-global-color-1); background: var(--ast-global-color-7); padding: 1em 1.25em; border-radius: 0 var(--sfe-radius) var(--sfe-radius) 0; }
.entry-content img { border-radius: var(--sfe-radius); height: auto; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--ast-global-color-6); padding: .55em .8em; }
.entry-content th { background: var(--ast-global-color-4); text-align: left; }

/* Buttons & sidebar */
.wp-block-button__link, .ast-button, button, input[type=submit] { border-radius: 999px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ast-global-color-0); border-bottom: 2px solid var(--ast-global-color-1); display: inline-block; padding-bottom: 4px; }
.sidebar-main .widget { background: #fff; border-radius: var(--sfe-radius); box-shadow: var(--sfe-shadow); padding: 1.25rem; }

/* Footer */
.site-footer, .ast-small-footer { background: var(--ast-global-color-8); color: #cbd5e1; }
.site-footer a { color: #ffd37a; }

@media (prefers-reduced-motion: reduce) { .ast-separate-container .ast-article-post { transition: none; } }
