/* site palette */
html:root {
    --bg: #F6FAFA;
    --surface: #FFFFFF;
    --surface-alt: #EDF6F6;
    --text: #1D2E2E;
    --text-muted: #5A7272;
    --border: #D8E4E4;
    --primary: #0B6869;
    --primary-hover: #084849;
    --on-primary: #FFFFFF;
    --primary-text: #0B6869;
    --accent: #47D182;
    --on-accent: #111111;
    --accent-text: #207E48;
    --dark-band: #0D3233;
    --on-dark: #FFFFFF;
    --on-dark-muted: #B6C3C3;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #0D3233;
    --section-alt-bg: #EDF6F6;
    --dark-band-bg: linear-gradient(152deg, #004344 0%, #083A3B 50%, #0D3233 100%);
    --brand-band-bg: #0B6869;
    --hero-bg: linear-gradient(152deg, #004749 0%, #083C3E 50%, #0D3233 100%);
    --on-hero: #FFFFFF;
    --footer-bg: linear-gradient(152deg, #004344 0%, #083A3B 50%, #0D3233 100%);
    --on-footer: #FFFFFF;
    --on-footer-muted: #B6C3C3;
}

html:root {
    --bs-primary: #0B6869;
    --bs-primary-rgb: 11, 104, 105;
    --bs-link-color: #0B6869;
    --bs-link-color-rgb: 11, 104, 105;
    --bs-link-hover-color: #084849;
    --mdb-primary: #0B6869;
    --mdb-primary-rgb: 11, 104, 105;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-color: var(--on-primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-hover-color: var(--on-primary);
    --bs-btn-active-bg: var(--primary-hover);
    --bs-btn-active-border-color: var(--primary-hover);
    --bs-btn-active-color: var(--on-primary);
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-text);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: var(--on-primary);
    color: var(--primary-text);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.text-primary,
.link-primary {
    color: var(--primary-text) !important;
}

.bg-primary,
.text-bg-primary,
.badge.bg-primary {
    color: var(--on-primary) !important;
}

/* /site palette */

body {
    font-family: 'Gowun Dodum', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-muted {
    color: var(--text-muted) !important;
}

.nj-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 50px;
    padding: 10px 24px;
    border: none;
    font-family: 'Gowun Dodum', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

.nj-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

.nj-btn-alt {
    background-color: transparent;
    color: var(--primary-text);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 8px 22px;
    font-family: 'Gowun Dodum', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.nj-btn-alt:hover {
    background-color: var(--surface-alt);
    color: var(--primary-text);
}

.nj-card {
    background-color: var(--surface);
    color: var(--text);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    --nj-card-pad: 24px;
    padding: var(--nj-card-pad);
    display: flex;
    flex-direction: column;
    transition: background-color 0.2s ease;
}

.nj-card:hover {
    background-color: var(--surface-alt);
}

.nj-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"])>.nj-media:first-child {
    margin: calc(-1 * var(--nj-card-pad)) calc(-1 * var(--nj-card-pad)) var(--nj-card-pad);
    border-radius: 0;
    border: 0;
}

.nj-media {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.nj-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nj-eyebrow {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-text);
    margin-bottom: 8px;
    display: block;
}

.nj-title {
    font-family: 'Gowun Dodum', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text);
    position: relative;
    margin-bottom: 24px;
}

.nj-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: var(--surface-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.nj-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: var(--surface-alt);
    color: var(--primary);
}

.nj-section {
    padding: 64px 0;
    background-color: var(--bg);
    position: relative;
}

.nj-section-alt {
    padding: 64px 0;
    background-color: var(--section-alt-bg, var(--surface-alt));
    position: relative;
}

.nj-section-dark {
    padding: 64px 0;
    background-color: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
    position: relative;
}

.nj-section-dark .nj-title,
.nj-section-dark .nj-eyebrow {
    color: var(--on-dark);
}

.nj-section-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.nj-section-dark .nj-card {
    background-color: var(--surface);
    color: var(--text);
}

.nj-section-dark .nj-card .text-muted {
    color: var(--text-muted) !important;
}

.nj-section-brand {
    padding: 64px 0;
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
    position: relative;
}

.nj-section-brand .nj-btn {
    background-color: var(--brand-btn-bg);
    color: var(--brand-btn-text);
}

.nj-section-brand .nj-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary);
}

.nj-on-dark {
    color: var(--on-dark);
}

.nj-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.nj-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"]):not([class*="list"]):not([class*="side"]):not([class*="split"]):not([class*="wide"]):not([class*="inline"])>.nj-media:first-child {
    width: calc(100% + 2 * var(--nj-card-pad, 0px));
    max-width: none
}


/* ===== header ===== */
.nj-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}

.nj-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.nj-header .navbar-brand img {
    max-width: 45px;
}

.nj-header .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nj-header .nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
}

/* ===== hero ===== */
.nj-section-hero {
    background: var(--hero-bg);
    color: var(--on-hero);
    padding: 0;
}

.nj-ticker {
    background: var(--dark-band);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.nj-ticker-label {
    background: #D32F2F;
    color: #FFF;
    padding: 2px 8px;
    font-weight: bold;
    border-radius: 4px;
}

.nj-ticker-marquee {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
}

.nj-main-header {
    position: relative;
}

.nj-main-header h3 {
    display: inline-block;
    background: var(--dark-band);
    padding: 8px 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nj-header-line {
    height: 2px;
    background: var(--accent);
    width: 60px;
    margin-top: 4px;
}

.nj-card-featured {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nj-card-featured .nj-media {
    height: 400px;
}

.nj-card-featured .nj-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nj-card-featured .nj-on-dark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.nj-card-compact {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
}

.nj-card-compact .nj-media {
    height: 180px;
    display: block;
}

.nj-card-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nj-card-compact .nj-card-body {
    padding: 12px;
}

.nj-badge {
    background: #D32F2F;
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.nj-meta {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 8px;
}

@media (max-width: 767px) {
    .nj-card-featured .nj-media {
        height: 250px;
    }
}

/* ===== report_news ===== */
.report-news-block {
    padding: 64px 0;
}

.report-news-block .nj-card {
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.report-news-block .form-control {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 10px 14px;
}

.report-news-block .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.report-news-block .nj-btn {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 50px;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.report-news-block .nj-btn:hover {
    background: var(--primary-hover);
}

.report-news-block .form-check-label {
    font-size: 0.9rem;
}

.report-news-block .form-check-label a {
    color: var(--primary-text);
}

/* ===== opinions_columns ===== */
.opinions-block .nj-card {
    border-radius: 24px;
    transition: background 0.3s;
}

.opinions-block .nj-card:hover {
    background-color: var(--surface-alt);
}

.opinions-block .nj-media {
    height: 200px;
    width: 100%;
}

.opinions-block .nj-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinions-block .nj-btn {
    border-radius: 50px;
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 10px 24px;
    text-decoration: none;
}

.opinions-block .nj-btn:hover {
    background-color: var(--primary-hover);
}

@media (max-width: 767px) {
    .opinions-block .row {
        flex-direction: column;
    }
}

/* ===== reader_poll ===== */
.nj-section-dark {
    background: linear-gradient(152deg, #004344 0%, #083A3B 50%, #0D3233 100%);
}

.nj-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nj-btn {
    background: #0B6869;
    color: #FFFFFF;
    border-radius: 50px;
    padding: 10px 24px;
    border: none;
    transition: 0.2s;
    cursor: pointer;
}

.nj-btn:hover {
    background: #084849;
}

/* ===== editorial_team ===== */
.editorial-team .nj-card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.editorial-team .nj-card:hover {
    background-color: var(--surface-alt);
}

.editorial-team h3 {
    color: var(--text);
}

.editorial-team .text-muted {
    color: var(--text-muted);
}

.editorial-team .nj-btn {
    background: var(--primary);
    color: var(--on-primary);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 767px) {
    .editorial-team .row {
        flex-direction: column;
    }
}

/* ===== latest_news ===== */
.latest-news-block .nj-card {
    background: var(--surface);
    border-radius: 24px;
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.latest-news-block .nj-card:hover {
    transform: translateY(-5px);
    background-color: var(--surface-alt);
}

.latest-news-block .nj-media img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.latest-news-block h2 {
    letter-spacing: 0.15em;
    color: var(--text);
}

.latest-news-block h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .latest-news-block .row {
        flex-direction: column;
    }

    .latest-news-block .col-md-6 {
        width: 100%;
    }
}

/* ===== popular_reviews ===== */
.popular-reviews {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
}

.popular-reviews .popular-reviews__watermark {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3.2rem, 11vw, 7.5rem);
    font-weight: 800;
    color: var(--primary);
    opacity: 0.05;
    letter-spacing: 0.22em;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

.popular-reviews .popular-reviews__header {
    position: relative;
    z-index: 1;
}

.popular-reviews .popular-reviews__eyebrow {
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.popular-reviews .popular-reviews__title {
    color: var(--text);
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}

.popular-reviews .popular-reviews__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.popular-reviews .popular-reviews__filter-btn {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.popular-reviews .popular-reviews__filter-btn:hover {
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border-color: var(--primary);
}

.popular-reviews .popular-reviews__filter-btn.is-active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
    font-weight: 600;
}

.popular-reviews .popular-reviews__card {
    border-radius: 24px;
    background-color: var(--surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.popular-reviews .popular-reviews__card:hover {
    background-color: var(--surface-alt);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.popular-reviews .popular-reviews__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--surface-alt);
    border-radius: 24px 24px 0 0;
}

.popular-reviews .popular-reviews__media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.popular-reviews .popular-reviews__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.popular-reviews .popular-reviews__card:hover .popular-reviews__img {
    transform: scale(1.05);
}

.popular-reviews .popular-reviews__badge-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
}

.popular-reviews .popular-reviews__chip {
    background-color: rgba(255, 255, 255, 0.94);
    color: var(--primary-text);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.popular-reviews .popular-reviews__body {
    padding: 0;
}

.popular-reviews .popular-reviews__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.popular-reviews .popular-reviews__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.popular-reviews .popular-reviews__meta-item i {
    font-size: 0.875rem;
    color: var(--primary-text);
}

.popular-reviews .popular-reviews__meta-dot {
    color: var(--border);
}

.popular-reviews .popular-reviews__card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.popular-reviews .popular-reviews__card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.popular-reviews .popular-reviews__card-title a:hover {
    color: var(--primary-text);
}

.popular-reviews .popular-reviews__card-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.popular-reviews .popular-reviews__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 10px 20px;
    text-align: center;
}

.popular-reviews .popular-reviews__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 32px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .popular-reviews {
        padding: 48px 0;
    }

    .popular-reviews .popular-reviews__title {
        font-size: 16px;
        hyphens: auto;
    }

    .popular-reviews .popular-reviews__card-title {
        font-size: 14px;
        hyphens: auto;
    }

    .popular-reviews .popular-reviews__filters {
        flex-direction: row;
        justify-content: center;
    }

    .popular-reviews .popular-reviews__filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}

/* ===== footer ===== */
.ph-footer {
    background: linear-gradient(152deg, #004344 0%, #083A3B 50%, #0D3233 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding-top: 56px;
    padding-bottom: 24px;
}

.ph-footer .ph-footer__cta-wrapper {
    margin-bottom: 48px;
}

.ph-footer .ph-footer__cta-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ph-footer .ph-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(71, 209, 130, 0.16);
    color: #47D182;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.ph-footer .ph-footer__cta-title {
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.ph-footer .ph-footer__cta-desc {
    color: #B6C3C3;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.ph-footer .ph-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
}

.ph-footer .ph-footer__btn--primary {
    background-color: #47D182;
    color: #0D3233;
    border: 1px solid #47D182;
    font-weight: 600;
}

.ph-footer .ph-footer__btn--primary:hover {
    background-color: #38b86e;
    border-color: #38b86e;
    color: #000000;
}

.ph-footer .ph-footer__btn--outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.ph-footer .ph-footer__btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.ph-footer .ph-footer__main {
    padding-bottom: 40px;
}

.ph-footer .ph-footer__brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0B6869;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.ph-footer .ph-footer__brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
}

.ph-footer .ph-footer__brand-desc {
    color: #B6C3C3;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.ph-footer .ph-footer__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #B6C3C3;
    font-size: 0.75rem;
}

.ph-footer .ph-footer__heading {
    font-size: 0.95rem;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ph-footer .ph-footer__legal-desc {
    font-size: 0.8rem;
    color: #B6C3C3;
    line-height: 1.5;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

.ph-footer .ph-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ph-footer .ph-footer__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #B6C3C3;
    text-decoration: none;
    font-size: 0.85rem;
}

.ph-footer .ph-footer__nav-link:hover {
    color: #47D182;
}

.ph-footer .ph-footer__nav-link i {
    font-size: 0.95rem;
    color: #47D182;
}

.ph-footer .ph-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.ph-footer .ph-footer__copyright {
    font-size: 0.78rem;
    color: #B6C3C3;
    overflow-wrap: anywhere;
}

.ph-footer .ph-footer__sublink {
    font-size: 0.78rem;
    color: #B6C3C3;
    text-decoration: none;
}

.ph-footer .ph-footer__sublink:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.ph-footer .ph-footer__sublink-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.65rem;
}

.ph-footer .ph-footer__scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    cursor: pointer;
}

.ph-footer .ph-footer__scroll-top:hover {
    background-color: #47D182;
    color: #0D3233;
    border-color: #47D182;
}

@media (max-width:767.98px) {
    .ph-footer {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .ph-footer .ph-footer__cta-title {
        font-size: 16px;
        hyphens: auto;
    }

    .ph-footer .ph-footer__heading {
        font-size: 14px;
        hyphens: auto;
    }

    .ph-footer .ph-footer__cta-desc,
    .ph-footer .ph-footer__brand-desc,
    .ph-footer .ph-footer__legal-desc {
        hyphens: auto;
    }

    .ph-footer .ph-footer__cta-actions {
        width: 100%;
    }

    .ph-footer .ph-footer__btn {
        width: 100%;
    }

    .ph-footer .ph-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.nj-section-guides-list {
    padding: 4rem 0;
}

.nj-main-header {
    position: relative;
}

.nj-main-header h2 {
    font-weight: 700;
    margin: 0;
}

.nj-header-line {
    height: 2px;
    background: var(--accent);
    width: 60px;
    margin-top: 8px;
}

.nj-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-radius: 24px;
    transition: background 0.3s ease;
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
}

.nj-list-item:hover {
    background: var(--surface-alt);
}

.nj-item-img {
    width: 160px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.nj-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nj-item-text {
    flex-grow: 1;
    text-align: left;
}

.nj-item-btn {
    margin-left: auto;
}

.nj-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
}

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

@media (max-width: 767px) {
    .nj-list-item {
        flex-direction: column;
        text-align: center;
    }

    .nj-item-img {
        width: 100%;
        height: 180px;
    }

    .nj-item-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== PAGE: privacy ===== */
.policy-content { padding: 40px 0; line-height: 1.6; color: var(--text); } .policy-content h1 { font-family: 'Gowun Dodum', sans-serif; font-size: 24px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 32px; color: var(--primary-text); } .policy-content h2 { font-family: 'Gowun Dodum', sans-serif; font-size: 20px; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 40px; margin-bottom: 20px; color: var(--primary-text); } .policy-content p { margin-bottom: 16px; word-break: keep-all; } .policy-content ul { padding-left: 24px; margin-bottom: 24px; } .policy-content li { margin-bottom: 8px; } @media (max-width: 767px) { .policy-content h1 { font-size: 18px; } .policy-content h2 { font-size: 16px; } }

/* ===== PAGE: terms ===== */
.policy-content { padding: 4rem 1.5rem; max-width: 800px; margin: 0 auto; color: var(--text); } .policy-content .nj-title { margin-bottom: 2rem; } .policy-content .nj-eyebrow { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--primary); } .policy-content p { line-height: 1.6; margin-bottom: 1rem; } @media (max-width: 767px) { .policy-content h1 { font-size: 18px; } .policy-content h2 { font-size: 16px; } .policy-content { padding: 2rem 1rem; } }

/* ===== PAGE: disclaimer ===== */
.policy-content { padding: 40px 20px; line-height: 1.8; color: var(--text); } .policy-content h1 { font-size: 24px; margin-bottom: 24px; color: var(--primary); } .policy-content h2 { font-size: 20px; margin-top: 32px; margin-bottom: 16px; color: var(--dark-band); } .policy-content p { margin-bottom: 16px; hyphens: auto; } @media (max-width: 767px) { .policy-content h1 { font-size: 18px; } .policy-content h2 { font-size: 16px; } }

/* ===== PAGE: contact ===== */
.contact-page-section { background-color: var(--bg); } .contact-page-section .nj-card { background-color: var(--surface); border-radius: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .contact-page-section .form-label { color: var(--text); font-size: 0.95rem; } .contact-page-section .form-control, .contact-page-section .form-select { background-color: var(--surface-alt); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 12px 16px; } .contact-page-section .form-control:focus, .contact-page-section .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); background-color: var(--surface); color: var(--text); } .contact-page-section .input-group-text { background-color: var(--surface-alt); border: 1px solid var(--border); border-right: none; color: var(--primary-text); border-top-left-radius: 12px; border-bottom-left-radius: 12px; } .contact-page-section .input-group .form-control, .contact-page-section .input-group .form-select { border-top-left-radius: 0; border-bottom-left-radius: 0; } .contact-page-section .form-control::placeholder { color: var(--text-muted); opacity: 0.8; } .contact-page-section .form-check-input { border-color: var(--border); width: 1.2em; height: 1.2em; cursor: pointer; } .contact-page-section .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); } .contact-page-section .form-check-label { color: var(--text); font-size: 0.9rem; } .contact-page-section .form-check-label a { color: var(--primary-text); } .contact-page-section .accordion-button { background-color: var(--surface); color: var(--text); box-shadow: none; padding: 18px 24px; } .contact-page-section .accordion-button:not(.collapsed) { background-color: var(--surface-alt); color: var(--primary-text); } .contact-page-section .accordion-body { background-color: var(--surface); } @media (max-width: 767px) { .contact-page-section .nj-card { padding: 24px 16px !important; } }

.comment-main {
    background-color: #FFFFFF;
    border: 1px solid #D8E4E4;
    transition: background-color 0.2s;
}

.avatar-circle {
    background-color: #0B6869;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    object-fit: cover;
}

.comment-main:hover {
    background-color: #EDF6F6;
}

.comment-reply {
    border: none;
}

.avatar-circle {
    background-color: #47D182;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    object-fit: cover;
}


/* ===== PAGE TEMPLATE: news ===== */
.nj-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary)
}

.nj-section-hero {
    background: var(--hero-bg);
    color: var(--on-hero)
}

.ph-footer {
    background: var(--footer-bg);
    color: var(--on-footer);
    padding: 40px 0
}

.comment-main {
    background: var(--surface)
}

.avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}

/* Shared identity and responsive components */
.nj-header .navbar-brand { gap: 10px; white-space: nowrap; }
.nj-header .navbar-brand img { width: 42px; height: 42px; flex: 0 0 42px; display: block; }
.ph-footer__logo { flex: 0 0 42px; }
.nj-ticker { overflow: hidden; }
.nj-ticker .d-flex { min-width: 0; }
.nj-ticker-label { flex: 0 0 auto; white-space: nowrap; padding: 6px 12px; position: relative; z-index: 1; }
.nj-ticker-marquee { flex: 1 1 0; min-width: 0; padding: 6px 0; color: #fff; }
.nj-ticker-track { display: inline-block; padding-left: 100%; animation: ticker-scroll 32s linear infinite; }
.nj-ticker:hover .nj-ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .nj-ticker-track { animation: none; padding-left: 0; } .nj-ticker-marquee { overflow-x: auto; } }
.editorial-team .nj-card { padding: 28px !important; gap: 0; }
.editorial-team .team-avatar { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 50%; overflow: hidden; border: 3px solid var(--border); }
.editorial-team .team-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.editorial-team h3 { margin-bottom: 8px; font-weight: 700; }
.editorial-team .small { line-height: 1.7; }
.nj-section-hero .nj-title { color: #fff; font-weight: 700; line-height: 1.45; letter-spacing: .04em; overflow-wrap: anywhere; }
.nj-section-hero .nj-meta { color: #dcecec; opacity: 1; }
.nj-section-hero .lead { color: #e4f1f1; }
.article-back { color: #b7f3d0; text-decoration: none; }
.article-back:hover { color: #fff; text-decoration: underline; }
.article-content { max-width: 900px; padding: clamp(20px, 4vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.article-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }
.article-content h2 { font-size: 1.5rem; line-height: 1.5; font-weight: 700; }
.article-content p { line-height: 1.95; }
.nj-section-guides-list .nj-list-item { display: flex; align-items: center; gap: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; color: var(--text); text-decoration: none; }
.nj-section-guides-list .nj-item-img { width: 220px; flex: 0 0 220px; aspect-ratio: 16/10; overflow: hidden; border-radius: 14px; }
.nj-section-guides-list .nj-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nj-section-guides-list .nj-item-text { flex: 1; min-width: 0; }
.nj-section-guides-list .nj-item-text h3 { font-size: 1.25rem; line-height: 1.5; }
.nj-section-guides-list .nj-item-btn { flex-shrink: 0; }
.contact-page-section .input-group { align-items: stretch; }
.contact-page-section .input-group-text { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; padding: 0; font-size: 18px; line-height: 1; }
.contact-page-section .input-group .form-control,
.contact-page-section .input-group .form-select { min-height: 46px; margin-top: 0; margin-bottom: 0; }
.contact-page-section .input-group .form-select { min-width: 0; flex: 1 1 auto; width: 1%; padding: 10px 36px 10px 12px; }
.contact-faq-accordion .accordion-button { line-height: 1.6; }
.contact-faq-accordion .accordion-button i { flex-shrink: 0; }
.thank-you-card { max-width: 720px; margin-block: 40px; }
.thank-you-icon { font-size: 56px; color: var(--primary); line-height: 1; }
.ph-footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.ph-footer__copyright { font-size: .8rem; color: #b6c3c3; }
.ph-footer__sublink { font-size: .8rem; color: #d3e4e4; }
.ph-footer__sublink:hover { color: #47d182; }
.ph-footer__sublink-divider { color: #b6c3c3; }
.ph-footer__scroll-top { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.ph-footer__scroll-top:hover { background: #0b6869; }
@media (max-width: 767px) {
 .nj-header .navbar-brand { font-size: 1.1rem; }
 .nj-section-guides-list .nj-list-item { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
 .nj-section-guides-list .nj-item-img { width: 100%; flex: none; }
 .nj-section-guides-list .nj-btn { width: 100%; }
 .nj-section-hero h1.nj-title { font-size: 1.75rem; }
 .ph-footer .ph-footer__brand-name { font-size: 1rem; letter-spacing: .08em; }
}
.contact-page-section .input-group > .input-group-text,
.contact-page-section .input-group > .form-control,
.contact-page-section .input-group > .form-select { height: 48px; min-height: 48px; box-sizing: border-box; }
