/* =========================================================
   2026 曬被節首頁
   /assets/css/events-2026.css

   第九屆曬被節｜拼布走進大稻埕
========================================================= */


/* =========================================================
   Page Base
========================================================= */

.event2026-page main {
    width: 100%;
    overflow: hidden;
}

.event2026-page .content-container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   Main Visual
   主視覺完整呈現，不裁切文字
========================================================= */

.event2026-kv {
    width: 100%;
    padding: 36px 0 0;
    background: #fff;
}

.event2026-kv-image {
    display: block;

    width: min(1380px, calc(100% - 48px));
    height: auto;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================================================
   Summary
========================================================= */

.event2026-summary {
    padding: 66px 0 74px;
    background: #fff;
    text-align: center;
}

.event2026-eyebrow,
.event2026-label,
.event2026-heading > p {
    margin: 0 0 10px;

    color: #9b6f78;

    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.event2026-summary h1 {
    margin: 0;

    color: #333;

    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.45;
}

.event2026-theme {
    margin: 12px 0 0;

    color: #9b6f78;

    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

.event2026-lead {
    max-width: 900px;
    margin: 28px auto 0;

    color: #666;

    font-size: 16px;
    line-height: 2;
}

.event2026-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.event2026-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 10px 22px;

    border: 1px solid #9b6f78;

    background: #fff;
    color: #8b6069;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.event2026-button:hover,
.event2026-button:focus-visible {
    border-color: #8f656f;
    background: #8f656f;
    color: #fff;
}

.event2026-button.primary {
    border-color: #8f656f;
    background: #8f656f;
    color: #fff;
}

.event2026-button.primary:hover,
.event2026-button.primary:focus-visible {
    border-color: #724d56;
    background: #724d56;
}


/* =========================================================
   Section Base
========================================================= */

.event2026-section {
    width: 100%;
    padding: 76px 0 84px;
    background: #fff;
}

.event2026-alt {
    background: #faf8f7;
}

.event2026-heading {
    margin-bottom: 38px;
    text-align: center;
}

.event2026-heading h2 {
    margin: 0;

    color: #333;

    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 500;
    line-height: 1.5;
}


/* =========================================================
   Event Information
========================================================= */

.event2026-info-section {
    padding-top: 0;
}

.event2026-info-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;

    border-top: 1px solid #e7dfdb;
    border-left: 1px solid #e7dfdb;
}

.event2026-info-card {
    min-width: 0;
    min-height: 190px;

    padding: 30px 30px 32px;

    border-right: 1px solid #e7dfdb;
    border-bottom: 1px solid #e7dfdb;

    background: #fff;
}

.event2026-info-label {
    margin: 0 0 13px;

    color: #ad8b91;

    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.14em;
}

.event2026-info-card h3 {
    margin: 0;

    color: #333;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
}

.event2026-info-card p:last-child {
    margin: 12px 0 0;

    color: #6d6866;

    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   About
========================================================= */

.event2026-feature {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.85fr)
        minmax(0, 1.4fr);

    gap: 72px;

    align-items: start;
}

.event2026-feature-title h2 {
    margin: 0;

    color: #333;

    font-size: clamp(27px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.55;
}

.event2026-feature-content {
    min-width: 0;
}

.event2026-feature-content p {
    margin: 0 0 18px;

    color: #606060;

    font-size: 15px;
    line-height: 2;
}

.event2026-feature-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Program
========================================================= */

.event2026-program-grid,
.event2026-join-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    width: 100%;
}

.event2026-program-card {
    min-width: 0;

    padding: 30px 28px;

    border: 1px solid #e4dcda;

    background: #fff;
}

.event2026-program-card.highlight {
    border-top: 3px solid #9b6f78;
}

.event2026-program-date {
    margin: 0 0 18px;

    color: #9b6f78;

    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.event2026-program-card h3 {
    margin: 0;

    color: #333;

    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.event2026-program-card p:last-child {
    margin: 14px 0 0;

    color: #666;

    font-size: 14px;
    line-height: 1.9;
}

.event2026-note {
    margin: 24px 0 0;

    color: #888;

    font-size: 13px;
    line-height: 1.8;

    text-align: center;
}




/* =========================================================
   Compact Three-Day Program
========================================================= */

.event2026-program-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.event2026-day-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid #e4dcda;
    background: #fff;
}

.event2026-day-card-main {
    grid-column: 1 / -1;
    border-top: 3px solid #9b6f78;
}

.event2026-day-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee7e4;
}

.event2026-day-date {
    margin: 0 0 5px;
    color: #9b6f78;
    font-size: 13px;
    letter-spacing: .12em;
}

.event2026-day-card h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.event2026-day-intro {
    margin: 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.85;
}

.event2026-calendar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 10px;
    max-width: 235px;
    text-align: right;
}

.event2026-calendar span {
    width: 100%;
    color: #999;
    font-size: 11px;
    letter-spacing: .08em;
}

.event2026-calendar a {
    color: #8f656f;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    border-bottom: 1px solid #d2b8bd;
}

.event2026-calendar a:hover,
.event2026-calendar a:focus-visible {
    color: #6f4851;
    border-color: #6f4851;
}

.event2026-mini-timeline > div,
.event2026-main-column > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #f0ebe8;
}

.event2026-mini-timeline > div:last-child,
.event2026-main-column > div:last-child {
    border-bottom: 0;
}

.event2026-mini-timeline time,
.event2026-main-column time {
    color: #9b6f78;
    font-size: 12px;
    line-height: 1.7;
    white-space: nowrap;
}

.event2026-mini-timeline span,
.event2026-main-column span {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.event2026-mini-timeline strong,
.event2026-main-column strong {
    color: #333;
    font-weight: 500;
}

.event2026-main-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

/* =========================================================
   How to Join
========================================================= */

.event2026-join-card {
    position: relative;

    min-width: 0;

    padding: 34px 30px;

    border: 1px solid #e7dfdb;

    background: #fff;
}

.event2026-join-card > span {
    display: block;

    margin-bottom: 18px;

    color: #c1a7ac;

    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.15em;
}

.event2026-join-card h3 {
    margin: 0;

    color: #333;

    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.event2026-join-card p {
    margin: 16px 0 0;

    color: #666;

    font-size: 14px;
    line-height: 1.9;
}

.event2026-join-card a {
    display: inline-block;

    margin-top: 22px;

    color: #8f656f;

    font-size: 14px;

    text-decoration: none;
}

.event2026-join-card a:hover,
.event2026-join-card a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.event2026-coming {
    color: #999 !important;
    font-size: 13px !important;
}


/* =========================================================
   Relay
========================================================= */

.event2026-relay {
    width: 100%;

    padding: 72px 0;

    background: #8f656f;
}

.event2026-relay-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 65px;

    align-items: center;
}

.event2026-relay .event2026-label {
    color: rgba(255, 255, 255, 0.72);
}

.event2026-relay h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 500;
    line-height: 1.55;
}

.event2026-relay-inner > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 15px;
    line-height: 2;
}


/* =========================================================
   Organizers
========================================================= */

.event2026-organizers {
    background: #fff;
}

.event2026-org-list {
    max-width: 920px;

    margin: 0 auto;

    border-top: 1px solid #e5dedb;
}

.event2026-org-list > div {
    display: grid;

    grid-template-columns: 145px minmax(0, 1fr);

    gap: 24px;

    padding: 20px 0;

    border-bottom: 1px solid #e5dedb;
}

.event2026-org-list dt {
    color: #9b6f78;

    font-size: 14px;
    line-height: 1.8;
}

.event2026-org-list dd {
    margin: 0;

    color: #5f5b59;

    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   Bottom CTA
========================================================= */

.event2026-cta {
    width: 100%;

    padding: 70px 0 78px;

    background: #f5f0ed;

    text-align: center;
}

.event2026-cta > .content-container > p:first-child {
    margin: 0 0 9px;

    color: #9b6f78;

    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.14em;
}

.event2026-cta h2 {
    margin: 0;

    color: #333;

    font-size: clamp(28px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.5;
}

.event2026-cta-text {
    max-width: 680px;

    margin: 20px auto 26px;

    color: #666;

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {

    .event2026-page .content-container {
        width: min(100% - 40px, 1180px);
    }

    .event2026-kv {
        padding-top: 24px;
    }

    .event2026-kv-image {
        width: min(100% - 40px, 1380px);
    }

    .event2026-info-grid,
    .event2026-program-grid,
    .event2026-join-grid {
        grid-template-columns: 1fr;
    }

    .event2026-info-card {
        min-height: 0;
    }

    .event2026-feature,
    .event2026-relay-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 650px) {


    .event2026-program-compact {
        grid-template-columns: 1fr;
    }

    .event2026-day-card-main {
        grid-column: auto;
    }

    .event2026-day-card {
        padding: 24px 20px;
    }

    .event2026-day-card-head {
        flex-direction: column;
        gap: 14px;
    }

    .event2026-calendar {
        justify-content: flex-start;
        max-width: none;
        text-align: left;
    }

    .event2026-main-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .event2026-mini-timeline > div,
    .event2026-main-column > div {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
    }

.event2026-page .content-container {
        width: min(100% - 32px, 1180px);
    }

    .event2026-kv {
        padding-top: 16px;
    }

    .event2026-kv-image {
        width: calc(100% - 24px);
    }

    .event2026-summary {
        padding: 48px 0 54px;
    }

    .event2026-summary h1 {
        font-size: 28px;
    }

    .event2026-theme {
        font-size: 17px;
    }

    .event2026-lead {
        font-size: 15px;
        line-height: 1.9;
    }

    .event2026-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .event2026-button {
        width: 100%;
    }

    .event2026-section {
        padding: 52px 0 60px;
    }

    .event2026-info-section {
        padding-top: 0;
    }

    .event2026-heading {
        margin-bottom: 30px;
    }

    .event2026-program-card,
    .event2026-join-card {
        padding: 26px 22px;
    }

    .event2026-org-list > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .event2026-relay {
        padding: 52px 0;
    }

    .event2026-cta {
        padding: 52px 0 58px;
    }

}


/* =========================================================
   Registration Guide
========================================================= */

.event2026-guide {
    margin-top: 36px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    border: 1px solid #e4dcda;
    background: #faf8f7;
}

.event2026-guide-intro {
    padding: 34px;
    border-right: 1px solid #e4dcda;
}

.event2026-guide-intro h3 {
    margin: 0;
    color: #333;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.5;
}

.event2026-guide-intro > p:not(.event2026-label) {
    margin: 14px 0 0;
    color: #696361;
    font-size: 14px;
    line-height: 1.8;
}

.event2026-guide-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.event2026-guide-options button {
    padding: 7px 10px;
    border: 1px solid #e4dcda;
    background: #fff;
    color: #666;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.event2026-guide-options button.is-active {
    border-color: #9b6f78;
    background: #9b6f78;
    color: #fff;
}

.event2026-guide-result {
    min-height: 270px;
    padding: 34px;
    display: flex;
    align-items: center;
}

.event2026-guide-placeholder {
    color: #999;
}

.event2026-guide-steps {
    width: 100%;
    display: grid;
    gap: 13px;
}

.event2026-guide-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
}

.event2026-guide-step > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #9b6f78;
    color: #fff;
    font-size: 11px;
}

.event2026-guide-step h4 {
    margin: 0 0 4px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.event2026-guide-step p {
    margin: 0;
    color: #696361;
    font-size: 13px;
    line-height: 1.7;
}

.event2026-guide-actions {
    margin-top: 4px;
    padding-top: 17px;
    border-top: 1px solid #e4dcda;
}

.event2026-guide-actions a {
    display: inline-flex;
    padding: 9px 15px;
    background: #9b6f78;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.event2026-guide-actions p {
    margin: 10px 0 0;
    color: #8a8381;
    font-size: 11px;
    line-height: 1.6;
}

.event2026-guide-link {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9b6f78;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.event2026-guide-link:hover,
.event2026-guide-link:focus-visible {
    color: #6f4851;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .event2026-guide {
        grid-template-columns: 1fr;
    }

    .event2026-guide-intro {
        border-right: 0;
        border-bottom: 1px solid #e4dcda;
    }
}

@media (max-width: 650px) {
    .event2026-guide-intro,
    .event2026-guide-result {
        padding: 26px 22px;
    }
}

/* 贊助單位排序註記 */
.event2026-org-note {
    display: inline-block;
    margin-top: 5px;
    color: #8a8381;
    font-size: 12px;
    line-height: 1.7;
}
