*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--yabo-bg);
    color: var(--yabo-text);
    font-family: var(--yabo-font);
    line-height: 1.65;
}

a {
    color: var(--yabo-accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: clamp(12px, 3vw, 24px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, .45);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 66px;
    gap: 12px;
}

@media only screen and (max-width:771px) {
    .header-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.header-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

@media only screen and (max-width:771px) {
    .header-left {
        margin: 0 auto;
    }
}

@media only screen and (max-width:771px) {
    .header-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .header-right .btn {
        width: 40%;
    }
}

.brand .site-name {
    color: var(--yabo-text, #eaeaea);
    font-weight: 700;
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    font-weight: bold;
    text-decoration: none;
}

@media only screen and (min-width:772px) {
    .btn {
        margin-right: 10px;
    }
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--yabo-accent, #E3B505);
    color: #111;
}

.btn-outline {
    background: transparent;
    color: var(--yabo-text, #eaeaea);
    border-color: rgba(255, 255, 255, .35);
}

.btn-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--yabo-text, #eaeaea);
    width: 38px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
}

.btn.block {
    width: 100%;
}

/* ===== Bootstrap-style offcanvas (no Bootstrap dependency) */
.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 120;
}

.offcanvas-backdrop.show {
    opacity: 1;
}

.offcanvas-backdrop[hidden] {
    display: none !important;
}

.offcanvas {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 121;
    display: flex;
    flex-direction: column;
    width: 320px;
    max-width: 86vw;
    background: var(--yabo-bg);
    color: var(--yabo-text);
    border-right: 1px solid rgba(255, 255, 255, .08);
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.offcanvas.show {
    transform: none;
}

.offcanvas[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

.offcanvas-start {
    left: 0;
}

/* Offcanvas header/body */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.offcanvas-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--yabo-text, #eaeaea);
}

.offcanvas-body {
    padding: 14px 16px 18px;
    overflow: auto;
    display: grid;
    gap: 12px;
}

/* Menu items */
.offcanvas-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.offcanvas-menu a {
    display: block;
    color: var(--yabo-text, #eaeaea);
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
}

.offcanvas-menu a:hover,
.offcanvas-menu a:focus {
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

/* Footer CTAs inside drawer */
.offcanvas-ctas {
    margin-top: auto;
    display: grid;
    gap: 8px;
}

/* Scroll lock when offcanvas is open */
body.yabo-lock-scroll {
    overflow: hidden;
}

.brand .site-name {
    display: inline-block;
    color: #EAEAEA;
    font-weight: 700;
    font-size: 18px;
}

.brand .custom-logo {
    max-height: 50px;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.burger {
    display: inline-flex;
    width: 42px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    background: transparent;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    flex-direction: column;
}

@media only screen and (max-width: 768px) {
    .burger {
        margin-left: 0px;
    }
}


.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #EAEAEA;
    margin: 3px 0;
}

/* Basic fullscreen menu */
.basic-menu[hidden] {
    display: none !important;
}

.basic-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    background: var(--yabo-bg);
    color: var(--yabo-text);
}

.basic-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    padding: 20px;
    border-left: 1px solid rgba(255, 255, 255, .08);
    background: #14141b;
}

.basic-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.basic-menu-list a {
    display: block;
    color: #EAEAEA;
    padding: 12px 10px;
    border-radius: 10px;
}

.basic-menu-list a:hover,
.basic-menu-list a:focus {
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

.site-main {
    display: block;
}

.content {
    padding-block: clamp(20px, 5vw, 48px);
}

.content article {
    max-width: min(100%, 1200px);
    margin-inline: auto;
}

.content h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin: 0 0 .6em;
}

.content p {
    font-size: clamp(15px, 2vw, 18px);
    margin: 1em 0;
}

.site-footer {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer .footer-payments .footer-pay-img {
    margin: 10px;
    height: 30px;
    display: block;
    width: auto;
    object-fit: contain;
    box-sizing: border-box;
}

.footer-line {
    text-align: center;
    font-size: 14px;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-to-content:focus {
    left: 16px;
    top: 16px;
    background: #fff;
    color: #111;
    padding: 8px 12px;
    border-radius: 8px;
}

body.yabo-lock-scroll {
    overflow: hidden;
}

/* Hero */
/* Comment: Full-width responsive hero; keeps image contained and overlay centered */
.hero {
    position: relative;
}

.hero picture,
.hero img.hero-img {
    width: 100%;
    display: block;
}

.hero img.hero-img {
    /* Comment: cap hero height; scales nicely across screens */
    max-height: min(70vh, 800px);
    object-fit: cover;
}

/* Comment: Overlay center content with a soft gradient for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 12px;
    padding: clamp(16px, 4vw, 40px);
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
}

.hero-text {
    font-size: clamp(20px, 4vw, 36px);
    font-weight: 700;
    color: var(--yabo-text, #eaeaea);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* Comment: Button inherits your .btn styles; add minor sizing tweak for hero */
.hero-overlay .hero-btn {
    align-self: end;
    justify-self: center;
    margin-bottom: clamp(8px, 2vw, 16px);
    padding: 12px 18px;
    font-size: 15px;
}

/* ==========================================================================
   Content media & typography — responsive images, tables, and lists
   --------------------------------------------------------------------------
   Comments: Ensures images never overflow, tables are scrollable on small
   screens, and lists have consistent spacing and readable markers.
   ========================================================================== */
.content,
.entry-content,
.wp-block-post-content {}

/* Images */
.content img,
.entry-content img,
.wp-block-image img,
figure img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Figures & captions */
figure {
    margin: 1.2em 0;
}

figcaption {
    font-size: .9em;
    opacity: .85;
    margin-top: .4em;
    text-align: center;
}

/* Align helpers */
.alignnone {
    margin: .6em 0;
}

.aligncenter {
    display: block;
    margin: .8em auto;
}

.alignleft {
    float: left;
    margin: .4em 1em .8em 0;
}

.alignright {
    float: right;
    margin: .4em 0 .8em 1em;
}

@media (max-width: 768px) {

    .alignleft,
    .alignright {
        float: none;
        margin: .8em auto;
        display: block;
    }
}

/* Tables */
.content table,
.entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1.2em 0;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.content table thead th,
.entry-content table thead th {
    background: color-mix(in srgb, var(--yabo-text, #eaeaea) 10%, transparent);
    font-weight: 600;
}

.content table th,
.content table td,
.entry-content table th,
.entry-content table td {
    border: 1px solid color-mix(in srgb, var(--yabo-text, #eaeaea) 20%, transparent);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.content table tbody tr:nth-child(odd),
.entry-content table tbody tr:nth-child(odd) {
    background: color-mix(in srgb, var(--yabo-text, #eaeaea) 6%, transparent);
}

/* Lists */
.content ul,
.content ol,
.entry-content ul,
.entry-content ol {
    padding-left: 1.2em;
    margin: .8em 0;
}

.content li,
.entry-content li {
    margin: .25em 0;
}

.content ul {
    list-style: disc;
}

.content ol {
    list-style: decimal;
}

.content li>ul,
.content li>ol,
.entry-content li>ul,
.entry-content li>ol {
    margin: .3em 0;
}

/* Hero */
.hero {
    position: relative;
}

.hero picture,
.hero img.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero img.hero-img {
    max-height: min(70vh, 800px);
    object-fit: cover;
}

@media only screen and (max-width:771px) {
    .desktop {
        display: none;
    }
}

@media only screen and (min-width:772px) {
    .mobile {
        display: none;
    }
}