/* ITSWEBER CMS – Business Theme */
/* Extends default theme with corporate styling */

:root {
    --color-primary: #1e3a5f;
    --color-primary-dark: #152d4a;
    --color-accent: #c5a55a;
    --color-text: #1a2332;
    --color-text-light: #5a6577;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-border: #dde2e8;
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --container-width: 1140px;
    --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); line-height: 1.7; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 720px; }

.site-header { background: var(--color-primary); border-bottom: 3px solid var(--color-accent); height: var(--header-height); display: flex; align-items: center; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo { text-decoration: none; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.site-logo img { height: 44px; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #fff; }
.nav-list { list-style: none; display: flex; gap: 2rem; }
.nav-list a { color: rgba(255,255,255,0.8); font-size: 0.9375rem; font-weight: 500; transition: color 0.15s; text-decoration: none; }
.nav-list a:hover, .nav-list a.active { color: var(--color-accent); text-decoration: none; }

.hero-section { padding: 7rem 0; background: linear-gradient(135deg, var(--color-primary) 0%, #2a4f7a 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.hero-title { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; color: #fff; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; }

.btn { display: inline-block; padding: 0.75rem 1.75rem; font-weight: 500; border-radius: 4px; font-size: 0.9375rem; text-decoration: none; transition: all 0.15s; }
.btn-primary, .btn-hero, .btn-cta { background: var(--color-accent); color: var(--color-primary); }
.btn-primary:hover, .btn-hero:hover, .btn-cta:hover { background: #d4b46a; text-decoration: none; }
.btn-secondary { background: var(--color-bg-alt); color: var(--color-text); border: 1px solid var(--color-border); }

.intro-section, .features-section, .blog-preview-section, .cta-section, .page-section, .blog-section, .gallery-section { padding: 5rem 0; }
.intro-section { text-align: center; }
.intro-section h2, .features-section h2, .blog-preview-section h2, .cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-primary); }
.intro-section p { font-size: 1.125rem; color: var(--color-text-light); max-width: 680px; margin: 0 auto; }
.section-subtitle { font-size: 1.0625rem; color: var(--color-text-light); margin-top: -0.5rem; margin-bottom: 1.5rem; }
.intro-section .section-subtitle, .cta-section .section-subtitle { max-width: 680px; margin-left: auto; margin-right: auto; }
.intro-text { font-size: 1.125rem; color: var(--color-text-light); max-width: 680px; margin: 0 auto; line-height: 1.7; }
.intro-cta { margin-top: 2rem; }
.features-section { background: var(--color-bg-alt); }
.features-section h2 { text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.topic-cards-section { padding: 5rem 0; }
.topic-cards-section h2 { text-align: center; margin-bottom: 1rem; }
.topic-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.topic-card { display: flex; flex-direction: column; background: var(--color-bg); padding: 2rem; border-radius: 8px; border: 1px solid var(--color-border); text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.topic-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.topic-card--plain { cursor: default; }
.topic-card--plain:hover { transform: none; }
.topic-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.topic-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.topic-card-text { color: var(--color-text-light); font-size: 0.9375rem; flex: 1; }
.topic-card-link { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.feature-card { background: var(--color-bg); padding: 2rem; border-radius: 4px; border: 1px solid var(--color-border); border-top: 3px solid var(--color-accent); transition: box-shadow 0.2s, transform 0.2s; }
.feature-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.feature-card p { color: var(--color-text-light); font-size: 0.9375rem; }
.feature-card-link { display: inline-block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.feature-card-link:hover { text-decoration: underline; }

.cta--has-bg { background-size: cover; background-position: center; position: relative; }
.cta--has-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 0; }
.cta--has-bg > .container { position: relative; z-index: 1; }
.cta--has-bg h2, .cta--has-bg .cta-text, .cta--has-bg .cta-eyebrow { color: #fff; }
.cta--overlay-light::after { background: rgba(0,0,0,0.25); }
.cta--overlay-medium::after { background: rgba(0,0,0,0.45); }
.cta--overlay-heavy::after { background: rgba(0,0,0,0.65); }
.cta-eyebrow { display: block; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; color: var(--color-primary); }
.cta--has-bg .cta-eyebrow { color: rgba(255,255,255,0.85); }
.cta-text { color: var(--color-text-light); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section { background: var(--color-primary); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.page-title, .section-title { font-size: 2.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1.5rem; }
.page-content { font-size: 1.0625rem; line-height: 1.8; }
.page-content p { margin-bottom: 1.25rem; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.blog-card-image { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-card-body h2 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.blog-card-body h2 a { color: var(--color-text); }
.blog-card-body h2 a:hover { color: var(--color-primary); text-decoration: none; }
.blog-card-body p { font-size: 0.9375rem; color: var(--color-text-light); }
.blog-category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--color-primary); letter-spacing: 0.04em; }
.blog-meta { display: flex; gap: 1rem; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--color-text-light); }

.blog-article { padding: 3rem 0 5rem; }
.article-image { width: 100%; border-radius: 4px; margin-bottom: 2rem; }
.article-title { font-size: 2.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1rem; }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; font-size: 0.875rem; color: var(--color-text-light); }
.article-category { color: var(--color-primary); font-weight: 600; }
.article-content { font-size: 1.0625rem; line-height: 1.8; }
.article-content p { margin-bottom: 1.25rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-card { display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); transition: box-shadow 0.2s; }
.gallery-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-decoration: none; }
.gallery-card-image { width: 100%; height: 220px; object-fit: cover; }
.gallery-card-placeholder { height: 220px; background: var(--color-bg-alt); }
.gallery-card-info { padding: 1rem; }
.gallery-card-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-card-info p { font-size: 0.875rem; color: var(--color-text-light); }

.contact-info { margin-top: 2rem; }
.contact-info p { margin-bottom: 0.5rem; }

.error-section { text-align: center; padding: 8rem 0; }
.error-code { font-size: 6rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.error-message { font-size: 1.25rem; color: var(--color-text-light); margin: 1rem 0 2rem; }

.site-footer { background: var(--color-primary); color: #fff; padding: 3rem 0; border-top: 3px solid var(--color-accent); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-copyright { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.footer-text { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-social a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-social a:hover { color: var(--color-accent); }

.text-muted { color: var(--color-text-light); }

/* Phase 3d – <picture> layout normalisation (see default/style.css for rationale) */
picture { display: contents; }

/* Gallery – Album image grid */
.gallery-images-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.625rem; margin-top: 1.5rem; }
.gallery-image-item { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; aspect-ratio: 1/1; background: var(--color-bg-alt); margin: 0; }
.gallery-image-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.gallery-image-item:hover img, .gallery-image-item:focus img { transform: scale(1.05); }
.gallery-image-item:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gallery-image-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; padding: 2rem 0.75rem 0.625rem; font-size: 0.8125rem; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.gallery-image-item:hover figcaption, .gallery-image-item:focus figcaption { opacity: 1; }

/* Gallery – Lightbox */
.gallery-lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.gallery-lightbox.is-open { opacity: 1; pointer-events: all; }
.gallery-lightbox-inner { position: relative; max-width: min(90vw, 1200px); display: flex; flex-direction: column; align-items: center; padding: 0 4rem; }
.gallery-lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; display: block; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.gallery-lightbox-info { margin-top: 0.875rem; text-align: center; min-height: 2.5rem; }
.gallery-lightbox-caption { color: rgba(255,255,255,0.9); font-size: 0.9375rem; margin: 0; }
.gallery-lightbox-counter { color: rgba(255,255,255,0.45); font-size: 0.8125rem; margin-top: 0.25rem; }
.gallery-lightbox-close { position: fixed; top: 1.125rem; right: 1.5rem; background: none; border: none; color: rgba(255,255,255,0.75); font-size: 2.25rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem; transition: color 0.15s; z-index: 9001; }
.gallery-lightbox-close:hover, .gallery-lightbox-close:focus { color: #fff; outline: none; }
.gallery-lightbox-prev, .gallery-lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1.375rem; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; z-index: 9001; user-select: none; }
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-prev:hover, .gallery-lightbox-next:hover { background: rgba(255,255,255,0.25); }
.gallery-lightbox-prev:disabled, .gallery-lightbox-next:disabled { opacity: 0.2; cursor: default; }

/* Gallery Preview Section (Homepage) */
.gallery-preview-section { padding: 5rem 0; }
.gallery-preview-section h2 { text-align: center; margin-bottom: 2.5rem; color: var(--color-primary); }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.gallery-preview-card { display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 1/1; position: relative; text-decoration: none; background: var(--color-bg-alt); }
.gallery-preview-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-preview-card:hover img { transform: scale(1.05); }
.gallery-preview-placeholder { width: 100%; height: 100%; background: var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text-light); font-size: 2rem; }
.gallery-preview-card span { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.75rem; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-preview-cta { text-align: center; }
.blog-preview-cta { text-align: center; margin-top: 2rem; }
.blog-card-placeholder { width: 100%; height: 200px; background: var(--color-bg-alt, #f5f5f5); display: flex; align-items: center; justify-content: center; color: var(--color-text-light, #999); }
.blog-card-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.gallery-preview-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.event-card-placeholder { width: 100%; height: 200px; background: var(--color-bg-alt, #f5f5f5); display: flex; align-items: center; justify-content: center; color: var(--color-text-light, #999); }
.event-card-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

/* ── Events (Phase 4b) ──────────────────────────────────────────────────── */
.events-section { padding: 5rem 0; }
.events-header { margin-bottom: 2rem; }
.events-category-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.events-category-filter a { padding: 0.3rem 0.85rem; border-radius: 4px; border: 1px solid var(--color-border); color: var(--color-text-light); font-size: 0.875rem; transition: background 0.15s, color 0.15s; }
.events-category-filter a:hover, .events-category-filter a.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); text-decoration: none; }
.events-featured { margin-bottom: 3rem; padding: 2rem; background: var(--color-bg-alt); border-radius: 4px; border-left: 4px solid var(--color-accent); }
.events-featured-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.events-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.events-all-title { font-size: 1.1rem; font-weight: 700; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.event-card { border-radius: 4px; overflow: hidden; background: var(--color-bg); border: 1px solid var(--color-border); transition: box-shadow 0.2s; display: flex; flex-direction: column; }
.event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.event-card picture { display: block; }
.event-card picture img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.event-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.event-card-body h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.event-card-body h3 a { color: var(--color-text); }
.event-card-body h3 a:hover { color: var(--color-primary); text-decoration: none; }
.event-card-body p { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.5; }
.event-card--featured { border-color: var(--color-primary); border-top-width: 3px; }
.event-card--postponed { border-color: #e67e22; }
.event-card--cancelled { opacity: 0.7; border-color: #c0392b; }
.event-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.8125rem; color: var(--color-text-light); }
.event-date, .event-time, .event-location { white-space: nowrap; }
.event-category { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary); }
.event-category a { color: inherit; }
.meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.7;
}
.meta-icon svg {
    width: 100%;
    height: 100%;
}
.event-category a:hover { text-decoration: underline; }
.event-status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 2px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.event-status-badge--postponed { background: #fef3cd; color: #b45309; }
.event-status-badge--cancelled  { background: #fde8e8; color: #b91c1c; }
.event-card-link { margin-top: auto; font-size: 0.875rem; font-weight: 700; color: var(--color-primary); }
.event-card-link:hover { text-decoration: underline; }
.event-detail { padding: 4rem 0; }
.event-status-notice { padding: 1rem 1.5rem; border-radius: 4px; margin-bottom: 2rem; font-size: 0.95rem; }
.event-status-notice--postponed { background: #fef3cd; color: #92400e; border-left: 4px solid #f59e0b; }
.event-status-notice--cancelled  { background: #fde8e8; color: #991b1b; border-left: 4px solid #ef4444; }
.event-detail-header { margin-bottom: 2rem; }
.event-detail-header h1 { font-size: 2.25rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
.event-detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: 0.9375rem; color: var(--color-text-light); }
.event-meta-item { display: flex; align-items: center; gap: 0.4rem; }
.event-meta-icon { font-size: 1rem; }
.event-detail-image { margin-bottom: 2rem; border-radius: 4px; overflow: hidden; }
.event-detail-image picture { display: block; }
.event-detail-image picture img, .event-detail-image img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.event-detail-excerpt { margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--color-text-light); line-height: 1.65; }
.event-detail-content { margin-bottom: 2rem; }
.event-detail-content.prose { line-height: 1.75; }
.event-detail-content.prose p { margin-bottom: 1rem; }
.event-detail-content.prose h2, .event-detail-content.prose h3 { margin: 1.5rem 0 0.75rem; }
.event-detail-footer { padding-top: 2rem; border-top: 1px solid var(--color-border); }
.btn-back { color: var(--color-text-light); font-size: 0.9375rem; }
.btn-back:hover { color: var(--color-primary); }
.pagination { display: flex; gap: 0.5rem; margin-top: 2rem; justify-content: center; }
.pagination-btn { padding: 0.4rem 0.85rem; border: 1px solid var(--color-border); border-radius: 3px; color: var(--color-text-light); font-size: 0.875rem; }
.pagination-btn:hover { background: var(--color-bg-alt); text-decoration: none; }
.pagination-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
/* ── Events Preview Section (Homepage, Phase 4b.1) ─────────────────────── */
.events-preview-section { padding: 4rem 0; background: var(--color-bg-alt); }
.events-preview-section h2 { text-align: center; margin-bottom: 2rem; color: var(--color-primary); }
.events-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.events-preview-cta { text-align: center; margin-top: 2rem; }

/* ── end Events ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-list { display: none; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--color-primary); padding: 1rem 1.5rem; gap: 0.75rem; }
    .nav-list.open { display: flex; }
    .hero-title { font-size: 2rem; }
    .hero-section { padding: 4rem 0; }
    .footer-inner { flex-direction: column; text-align: center; }
    .gallery-images-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.375rem; }
    .gallery-lightbox-inner { padding: 0 3rem; }
    .gallery-lightbox-prev { left: 0.25rem; }
    .gallery-lightbox-next { right: 0.25rem; }

    /* Typography scaling at tablet */
    .article-title { font-size: 1.875rem; }
    .page-title    { font-size: 1.875rem; }
    .section-title { font-size: 1.625rem; }
    .event-detail-header h1 { font-size: 1.875rem; }
    .download-detail-header h1 { font-size: 1.75rem; }

    /* Section padding at tablet (5rem → 3.5rem) */
    .intro-section, .features-section, .blog-preview-section, .cta-section,
    .page-section, .blog-section, .gallery-section,
    .gallery-preview-section, .events-preview-section { padding: 3.5rem 0; }
    .events-section { padding: 2.5rem 0; }
    .blog-article   { padding: 2rem 0 3.5rem; }
    .event-detail   { padding: 2.5rem 0; }
    .download-detail { padding: 2.5rem 0; }

    /* Hero boxed – reduce card padding on tablet */
    .hero--layout-boxed > .container { padding: 2rem 1.75rem; border-radius: 8px; }

    /* Topic and highlight grid responsive */
    .topic-cards-grid { grid-template-columns: 1fr; }
    .highlight-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Breadcrumbs (Phase 5.1) ────────────────────────────────────────────── */
.breadcrumbs {
    background: var(--color-bg-alt, #f5f5f5);
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    padding: 0.55rem 0;
    font-size: 0.8125rem;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--color-text-light, #888);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 0.4rem;
    color: var(--color-border, #ccc);
}
.breadcrumb-item a {
    color: var(--color-text-light, #888);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--color-primary, #4a6cf7);
    text-decoration: underline;
}
.breadcrumb-item.breadcrumb-current span {
    color: var(--color-text, #333);
    font-weight: 500;
}
@media (max-width: 768px) {
    .breadcrumbs { padding: 0.4rem 0; }
    .breadcrumb-item { font-size: 0.75rem; }
}
/* ── end Breadcrumbs ────────────────────────────────────────────────────── */


/* ── Downloads ──────────────────────────────────────────────────────────── */

/* Archive page */
.downloads-section { padding: 5rem 0; }
.downloads-header { margin-bottom: 2rem; }

/* Search bar */
.downloads-search-form { margin: 1.25rem 0; }
.search-wrap { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; max-width: 360px; padding: 0.5rem 0.85rem; border: 1px solid var(--color-border, #ccc); border-radius: 6px; font-size: 0.9375rem; }
.search-btn { padding: 0.5rem 1.1rem; background: var(--color-primary, #4a6cf7); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 0.9rem; }
.search-btn:hover { opacity: 0.9; }
.search-clear { color: var(--color-text-light, #888); font-size: 0.875rem; text-decoration: none; padding: 0.2rem 0.4rem; }

/* Category filter */
.downloads-category-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.downloads-category-filter a { display: inline-block; padding: 0.3rem 0.85rem; border: 1px solid var(--color-border, #ccc); border-radius: 20px; font-size: 0.875rem; color: var(--color-text-light, #666); text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.downloads-category-filter a:hover { background: var(--color-bg-alt, #f5f5f5); text-decoration: none; }
.downloads-category-filter a.active { background: var(--color-primary, #4a6cf7); color: #fff; border-color: var(--color-primary, #4a6cf7); }

/* Card grid */
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.75rem; }
.download-card { background: #fff; border: 1px solid var(--color-border, #e5e7eb); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.download-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.download-card-image img, .download-card-image picture img { width: 100%; height: 180px; object-fit: cover; display: block; }
.download-card-image picture { display: block; }
.download-card-placeholder { height: 100px; background: var(--color-bg-alt, #f5f7fa); display: flex; align-items: center; justify-content: center; }
.download-placeholder-ext { font-size: 1.5rem; font-weight: 700; color: var(--color-text-muted, #aaa); letter-spacing: 0.04em; }
.download-card-body { padding: 1rem 1.125rem 1rem; flex: 1; display: flex; flex-direction: column; }
.download-category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.download-category a { color: var(--color-primary, #4a6cf7); text-decoration: none; }
.download-category a:hover { text-decoration: underline; }
.download-card-body h3 { font-size: 1.0625rem; margin: 0.4rem 0 0.5rem; line-height: 1.35; }
.download-card-body h3 a { color: var(--color-text, #333); text-decoration: none; }
.download-card-body h3 a:hover { color: var(--color-primary, #4a6cf7); }
.download-excerpt { font-size: 0.875rem; color: var(--color-text-light, #666); line-height: 1.55; flex: 1; margin-bottom: 0.75rem; }
.download-version { font-size: 0.75rem; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 0.1rem 0.5rem; border-radius: 3px; display: inline-block; margin-bottom: 0.5rem; }
.download-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.625rem; border-top: 1px solid var(--color-border, #eee); }
.download-meta { display: flex; align-items: center; gap: 0.4rem; }
.download-ext, .download-ext-badge { font-size: 0.7rem; font-weight: 700; background: var(--color-primary, #4a6cf7); color: #fff; padding: 0.1rem 0.45rem; border-radius: 3px; letter-spacing: 0.03em; }
.download-size { font-size: 0.8125rem; color: var(--color-text-muted, #999); }
.btn-download-detail { font-size: 0.8125rem; color: var(--color-primary, #4a6cf7); font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-download-detail:hover { text-decoration: underline; }
.download-card-link { font-size: 0.8125rem; color: var(--color-primary, #4a6cf7); font-weight: 600; text-decoration: none; white-space: nowrap; }
.download-card-link:hover { text-decoration: underline; }

/* Detail page */
.download-detail { padding: 3rem 0; }
.download-detail-header { margin-bottom: 1.5rem; }
.download-detail-header h1 { font-size: 2rem; margin: 0.4rem 0 0; line-height: 1.25; }
.download-detail-image { margin-bottom: 2rem; border-radius: 8px; overflow: hidden; }
.download-detail-image img, .download-detail-image picture img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.download-detail-image picture { display: block; }
.download-detail-excerpt { font-size: 1.05rem; color: var(--color-text-light, #666); line-height: 1.65; margin-bottom: 1.5rem; }
.download-detail-content { margin-bottom: 2rem; }
.download-detail-content.prose { line-height: 1.75; }
.download-detail-content.prose p { margin-bottom: 1rem; }
.download-detail-content.prose h2, .download-detail-content.prose h3 { margin: 1.5rem 0 0.75rem; }
.download-cta { margin: 2rem 0; }
.download-file-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #f0f9ff; border: 1px solid #bde0f9; border-radius: 8px; }
.download-file-icon { flex-shrink: 0; }
.download-ext-badge--lg { font-size: 0.875rem; padding: 0.25rem 0.6rem; border-radius: 4px; }
.download-file-info { flex: 1; min-width: 0; }
.download-file-name { display: block; font-weight: 600; font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.download-file-size { display: block; font-size: 0.8125rem; color: var(--color-text-muted, #999); margin-top: 0.15rem; }
.btn-download, .btn.btn-download { display: inline-block; padding: 0.55rem 1.25rem; background: var(--color-primary, #4a6cf7); color: #fff; border-radius: 6px; font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: opacity 0.15s; }
.btn-download:hover { opacity: 0.88; text-decoration: none; }
.download-detail-footer { padding-top: 2rem; border-top: 1px solid var(--color-border, #eee); }
.btn-back { color: var(--color-text-light, #666); text-decoration: none; font-size: 0.9rem; }
.btn-back:hover { color: var(--color-primary, #4a6cf7); text-decoration: underline; }

@media (max-width: 768px) { .downloads-grid { grid-template-columns: 1fr; } .download-file-card { flex-wrap: wrap; } }
/* ── end Downloads ──────────────────────────────────────────────────────── */

/* ── Gallery / General helpers ──────────────────────────────────────────── */
/* Album description and back-link spacing */
.section-description { color: var(--color-text-light); font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.7; }
.section-back { margin-top: 2.5rem; }

/* Blog-card fallback: direct-child h3/p for themes that render without .blog-card-body wrapper */
.blog-card > h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.25rem 1.25rem 0.375rem; line-height: 1.35; }
.blog-card > h3 a { color: var(--color-text); text-decoration: none; }
.blog-card > h3 a:hover { color: var(--color-primary); text-decoration: none; }
.blog-card > p { font-size: 0.9375rem; color: var(--color-text-light); padding: 0 1.25rem 1.25rem; }
/* ── end Gallery / General helpers ─────────────────────────────────────── */

/* ── Contact form (Phase 11a) ───────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; color: var(--color-text); font-size: 0.9375rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(30,58,95,0.15);
}
.contact-form input.is-error,
.contact-form textarea.is-error { border-color: #c53030; }
.field-error { color: #c53030; font-size: 0.875rem; margin: 0.25rem 0 0; }
.contact-alert { padding: 1rem 1.25rem; border-radius: 4px; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.contact-alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.contact-alert--error   { background: #fff5f5; border: 1px solid #fed7d7; color: #9b2c2c; }
.contact-section-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--color-primary); }
/* ── end Contact form ───────────────────────────────────────────────────── */

/* ── Hero Presentation System (Hero v2) ─────────────────────────────────── */

/* Overlay via ::after – default: on section (full/split/center) */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}
/* Container above overlay */
.hero-section > .container {
    position: relative;
    z-index: 2;
}

/* Hero v2: Boxed – overlay scoped to container, not section */
.hero--layout-boxed::after { display: none; }
.hero--layout-boxed > .container {
    position: relative;
    overflow: hidden;
}
.hero--layout-boxed > .container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}
.hero--layout-boxed > .container > * { position: relative; z-index: 2; }

/* Text colour modifiers */
.hero--text-light .hero-title,
.hero--text-light .hero-eyebrow,
.hero--text-light .hero-subtitle { color: #fff; }
.hero--text-dark .hero-title,
.hero--text-dark .hero-eyebrow { color: #111; }
.hero--text-dark .hero-subtitle { color: rgba(0,0,0,0.65); }
/* Canonical colour tokens (1.0.10+) */
.hero--text-white .hero-title,
.hero--text-white .hero-eyebrow,
.hero--text-white .hero-subtitle { color: #ffffff; }
.hero--text-black .hero-title,
.hero--text-black .hero-eyebrow,
.hero--text-black .hero-subtitle { color: #000000; }
.hero--text-red .hero-title,
.hero--text-red .hero-eyebrow,
.hero--text-red .hero-subtitle { color: #dc2626; }
.hero--text-green .hero-title,
.hero--text-green .hero-eyebrow,
.hero--text-green .hero-subtitle { color: #16a34a; }
.hero--text-blue .hero-title,
.hero--text-blue .hero-eyebrow,
.hero--text-blue .hero-subtitle { color: #2563eb; }

/* Heading size modifiers */
.hero--hsize-sm .hero-title  { font-size: 1.75rem; }
.hero--hsize-md .hero-title  { font-size: 2.25rem; }
.hero--hsize-lg .hero-title  { font-size: 3.25rem; }
.hero--hsize-xl .hero-title  { font-size: 4.25rem; }

/* Heading weight modifiers */
.hero--hweight-normal .hero-title { font-weight: 400; }
.hero--hweight-medium .hero-title { font-weight: 600; }
.hero--hweight-bold   .hero-title { font-weight: 700; }
.hero--hweight-black  .hero-title { font-weight: 900; }

/* Body text size modifiers */
.hero--body-sm .hero-subtitle { font-size: 1rem; }
.hero--body-md .hero-subtitle { font-size: 1.125rem; }
.hero--body-lg .hero-subtitle { font-size: 1.375rem; }

/* Text alignment modifiers */
.hero--align-left  { text-align: left; }
.hero--align-right { text-align: right; }
.hero--align-left  .hero-subtitle,
.hero--align-left  .hero-eyebrow { margin-left: 0; }
.hero--align-right .hero-subtitle,
.hero--align-right .hero-eyebrow { margin-right: 0; margin-left: auto; }

/* Overlay strength modifiers – section level (full/split/center) */
.hero--overlay-light::after  { background: rgba(0,0,0,0.25); }
.hero--overlay-medium::after { background: rgba(0,0,0,0.45); }
.hero--overlay-heavy::after  { background: rgba(0,0,0,0.65); }
/* Overlay strength modifiers – boxed: scoped to container */
.hero--layout-boxed.hero--overlay-light > .container::after  { background: rgba(0,0,0,0.25); }
.hero--layout-boxed.hero--overlay-medium > .container::after { background: rgba(0,0,0,0.45); }
.hero--layout-boxed.hero--overlay-heavy > .container::after  { background: rgba(0,0,0,0.65); }

/* Height modifiers */
.hero--tall { min-height: 80vh; display: flex; align-items: center; }
.hero--tall > .container { width: 100%; }

/* Layout: full (content stretches to full container width) */
.hero--layout-full > .container { max-width: 100%; padding-left: 2rem; padding-right: 2rem; }

/* Layout: boxed – Hero v2: background + overlay scoped to box */
.hero--layout-boxed > .container {
    background-color: rgba(255,255,255,0.90);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 2.5rem 3rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 24px rgba(0,0,0,0.20);
}
.hero--layout-boxed:not(.hero--has-bg) > .container {
    background-color: rgba(255,255,255,0.94);
}

/* Layout: split (text left + portrait right) */
.hero--layout-split > .container { max-width: var(--container-width, 1140px); }
.hero-split-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.hero-text { flex: 1; min-width: 0; }
.hero-portrait-wrap { flex: 0 0 auto; }

/* Hero v2: Portrait inline (non-split modes) – centered above text */
.hero-portrait-inline {
    margin: 0 auto 1.5rem;
    flex: none;
}
.hero-portrait-inline .hero-portrait {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}
.hero--align-left .hero-portrait-inline { margin-left: 0; margin-right: auto; }
.hero--align-right .hero-portrait-inline { margin-left: auto; margin-right: 0; }
.hero--layout-boxed .hero-portrait-inline .hero-portrait {
    width: 120px;
    height: 120px;
}

/* Portrait style modifiers */
.hero--portrait-circle  .hero-portrait { border-radius: 50%; }
.hero--portrait-rounded .hero-portrait { border-radius: 1.5rem; }
.hero--portrait-square  .hero-portrait { border-radius: 0; }
.hero-portrait { width: 280px; height: 280px; object-fit: cover; display: block; box-shadow: 0 8px 32px rgba(0,0,0,0.2); border-radius: 50%; }
/* Portrait shadow style modifiers */
.hero--portrait-elevated .hero-portrait { box-shadow: 0 16px 64px rgba(0,0,0,0.3); }
.hero--portrait-flat      .hero-portrait { box-shadow: none; }

/* CTA container */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.75rem;
    justify-content: center;
}
.hero--align-left  .hero-ctas { justify-content: flex-start; }
.hero--align-right .hero-ctas { justify-content: flex-end; }

/* CTA layout: stacked */
.hero--cta-stacked .hero-ctas { flex-direction: column; align-items: center; max-width: 260px; margin-left: auto; margin-right: auto; }
.hero--align-left.hero--cta-stacked  .hero-ctas { align-items: flex-start; margin-left: 0; }
.hero--align-right.hero--cta-stacked .hero-ctas { align-items: flex-end; margin-right: 0; }
.hero--cta-stacked .hero-ctas .btn { width: 100%; text-align: center; }

/* Eyebrow text */
.hero-eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

/* Hero v2: Subtitle max-width constraint for readability */
.hero-subtitle { max-width: 640px; }
.hero--layout-boxed .hero-subtitle { max-width: 100%; }
.hero--layout-split .hero-subtitle { max-width: 100%; }

/* Responsive – Hero Presentation */
@media (max-width: 768px) {
    .hero--hsize-xl .hero-title { font-size: 2.5rem; }
    .hero--hsize-lg .hero-title { font-size: 2rem; }
    .hero-split-inner { flex-direction: column; gap: 2rem; text-align: center; }
    .hero--layout-split { text-align: center; }
    .hero--layout-split .hero-ctas { justify-content: center; }
    .hero-portrait { width: 200px; height: 200px; }
    .hero-portrait-inline .hero-portrait { width: 110px; height: 110px; }
    .hero--cta-stacked .hero-ctas { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero--layout-boxed > .container { max-width: 100%; padding: 2rem 1.75rem; border-radius: 8px; }
}

/* Responsive – improved section/grid fixes */
@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .events-preview-grid { grid-template-columns: 1fr; }
    .events-featured-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-section { padding: 3rem 0; }

    /* Section padding on small mobile (fix: use actual classes, not .section) */
    .intro-section, .features-section, .blog-preview-section, .cta-section,
    .page-section, .blog-section, .gallery-section,
    .gallery-preview-section, .events-preview-section { padding: 2.5rem 0; }
    .events-section { padding: 2rem 0; }
    .blog-article   { padding: 1.5rem 0 2.5rem; }
    .event-detail   { padding: 2rem 0; }
    .download-detail { padding: 2rem 0; }

    /* Typography on small mobile */
    .article-title { font-size: 1.5rem; }
    .page-title    { font-size: 1.5rem; }
    .section-title { font-size: 1.375rem; }
    .event-detail-header h1 { font-size: 1.5rem; }
    .download-detail-header h1 { font-size: 1.4375rem; }

    /* Error / 404 */
    .error-section { padding: 4rem 0; }
    .error-code    { font-size: 4rem; }

    /* Hero boxed – minimal padding on phone */
    .hero--layout-boxed > .container { padding: 1.5rem 1.25rem; border-radius: 6px; }

    /* Hero v2: portrait inline smaller on phone */
    .hero-portrait-inline .hero-portrait { width: 90px; height: 90px; }

    /* Grid responsive on mobile */
    .topic-cards-grid { grid-template-columns: 1fr; }
    .highlight-grid { grid-template-columns: 1fr; }
    .section--cols-2 .features-grid, .section--cols-2 .topic-cards-grid, .section--cols-2 .highlight-grid,
    .section--cols-3 .features-grid, .section--cols-3 .topic-cards-grid, .section--cols-3 .highlight-grid,
    .section--cols-4 .features-grid, .section--cols-4 .topic-cards-grid, .section--cols-4 .highlight-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
/* ── end Hero Presentation System ───────────────────────────────────────── */

/* ── Phase 14: Accessibility Foundations ─────────────────────────────────── */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.15s;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[tabindex="0"]:focus:not(:focus-visible) {
    outline: none;
}

/* Lightbox close: restore focus visibility (was outline:none) */
.gallery-lightbox-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    color: #fff;
}

.contact-form-input:focus-visible,
.contact-form-textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
    border-color: var(--color-primary);
}

/* ── end Accessibility Foundations ───────────────────────────────────────── */

/* ── Section Presentation Tokens (Phase 21) ──────────────────────────────── */
/* empty = theme default; these override only when explicitly set by admin    */

/* Color schemes */
.section--scheme-alt { background: var(--color-bg-alt) !important; }
.section--scheme-primary { background: var(--color-primary) !important; }
.section--scheme-primary h2,
.section--scheme-primary p { color: #fff !important; }
.section--scheme-dark { background: #0f1f35 !important; }
.section--scheme-dark h2,
.section--scheme-dark p { color: #e8ecf1 !important; }
.section--scheme-none { background: transparent !important; }

/* Alignment override */
.section--align-left { text-align: left !important; }
.section--align-left h2 { text-align: left !important; }
.section--align-left p { margin-left: 0 !important; max-width: none !important; }

/* Column and max-width tokens */
.section--cols-2 .features-grid, .section--cols-2 .topic-cards-grid, .section--cols-2 .highlight-grid { grid-template-columns: repeat(2, 1fr); }
.section--cols-3 .features-grid, .section--cols-3 .topic-cards-grid, .section--cols-3 .highlight-grid { grid-template-columns: repeat(3, 1fr); }
.section--cols-4 .features-grid, .section--cols-4 .topic-cards-grid, .section--cols-4 .highlight-grid { grid-template-columns: repeat(4, 1fr); }
.section--maxw-sm .container { max-width: 540px; }
.section--maxw-md .container { max-width: 720px; }
.section--maxw-lg .container { max-width: 960px; }

/* Card style variants */
.section--card-bordered .feature-card { border: 1px solid var(--color-border) !important; box-shadow: none !important; }
.section--card-flat .feature-card { box-shadow: none !important; background: transparent !important; border: none !important; }
.section--card-bordered .topic-card { border: 1px solid var(--color-border); box-shadow: none; }
.section--card-flat .topic-card { box-shadow: none; background: transparent; border: none; }
.section--card-bordered .highlight-card { border: 1px solid var(--color-border); box-shadow: none; }
.section--card-flat .highlight-card { box-shadow: none; background: transparent; border: none; }

/* highlight-grid-section: default background via CSS (replaces former inline style) */
.highlight-grid-section { padding: 5rem 0; background: var(--color-bg-alt); }
.highlight-grid-section h2 { text-align: center; margin-bottom: 1rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.highlight-card { display: flex; flex-direction: column; background: var(--color-bg); padding: 2rem; border-radius: 8px; border: 1px solid var(--color-border); text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.highlight-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.highlight-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.highlight-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.highlight-card-text { color: var(--color-text-light); font-size: 0.9375rem; flex: 1; }
.highlight-card-source { font-size: 0.8125rem; color: var(--color-text-light); font-style: italic; margin-top: 0.5rem; }
.highlight-card-link { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }

/* feature-card-icon: normalize icon display */
.feature-card-icon { font-size: 2rem; margin-bottom: .5rem; }

/* ── end Section Presentation Tokens ─────────────────────────────────────── */
