@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

@media screen and (max-width: 767px) {
    :root {
        --wp--preset--font-size--large: 24px !important;
    }
}

.site-title {
    text-align: left !important;
}

.site-inner .container {
    width: 100%;
    margin: 0 auto;
}

/* Link Styles*/
.site-content a {
    text-decoration: underline;
    text-decoration-color: #75fb4c;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.site-content {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 18px;
}

.site-content a:hover {
    color: #75fb4c;
    text-decoration-color: #75fb4c;
}

/* Page content container */
.site-content section {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero image — break out of 740px text column, max 1120px, edge-to-edge on mobile */
.wp-block-image.size-full {
    max-width: 1120px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 3rem;
}

@media (min-width: 1080px) {
    .wp-block-image.size-full {
        width: 1080px;
        margin-left: calc(50% - 540px);
        margin-right: calc(50% - 540px);
    }
}

.wp-block-image.size-full .wp-element-caption {
    font-size: 1.2rem;
    color: #888;
    margin-top: 0.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero-images .wp-block-image {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .hero-images .wp-block-image img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }
}

.hero-images .wp-element-caption {
    margin-top: 10px;
}

/* Two-column layout */
.wp-block-columns {
    gap: clamp(2rem, 4vw, 4rem);
    padding: 2rem 1rem;
}

.navbar {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .wp-block-columns {
        flex-direction: column !important;
    }

    .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* Typography */
.site-content section p,
.site-content section h2.wp-block-heading,
.site-content section h3.wp-block-heading {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.site-content p {
    line-height: 1.9;
    color: #222;
    margin-bottom: 1.5rem;
}

.site-content h2.wp-block-heading {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #000;
}

.site-content h3.wp-block-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin: 2rem 0 0.75rem;
}

/* English section divider */
.wp-block-columns:nth-of-type(2) {
    margin-top: 2rem;
    padding-top: 4rem;
    border-top: 1px solid #eaeaea;
}

.wp-block-columns:nth-of-type(2) h2.wp-block-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

/* Footer */
.footer .footer-description {
    text-align: center;
}

.tag-heading {
    background: #000;
    color: #fff !important;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.site-header.fp_header_sec {
    visibility: hidden;
    height: 0;
    margin: 0;
    display: none;
}