@import url("/_external/fonts.googleapis.com/css2.css");

:root {
    --bg-soft: #fff7f7;
    --bg-white: #ffffff;
    --line: #e9dede;
    --text: #4f4f4f;
    --muted: #6b6b6b;
    --accent-soft: #f7bbbb;
    --accent: #f29bb2;
    --accent-strong: #ff5b87;
    --footer: #333333;
    --footer-bottom: #1f1f1f;
    --blue-facebook: #3d5a98;
    --blue-instagram: #8a3ab9;
    --blue-mail: #2da7df;
    --green-whatsapp: #25d366;
    --dropdown-border-color: #f7bbbb;
    --shell: min(1220px, calc(100vw - 48px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-soft);
    color: var(--text);
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff89a8;
}

a.whatsapp-float:hover,
a.social-circle:hover {
    color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    background: #fff;
}

.header-top {
    border-bottom: 1px solid #f3f3f3;
}

.header-top-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 90px;
    gap: 16px;
}

.site-search {
    display: flex;
    align-items: center;
    width: 220px;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--dropdown-border-color);
    justify-self: start;
}

.site-search input {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: #666;
    outline: none;
}

.site-search button {
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: #666;
}

.site-search button i {
    font-size: 0.95rem;
}

.header-logo {
    justify-self: center;
}

.header-logo img {
    max-height: 88px;
    max-width: 180px;
    width: auto;
}

.header-logo span {
    display: block;
    color: #95b81e;
    font-size: 2.2rem;
    letter-spacing: 0.04em;
}

.header-social {
    display: flex;
    justify-self: end;
    gap: 10px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
}

.social-circle.facebook {
    background: var(--blue-facebook);
}

.social-circle.instagram {
    background: var(--blue-instagram);
}

.social-circle.email {
    background: var(--blue-mail);
}

.header-mobile-bar {
    display: none;
    background: #fafafa;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}

.mobile-menu-toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    color: #444;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.menu-icon {
    font-size: 1.3rem;
}

.menu-icon i {
    font-size: 1.1rem;
}

.header-nav-wrap {
    background: #fff;
    border-top: 1px solid #f1efef;
}

.site-nav {
    padding: 0 8px;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list-level-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12px;
    row-gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    color: #4d4d4d;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--accent-soft);
}

.nav-arrow i {
    font-size: 0.9em;
}

.nav-list-level-2 {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    display: none;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--dropdown-border-color);
    z-index: 20;
}

.nav-item:hover>.nav-list-level-2,
.nav-item:focus-within>.nav-list-level-2 {
    display: block;
}

.nav-list-level-2 .nav-link {
    padding: 10px 0;
    width: 100%;
    justify-content: space-between;
}

.home-hero {
    min-height: 308px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero-overlay {
    background: rgba(86, 86, 86, 0.36);
}

.home-hero .site-shell {
    min-height: 308px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.home-intro {
    padding: 14px 0 22px;
}

.intro-content {
    /* max-width: 1080px; */
}

.intro-content p {
    margin: 0;
    color: #222;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.9;
}

.home-gallery {
    padding: 22px 0 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-intro-secondary {
    padding-top: 10px;
    padding-bottom: 30px;
}

.services-section {
    padding: 10px 0 48px;
}

.services-title {
    margin: 0 0 28px;
    color: #85524f;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #f9f8f8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.service-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.service-body {
    /* min-height: 360px; */
    padding: 14px 18px 14px;
    text-align: center;
}

.service-body h3 {
    margin: 0;
    color: #444;
    font-size: clamp(1.65rem, 1.6vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
}

.service-body p {
    min-height: 68px;
    margin: 22px 0 26px;
    color: #555;
    font-size: 1rem;
    line-height: 1.9;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    padding: 14px 28px;
    border: 2px solid var(--dropdown-border-color);
    color: #5f6770;
    font-size: 1rem;
    font-weight: 700;
}

.service-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.site-footer {
    margin-top: 10px;
}

.footer-main {
    background: var(--footer);
    color: #fff;
    padding: 26px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(110px, 0.75fr)) minmax(315px, 1.3fr);
    gap: 24px;
}

.footer-column {
    min-width: 0;
}

.footer-brand-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand-logo img {
    max-width: 200px;
    max-height: 72px;
    width: auto;
    height: auto;
}

.footer-brand-name {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.footer-site-description {
    margin: 0 0 16px;
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact-stack {
    display: grid;
    gap: 12px;
}

.footer-contact-stack p {
    margin: 0;
    color: #bfbfbf;
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-contact-line {
    display: block;
    white-space: nowrap;
}

.footer-contact-line a {
    color: inherit;
}

.footer-social-links {
    display: grid;
    gap: 8px;
}

.footer-social-links a {
    color: #bfbfbf;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-social-links-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
}

.footer-social-links-inline a {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1;
}

.footer-column-title {
    position: relative;
    margin: 0 0 14px;
    padding-left: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 14px;
    background: #efb7b7;
}

.footer-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-menu-link {
    color: #bfbfbf;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-menu-link:hover,
.footer-social-links a:hover,
.footer-menu-link.is-active {
    color: #ffffff;
}

.footer-bottom {
    background: var(--footer-bottom);
    color: #fff;
    text-align: center;
    padding: 16px 0 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    line-height: 1;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-whatsapp);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    z-index: 40;
}

.whatsapp-float i {
    font-size: 2.8rem;
}

blockquote,
.content-prose blockquote,
.workshop-prose blockquote {
    border-color: var(--dropdown-border-color);
}

#searchform-dropdown,
.dropdown-menu .sub-menu,
.wp-block-quote,
.blog-entry.large-entry .blog-entry-readmore a:hover,
.oceanwp-newsletter-form-wrap input[type="email"]:focus {
    border-color: var(--dropdown-border-color);
}

.page-hero,
.content-section,
.story-grid,
.content-prose {
    width: var(--shell);
    margin: 0 auto;
}

.page-hero {
    padding: 40px 0 20px;
}

.page-hero h1 {
    margin: 0;
    font-size: 2.2rem;
}

.content-section {
    padding: 20px 0 48px;
}

.content-prose {
    background: #fff;
    padding: 24px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.story-card {
    background: #fff;
}

.story-card-link {
    display: block;
    padding: 24px;
}

.story-card-meta {
    color: #777;
    font-size: 0.88rem;
}

.story-card h3 {
    margin: 8px 0 10px;
    font-size: 1.4rem;
    line-height: 1.4;
}

.story-card p {
    margin: 0;
    color: #555;
}

.story-card-action {
    display: inline-block;
    margin-top: 12px;
    color: #6b6b6b;
    font-weight: 700;
}

.section-eyebrow {
    margin: 0 0 8px;
    color: #85524f;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.empty-state {
    background: #fff;
    padding: 28px;
    text-align: center;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.workshop-card {
    background: #fff;
}

.workshop-card-link {
    display: block;
    height: 100%;
}

.workshop-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.workshop-card-body {
    padding: 24px;
}

.workshop-card-meta {
    margin: 0 0 10px;
    color: #85524f;
    font-size: 0.92rem;
    font-weight: 700;
}

.workshop-card-body h3 {
    margin: 0 0 12px;
    color: #444;
    font-size: 1.65rem;
    line-height: 1.35;
}

.workshop-card-body p {
    margin: 0;
    color: #555;
}

.workshop-card-action {
    display: inline-block;
    margin-top: 16px;
    color: #5f6770;
    font-weight: 700;
}

.workshop-page-hero {
    padding-bottom: 10px;
}

.workshop-header-band {
    position: relative;
    min-height: 286px;
    background-repeat: repeat-x;
    background-size: auto;
    background-position: center;
    background-color: #f3eee7;
    overflow: hidden;
}

.workshop-header-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
}

.workshop-header-band-inner {
    position: relative;
    z-index: 1;
    min-height: 286px;
    display: flex;
    align-items: center;
}

.workshop-header-band h1 {
    margin: 0;
    max-width: 900px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.workshop-detail-section {
    padding: 28px 0 48px;
}

.workshop-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
    grid-template-areas:
        "main side"
        "content side";
    gap: 28px;
    align-items: start;
}

.workshop-detail-main {
    grid-area: main;
}

.workshop-detail-content {
    grid-area: content;
}

.workshop-detail-side {
    grid-area: side;
}

.workshop-feature-image {
    background: #fff;
    padding: 12px;
}

.workshop-feature-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.workshop-summary {
    padding: 20px 0 10px;
}

.workshop-summary p {
    margin: 0;
    color: #222;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.9;
}

.workshop-prose {
    margin-top: 18px;
}

.workshop-prose img {
    width: 100%;
    height: auto;
}

.workshop-gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.workshop-gallery-strip img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f8f8f8;
}

.workshop-gallery-trigger {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.workshop-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    cursor: zoom-out;
}

.workshop-gallery-lightbox[hidden] {
    display: none;
}

.workshop-gallery-lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.workshop-lightbox-open {
    overflow: hidden;
}

.workshop-side-card {
    background: #fff;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.workshop-side-card h2 {
    margin: 0 0 16px;
    color: #85524f;
    font-size: 1.5rem;
}

.workshop-side-card p {
    margin: 0 0 14px;
}

.workshop-side-button {
    width: 100%;
    margin-top: 10px;
    border-color: #fff;
    background: var(--accent);
    color: #fff;
}

.workshop-side-button:hover {
    background: var(--accent-strong);
    color: #fff;
}

.pagination-wrapper {
    margin-top: 24px;
}

.pagination-wrapper .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-wrapper .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.pagination-wrapper a.page-link:hover,
.pagination-wrapper .active .page-link {
    border-color: var(--accent-strong);
    background: var(--accent-soft);
}

.pagination-wrapper a.page-link:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

.pagination-wrapper .disabled .page-link {
    color: #999;
    background: #f3f3f3;
}

@media (max-width: 1100px) {

    .services-grid,
    .footer-grid,
    .story-grid,
    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-top-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 26px 0;
    }

    .site-search,
    .header-social {
        justify-self: center;
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(100vw - 16px, 100%);
    }

    .workshop-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "side"
            "content";
    }

    .workshop-side-card {
        position: static;
    }

    .header-top-inner {
        min-height: auto;
        gap: 18px;
        padding: 22px 0 18px;
    }

    .site-search,
    .header-social {
        display: none;
    }

    .header-mobile-bar {
        display: block;
    }

    .header-nav-wrap {
        display: none;
    }

    .header-nav-wrap.is-open {
        display: block;
    }

    .site-nav {
        padding: 0 16px 12px;
    }

    .nav-list-level-1 {
        display: block;
    }

    .nav-link {
        padding: 12px 0;
    }

    .nav-list-level-2 {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 1px solid var(--dropdown-border-color);
    }

    .home-hero,
    .home-hero .site-shell {
        min-height: 330px;
    }

    .home-hero h1 {
        font-size: 2rem;
        line-height: 1.45;
        text-align: left;
        padding: 0 10px;
    }

    .intro-content p {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    .gallery-grid,
    .services-grid,
    .footer-grid,
    .story-grid,
    .workshop-grid {
        grid-template-columns: 1fr;
    }

    .workshop-detail-grid {
        grid-template-columns: 1fr;
    }

    .workshop-header-band,
    .workshop-header-band-inner {
        min-height: 220px;
    }

    .workshop-gallery-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .workshop-gallery-lightbox {
        padding: 16px;
    }

    .service-body {
        padding: 22px 16px 26px;
    }

    .service-body p {
        min-height: 0;
    }

    .whatsapp-float {
        width: 70px;
        height: 70px;
        right: 12px;
        bottom: 18px;
    }
}
