/*
 * 기후위기부천비상행동 Ghost 테마
 * 기존 Vue 2 + Vuetify 사이트(bcclimate-master)의 모양을 Vuetify 없이 옮긴 스타일입니다.
 * 수치는 _reference/design.md 의 측정값을 따릅니다.
 *
 * 화면 너비 기준
 *   1264px 미만: 햄버거 메뉴, 제목 32px, 홈 사진 띠 대신 사진 한 장
 *    960px 미만: 머리글 높이 56px
 *    600px 미만: 한 단 배치
 */

:root {
    /* 관리자 > 설정 > Design 에서 글꼴을 고르면 Ghost가 --gh-font-* 를 넣습니다. 기본은 Noto Sans KR. */
    --font: var(--gh-font-body, "Noto Sans KR", sans-serif);
    --font-heading: var(--gh-font-heading, var(--font));
    --teal: #009688; /* Vuetify teal: 점, 테두리, 큰 글자 */
    /* 작은 글자와 버튼 바탕은 명도 대비(WCAG AA 4.5:1)를 위해 더 어두운 청록 */
    --teal-text: #00796b; /* 흰 바탕에서 5.3:1, 흰 글자를 올려도 5.3:1 */
    --teal-strong: #00695c; /* 옅은 청록 바탕(--teal-tint) 위 글자, 버튼 hover */
    --teal-50: #e0f2f1;
    --teal-tint: rgba(0, 150, 136, .18);
    --text: rgba(0, 0, 0, .87);
    --text-2: rgba(0, 0, 0, .6);
    --icon: rgba(0, 0, 0, .54);
    --text-3: rgba(0, 0, 0, .38);
    --grey: #9e9e9e;
    --grey-l1: #bdbdbd;
    --grey-d1: #757575;
    --border: rgba(0, 0, 0, .12);
    --hover: rgba(0, 0, 0, .04);
    --cal-line: #e0e0e0;
    --cal-muted: #f7f7f7;
    --link: #1976d2;
    --container: 1280px;
    --radius-card: 4px;
    --radius-btn: 28px;
    --radius-photo: 24px;
    --shadow-2: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    --shadow-24: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12);
}

/* 기본 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
    max-width: 100%;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 20;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    background: var(--teal-text);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.skip-link:focus {
    top: 8px;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
}

.site > main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 12px;
}

/* Vuetify 12단 그리드와 같은 폭: 8/4 단, 사이 간격 24px */
.row {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.col-main,
.col-side {
    min-width: 0;
}

.col-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 600px) {
    .row {
        flex-direction: row;
        align-items: flex-start;
    }

    .col-main {
        flex: 0 0 calc(66.6667% - 8px);
        max-width: calc(66.6667% - 8px);
    }

    .col-side {
        flex: 0 0 calc(33.3333% - 16px);
        max-width: calc(33.3333% - 16px);
    }
}

/* 버튼 */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-btn);
    background: transparent;
    color: #000;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 1.25px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
}

.btn-teal {
    margin-right: 4px;
    background: var(--teal-text);
    color: #fff;
    box-shadow: var(--shadow-2);
}

.btn-teal:hover {
    background: var(--teal-strong);
}

.btn-outline {
    border: 1px solid var(--grey-l1);
    background: #fff;
}

.btn-outline-dark {
    border: 1px solid var(--grey-d1);
    background: #fff;
}

.btn-outline:hover,
.btn-outline-dark:hover {
    background: var(--hover);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn[aria-busy="true"] {
    opacity: .6;
    cursor: progress;
}

.icon-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--icon);
    cursor: pointer;
    transition: background-color .2s;
}

.icon-btn:hover {
    background: var(--hover);
}

.icon-btn .icon {
    width: 24px;
    height: 24px;
}

.icon-btn-lg {
    width: 44px;
    height: 44px;
}

.icon-btn-lg .icon {
    width: 28px;
    height: 28px;
}

.text-link {
    color: var(--teal-text);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .1px;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
}

/* 머리글과 메뉴 */

.site-header {
    position: relative;
    height: 64px;
    margin: 0;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav-pill {
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: #fff;
}

.nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-items {
    display: flex;
}

.nav-items a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 44px;
    padding: 0 19.56px;
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 1.25px;
    text-decoration: none;
    white-space: nowrap;
    opacity: .62;
    transition: opacity .2s;
}

.nav-items a:hover,
.nav-items a:focus-visible,
.nav-items .nav-current a {
    opacity: 1;
}

.nav-items .nav-current a {
    color: var(--teal-text);
}

.nav-toggle {
    display: none;
    margin-right: -4px;
}

@media (min-width: 600px) {
    .site-header {
        margin: 48px 0;
    }
}

@media (max-width: 1263.98px) {
    .nav-pill {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-header-inner {
        justify-content: flex-end;
    }
}

@media (max-width: 959.98px) {
    .site-header {
        height: 56px;
    }
}

.menu-dialog {
    width: calc(100% - 48px);
    max-width: 480px;
    max-height: calc(100% - 80px);
    margin: 40px auto auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-24);
}

.menu-dialog::backdrop {
    background: rgba(33, 33, 33, .46);
}

@media (prefers-reduced-motion: no-preference) {
    .menu-dialog[open] {
        animation: menu-in .15s ease-out;
    }
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.menu-card {
    padding: 8px;
}

.menu-subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 8px 0 16px;
}

.menu-subheader-title {
    margin: 0;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.nav-list a:hover {
    background: var(--hover);
}

.nav-list .nav-current a {
    color: var(--teal-text);
}

/* 머리말(hero) */

.hero {
    padding: 12px 0;
}

.hero-title,
.article-title,
.post-card-title,
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6,
.error-title {
    font-family: var(--font-heading);
}

.hero-title {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 72px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hero-text {
    margin: 0;
    padding-top: 16px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .15px;
}

.hero-photo {
    display: none;
}

.hero-actions {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.photo-strip {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    overflow: hidden;
}

.photo-strip img {
    flex: 0 0 auto;
    width: 300px;
    height: 225px;
    margin: 16px;
    border-radius: var(--radius-photo);
    object-fit: cover;
    transform: rotate(-2deg);
}

.photo-strip img:nth-child(3n + 2) {
    transform: rotate(2deg);
}

@media (min-width: 600px) {
    .hero-col {
        width: calc(58.3333% - 10px);
    }
}

/* 홈 제목은 단어 단위로 줄을 바꾸므로(keep-all) 7/12 단에서는 네 줄이 됩니다.
   데스크톱에서는 제목만 8/12 단 폭(글 목록과 같은 폭)까지 쓰게 해 기존 사이트처럼 세 줄로 맞춥니다. */
@media (min-width: 1264px) {
    .hero-home .hero-title {
        width: calc((100% + 10px) * 1.142857 - 8px);
    }
}

@media (max-width: 1263.98px) {
    .hero-title {
        font-size: 32px;
        line-height: 48px;
    }

    .hero-photo {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 16px;
        aspect-ratio: 1491 / 971;
        object-fit: cover;
    }

    .photo-strip {
        display: none;
    }
}

/* 글 목록 */

.list-wrap {
    padding-top: 56px;
    padding-bottom: 24px;
}

.list-links {
    margin: 0 0 16px;
    color: var(--text-2);
    font-size: 14px;
}

.post-feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
    transition: border-color .2s;
}

.post-card:hover {
    border-color: rgba(0, 0, 0, .24);
}

.post-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-card-link:focus-visible {
    outline-offset: -2px;
}

.post-card-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.post-card-title {
    margin: 0;
    padding: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: .25px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.post-card-excerpt {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .1px;
    overflow-wrap: anywhere;
}

.post-card-more {
    display: block;
    padding: 0 16px;
    color: var(--teal-text);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .1px;
}

.post-card-date {
    display: block;
    padding: 16px;
    color: var(--grey-d1);
    font-size: 12px;
    line-height: 20px;
    letter-spacing: .4px;
}

.post-empty {
    margin: 0;
}

.load-more {
    margin-top: 24px;
}

/* 홈 사이드바: 참여단체 */

.chips-card {
    display: flex;
    flex-direction: column;
    height: 365px;
}

.chips-card-title {
    margin: 0;
    padding: 16px 16px 16px 24px;
    color: var(--teal-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: .1px;
}

.chips-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 16px 16px;
    overflow-y: auto;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin: 0 8px 8px 0;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s;
}

.chip-link:hover {
    background: var(--hover);
}

.chip .icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    color: var(--icon);
}

/* 홈 사이드바: 다가오는 일정 */

.events-toggle {
    display: flex;
    padding: 16px;
}

.toggle-btn {
    min-width: 64px;
    height: 36px;
    margin: 4px;
    padding: 0 8px;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.25px;
    opacity: .8;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.toggle-btn:hover {
    background: var(--hover);
}

.toggle-btn.is-active {
    background: var(--teal-tint);
    color: var(--teal-strong);
    opacity: 1;
}

.events-list,
.cal-events-list {
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
}

.events-list {
    padding-top: 8px;
    max-height: 560px;
    overflow-y: auto;
}

.events-empty {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 24px;
}

.event-item a {
    display: block;
    padding: 12px 16px;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s;
}

.event-item a:hover {
    background: var(--hover);
}

.event-item-date {
    display: block;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .4px;
}

.event-item-title {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.event-item-desc {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* 캘린더 */

.calendar-wrap {
    padding-top: 12px;
    padding-bottom: 24px;
}

.calendar-wrap .row {
    align-items: stretch;
}

.cal-bar {
    display: flex;
    align-items: center;
    height: 54px;
}

.cal-nav {
    margin: 8px;
}

.cal-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
}

.cal-sheet {
    display: flex;
    flex-direction: column;
    height: 400px;
    border-top: 1px solid var(--cal-line);
    border-left: 1px solid var(--cal-line);
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: var(--cal-muted);
}

.cal-weekdays span {
    padding: 0;
    border-right: 1px solid var(--cal-line);
    color: var(--text-2);
    font-size: 11px;
    line-height: 16.5px;
    text-align: center;
}

.cal-grid {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    min-height: 0;
}

.cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 0;
    padding: 4px 0 0;
    overflow: hidden;
    border: 0;
    border-right: 1px solid var(--cal-line);
    border-bottom: 1px solid var(--cal-line);
    border-radius: 0;
    background: #fff;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.cal-day.is-outside {
    background: var(--cal-muted);
}

.cal-day:focus-visible {
    outline-offset: -2px;
}

.cal-day-num {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.07px;
    transition: background-color .2s;
}

.cal-day:hover .cal-day-num {
    background: var(--hover);
}

.cal-day.is-today .cal-day-num {
    background: var(--teal-50);
}

.cal-day[aria-pressed="true"] .cal-day-num {
    background: rgba(0, 0, 0, .14);
}

.cal-day.is-today[aria-pressed="true"] .cal-day-num {
    background: var(--teal-50);
}

.cal-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.calendar-wrap .list-links {
    margin: 16px 0 0;
}

.cal-events {
    flex: 1 1 auto;
}

.cal-events-title {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 8px 16px 0;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.cal-event {
    padding: 12px 16px;
}

.cal-event + .cal-event {
    border-top: 1px solid var(--border);
}

.cal-event-date {
    margin: 0;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .4px;
}

.cal-event-title {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.cal-event-title a {
    text-decoration: none;
}

.cal-event-title a:hover {
    text-decoration: underline;
}

.cal-event-place {
    margin: 8px 0 0;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.4;
}

.cal-event-desc {
    margin-top: 8px;
    overflow: hidden;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cal-event-desc > * {
    margin: 0 0 8px;
}

.cal-event-desc img,
.cal-event-desc iframe,
.cal-event-desc video {
    display: block;
    max-width: 100%;
    height: auto;
}

.cal-event-desc figure {
    margin: 0 0 8px;
}

.cal-event-desc a {
    color: var(--link);
}

.cal-event-more {
    display: inline-block;
    margin-top: 4px;
}

@media (min-width: 600px) {
    .calendar-wrap .col-side {
        align-self: stretch;
    }
}

/* 글, 페이지 */

.article-wrap {
    padding-top: 0;
    padding-bottom: 24px;
}

@media (min-width: 600px) {
    .article-wrap {
        padding-top: 76px;
    }
}

.article {
    max-width: 872px;
    margin: 0 auto;
}

.article-title {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 72px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

@media (max-width: 1263.98px) {
    .article-title {
        font-size: 32px;
        line-height: 48px;
    }
}

.article-meta {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 2px;
}

.article-image {
    margin: 24px 0 0;
}

.article-image img {
    display: block;
    width: 100%;
    height: auto;
}

.article-image figcaption {
    padding-top: 8px;
    color: var(--text-2);
    font-size: 13px;
    text-align: center;
}

.share {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
}

.share-status {
    min-height: 20px;
    margin: 8px 0 0;
    color: var(--text-2);
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

/* 본문(Koenig 편집기 출력) */

.gh-content {
    padding: 40px 0;
    font-size: 16px;
    line-height: 24px;
    overflow-wrap: break-word;
}

.gh-content > :first-child {
    margin-top: 0;
}

.gh-content > :last-child {
    margin-bottom: 0;
}

.gh-content p {
    margin: 0 0 16px;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    margin: 24px 0 12px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
}

.gh-content h1 {
    font-size: 2em;
}

.gh-content h2 {
    font-size: 1.5em;
}

.gh-content h3 {
    font-size: 1.17em;
}

.gh-content h4 {
    font-size: 1em;
}

.gh-content h5,
.gh-content h6 {
    font-size: .875em;
}

.gh-content ul,
.gh-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.gh-content li > p {
    margin: 0;
}

.gh-content a {
    color: var(--link);
    text-decoration: underline;
}

.gh-content strong,
.gh-content b {
    font-weight: 700;
}

.gh-content img {
    max-width: 100%;
    height: auto;
}

.gh-content figure {
    margin: 0 0 16px;
}

.gh-content figcaption {
    padding-top: 8px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.gh-content hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .2);
}

.gh-content blockquote {
    margin: 0 0 16px;
    padding: 0 0 0 16px;
    border-left: 3px solid var(--teal);
    color: var(--text-2);
}

.gh-content blockquote p:last-child {
    margin-bottom: 0;
}

.gh-content table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
}

.gh-content th,
.gh-content td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.gh-content th {
    font-weight: 700;
}

.gh-content pre {
    margin: 0 0 16px;
    padding: 12px 16px;
    overflow-x: auto;
    border-radius: var(--radius-card);
    background: #f5f5f5;
    font-size: 14px;
}

.gh-content code {
    font-size: .9em;
}

.gh-content iframe {
    max-width: 100%;
}

.gh-content .kg-card {
    margin: 0 0 16px;
}

.gh-content .kg-image {
    display: block;
    margin: 0 auto;
}

/* 기존 사이트는 WordPress "large" 크기(긴 변 1024px) 이미지를 보여 줬습니다.
   세로로 긴 포스터가 본문 폭에 맞춰 지나치게 커지지 않도록 높이를 1024px까지로 두고,
   남는 좌우는 비워 둡니다(object-fit: contain, 비율 유지). 가로 사진과 작은 이미지는 그대로입니다. */
.gh-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) .kg-image {
    max-height: 1024px;
    object-fit: contain;
}

.gh-content .kg-width-wide {
    position: relative;
    width: min(1100px, calc(100vw - 24px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
    width: 100%;
}

.gh-content .kg-width-full figcaption {
    padding-right: 12px;
    padding-left: 12px;
}

.gh-content .kg-embed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 유튜브, 비메오 영상은 폭에 맞춰 16:9 로(좁은 화면에서 315px 높이 고정이면 위아래가 크게 빕니다) */
.gh-content .kg-embed-card iframe[src*="youtube.com"],
.gh-content .kg-embed-card iframe[src*="youtube-nocookie.com"],
.gh-content .kg-embed-card iframe[src*="vimeo.com"],
.cal-event-desc iframe[src*="youtube.com"],
.cal-event-desc iframe[src*="vimeo.com"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.gh-content .kg-gallery-card,
.gh-content .kg-image-card {
    margin-bottom: 16px;
}

/* 바닥글 */

.site-footer {
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-2);
}

.site-footer p {
    margin: 0;
    padding: 16px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .1px;
    text-align: center;
}

/* 오류 화면 */

.error-wrap {
    padding-top: 48px;
    padding-bottom: 96px;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--teal);
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
}

.error-title {
    margin: 16px 0 8px;
    font-size: 32px;
    line-height: 48px;
    word-break: keep-all;
}

.error-text {
    margin: 0 0 24px;
    color: var(--text-2);
    word-break: keep-all;
}
