/*
Theme Name: Comeback Project Theme
Theme URI: https://thecomebackproject.org
Author: Comeback Project
Description: Editable WordPress theme based on The Comeback Project site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: comeback-project-theme
*/

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    padding-top: 64px;
}

section[id] {
    scroll-margin-top: 64px;
}

@media (min-width: 1024px) {
    body {
        padding-top: 112px;
    }

    section[id] {
        scroll-margin-top: 112px;
    }
}

.hero-section {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-section {
        aspect-ratio: auto;
        min-height: 520px;
        background-position: center bottom;
    }
}

.hero-copy-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.forward-button {
    transition: all 0.3s ease;
}

.forward-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 58, 177, 0.3);
}

.image-accent-wrap {
    position: relative;
}

.image-accent-square {
    position: absolute;
    width: 72px;
    height: 72px;
    background: rgba(25, 58, 177, 0.09);
    z-index: 0;
}

.image-accent-square.top-left {
    top: -16px;
    left: -16px;
}

.image-accent-square.bottom-right {
    right: -16px;
    bottom: -16px;
}

.template-header {
    min-height: 340px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.template-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 7, 44, 0.55);
}

.template-header-inner {
    position: relative;
    z-index: 1;
}

.comeback-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.comeback-primary-menu > li + li {
    border-left: 1px solid #bfdbfe;
}

.comeback-primary-menu a {
    display: block;
    padding: 0 1rem;
    color: #00072c;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comeback-primary-menu a:hover {
    color: #193ab1;
}

.comeback-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
}

.comeback-mobile-menu a {
    display: block;
    padding: 0.75rem;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
}

.comeback-mobile-menu a:hover {
    color: #193ab1;
    background: #f9fafb;
}
