/* Public GoodCorner reader; shared site branding, scoped content styles. */
.good-corner-web-page { background: #fff; }
.gc-shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; min-height: 65vh; padding: 36px 0 64px; }
.good-corner-web-page [hidden] { display: none !important; }
.gc-heading { padding-bottom: 28px; border-bottom: 1px solid #e5e8e4; margin-bottom: 28px; }
.gc-kicker { font-size: 13px; color: #39725f; margin: 0 0 8px; }
.gc-heading h1 { font-family: 'Baloo 2', sans-serif; font-size: 36px; line-height: 1.25; margin: 0 0 6px; color: #aa282f; letter-spacing: 0; }
.gc-heading > p:last-child { margin: 0; color: #63716b; font-size: 16px; }
.gc-featured { display: block; margin-bottom: 36px; border-bottom: 1px solid #e5e8e4; padding-bottom: 28px; }
.gc-featured img { width: 100%; aspect-ratio: 16 / 9; max-height: 420px; object-fit: cover; border-radius: 8px; background: #f1f4ef; }
.gc-featured h2 { font-size: 28px; line-height: 1.35; margin: 8px 0; letter-spacing: 0; color: #293b33; overflow-wrap: anywhere; }
.gc-featured .gc-card-summary { max-width: 760px; margin: 0 0 12px; font-size: 16px; color: #63716b; }
.gc-category { margin: 12px 0 6px; font-size: 13px; color: #39725f; }
.gc-list-heading { font-size: 20px; color: #293b33; margin: 0 0 12px; }
.gc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.gc-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e5e8e4; align-items: start; min-width: 0; }
.gc-card img { width: 100px; height: 100px; object-fit: cover; border-radius: 6px; background: #f1f4ef; flex-shrink: 0; }
.gc-card > div { min-width: 0; }
.gc-card .gc-category { margin: 0 0 6px; }
.gc-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 8px; color: #293b33; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gc-card-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gc-card .gc-card-summary { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #63716b; }
.gc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #63716b; }
.gc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gc-pagination { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 28px; color: #63716b; }
.gc-button { min-height: 44px; padding: 10px 18px; border: 1px solid #c8d5cc; border-radius: 6px; background: #fff; color: #293b33; cursor: pointer; font-size: 15px; }
.gc-button i { margin-left: 8px; }
.gc-button:disabled { opacity: .55; cursor: wait; }
.gc-reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(760px, 100%); margin: 0 auto 24px; }
.gc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #39725f; font-size: 14px; }
.gc-icon-button { width: 44px; height: 44px; border: 1px solid #e5e8e4; border-radius: 6px; background: #fff; color: #aa282f; cursor: pointer; flex-shrink: 0; }
.gc-article { width: min(760px, 100%); margin: 0 auto; color: #293b33; }
.gc-article h1 { font-size: 34px; line-height: 1.3; margin: 8px 0 16px; overflow-wrap: anywhere; letter-spacing: 0; }
.gc-summary { color: #53695c; font-size: 18px; line-height: 1.7; margin: 20px 0 24px; overflow-wrap: anywhere; }
.gc-hero { width: 100%; max-height: 520px; object-fit: contain; margin-bottom: 28px; border-radius: 6px; }
.gc-body, .gc-body .toastui-editor-contents { font-family: 'Roboto', sans-serif; font-size: 17px; line-height: 1.8; color: #293b33; overflow-wrap: anywhere; }
.gc-body p { margin: 0 0 18px; }
.gc-body h1, .gc-body h2 { font-size: 24px; margin: 28px 0 14px; border: 0; }
.gc-body h3 { font-size: 20px; margin: 24px 0 12px; }
.gc-body img { max-width: 100%; height: auto; border-radius: 4px; }
.gc-body a { color: #9c282f; text-decoration: underline; }
.gc-body blockquote { border-left: 3px solid #84a38d; margin: 24px 0; padding: 4px 0 4px 18px; color: #53695c; }
.gc-body table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.gc-body th, .gc-body td { border: 1px solid #e5e8e4; padding: 8px; overflow-wrap: anywhere; }
.gc-body pre { white-space: pre-wrap; font-size: 15px; line-height: 1.7; background: #f4f6f3; padding: 16px; overflow-wrap: anywhere; }
.gc-source { border-top: 1px solid #e5e8e4; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #63716b; }
.gc-source a { color: #9c282f; }
.gc-reader-feedback { border-top: 1px solid #e5e8e4; margin-top: 28px; padding-top: 24px; }
.gc-feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gc-feedback-actions .gc-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.gc-feedback-actions .gc-button i { margin: 0; }
.gc-like { min-width: 168px; }
.gc-like[aria-pressed="true"] { background: #fff2f2; border-color: #c6575e; color: #9c282f; }
.gc-feedback-primary { background: #39725f; border-color: #39725f; color: #fff; }
.gc-feedback-status { margin: 12px 0 0; min-height: 0; font-size: 14px; color: #63716b; line-height: 1.6; overflow-wrap: anywhere; }
.gc-feedback-status:empty { display: none; }
.gc-feedback-status.is-error { color: #9c282f; }
.gc-feedback-form { margin-top: 24px; max-width: 620px; }
.gc-feedback-form h2 { font-size: 20px; margin: 0 0 18px; }
.gc-feedback-form label { display: block; font-size: 14px; font-weight: 500; margin: 18px 0 8px; }
.gc-feedback-form select, .gc-feedback-form textarea { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; border: 1px solid #c8d5cc; border-radius: 6px; padding: 12px; background: #fff; color: #293b33; }
.gc-feedback-form select { min-height: 48px; }
.gc-feedback-form textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.gc-feedback-form textarea[aria-invalid="true"] { border-color: #c6575e; }
.gc-feedback-form select:disabled, .gc-feedback-form textarea:disabled { background: #f4f6f3; opacity: .8; }
.gc-feedback-hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #63716b; margin: 8px 0 18px; }
.gc-feedback-actions button:disabled { cursor: default; }
.gc-feedback-actions button[aria-busy="true"] { cursor: wait; }
@media (max-width: 420px) { .gc-feedback-actions { gap: 8px; } .gc-feedback-actions .gc-button { padding-inline: 12px; } .gc-like { min-width: 160px; } }
.gc-video-area { margin: 0 0 28px; }
.gc-video-area video { width: 100%; max-height: 520px; background: #111; }
.gc-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

    .gc-video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 420px) {
    .gc-video-frame {
        border-radius: 4px;
    }
}
.gc-video-area p { color: #63716b; font-size: 14px; }
.gc-status { max-width: 620px; margin: 60px auto; text-align: center; color: #63716b; }
.gc-status > i { font-size: 32px; color: #84a38d; }
.gc-status h2 { font-size: 24px; color: #293b33; }
.gc-loading { display: grid; gap: 20px; }
.gc-loading div { background: #f0f3ee; border-radius: 6px; height: 100px; }
.gc-loading div:first-child { height: 240px; }
.gc-notice { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 6px; background: #293b33; color: #fff; font-size: 14px; z-index: 200; }
.gc-site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; border-top: 1px solid #e5e8e4; padding: 24px 20px; font-size: 13px; color: #63716b; }
.gc-site-footer a { color: #9c282f; }
.gc-card:hover h3, .gc-featured:hover h2 { color: #9c282f; }
.gc-card img.is-placeholder, .gc-featured img.is-placeholder { object-fit: contain; padding: 20px; }
.gc-shell :focus-visible { outline: 3px solid #39725f; outline-offset: 4px; }
@media (max-width: 760px) { .gc-list { grid-template-columns: 1fr; } .gc-heading h1 { font-size: 30px; } .gc-article h1 { font-size: 28px; } .gc-featured h2 { font-size: 24px; } }
@media (max-width: 420px) { .gc-shell { width: calc(100% - 32px); padding-top: 24px; } .gc-card { gap: 12px; } .gc-card img { width: 80px; height: 80px; } .gc-card h3 { font-size: 17px; } .gc-summary { font-size: 17px; } }
.good-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

    .good-video-frame[hidden] {
        display: none !important;
    }

    .good-video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
.gc-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e5e8e4;
    background: #fff;
    color: #aa282f;
    box-shadow: 0 4px 14px rgba(41, 59, 51, .14);
    cursor: pointer;
    z-index: 150;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
}

    .gc-back-to-top:hover {
        background: #f7f9f5;
        transform: translateY(-2px);
    }

    .gc-back-to-top:active {
        transform: translateY(0);
    }

@media (max-width: 420px) {
    .gc-back-to-top {
        right: 14px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }
}
