.busans-ig-hero {
    min-height: min(660px, 76vh);
}

/* WordPress adds single-restaurant to the body as well as the article.
   Keep the page shell in normal document flow so the header stays on top. */
body.single-restaurant {
    display: block;
    padding-block: 0;
}

body.single-restaurant > .site-header,
body.single-restaurant > main {
    width: 100%;
}

.busans-ig-hero > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.influencer-section {
    padding-top: clamp(34px, 4.5vw, 62px);
    padding-bottom: clamp(70px, 9vw, 120px);
}

.influencer-head {
    align-items: end;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.influencer-card {
    min-height: 182px;
    padding: 24px;
    border: 1px solid #e6e0d6;
    border-radius: 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 35px rgba(25, 21, 17, .05);
}

.influencer-card:last-child { grid-column: auto; }

.source-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #25211d;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -.04em;
}

.influencer-card small,
.media-card small {
    color: #8a8177;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.influencer-card h3 {
    margin: 4px 0 0;
    font-size: 24px;
    letter-spacing: -.04em;
}

.tone-coral .source-mark { background: #ff6f61; }
.tone-lime .source-mark { background: #75a647; }
.tone-purple .source-mark { background: #8056a8; }
.tone-blue .source-mark { background: #386fa4; }
.tone-orange .source-mark { background: #f28f3b; }
.tone-teal .source-mark { background: #168c86; }
.tone-gold .source-mark { background: #b7791f; }
.tone-red .source-mark { background: #bd1e2c; }
.tone-black .source-mark { background: #0c0c0c; font-size: 15px; }

.busans-ig-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 10px;
    margin: 0;
}

.busans-ig-title-row > h1,
.busans-ig-title-row > h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.busans-ig-title-marks {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.busans-ig-title-mark,
.busans-ig-core-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #25211d;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.05em;
}

.busans-ig-title-mark.tone-coral,
.busans-ig-core-line.tone-coral .busans-ig-core-mark,
.busans-ig-mini-source.tone-coral b { background: #ff6f61; }
.busans-ig-title-mark.tone-lime,
.busans-ig-core-line.tone-lime .busans-ig-core-mark,
.busans-ig-mini-source.tone-lime b { background: #75a647; }
.busans-ig-title-mark.tone-purple,
.busans-ig-core-line.tone-purple .busans-ig-core-mark,
.busans-ig-mini-source.tone-purple b { background: #8056a8; }
.busans-ig-title-mark.tone-blue,
.busans-ig-core-line.tone-blue .busans-ig-core-mark,
.busans-ig-mini-source.tone-blue b { background: #386fa4; }
.busans-ig-title-mark.tone-orange,
.busans-ig-core-line.tone-orange .busans-ig-core-mark,
.busans-ig-mini-source.tone-orange b { background: #f28f3b; }
.busans-ig-title-mark.tone-teal,
.busans-ig-core-line.tone-teal .busans-ig-core-mark,
.busans-ig-mini-source.tone-teal b { background: #168c86; }
.busans-ig-title-mark.tone-gold,
.busans-ig-core-line.tone-gold .busans-ig-core-mark,
.busans-ig-mini-source.tone-gold b { background: #b7791f; }
.busans-ig-title-mark.tone-red,
.busans-ig-core-line.tone-red .busans-ig-core-mark,
.busans-ig-mini-source.tone-red b { background: #bd1e2c; }
.busans-ig-title-mark.tone-black,
.busans-ig-core-line.tone-black .busans-ig-core-mark,
.busans-ig-mini-source.tone-black b { background: #0c0c0c; font-size: 9px; }

.busans-ig-review-sources {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.busans-ig-mini-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 3px 9px 3px 4px;
    border: 1px solid #ded7cd;
    border-radius: 999px;
    background: #fffaf4;
    color: #37312b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.busans-ig-mini-source b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: #25211d;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

.busans-ig-core-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 12px;
    padding: 12px;
    border: 1px solid #e4ddd3;
    border-radius: 15px;
    background: linear-gradient(135deg, #fffaf4, #fff);
}

.busans-ig-core-line p {
    min-width: 0;
    margin: 0 !important;
    color: #514941 !important;
    font-size: 12px;
    line-height: 1.55;
}

.busans-ig-core-line strong {
    display: block;
}

.busans-ig-core-line .busans-ig-core-copy {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.busans-ig-core-line strong {
    margin-bottom: 3px;
    color: #25211d;
    font-size: 11px;
    letter-spacing: -.01em;
}

.busans-ig-single .busans-ig-title-row {
    align-items: flex-end;
    margin-bottom: 0;
}

.busans-ig-single .busans-ig-title-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 14px;
}

.busans-ig-archive-hero p:last-child {
    max-width: 680px;
}

.archive-title p {
    margin: 10px 0 30px;
    color: #746c63;
    line-height: 1.65;
}

.busans-ig-actions {
    align-items: stretch;
}

.phone-primary {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    background: #e4552d;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(228, 85, 45, .22);
}

.phone-primary:hover {
    background: #c94320;
    transform: translateY(-1px);
}

.phone-primary.is-disabled {
    background: #aaa39b;
    box-shadow: none;
}

.media-section {
    margin: clamp(30px, 5vw, 52px) 0 22px;
}

.media-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.media-card {
    padding: clamp(20px, 2.7vw, 30px);
    border: 1px solid #e6e0d6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(25, 21, 17, .055);
}

.media-card header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.media-card header div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.media-card header strong {
    font-size: 18px;
}

.media-card h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.1vw, 27px);
    line-height: 1.3;
    letter-spacing: -.04em;
}

.media-hook {
    display: grid;
    gap: 5px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-left: 4px solid #ef5b2a;
    border-radius: 0 14px 14px 0;
    background: #fff7f1;
}

.media-hook small {
    color: #a33a19;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
}

.media-hook strong {
    color: #29231e;
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.55;
    letter-spacing: -.025em;
}

.media-card > p {
    margin: 0;
    color: #625b53;
    line-height: 1.7;
}

.media-card > a.media-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    margin-top: 18px;
    padding: 0 18px;
    border: 1px solid #d7d0c7;
    border-radius: 999px;
    background: #f8f5ef;
    color: #1f1c19 !important;
    font-weight: 800;
    text-decoration: none;
}

.media-card > a.media-link:hover {
    border-color: #1f1c19;
    background: #fff;
}

@media (max-width: 920px) {
    .influencer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .influencer-card:last-child { grid-column: span 2; }
}

@media (max-width: 760px) {
    .busans-ig-hero {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
        overflow: hidden;
        background: #061725;
    }
    .busans-ig-hero > img {
        object-position: 64% 50%;
        transform: scale(1.08);
        transform-origin: 64% 42%;
    }
    .busans-ig-hero .hero-overlay {
        background:
            linear-gradient(90deg, rgba(7, 28, 44, .82), rgba(7, 28, 44, .24)),
            linear-gradient(0deg, rgba(7, 28, 44, .38), transparent 58%);
    }
    .busans-ig-hero .hero-copy { padding-top: 82px; }
}

@media (max-width: 640px) {
    .busans-ig-hero .hero-sub br { display: none; }
    .influencer-section { padding-top: 14px; padding-bottom: 44px; }
    .influencer-head h2 { font-size: clamp(29px, 8.8vw, 38px); line-height: 1.08; }
    .influencer-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
    .influencer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
    .influencer-card,
    .influencer-card:last-child { grid-column: auto; min-height: 92px; padding: 10px 8px; border-radius: 15px; }
    .source-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
    .tone-black .source-mark { font-size: 10px; }
    .influencer-card small { display: none; }
    .influencer-card h3 { margin-top: 7px; font-size: 14px; line-height: 1.15; word-break: keep-all; }
    .media-grid { grid-template-columns: 1fr; }
    .media-card > p { min-height: 0; }
    .media-hook { padding: 12px 13px; }
    .busans-ig-actions { display: grid; grid-template-columns: 1fr; }
    .phone-primary { width: 100%; }
    .busans-ig-title-row { gap: 7px; }
    .busans-ig-title-mark { width: 25px; height: 25px; border-radius: 8px; font-size: 11px; }
    .busans-ig-single .busans-ig-title-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
    .busans-ig-mini-source { padding-right: 7px; }
    .busans-ig-mini-source span { display: none; }
    .busans-ig-core-line { margin-top: 8px; padding: 10px; }
    .busans-ig-core-line p { font-size: 11px; }
}
