/* Fotballpuben subpages - 2026 Design (shared across om-oss, kontakt, gjenglemt, etc.) */

/* Legacy underside.css — temporary until all subpages use sub-* markup */
.title {
    font-size: clamp(2.5rem, 4vw, 3.5em);
    margin: unset;
    padding: unset;
}

.section-paragraph {
    font-size: clamp(0.9rem, 2vw, 1.15em);
}

@media (max-width: 768px) {
    .title {
        text-align: center;
    }
}

.nav {
    top: 0;
}

.nav::before {
    content: unset;
}

/* Page shell */
.sub-page {
    margin: 0;
    padding: calc(72px + clamp(2rem, 5vw, 3.5rem)) clamp(1.25rem, 5vw, 3rem) clamp(1rem, 2vw, 1.25rem);
    max-width: none;
}

.sub-inner {
    max-width: 820px;
    margin: 0 auto;
}

/* Title stack */
.sub-header {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.sub-title {
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 0.95;
}

.sub-title-main {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.sub-title-script {
    margin-top: 0.08em;
    font-family: "Kaushan Script", cursive;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
    color: #c89a54;
}

/* Body copy */
.sub-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.85rem, 1.35vw, 0.95rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
}

.sub-text:last-child {
    margin-bottom: 0;
}

.sub-text a {
    color: #c89a54;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.sub-text a:hover {
    color: #e6b56d;
}

.sub-text strong,
.sub-text bold {
    color: #fff;
    font-weight: 600;
}

/* Gold section heading */
.sub-section-heading {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.72rem, 1.4vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c89a54;
    margin: 0 0 0.85rem;
    padding: 0;
}

.sub-section-heading::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.55rem;
    background: #c89a54;
    border-radius: 2px;
    opacity: 0.85;
}

/* Opening hours - chip cards */
.sub-hours {
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    padding: 0;
}

.sub-hours-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sub-hours-chip {
    flex: 1 1 10rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(200, 154, 84, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.15);
}

.sub-hours-chip-label {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.68rem, 1.1vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c89a54;
}

.sub-hours-chip-time {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.88rem, 1.35vw, 0.98rem);
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.sub-notice {
    margin: 0.75rem 0 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.8rem, 1.25vw, 0.88rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.sub-notice strong {
    color: #e53935;
    font-weight: 600;
}

/* Feature image */
.sub-figure {
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
    padding: 0;
}

.sub-image-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.sub-image {
    display: block;
    width: 100%;
    height: clamp(220px, 32vw, 400px);
    object-fit: cover;
    object-position: center 42%;
}

/* Map block */
.sub-map-outer {
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.sub-map-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}

.sub-map-wrap .sub-section-heading {
    margin-bottom: 0.85rem;
}

.sub-map-wrap #mapsview {
    width: 100%;
    margin: 0;
    padding: 0;
    height: clamp(280px, 40vw, 400px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    .sub-hours-chip {
        flex: 1 1 100%;
    }
}

/* Brann Stadion — full-page photo backdrop */
body.sub-brannstadion {
    isolation: isolate;
    background: #171717;
}

body.sub-brannstadion::before {
    content: "";
    position: fixed;
    inset: -1%;
    z-index: -2;
    background-color: #171717;
    background-image: url("../assets/brannstadion.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(5px);
    opacity: 0.32;
    transform: scale(1.03);
    pointer-events: none;
}

body.sub-brannstadion::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(23, 23, 23, 0.72) 0%,
        rgba(23, 23, 23, 0.8) 45%,
        rgba(23, 23, 23, 0.88) 100%
    );
    pointer-events: none;
}