/*
Theme Name: U Baby Jagi
Theme URI: https://ubabyjagi.atay.pl
Author: U Baby Jagi
Description: Lekki, responsywny motyw dla agroturystyki U Baby Jagi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: ubabyjagi
*/

:root {
    --ubj-cream: #f6f5ef;
    --ubj-paper: #fffdf8;
    --ubj-ink: #203027;
    --ubj-muted: #647264;
    --ubj-forest: #28583d;
    --ubj-moss: #6f8f5d;
    --ubj-sage: #e4eddd;
    --ubj-mint: #eef6ec;
    --ubj-clay: #5f8067;
    --ubj-river: #426d64;
    --ubj-line: rgba(36, 48, 34, 0.14);
    --ubj-shadow: 0 24px 70px rgba(37, 44, 28, 0.16);
    --ubj-radius: 28px;
    --ubj-container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ubj-cream);
    color: var(--ubj-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 12%, rgba(111, 143, 93, 0.2), transparent 30rem),
        radial-gradient(circle at 86% 4%, rgba(66, 109, 100, 0.14), transparent 24rem),
        linear-gradient(180deg, #fffdf8 0%, var(--ubj-cream) 48%, #edf3e9 100%);
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ubj-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.35rem, 3.7vw, 4.15rem);
}

h2 {
    font-size: clamp(2.15rem, 4.2vw, 4.4rem);
}

h3 {
    font-size: clamp(1.45rem, 2.3vw, 2rem);
}

p {
    margin: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 10;
    padding: 0.75rem 1rem;
    background: var(--ubj-ink);
    color: var(--ubj-paper);
}

.skip-link:focus {
    top: 1rem;
}

.ubj-container {
    width: min(calc(100% - 2rem), var(--ubj-container));
    margin-inline: auto;
}

.ubj-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    overflow: hidden;
    border-bottom: 1px solid rgba(36, 48, 34, 0.08);
    background: rgba(248, 241, 229, 0.9);
    backdrop-filter: blur(18px);
}

.ubj-site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    min-height: 86px;
}

.ubj-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.ubj-brand__mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--ubj-forest);
    color: var(--ubj-paper);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.ubj-brand__logo {
    width: auto;
    max-width: 74px;
    max-height: 58px;
    border-radius: 12px;
    object-fit: contain;
}

.ubj-brand strong,
.ubj-brand small {
    display: block;
}

.ubj-brand strong {
    max-width: 19rem;
    font-size: 1rem;
    line-height: 1.1;
}

.ubj-brand small {
    margin-top: 0.2rem;
    color: var(--ubj-muted);
    font-size: 0.78rem;
}

.ubj-nav {
    justify-self: end;
}

.ubj-header-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ubj-header-icon-link {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--ubj-line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--ubj-forest);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.ubj-header-icon-link:hover {
    background: var(--ubj-sage);
}

.ubj-header-icon-link span {
    transform: translateY(-1px);
}

.ubj-header-icon-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.ubj-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    border: 1px solid var(--ubj-line);
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    background: var(--ubj-paper);
    color: var(--ubj-ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.ubj-menu-toggle__icon,
.ubj-menu-toggle__icon::before,
.ubj-menu-toggle__icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ubj-forest);
}

.ubj-menu-toggle__icon {
    position: relative;
}

.ubj-menu-toggle__icon::before,
.ubj-menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.ubj-menu-toggle__icon::before {
    top: -6px;
}

.ubj-menu-toggle__icon::after {
    top: 6px;
}

.ubj-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ubj-menu a {
    display: block;
    border-radius: 999px;
    padding: 0.55rem 0.72rem;
    color: var(--ubj-ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ubj-menu a:hover,
.ubj-menu .current-menu-item > a,
.ubj-menu .current_page_item > a {
    background: var(--ubj-sage);
}

.ubj-header-cta,
.ubj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--ubj-forest);
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    background: var(--ubj-forest);
    color: var(--ubj-paper);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(49, 79, 55, 0.18);
}

.ubj-header-cta:hover,
.ubj-button:hover {
    transform: translateY(-1px);
}

.ubj-button--ghost {
    background: rgba(255, 250, 240, 0.58);
    color: var(--ubj-forest);
    box-shadow: none;
}

.ubj-button--light {
    border-color: rgba(255, 250, 240, 0.55);
    background: rgba(255, 250, 240, 0.94);
    color: var(--ubj-ink);
    box-shadow: none;
}

.ubj-button--icon {
    gap: 0.45rem;
}

.ubj-button--icon svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
}

.ubj-button__fb {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 900;
    line-height: 1;
}

.ubj-hero {
    padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.6rem, 5vw, 5rem);
}

.ubj-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.82fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.ubj-hero__copy {
    display: grid;
    gap: 1.4rem;
}

.ubj-lead {
    max-width: 44rem;
    color: var(--ubj-muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.ubj-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.ubj-eyebrow {
    color: var(--ubj-clay);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ubj-hero__visual {
    position: relative;
    min-height: 360px;
}

.ubj-hero__visual::before {
    content: "";
    position: absolute;
    inset: 10% -5% -6% 13%;
    z-index: -1;
    border-radius: 42% 58% 46% 54%;
    background: var(--ubj-sage);
}

.ubj-hero__visual img {
    width: min(100%, 440px);
    height: 400px;
    object-fit: cover;
    border: 12px solid var(--ubj-paper);
    border-radius: 42% 58% 48% 52% / 52% 38% 62% 48%;
    box-shadow: var(--ubj-shadow);
}

.ubj-hero__note {
    position: absolute;
    right: 0;
    bottom: 2rem;
    width: min(88%, 310px);
    padding: 1.25rem;
    border: 1px solid rgba(255, 250, 240, 0.8);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.94);
    box-shadow: var(--ubj-shadow);
}

.ubj-hero__note strong,
.ubj-hero__note span {
    display: block;
}

.ubj-hero__note span {
    margin-top: 0.35rem;
    color: var(--ubj-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ubj-section {
    padding: clamp(3.6rem, 7vw, 7rem) 0;
}

.ubj-section--cards {
    padding-top: 0;
}

.ubj-section--earth {
    background: linear-gradient(135deg, rgba(40, 88, 61, 0.96), rgba(66, 109, 100, 0.92));
    color: var(--ubj-paper);
}

.ubj-section--earth h2,
.ubj-section--earth h3,
.ubj-section--earth a,
.ubj-section--earth .ubj-eyebrow {
    color: var(--ubj-paper);
}

.ubj-section-heading {
    display: grid;
    gap: 0.8rem;
    max-width: 680px;
    margin-bottom: 2rem;
}

.ubj-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.ubj-feature-grid,
.ubj-workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ubj-workshop-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ubj-card {
    overflow: hidden;
    border: 1px solid var(--ubj-line);
    border-radius: var(--ubj-radius);
    background: rgba(255, 250, 240, 0.88);
    box-shadow: 0 18px 44px rgba(37, 44, 28, 0.08);
}

.ubj-section--earth .ubj-card {
    border-color: rgba(255, 250, 240, 0.18);
    background: rgba(255, 250, 240, 0.1);
    box-shadow: none;
}

.ubj-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ubj-sage);
}

.ubj-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ubj-card:hover .ubj-card__image img {
    transform: scale(1.04);
}

.ubj-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 1.3rem;
}

.ubj-card h3 a {
    text-decoration: none;
}

.ubj-card p:not(.ubj-eyebrow) {
    color: var(--ubj-muted);
    font-size: 0.98rem;
}

.ubj-section--earth .ubj-card p:not(.ubj-eyebrow) {
    color: rgba(255, 250, 240, 0.78);
}

.ubj-split,
.ubj-two-columns,
.ubj-contact-strip__grid,
.ubj-gallery-cta__inner,
.ubj-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.ubj-prose--large {
    color: var(--ubj-muted);
    font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.ubj-text-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--ubj-forest);
    font-weight: 900;
    text-underline-offset: 0.25em;
}

.ubj-two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ubj-panel {
    display: grid;
    gap: 1rem;
    min-height: 430px;
    align-content: end;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: calc(var(--ubj-radius) + 10px);
    color: var(--ubj-paper);
    box-shadow: var(--ubj-shadow);
}

.ubj-panel h2,
.ubj-panel .ubj-eyebrow {
    color: var(--ubj-paper);
}

.ubj-panel p:not(.ubj-eyebrow) {
    color: rgba(255, 250, 240, 0.84);
}

.ubj-panel--green {
    background:
        linear-gradient(180deg, rgba(49, 79, 55, 0.42), rgba(36, 48, 34, 0.94)),
        var(--ubj-forest);
}

.ubj-panel--clay {
    background:
        linear-gradient(180deg, rgba(95, 128, 103, 0.3), rgba(32, 48, 39, 0.92)),
        var(--ubj-river);
}

.ubj-event-video {
    padding-top: 0;
}

.ubj-event-video__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid var(--ubj-line);
    border-radius: calc(var(--ubj-radius) + 12px);
    background: rgba(255, 250, 240, 0.9);
    box-shadow: var(--ubj-shadow);
}

.ubj-event-video__copy {
    display: grid;
    gap: 1rem;
}

.ubj-event-video__copy p:not(.ubj-eyebrow) {
    color: var(--ubj-muted);
}

.ubj-event-video__embed {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--ubj-radius) + 4px);
    background: var(--ubj-ink);
    box-shadow: 0 18px 44px rgba(37, 44, 28, 0.14);
}

.ubj-event-video__embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.ubj-event-video__fallback {
    display: grid;
    min-height: 260px;
    place-items: center;
    border-radius: calc(var(--ubj-radius) + 4px);
    background: var(--ubj-ink);
    color: var(--ubj-paper);
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.ubj-gallery-cta__inner {
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--ubj-line);
    border-radius: calc(var(--ubj-radius) + 12px);
    background: var(--ubj-paper);
    box-shadow: var(--ubj-shadow);
}

.ubj-gallery-cta__inner .ubj-button {
    justify-self: end;
}

.ubj-section--news {
    padding-top: 0;
}

.ubj-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ubj-news-card {
    overflow: hidden;
    border: 1px solid var(--ubj-line);
    border-radius: var(--ubj-radius);
    background: var(--ubj-paper);
    box-shadow: 0 18px 44px rgba(37, 44, 28, 0.08);
}

.ubj-news-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ubj-sage);
}

.ubj-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ubj-news-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 1.3rem;
}

.ubj-news-card h3 a {
    text-decoration: none;
}

.ubj-news-card p:not(.ubj-eyebrow) {
    color: var(--ubj-muted);
}

.ubj-contact-strip {
    padding-top: 0;
}

.ubj-contact-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.5rem;
    border-radius: var(--ubj-radius);
    background: var(--ubj-forest);
    color: var(--ubj-paper);
}

.ubj-contact-card a,
.ubj-contact-card span {
    color: var(--ubj-paper);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    text-decoration: none;
}

.ubj-contact-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.45rem;
}

.ubj-contact-card__links a {
    min-height: 40px;
    border: 1px solid rgba(255, 250, 240, 0.35);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: rgba(255, 250, 240, 0.12);
    font-size: 0.95rem;
}

.ubj-page-hero {
    padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.ubj-page-hero .ubj-container {
    display: grid;
    gap: 1rem;
}

.ubj-content-wrap {
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.ubj-content {
    max-width: 850px;
    margin-inline: auto;
    padding: clamp(1.2rem, 4vw, 3rem);
    border: 1px solid var(--ubj-line);
    border-radius: calc(var(--ubj-radius) + 8px);
    background: rgba(255, 250, 240, 0.88);
    box-shadow: 0 18px 44px rgba(37, 44, 28, 0.08);
}

.ubj-content > * + * {
    margin-top: 1.25rem;
}

.ubj-content h2,
.ubj-content h3,
.ubj-content h4 {
    margin-top: 2rem;
}

.ubj-content p,
.ubj-content li {
    color: #384235;
}

.ubj-content a {
    color: var(--ubj-forest);
    font-weight: 800;
    text-underline-offset: 0.22em;
}

.ubj-content .ubj-button {
    color: var(--ubj-paper);
    text-decoration: none;
}

.ubj-content .ubj-button--ghost {
    background: var(--ubj-paper);
    color: var(--ubj-forest);
}

.ubj-content ul,
.ubj-content ol {
    padding-left: 1.3rem;
}

.ubj-content .wp-block-image {
    margin-block: 1.4rem;
}

.ubj-content .wp-block-image img,
.ubj-content .wp-block-gallery img {
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(37, 44, 28, 0.12);
}

.ubj-content .wp-block-image.aligncenter img,
.ubj-content .wp-block-image .aligncenter {
    margin-inline: auto;
}

.ubj-contact-links-panel {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 22px;
    background: var(--ubj-mint);
}

.ubj-contact-links-panel h2 {
    margin-top: 0;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.ubj-contact-links-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ubj-foogallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-block: 1.5rem;
}

.ubj-foogallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 22px;
    background: var(--ubj-sage);
    box-shadow: 0 18px 38px rgba(37, 44, 28, 0.12);
}

.ubj-foogallery__item a,
.ubj-foogallery__item img {
    display: block;
    width: 100%;
    height: 100%;
}

.ubj-foogallery__item img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ubj-foogallery__item:hover img {
    transform: scale(1.04);
}

.ubj-foogallery__item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 0.65rem 0.8rem;
    background: linear-gradient(180deg, transparent, rgba(31, 42, 29, 0.82));
    color: var(--ubj-paper);
    font-size: 0.88rem;
}

.ubj-gallery-placeholder {
    display: grid;
    gap: 0.25rem;
    margin-block: 1.5rem;
    padding: 1.2rem;
    border: 1px dashed var(--ubj-line);
    border-radius: 22px;
    background: rgba(223, 232, 210, 0.45);
}

.ubj-gallery-placeholder span {
    color: var(--ubj-muted);
}

.ubj-post-list {
    display: grid;
    gap: 1rem;
    padding-bottom: 6rem;
}

.ubj-post-card {
    padding: 1.5rem;
    border: 1px solid var(--ubj-line);
    border-radius: var(--ubj-radius);
    background: var(--ubj-paper);
}

.ubj-post-card h2 a {
    text-decoration: none;
}

.ubj-footer {
    padding: clamp(2rem, 4vw, 3.25rem) 0;
    background: #1f2a1d;
    color: var(--ubj-paper);
}

.ubj-footer h2 {
    max-width: 38rem;
    font-size: clamp(1.5rem, 2.6vw, 2.45rem);
}

.ubj-footer h2,
.ubj-footer .ubj-eyebrow,
.ubj-footer a {
    color: var(--ubj-paper);
}

.ubj-footer__contact {
    display: grid;
    gap: 0.45rem;
    justify-self: end;
}

.ubj-footer__links a {
    font-weight: 800;
    text-underline-offset: 0.22em;
}

@media (max-width: 1080px) {
    .ubj-site-header__inner {
        grid-template-columns: 1fr auto auto;
        padding-block: 0.8rem;
    }

    .ubj-nav {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .ubj-header-links {
        justify-self: end;
    }

    .ubj-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ubj-workshop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    body {
        font-size: 16px;
    }

    .ubj-hero__grid,
    .ubj-split,
    .ubj-two-columns,
    .ubj-event-video__inner,
    .ubj-contact-strip__grid,
    .ubj-gallery-cta__inner,
    .ubj-footer__grid {
        grid-template-columns: 1fr;
    }

    .ubj-hero__visual {
        min-height: 0;
    }

    .ubj-hero__visual img {
        width: 100%;
        height: min(84vw, 390px);
    }

    .ubj-hero__note {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        margin: -2rem 1rem 0;
    }

    .ubj-feature-grid,
    .ubj-workshop-grid,
    .ubj-news-grid,
    .ubj-foogallery {
        grid-template-columns: 1fr;
    }

    .ubj-gallery-cta__inner .ubj-button,
    .ubj-footer__contact {
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .ubj-container {
        width: min(calc(100% - 1.2rem), var(--ubj-container));
    }

    .ubj-site-header__inner {
        grid-template-columns: 1fr auto auto;
        gap: 0.8rem;
        min-height: 72px;
    }

    .ubj-header-cta {
        display: none;
    }

    .ubj-header-links {
        gap: 0.25rem;
    }

    .ubj-header-icon-link {
        width: 38px;
        height: 38px;
    }

    .ubj-menu-toggle {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 42px;
        padding-inline: 0;
    }

    .ubj-menu-toggle span:not(.ubj-menu-toggle__icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .ubj-header-links {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .ubj-menu-toggle[aria-expanded="true"] .ubj-menu-toggle__icon {
        background: transparent;
    }

    .ubj-menu-toggle[aria-expanded="true"] .ubj-menu-toggle__icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .ubj-menu-toggle[aria-expanded="true"] .ubj-menu-toggle__icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .ubj-brand strong {
        max-width: 12rem;
        font-size: 0.92rem;
    }

    .ubj-brand small {
        display: none;
    }

    .ubj-brand__mark {
        width: 44px;
        height: 44px;
    }

    .ubj-brand__logo {
        max-width: 54px;
        max-height: 44px;
    }

    .ubj-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding-top: 0.2rem;
    }

    .ubj-site-header.is-menu-open .ubj-nav {
        display: block;
    }

    .ubj-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .ubj-menu a {
        background: rgba(255, 250, 240, 0.74);
        text-align: center;
    }

    .ubj-actions,
    .ubj-actions .ubj-button {
        width: 100%;
    }

    .ubj-panel {
        min-height: 360px;
    }

    .ubj-content {
        padding: 1rem;
        border-radius: 22px;
    }
}
