.workshops-page main {
    color: #4A332F;
}

.workshops-page main .container,
.workshops-feature .container {
    margin-top: 0;
}

.workshops-hero {
    padding: 128px 0 44px;
    background: linear-gradient(145deg, #FDF7F7, #fff8ee);
}

.workshops-contact a:not(.cta-button-primary) {
    color: #4B2C24;
    text-underline-offset: 4px;
}

.workshops-hero__content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.workshops-eyebrow {
    color: #805344;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-bottom: 14px;
}

.workshops-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    margin-bottom: 16px;
}

.workshops-hero__lead {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
}

.workshops-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-top: 28px;
}

.workshops-index a {
    display: block;
    padding: 10px 16px;
    border: 1px solid #dfc9bd;
    border-radius: 30px;
    color: #4B2C24;
    background: #fffaf5;
    text-decoration: none;
    font-size: 14px;
}

.workshops-index a:hover {
    background: #f6e8db;
}

.workshops-catalog {
    padding: 32px 0 72px;
    background: #fffdf9;
}

.workshops-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.workshop-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e9ded4;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(75, 44, 36, 0.05);
    scroll-margin-top: 112px;
}

.workshop-card__poster {
    display: block;
    padding: 18px 18px 12px;
    background: #f0f6ef;
    color: #4B2C24;
    text-decoration: none;
    cursor: zoom-in;
}

.workshop-card--study .workshop-card__poster { background: #edf6fa; }
.workshop-card--reading .workshop-card__poster { background: #fcf1e8; }
.workshop-card--english .workshop-card__poster { background: #eff5f5; }

.workshop-card__poster-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
}

.workshop-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.workshop-card__expand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.workshop-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 22px;
}

.workshop-card h2 {
    margin: 0;
    font-size: clamp(23px, 2.4vw, 28px);
    font-weight: 600;
}

.workshop-card__groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.workshop-card__groups li {
    border-radius: 8px;
    background: #f8f2ec;
    padding: 7px 10px;
    font-size: 13px;
}

.workshop-card__details {
    display: grid;
    gap: 12px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #eee3da;
    font-size: 14px;
    line-height: 1.6;
}

.workshop-card__details > div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
}

.workshop-card__details dt {
    font-weight: 600;
    color: #4B2C24;
}

.workshop-card__details dd { margin: 0; }

.workshop-card__body .cta-button-primary {
    align-self: center;
    margin-top: auto;
    max-width: none;
    padding: 15px 22px;
    font-size: 14px;
}

.workshops-page .cta-button-primary:hover,
.workshops-feature .cta-button-primary:hover {
    background: #694237;
}

.workshops-contact {
    padding: 54px 0 64px;
    background: #f7eee4;
    text-align: center;
}

.workshops-contact .container {
    max-width: 780px;
}

.workshops-contact h2 {
    font-weight: 600;
}

.workshops-contact p + p { margin-top: 14px; }
.workshops-contact .cta-button-primary { margin-top: 24px; }
.workshops-contact .cta-button-primary + p { margin-top: 20px; }

.workshops-feature {
    padding: 64px 0;
    background: #f6eee2;
}

.workshops-feature__inner {
    display: grid;
    align-items: center;
    gap: 36px;
}

.workshops-feature__content h2 {
    font-weight: 600;
}

.workshops-feature__content .cta-button-primary { margin-top: 24px; }

.workshops-feature__posters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fffbf6;
    border: 1px solid #e6d8c9;
    border-radius: 20px;
}

.workshops-feature__posters img {
    width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: contain;
}

.workshops-page main a:focus-visible,
.workshops-feature a:focus-visible,
.poster-dialog a:focus-visible,
.poster-dialog button:focus-visible {
    outline: 3px solid #805344;
    outline-offset: 4px;
}

.workshops-page .workshop-card__poster:focus-visible {
    outline-offset: -4px;
}

.poster-dialog {
    width: min(1120px, calc(100% - 24px));
    max-width: none;
    height: min(94vh, 1400px);
    height: min(94dvh, 1400px);
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    color: #4B2C24;
    background: #fffbf6;
    overflow: hidden;
}

.poster-dialog[open] { display: flex; flex-direction: column; }
.poster-dialog::backdrop { background: rgba(37, 25, 22, 0.78); }
.poster-open { overflow: hidden; }

.poster-dialog__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e9ded4;
}

.poster-dialog__toolbar h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.poster-dialog__actions { display: flex; gap: 8px; }

.poster-dialog button {
    font: inherit;
    font-size: 14px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #dfc9bd;
    border-radius: 8px;
    color: #4B2C24;
    background: #fff;
    cursor: pointer;
}

.poster-dialog__close { font-weight: 600 !important; }

.poster-dialog__viewport {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px;
    overscroll-behavior: contain;
}

.poster-dialog__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.poster-dialog__viewport.is-zoomed .poster-dialog__image {
    width: auto;
    height: auto;
    max-width: none;
}

@media (min-width: 768px) {
    .workshops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .workshop-card__body { padding: 28px; }
    .workshops-feature__inner { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}

@media (min-width: 992px) {
    .workshops-hero { padding: 24px 0 48px; }
    .workshop-card { scroll-margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.workshops-page) { scroll-behavior: auto; }
    .workshops-page main *, .workshops-feature * { transition: none; }
}
