.article-read-page {
    background: var(--theme-background, #ffffff);
    color: var(--theme-text, #17312d);
}

.article-read-page .article-read-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(420px, 62vh, 640px);
    overflow: hidden;
    color: #ffffff;
}

.article-read-page .article-read-hero__media,
.article-read-page .article-read-hero__shade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.article-read-page .article-read-hero__media {
    background-color: var(--theme-primary, #176b62);
    background-image: var(--article-read-cover, none);
    background-position: center;
    background-size: cover;
}

.article-read-page .article-read-hero__shade {
    background: linear-gradient(to top, rgba(8, 14, 12, 0.72), rgba(8, 14, 12, 0.38));
}

.article-read-page .article-read-hero__copy {
    --article-read-wrap-pad-inline: 100px;
    position: relative;
    z-index: 1;
    width: min(1600px, 100%);
    padding: 120px var(--article-read-wrap-pad-inline) 72px;
    text-align: center;
}

.article-read-page .article-read-hero__column,
.article-read-page .article-read-hero__title {
    color: #ffffff;
}

.article-read-page .article-read-hero__column {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.article-read-page .article-read-hero__title {
    margin: 0;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.2;
}

.article-read-page .article-read-tools-toggle {
    display: none;
}

.article-read-page .article-read-tools {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px var(--article-read-wrap-pad-inline, 100px);
    background: var(--theme-secondary-background, #eef3f1);
    color: var(--theme-text, #17312d);
}

.article-read-page .article-read-tools__label {
    margin: 0;
    color: inherit;
    line-height: 44px;
}

.article-read-page .article-read-tools__control {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.article-read-page .article-read-tools__control:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.article-read-page .article-read-tools__control.is-active {
    box-shadow: inset 0 0 0 2px currentColor;
}

.article-read-page .article-read__sheet {
    --article-read-wrap-pad-inline: 100px;
    --article-media-medium-max: 700px;
    --article-gallery-gutter: clamp(16px, 4vw, 48px);
    overflow-x: clip;
    background: #ffffff;
    color: #17312d;
}

.article-read-page .article-read__wrap {
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 36px var(--article-read-wrap-pad-inline) 72px;
}

.article-read-page .article-read__prose {
    overflow-x: clip;
}

.article-read-page .article-read__prose .article-media--full-bleed {
    width: auto;
    max-width: none;
    margin-right: calc(-1 * var(--article-read-wrap-pad-inline));
    margin-left: calc(-1 * var(--article-read-wrap-pad-inline));
}

.article-read-page .article-read__prose .article-media--full-bleed .article-read__photo,
.article-read-page .article-read__prose .article-media--full-bleed img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
}

.article-read-page .article-read__prose .article-media--full-bleed figcaption {
    box-sizing: border-box;
    max-width: 100%;
    padding-right: var(--article-read-wrap-pad-inline);
    padding-left: var(--article-read-wrap-pad-inline);
}

.article-read-page .article-read__crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 12px;
    color: #5d6b66;
    font-size: 15px;
}

.article-read-page .article-read__crumb a {
    color: inherit;
    text-decoration: none;
}

.article-read-page .article-read__date {
    margin: 0 0 28px;
    color: #5d6b66;
}

.article-read-page .article-read__prose {
    font-family: "Prompt", sans-serif;
    font-size: 18px;
    line-height: 1.85;
}

.article-read-page .article-read__prose[data-article-font="sarabun"] {
    font-family: "Sarabun", sans-serif;
}

.article-read-page .article-read__prose[data-article-step="0"] { font-size: 16px; }
.article-read-page .article-read__prose[data-article-step="1"] { font-size: 18px; }
.article-read-page .article-read__prose[data-article-step="2"] { font-size: 20px; }
.article-read-page .article-read__prose[data-article-step="3"] { font-size: 22px; }
.article-read-page .article-read__prose[data-article-step="4"] { font-size: 24px; }
.article-read-page .article-read__prose[data-article-step="5"] { font-size: 26px; }
.article-read-page .article-read__prose[data-article-step="6"] { font-size: 28px; }

.article-read-page .article-read__prose img,
.article-read-page .article-read__prose iframe,
.article-read-page .article-read__prose table,
.article-read-page .article-read__prose video {
    max-width: 100%;
}

.article-read-page .article-read__photo {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.article-read-page .article-read__photo img,
.article-read-page .article-gallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-read-page .article-read__photo--empty,
.article-read-page .article-gallery__slide--empty {
    min-height: 180px;
    background: var(--theme-primary, #176b62);
}

.article-read-page .article-read__prose > .article-gallery {
    position: relative;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin: 28px 0;
    margin-left: calc(50% - 50vw);
    padding-right: var(--article-gallery-gutter);
    padding-left: var(--article-gallery-gutter);
}

.article-read-page .article-gallery {
    margin: 28px 0;
}

.article-read-page .article-gallery__viewport,
.article-read-page .article-related__viewport {
    overflow-x: auto;
    touch-action: pan-y;
    user-select: none;
}

.article-read-page .article-gallery__viewport img,
.article-read-page .article-gallery__viewport a,
.article-read-page .article-gallery__viewport button,
.article-read-page .article-related__viewport img,
.article-read-page .article-related__viewport a {
    -webkit-user-drag: none;
    user-select: none;
}

.article-read-page .article-gallery__track.is-dragging,
.article-read-page .article-related__track.is-dragging {
    transition: none;
}

.article-read-page .article-gallery.is-ready .article-gallery__viewport,
.article-read-page .article-related.is-ready .article-related__viewport {
    overflow: hidden;
}

.article-read-page .article-gallery__track,
.article-read-page .article-related__track {
    display: flex;
    gap: 16px;
}

.article-read-page .article-gallery__slide {
    flex: 0 0 min(var(--article-media-medium-max), calc((100% - 32px) / 3));
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: #111111;
    cursor: pointer;
}

.article-read-page .article-read-reference {
    background: #f4f6f5;
}

.article-read-page .article-credit {
    margin-bottom: 28px;
}

.article-read-page .article-credit__heading,
.article-read-page .article-share__heading,
.article-read-page .article-related__heading {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.article-read-page .article-credit__person {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: inherit;
    text-decoration: none;
}

.article-read-page .article-credit__avatar-link {
    flex: 0 0 auto;
    color: inherit;
}

.article-read-page .article-credit__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #d7dfdc;
}

.article-read-page .article-credit__avatar--empty {
    display: inline-block;
}

.article-read-page .article-credit__copy,
.article-read-page .article-credit__name,
.article-read-page .article-credit__alias {
    display: block;
}

.article-read-page .article-credit__alias {
    color: #5d6b66;
}

.article-read-page .article-credit__name {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.article-read-page .article-credit__bio {
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.article-read-page .article-credit__bio > :first-child {
    margin-top: 0;
}

.article-read-page .article-credit__bio > :last-child {
    margin-bottom: 0;
}

.article-read-page .article-share__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-read-page .article-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
}

.article-read-page .article-share__link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.article-read-page .article-share__status {
    min-height: 1.4em;
    margin: 10px 0 0;
}

.article-read-page .article-related {
    margin-top: 36px;
}

.article-read-page .article-related__bar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.article-read-page .article-related__controls,
.article-read-page .article-gallery,
.article-read-page .article-related {
    max-width: 100%;
    min-width: 0;
}

.article-read-page .article-related__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 0;
}

.article-read-page .article-related__dot {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #d5d6de;
    cursor: pointer;
}

.article-read-page .article-related__dot::before {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.article-read-page .article-related__dot.is-active {
    color: var(--theme-primary, #17312d);
}

.article-read-page .article-related__card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 32px) / 3);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
}

.article-read-page .article-related__media,
.article-read-page .article-related__shade,
.article-read-page .article-related__column,
.article-read-page .article-related__title {
    position: absolute;
}

.article-read-page .article-related__media,
.article-read-page .article-related__shade {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.article-read-page .article-related__media {
    background: var(--theme-primary, #176b62);
}

.article-read-page .article-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-read-page .article-related__shade {
    background: linear-gradient(to top, rgba(8, 14, 12, 0.78), rgba(8, 14, 12, 0));
}

.article-read-page .article-related__column {
    top: 16px;
    left: 0;
    max-width: calc(100% - 24px);
    padding: 6px 12px;
    overflow: hidden;
    border-radius: 0 10px 10px 0;
    background: var(--theme-primary, #176b62);
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-read-page .article-related__title {
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: -webkit-box;
    overflow: hidden;
    font-weight: 500;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-read-page .article-lightbox {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.article-read-page .article-lightbox[hidden] {
    display: none;
}

.article-read-page .article-lightbox__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.82);
}

.article-read-page .article-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 72px 64px 24px;
}

.article-read-page .article-lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    max-width: min(1100px, 100%);
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}

.article-read-page .article-lightbox__figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 72vh;
    margin: 0 auto;
    object-fit: contain;
}

.article-read-page .article-lightbox__close,
.article-read-page .article-lightbox__nav {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #ffffff;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.article-read-page .article-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.article-read-page .article-lightbox__nav--prev {
    left: 16px;
}

.article-read-page .article-lightbox__nav--next {
    right: 16px;
}

.article-read-page .article-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.article-read-page .article-lightbox__nav[hidden],
.article-read-page .article-lightbox__caption[hidden],
.article-read-page .article-lightbox__credit[hidden],
.article-read-page .article-lightbox__count[hidden] {
    display: none !important;
}

.article-read-page .article-lightbox__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: min(720px, 100%);
    margin: 12px auto 0;
    padding: 0 8px;
}

.article-read-page .article-lightbox__caption,
.article-read-page .article-lightbox__credit,
.article-read-page .article-lightbox__count {
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

.article-read-page .article-lightbox__credit {
    opacity: 0.92;
    font-size: 0.95em;
}

.article-read-page .article-lightbox__count {
    opacity: 0.8;
    font-size: 0.9em;
}

.article-read-page .article-read__missing {
    width: min(720px, calc(100% - 32px));
    margin: 120px auto;
}

@supports not (aspect-ratio: 16 / 9) {
    .article-read-page .article-gallery__slide,
    .article-read-page .article-related__card {
        height: 0;
        padding-top: 56.25%;
    }
}

body.article-lightbox-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .article-read-page .article-gallery__track,
    .article-read-page .article-related__track {
        scroll-behavior: auto;
    }
}
