:root {
    --color-text: #222;
    --color-heading: #111;
    --color-hover: rgb(177, 26, 26);
    --color-background: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lusitana', serif;
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1em 0 0.5em;
    line-height: 1.3;
    color: var(--color-heading);
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'URW Gothic L', 'Avant Garde', Futura, sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.site-header {
    background: #ffffff;
    color: #222;
    display: flex;
    align-items: center;
    padding: 1em 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
}

.brand .logo {
    height: 56px;
    width: auto;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    color: inherit;
    z-index: 2;
    border-radius: 0;
    transition: outline-offset 0.2s ease;
}

.brand-link:hover,
.brand-link:focus,
.brand-link:focus-visible {
    color: var(--color-hover);
    outline: none;
}

.site-nav {
    margin-left: 2em;
    z-index: 2;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1em;
    margin: 0;
}

.site-nav a {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'URW Gothic L', 'Avant Garde', Futura, sans-serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.9rem;
    display: inline-block;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    border-radius: 0;
    transition: color 0.2s ease, outline-offset 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a:focus-visible {
    color: var(--color-hover);
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 0 0 auto;
    z-index: 3;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #222;
    border-radius: 0;
    width: 100%;
}

.page-main {
    padding: 1.2em 0 3em;
}

.hero-strip {
    margin-bottom: 3rem;
}

.feature-strip {
    margin: 0 0 3rem;
}

.flash-symbol {
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Noto Sans Symbols', 'Noto Color Emoji', sans-serif;
}

.hero-card {
    margin: 0;
    overflow: hidden;
}

.feature-card {
    margin: 0 0 0.35rem;
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.hero-article h2,
.feature-article h2 {
    display: flex;
    align-items: flex-end;
    margin: 0 0 0.75rem;
}

.hero-article h2 {
    min-height: 5.2em;
}

.feature-article h2 {
    min-height: 2.6em;
}

.hero-article p {
    margin: 0 0 1em;
    font: inherit;
    color: inherit;
}

.feature-article p {
    margin: 0;
    font: inherit;
    color: inherit;
    white-space: pre-line;
}

.anchor-section {
    margin: 0;
    padding: 0.75rem 0;
}

.anchor-section h1,
.anchor-section h2,
.anchor-section h3 {
    margin: 0 0 0.35em;
}

#info h3 {
    margin-top: 2rem;
}

.anchor-section p {
    margin: 0 0 0.6em;
}

.detail-hero-image {
    margin: 0 0 0.9rem;
}

.detail-article h1 {
    margin: 0 0 0.6rem;
}

.mailto-link {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.mailto-link:hover,
.mailto-link:focus,
.mailto-link:focus-visible {
    color: var(--color-hover);
    border-bottom-color: var(--color-hover);
    outline: none;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0 0 1.4rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link.is-disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.55;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.social-link.is-disabled .social-icon {
    filter: grayscale(100%);
}

.site-footer {
    margin-top: 3em;
    background: #ffffff;
    padding: 2em 0;
    text-align: center;
    font-size: 1.35rem;
}

.site-footer .footer-link {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    border-radius: 0;
    transition: color 0.2s ease, outline-offset 0.2s ease;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus,
.site-footer .footer-link:focus-visible {
    color: var(--color-hover);
    outline: none;
}

@media (max-width: 768px) {
    .brand .logo {
        height: 44px;
    }

    .site-nav a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        gap: 0.5em;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1em 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 2;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.5em;
        padding: 0 1em;
    }

    .site-nav.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .anchor-section h1 {
        font-size: 1.75rem;
    }

    .anchor-section h2 {
        font-size: 1.5rem;
    }
}
