/*
Theme Name: Betllennium
Version: 1.0.0
Description: Theme for Betllennium.com
Author: Betllennium
Requires at least: 6.3
Requires PHP: 7.4
*/
:root {
    --background: #15181B;
    --background-rgb: 21, 24, 27;
    --surface: #191E21;
    --surface-rgb: 25, 30, 33;
    --text: #FAF5EA;
    --text-rgb: 250, 245, 234;
    --accent-cta: #912B29;
    --accent-cta-rgb: 145, 43, 41;
    --accent-primary: #912B29;
    --accent-primary-rgb: 145, 43, 41;
    --radius: 5px;
    --font: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    border-color: var(--text);
    border-radius: var(--radius);
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font);
    font-weight: 300;
    margin: 0;
    padding: 0;
}

h1 {
    color: var(--text);
    font-weight: 700;
    font-size: clamp(28px, 5vw, 48px);
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0 4px;
}

h2 {
    color: var(--text);
    font-weight: 600;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 15px 4px 0;
}

h2:first-child {
    padding-top: 0;
}

h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

@media (max-width: 600px) {
    h1 {
        padding: 0 2px;
    }

    h2 {
        font-size: 17px;
        padding: 15px 2px 0;
    }

    h3, h4, h5, h6 {
        font-size: 16px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 12px;
    padding: 10px 15px;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--text);
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    opacity: 0.75;
}

.breadcrumb a svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.breadcrumb span {
    color: var(--text);
    opacity: 1;
}

.breadcrumb .current {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--text);
    opacity: 0.5;
}

.breadcrumb .current svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.hero {
    background: transparent;
    border-width: 1px;
    border-color: rgba(var(--text-rgb), 0.5);
    padding: 20px 4px;
    margin: 0 0 20px;
}

p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 15px;
    padding: 0 4px;
}

@media (max-width: 600px) {
    .hero {
        padding: 20px 2px;
        margin-left: 5px;
        margin-right: 5px;
    }

    p {
        font-size: 14px;
        padding: 0 2px;
    }
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .card-row {
        grid-template-columns: 1fr;
    }
}

.card {
    background: transparent;
    border-width: 1px;
    border-color: rgba(var(--text-rgb), 0.2);
    padding: 10px 4px;
    margin: 0 0 10px;
}

.card h3 {
    margin: 0 0 8px;
    padding: 0 4px;
}

.card p:last-child {
    margin-bottom: 0;
}

.hero a,
.card a {
    color: var(--accent-primary);
    text-decoration: underline;
    display: inline-block;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .hero a:hover,
    .card a:hover {
        color: var(--text);
    }
}

.hero .button-cta,
.card .button-cta,
.hero .menu-button,
.card .menu-button {
    color: var(--text);
    text-decoration: none;
}

@media (hover: hover) {
    .hero .button-cta:hover,
    .card .button-cta:hover,
    .hero .menu-button:hover,
    .card .menu-button:hover {
        color: var(--text);
    }
}

.card img {
    margin: 10px 0;
}

@media (max-width: 600px) {
    .card {
        padding: 10px 2px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .card h3 {
        padding: 0 2px;
    }
}

.card-cover {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: rgba(var(--accent-cta-rgb), 0.5);
    text-decoration: none;
    cursor: pointer;
}

.button-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 7px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    background: var(--accent-cta);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.book-card .button-cta {
    align-self: center;
}

@media (hover: hover) {
    .button-cta:hover {
        background: var(--accent-primary);
        transform: scale(1.1);
    }
}

@media (max-width: 600px) {
    .button-cta {
        font-size: 12px;
        padding: 5px 5px;
    }
}

.guidesbox {
    background: transparent;
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 15px 4px 20px;
}

@media (max-width: 600px) {
    .guidesbox {
        padding: 15px 2px 20px;
    }
}

.sportsbox {
    background: transparent;
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 15px 4px 20px;
}

.sportsbox h2,
.sportsbox p {
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 600px) {
    .sportsbox {
        padding: 15px 2px 20px;
    }
}

.photobox {
    --cols-mobile: 2;
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .photobox {
        grid-template-columns: repeat(var(--cols-mobile), 1fr);
        margin-left: -2px;
        margin-right: -2px;
        width: calc(100% + 4px);
    }
}

.photobox-card {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    text-decoration: none;
}

@media (min-width: 601px) {
    .card-row .photobox-card {
        height: auto;
    }
}

@media (max-width: 600px) {
    .photobox-card {
        height: 130px;
    }
}

.photobox-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .photobox-card:hover img {
        transform: scale(1.1);
    }
}

.photobox-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
}

.photobox-content h2 {
    margin-bottom: 8px;
}

.photobox-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--background-rgb), 0) 0%,
        rgba(var(--background-rgb), 0.5) 60%,
        rgba(var(--background-rgb), 0.85) 100%
    );
}

.photobox-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 9px;
    padding: 2px 7px;
    z-index: 2;
}

.photobox-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    z-index: 2;
}

.faq-card {
    background: transparent;
    border-width: 1px;
    border-color: rgba(var(--text-rgb), 0.2);
    padding: 0 4px;
    margin: 20px 0 0;
}

.faq-card h2 {
    padding: 15px 0;
    font-size: 20px;
    color: var(--text);
}

.divider {
    width: 100%;
    height: 1px;
    border-radius: 0;
    background: var(--text);
    opacity: 0.2;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(var(--text-rgb), 0.2);
    border-width: 1px;
    border-color: rgba(var(--text-rgb), 0.1);
    padding: 3px 9px;
    font-size: 12px;
    color: var(--text);
    letter-spacing: 0.03em;
}

.pill::before,
.col-item h3::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 0;
    background: var(--accent-primary);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .pill {
        font-size: 10px;
    }
}

.card .divider,
.hero .divider,
.faq-card .divider {
    margin-left: -4px;
    margin-right: -4px;
    width: calc(100% + 8px);
}

@media (max-width: 600px) {
    .card .divider,
    .hero .divider,
    .faq-card .divider {
        margin-left: -2px;
        margin-right: -2px;
        width: calc(100% + 4px);
    }
}

.faq-item h3 {
    margin: 15px 0 10px;
    padding: 0 4px;
    font-size: 14px;
    color: var(--text);
}

.faq-item p {
    margin: 0 0 15px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.9;
}

@media (max-width: 600px) {
    .faq-card {
        padding: 0 2px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .faq-item h3 {
        font-size: 13px;
        padding: 0 2px;
    }
    .faq-item p {
        font-size: 13px;
        padding: 0 2px;
    }
}

.hero-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
    border-width: 1px;
    border-color: rgba(var(--text-rgb), 0.5);
}

.hero-two-image {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
    border-radius: 5px 0 0 5px;
}

.hero-two-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
}

.hero-two-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--background-rgb), 0) 0%,
        rgba(var(--background-rgb), 0.5) 60%,
        rgba(var(--background-rgb), 0.85) 100%
    );
}

.hero-two-image h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    right: 15px;
    z-index: 2;
    margin: 0;
    padding: 0;
    color: var(--accent-primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero-two-image .pill {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
}

.hero-two-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    padding-top: 8px;
}

@media (max-width: 600px) {
    .hero-two {
        grid-template-columns: 1fr;
        border-width: 0;
        gap: 0;
        margin: 0 0 10px;
    }

    .hero-two-image {
        height: 200px;
        border-radius: 0;
    }

    .hero-two-image h1 {
        letter-spacing: -0.5px;
    }

    .hero-two-image .pill {
        bottom: 10px;
        left: 10px;
    }

    .hero-two-text {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.col-item {
    padding: 6px 6px;
}

.two-col-grid .col-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 70%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .two-col-grid .col-item:last-child:nth-child(odd) {
        width: 100%;
        margin: 0;
    }
}

.col-item h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
}

.col-item p {
    margin: 0;
}

@media (max-width: 1024px) {
    .two-col-grid {
        grid-template-columns: 1fr;
    }
}