html,
body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.site-main {
    overflow-x: clip;
}

.hero-content {
    max-width: calc(100vw - 32px);
}

.hero-buttons,
.hero-subtitle,
.hero-stats {
    max-width: 100%;
}

.mytripp-platform {
    background: #f5f8f8;
    color: #183136;
}

.mytripp-platform .container {
    max-width: 1180px;
}

.mytripp-platform__head,
.mytripp-photo-board__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.mytripp-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0f8b8d;
    font-size: 0.9rem;
    font-weight: 800;
}

.mytripp-platform h2,
.mytripp-platform h3 {
    margin: 0;
    color: #183136;
    letter-spacing: 0;
}

.mytripp-platform h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.mytripp-install,
.mytripp-photo-actions button,
.mytripp-watch button {
    border: 0;
    border-radius: 8px;
    background: #0f8b8d;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mytripp-install {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    white-space: nowrap;
}

.mytripp-install:hover,
.mytripp-photo-actions button:hover,
.mytripp-watch button:hover {
    background: #0a6f72;
    transform: translateY(-1px);
}

.mytripp-toolgrid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 18px;
}

.mytripp-tool,
.mytripp-photo-board {
    border: 1px solid rgba(24, 49, 54, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(26, 47, 55, 0.08);
}

.mytripp-tool {
    padding: 22px;
}

.mytripp-tool__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.mytripp-tool__title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e6f4f1;
    color: #0f8b8d;
    font-weight: 900;
}

.mytripp-budget {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mytripp-budget label,
.mytripp-watch input {
    min-width: 0;
}

.mytripp-budget label {
    display: grid;
    gap: 7px;
    color: #506369;
    font-size: 0.92rem;
    font-weight: 700;
}

.mytripp-budget input,
.mytripp-watch input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7e2e3;
    border-radius: 8px;
    background: #fbfdfd;
    color: #183136;
    font: inherit;
    padding: 10px 12px;
}

.mytripp-result {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 4px 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf2f2;
}

.mytripp-result span,
.mytripp-result small {
    color: #62757a;
    font-weight: 700;
}

.mytripp-result strong {
    color: #e85d2a;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.mytripp-result small {
    grid-column: 1 / -1;
}

.mytripp-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f2;
    margin-bottom: 16px;
}

.mytripp-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f8b8d, #f2b84b);
    transition: width 0.25s ease;
}

.mytripp-checks {
    display: grid;
    gap: 10px;
}

.mytripp-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    color: #344b50;
    font-weight: 700;
}

.mytripp-checks input {
    width: 18px;
    height: 18px;
    accent-color: #0f8b8d;
}

.mytripp-watch {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 10px;
}

.mytripp-watch input[name="route"] {
    grid-column: 1 / -1;
}

.mytripp-watch button {
    min-height: 44px;
    padding: 0 12px;
}

.mytripp-watchlist {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    list-style: none;
}

.mytripp-watchlist li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    border-radius: 8px;
    background: #f6f9f9;
    padding: 10px 12px;
    color: #344b50;
    font-size: 0.92rem;
}

.mytripp-watchlist button {
    border: 0;
    background: transparent;
    color: #b43b28;
    cursor: pointer;
    font-weight: 800;
}

.mytripp-photo-board {
    margin-top: 18px;
    padding: 24px;
}

.mytripp-photo-board__head {
    align-items: center;
}

.mytripp-photo-board__head p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #607378;
}

.mytripp-photo-actions {
    display: flex;
    gap: 8px;
}

.mytripp-photo-actions button {
    padding: 10px 13px;
}

.mytripp-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.mytripp-gallery figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #e8eeee;
}

.mytripp-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mytripp-gallery .is-extra {
    display: none;
}

.content-body,
.single-post,
.article-card,
.discount-card,
.feature-card {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.content-body {
    color: #2f3f43;
}

.content-body .mytripp-info-lead {
    margin: 0 0 28px;
    padding: 20px 22px;
    border-left: 4px solid #0f8b8d;
    border-radius: 8px;
    background: #f1f7f6;
    color: #243d42;
    font-size: 1.08rem;
    line-height: 1.9;
}

.content-body .mytripp-info-figure {
    margin: 30px 0;
}

.content-body .mytripp-info-figure img {
    width: 100%;
    border-radius: 8px;
    box-shadow: none;
}

.content-body .mytripp-info-box {
    margin: 30px 0;
    padding: 22px;
    border: 1px solid #dce8e8;
    border-radius: 8px;
    background: #fbfdfd;
}

.content-body .mytripp-info-box h3 {
    margin-top: 0;
}

.content-body ul,
.content-body ol {
    list-style: disc;
    padding-left: 1.35em;
    margin: 16px 0 22px;
}

.content-body li {
    margin-bottom: 9px;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow-wrap: anywhere;
}

.content-body th,
.content-body td {
    border: 1px solid #dfe8e9;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.content-body th {
    background: #eef6f5;
    color: #183136;
}

.content-body .mytripp-source-links a {
    color: #0f6f72;
    font-weight: 800;
}

#how-to-use .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
    .mytripp-toolgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mytripp-tool--memo {
        grid-column: 1 / -1;
    }

    .mytripp-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mytripp-platform__head,
    .mytripp-photo-board__head {
        align-items: stretch;
        flex-direction: column;
    }

    .mytripp-install,
    .mytripp-photo-actions,
    .mytripp-photo-actions button {
        width: 100%;
    }

    .hero-content {
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        transform: translateY(-50%);
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        max-width: 320px;
        font-size: 0.98rem;
    }

    .mytripp-photo-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mytripp-toolgrid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 286px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        justify-content: center;
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .hero-stats {
        gap: 22px;
    }

    .mytripp-tool--memo {
        grid-column: auto;
    }

    .mytripp-budget,
    .mytripp-watch {
        grid-template-columns: 1fr;
    }

    .mytripp-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #how-to-use .features-grid {
        grid-template-columns: 1fr !important;
    }

    .content-body table,
    .content-body thead,
    .content-body tbody,
    .content-body th,
    .content-body td,
    .content-body tr {
        display: block;
    }

    .content-body th {
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: auto;
        min-height: 440px;
    }

    .hero-content {
        top: 51%;
    }

    .hero-subtitle br,
    .cta-content br {
        display: none;
    }

    .discount-grid,
    .articles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .discount-footer,
    .article-meta {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .use-code-btn,
    .read-more {
        justify-content: center;
        width: 100%;
    }

    .mytripp-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mytripp-tool,
    .mytripp-photo-board,
    .content-body .mytripp-info-box,
    .content-body .mytripp-info-lead {
        padding: 18px;
    }
}

/* =========================================================================
   히어로 높이 축소 (기존 100vh/700px → 약 2/3)
   ========================================================================= */
.hero-section {
    height: 66vh;
    min-height: 460px;
}
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 420px;
    }
}

/* =========================================================================
   여행 준비 콘솔 고도화
   ========================================================================= */
.mytripp-budget label small {
    display: block;
    margin-top: -2px;
    color: #93a3a8;
    font-size: 0.74rem;
    font-weight: 700;
}

/* 예산 분해 막대 */
.mytripp-breakdown {
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf2f2;
}
.mytripp-bd-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 10px;
}
.mytripp-bd-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #506369;
}
.mytripp-bd-bar {
    height: 9px;
    border-radius: 999px;
    background: #eef3f3;
    overflow: hidden;
}
.mytripp-bd-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.4s cubic-bezier(.2,.7,.2,1);
}
.mytripp-bd-amt {
    font-size: 0.82rem;
    font-weight: 800;
    color: #243d42;
    white-space: nowrap;
}
.mytripp-bd-amt em {
    margin-left: 6px;
    font-style: normal;
    color: #93a3a8;
    font-weight: 700;
}

/* 할인코드 적용 박스 */
.mytripp-budget-save {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(150deg, #eafaf7, #f3fbf9);
    border: 1px solid rgba(15,139,141,.18);
}
.mytripp-budget-save__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.mytripp-budget-save__row span { color: #44595e; font-weight: 700; font-size: 0.92rem; }
.mytripp-budget-save__row b { font-size: 1.3rem; font-weight: 900; color: #0a6f72; }
.mytripp-budget-save__amt {
    margin: 6px 0 12px;
    font-size: 0.86rem;
    color: #5d7176;
}
.mytripp-budget-save__amt strong { color: #e85d2a; font-weight: 900; }
.mytripp-budget-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #e85d2a;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(232,93,42,.32);
    transition: transform .2s, box-shadow .2s;
}
.mytripp-budget-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(232,93,42,.42); }

.mytripp-budget-yen {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #62757a;
    font-weight: 700;
}
.mytripp-budget-yen input {
    width: 72px;
    min-height: 34px;
    padding: 4px 8px;
    border: 1px solid #d7e2e3;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    text-align: right;
}
.mytripp-budget-yen b { color: #0f8b8d; }

/* 체크리스트 */
.mytripp-check-count {
    margin: 0 0 14px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f8b8d;
}
.mytripp-check-group {
    margin: 14px 0 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #44595e;
}
.mytripp-check-group:first-child { margin-top: 0; }
.mytripp-check-done {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #e6f4f1;
    color: #0a6f72;
    font-weight: 800;
    text-align: center;
}

/* 가격 추적 메모 */
.mytripp-watch {
    grid-template-columns: 1fr 1fr;
}
.mytripp-watch input[name="route"] { grid-column: 1 / -1; }
.mytripp-watch input[name="date"] { grid-column: 1 / -1; }
.mytripp-watch button { grid-column: 1 / -1; }
.mytripp-watch-hint {
    margin: 12px 0 0;
    font-size: 0.78rem;
    color: #93a3a8;
}
.mytripp-watchlist {
    gap: 11px;
}
.mytripp-watch-empty {
    display: block !important;
    grid-template-columns: none !important;
    color: #8a9aa0;
    font-size: 0.88rem;
    line-height: 1.6;
    background: #f6f9f9;
}
.mytripp-watch-item {
    display: flex !important;
    flex-direction: column;
    gap: 7px;
    grid-template-columns: none !important;
    border-left: 4px solid #cfdedd;
    padding: 13px 14px !important;
}
.mytripp-watch-item.is-hit  { border-left-color: #19a974; background: #effaf4; }
.mytripp-watch-item.is-over { border-left-color: #e85d2a; }
.mytripp-watch-item.is-wait { border-left-color: #c3ced0; }
.mytripp-watch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.mytripp-watch-head strong { font-size: 0.98rem; color: #183136; }
.mytripp-watch-del {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border: 0; border-radius: 50%;
    background: #e8eeee; color: #62757a;
    font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.mytripp-watch-del:hover { background: #d8e2e2; color: #b43b28; }
.mytripp-watch-meta { font-size: 0.84rem; color: #62757a; }
.mytripp-watch-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: #eef3f3;
    color: #506369;
}
.is-hit  .mytripp-watch-badge { background: #d6f3e5; color: #0f7a4f; }
.is-over .mytripp-watch-badge { background: #fde7dd; color: #c2491f; }
.mytripp-watch-go {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f8b8d;
    text-decoration: none;
}
.mytripp-watch-go:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .mytripp-bd-row { grid-template-columns: 46px 1fr auto; }
}

/* =========================================================================
   여행 정보 콘텐츠 (갤러리 대체)
   ========================================================================= */
.mytripp-guides {
    margin-top: 18px;
}
.mytripp-guides__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.mytripp-guides__head h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
.mytripp-guides__head p { margin: 6px 0 0; color: #607378; font-size: 0.92rem; }
.mytripp-guides__all {
    flex-shrink: 0;
    color: #0f8b8d;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.mytripp-guides__all:hover { text-decoration: underline; }
.mytripp-guides__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.mytripp-guide-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(24,49,54,.08);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #183136;
    box-shadow: 0 10px 26px rgba(26,47,55,.07);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.mytripp-guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15,139,141,.18);
    border-color: rgba(15,139,141,.32);
}
.mytripp-guide-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eeee;
}
.mytripp-guide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.mytripp-guide-card:hover .mytripp-guide-thumb img { transform: scale(1.06); }
.mytripp-guide-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(15,139,141,.92);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    font-style: normal;
    backdrop-filter: blur(2px);
}
.mytripp-guide-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 16px 17px;
    flex: 1;
}
.mytripp-guide-body strong {
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mytripp-guide-body small {
    margin-top: auto;
    color: #e85d2a;
    font-weight: 800;
    font-size: 0.84rem;
}
@media (max-width: 1024px) {
    .mytripp-guides__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .mytripp-guides__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .mytripp-guides__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .mytripp-guide-body { padding: 12px; }
    .mytripp-guide-body strong { font-size: 0.9rem; }
}
