:root {
    --primary: #0F172A;
    --secondary: #334155;
    --accent: #059669;
    --bg-main: #FDFDFD;
    --bg-muted: #F8FAFC;
    --bg-alt: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --card-bg: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.editorial-layout {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.btn {
    border-radius: 2px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transition: background-color 0.2s linear, color 0.2s linear !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: var(--accent) !important;
}

.btn-outline-primary {
    border: 1.5px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.card-editorial {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0;
    transition: background-color 0.2s linear;
}

.card-editorial:hover {
    background-color: var(--bg-muted);
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* ===== header ===== */
.hp-header {
    z-index: 1100 !important;
}

.hp-header .navbar {
    background-color: #FFFFFF !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    z-index: 1050;
}

.hp-header .navbar > .container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hp-header .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
}

.hp-header .nav-item {
    list-style: none;
}

.hp-header .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hp-header .navbar-toggler {
    display: none;
}

@media (min-width: 992px) {
    .hp-header .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex: 1 1 auto;
    }
}

.hp-header .hp-brand-logo {
    max-width: 42px;
    height: auto;
    object-fit: contain;
    margin-right: 0.5rem;
}

.hp-header .hp-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.hp-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #334155 !important;
    font-size: 0.9375rem;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.2s ease;
}

.hp-header .nav-link:hover,
.hp-header .nav-link.active,
.hp-header .dropdown-toggle.show {
    color: #059669 !important;
}

.hp-header .dropdown-menu {
    border: 1px solid #E2E8F0;
    border-radius: 2px;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: #FFFFFF;
    display: none;
}

.hp-header .dropdown:hover > .dropdown-menu,
.hp-header .dropdown-menu.show {
    display: block;
}

.hp-header .dropdown-item {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #475569;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.hp-header .dropdown-item:hover {
    background-color: #F8FAFC;
    color: #059669;
}

.hp-header .hp-btn-cta {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: 2px;
    text-transform: none;
    border: none;
    box-shadow: none;
    transition: background-color 0.2s linear;
    white-space: nowrap;
}

.hp-header .hp-btn-cta:hover {
    background-color: #059669 !important;
}

.hp-header .navbar-nav {
    gap: 0.1rem;
}

.hp-header .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #0F172A;
    line-height: 1;
}

.hp-header .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .hp-header .navbar > .container {
        flex-wrap: wrap;
    }

    .hp-header .navbar-collapse {
        background: #FFFFFF;
        padding: 1.5rem 0;
        max-height: 80vh;
        overflow-y: auto;
        flex-basis: 100%;
    }

    .hp-header .navbar-nav {
        display: block;
        width: 100%;
    }

    .hp-header .navbar-toggler {
        display: block;
        margin-left: auto;
    }

    .hp-header .nav-link {
        padding: 1rem 0 !important;
        border-bottom: 1px solid #F1F5F9;
    }

    .hp-header .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        margin-top: 0;
        background: #F8FAFC;
    }

    .hp-header .hp-btn-cta {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
}

/* ===== hero ===== */
.hero-section-editorial {
    padding: 120px 0;
    background-color: #FDFDFD;
    overflow: hidden;
    position: relative;
}

.hero-section-editorial .hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-section-editorial .hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-section-editorial .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 2px;
    min-height: 60px;
}

.hero-section-editorial .hero-btn-primary {
    background-color: #0F172A;
    color: #FFFFFF !important;
    border: 1.5px solid #0F172A;
}

.hero-section-editorial .hero-btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
}

.hero-section-editorial .hero-btn-secondary {
    background-color: transparent;
    color: #0F172A !important;
    border: 1.5px solid #0F172A;
}

.hero-section-editorial .hero-btn-secondary:hover {
    border-color: #059669;
    color: #059669 !important;
}

.hero-section-editorial .hero-visual-container {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.hero-section-editorial .hero-visual-frame {
    position: relative;
    z-index: 2;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.05);
}

.hero-section-editorial .hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-section-editorial .hero-accent-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: #F1F5F9;
    z-index: 1;
}

@media (max-width: 1199.98px) {
    .hero-section-editorial .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section-editorial {
        padding: 80px 0;
    }

    .hero-section-editorial .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-section-editorial .hero-description {
        text-align: center;
        max-width: 100%;
        font-size: 1.1rem;
    }

    .hero-section-editorial .hero-actions {
        align-items: center;
    }

    .hero-section-editorial .hero-visual-container {
        margin-top: 3rem;
        padding: 0;
    }

    .hero-section-editorial .hero-accent-box {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section-editorial .hero-title {
        font-size: 18px !important;
        margin-bottom: 1rem;
        hyphens: auto;
    }

    .hero-section-editorial .hero-description {
        font-size: 14px !important;
        margin-bottom: 2rem;
    }

    .hero-section-editorial .hero-btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.875rem;
    }

    .hero-section-editorial .hero-image {
        height: 300px;
    }
}

/* ===== materials ===== */
.materials-section {
    padding: 120px 0;
    background-color: #FDFDFD;
    color: #0F172A;
}

.materials-section .section-header {
    margin-bottom: 60px;
}

.materials-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #0F172A;
    line-height: 1.2;
}

.materials-section .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

.materials-section .filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: 10px 24px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    transition: all 0.2s linear;
    margin: 0 5px 10px 5px;
    cursor: pointer;
    border-radius: 2px;
}

.materials-section .filter-btn.active,
.materials-section .filter-btn:hover {
    background-color: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

.materials-section .material-card {
    height: 100%;
    border: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    transition: all 0.2s linear;
    display: flex;
    flex-direction: column;
    position: relative;
}

.materials-section .material-card:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.materials-section .card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
    display: block;
}

.materials-section .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.materials-section .material-card:hover .card-img-wrapper img {
    transform: scale(1.03);
}

.materials-section .card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.materials-section .card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.05em;
}

.materials-section .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #0F172A;
    font-weight: 700;
}

.materials-section .card-title a {
    color: inherit;
    text-decoration: none;
}

.materials-section .card-btn {
    margin-top: auto;
    padding: 14px 24px;
    background-color: #0F172A;
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    text-align: center;
    transition: background-color 0.2s linear;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.materials-section .card-btn:hover {
    background-color: #059669;
}

@media (max-width: 768px) {
    .materials-section {
        padding: 60px 0;
    }

    .materials-section .section-title {
        font-size: 2rem;
    }

    .materials-section .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== review-example ===== */
.review-step-block {
    background-color: #FDFDFD;
    font-family: 'Inter', sans-serif;
    color: #0F172A;
}

.review-step-block .review-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.review-step-block .review-step-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
}

.review-step-block .review-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: background-color 0.2s linear;
    display: flex;
    flex-direction: column;
}

.review-step-block .review-card:hover {
    background-color: #F8FAFC;
}

.review-step-block .review-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.review-step-block .review-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-step-block .review-card-step {
    position: absolute;
    top: 0;
    right: 0;
    background: #0F172A;
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    padding: 10px 20px;
    font-size: 1.5rem;
}

.review-step-block .review-card-content {
    padding: 32px;
    flex-grow: 1;
}

.review-step-block .review-card-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.review-step-block .review-card-heading a {
    color: #0F172A;
    text-decoration: none;
}

.review-step-block .review-card-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
}

.review-step-block .review-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.review-step-block .review-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #334155;
    font-size: 0.9375rem;
    font-weight: 500;
}

.review-step-block .review-card-list li i {
    color: #059669;
    font-size: 1.1rem;
    margin-top: 2px;
}

.review-step-block .btn-review-primary {
    background-color: #0F172A;
    color: #FFFFFF;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s linear;
    border: none;
}

.review-step-block .btn-review-primary:hover {
    background-color: #059669;
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .review-step-block .review-step-title {
        font-size: 2.25rem;
    }

    .review-step-block {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .review-step-block .review-step-title {
        font-size: 1.75rem;
    }

    .review-step-block .review-step-lead {
        font-size: 1rem;
    }

    .review-step-block .review-card-content {
        padding: 24px;
    }
}

/* ===== stages ===== */
.hp-stages-block {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.hp-stages-block .hp-stages-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.hp-stages-block .hp-stages-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
}

.hp-stages-block .hp-stage-btn {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    transition: all 0.2s linear;
    border-radius: 2px;
    cursor: pointer;
}

.hp-stages-block .hp-stage-btn:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.hp-stages-block .hp-stage-btn.active {
    background-color: #0F172A;
    color: #F8FAFC;
    border-color: #0F172A;
}

.hp-stages-block .hp-stage-panel {
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-stages-block .hp-stage-image-container {
    position: relative;
    overflow: hidden;
}

.hp-stages-block .hp-stage-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hp-stages-block .hp-stage-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(15, 23, 42, 0.05);
    margin-bottom: -20px;
    font-weight: 800;
}

.hp-stages-block .hp-stage-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hp-stages-block .hp-stage-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

.hp-stages-block .hp-checkpoint-box {
    background-color: #F8FAFC;
    padding: 20px;
    border-left: 4px solid #059669;
    margin-bottom: 30px;
}

.hp-stages-block .hp-checkpoint-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.hp-stages-block .hp-checkpoint-desc {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0;
}

.hp-stages-block .hp-stage-cta {
    display: inline-block;
    background-color: #0F172A;
    color: #FFFFFF;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s linear;
    border-radius: 2px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-stages-block .hp-stage-cta:hover {
    background-color: #059669;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hp-stages-block .hp-stages-title {
        font-size: 1.5rem;
    }

    .hp-stages-block .hp-stages-lead {
        font-size: 1rem;
    }

    .hp-stages-block .hp-stage-panel {
        padding: 20px;
    }

    .hp-stages-block .hp-stage-img {
        height: 250px;
    }

    .hp-stages-block .hp-stage-number {
        font-size: 3rem;
    }

    .hp-stages-block .hp-stage-heading {
        font-size: 1.25rem;
    }

    .hp-stages-block .hp-stages-tabs {
        flex-direction: column;
    }

    .hp-stages-block .hp-stage-btn {
        width: 100%;
    }
}

/* ===== testimonials ===== */
.testimonials-section {
    background-color: #F8FAFC;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.testimonials-section .testimonials-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #0F172A;
    line-height: 1.2;
}

.testimonials-section .testimonials-subheading {
    font-size: 1.125rem;
    color: #475569;
    max-width: 600px;
    line-height: 1.6;
}

.testimonials-section .filter-btn {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #334155;
    transition: all 0.2s linear;
    cursor: pointer;
    border-radius: 2px;
}

.testimonials-section .filter-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.testimonials-section .filter-btn.active {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

.testimonials-section .testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 40px;
    transition: background 0.2s linear;
    border-radius: 0;
}

.testimonials-section .testimonial-card:hover {
    background: #FDFDFD;
    border-color: #059669;
}

.testimonials-section .quote-icon {
    color: #059669;
    font-size: 2.5rem;
    line-height: 1;
}

.testimonials-section .testimonial-outcome {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #0F172A;
    line-height: 1.3;
}

.testimonials-section .testimonial-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.testimonials-section .testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F1F5F9;
}

.testimonials-section .testimonial-name {
    font-weight: 600;
    color: #0F172A;
    font-size: 1rem;
}

.testimonials-section .testimonial-role {
    font-size: 0.875rem;
    color: #94A3B8;
}

.testimonials-section .testimonial-link:hover .testimonial-name {
    color: #059669;
}

@media (max-width: 768px) {
    .testimonials-section .testimonials-heading {
        font-size: 1.75rem;
    }

    .testimonials-section .testimonial-card {
        padding: 30px;
    }
}

/* ===== tariffs ===== */
.workbook-plans {
    background-color: #FDFDFD;
    font-family: 'Inter', sans-serif;
}

.workbook-plans h2,
.workbook-plans h3 {
    font-family: 'Playfair Display', serif;
    color: #0F172A;
}

.workbook-plans .card {
    border-radius: 2px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.workbook-plans .card:hover {
    background-color: #F8FAFC;
}

.workbook-plans .text-accent {
    color: #059669;
}

.workbook-plans .btn-dark {
    background-color: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
}

.workbook-plans .btn-dark:hover {
    background-color: #059669;
    border-color: #059669;
}

.workbook-plans .btn-outline-dark {
    border-color: #0F172A;
    color: #0F172A;
}

.workbook-plans .btn-outline-dark:hover {
    background-color: #0F172A;
    color: #FFFFFF;
}

.workbook-plans .form-control:focus {
    border-color: #059669;
    box-shadow: 0 0 0 0.25rem rgba(5, 150, 105, 0.1);
}

.workbook-plans .badge {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.workbook-plans .list-unstyled i {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .workbook-plans h2 {
        font-size: 1.5rem !important;
    }

    .workbook-plans h3 {
        font-size: 1.25rem !important;
    }
}

/* ===== problem-selector ===== */
.problem-selector-section {
    background-color: #FDFDFD;
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

.problem-selector-section .problem-selector-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
    color: #0F172A;
    line-height: 1.2;
}

.problem-selector-section .problem-selector-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
}

.problem-selector-section .problem-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 2px;
    height: 100%;
    cursor: pointer;
    transition: all 0.2s linear;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.problem-selector-section .problem-card:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.problem-selector-section .problem-card.active {
    border-color: #059669;
    border-width: 2px;
    background-color: #F8FAFC;
}

.problem-selector-section .problem-card-img-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.problem-selector-section .problem-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.problem-selector-section .problem-card:hover .problem-card-img {
    transform: scale(1.05);
}

.problem-selector-section .problem-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.05);
}

.problem-selector-section .problem-card-icon {
    font-size: 2rem;
    color: #059669;
    line-height: 1;
}

.problem-selector-section .problem-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0F172A;
}

.problem-selector-section .problem-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    flex-grow: 1;
}

.problem-selector-section .problem-card-btn {
    background-color: #0F172A;
    color: #F8FAFC;
    border: none;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 2px;
    transition: background-color 0.2s linear;
    width: 100%;
    text-align: center;
}

.problem-selector-section .problem-card:hover .problem-card-btn {
    background-color: #059669;
}

.problem-selector-section .problem-card.active .problem-card-btn {
    background-color: #059669;
}

@media (max-width: 768px) {
    .problem-selector-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .problem-selector-section .problem-selector-title {
        font-size: 1.75rem;
    }

    .problem-selector-section .problem-selector-lead {
        font-size: 1rem;
    }
}

/* ===== categories-grid ===== */
.explore-resources {
    padding: 120px 0;
    background-color: #FDFDFD;
}

.explore-resources .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.explore-resources .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.6;
}

.explore-resources .category-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: background-color 0.2s linear;
    cursor: pointer;
}

.explore-resources .category-card:hover {
    background-color: #F8FAFC;
}

.explore-resources .card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.explore-resources .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-resources .icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.05);
}

.explore-resources .icon-box i {
    font-size: 1.5rem;
    color: #059669;
}

.explore-resources .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.explore-resources .card-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s linear;
}

.explore-resources .card-title a:hover {
    color: #059669;
}

.explore-resources .card-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
}

.explore-resources .btn-primary {
    background-color: #0F172A;
    border: none;
    border-radius: 2px;
    color: #FFFFFF;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s linear;
}

.explore-resources .btn-primary:hover {
    background-color: #059669;
}

@media (max-width: 767.98px) {
    .explore-resources {
        padding: 60px 0;
    }

    .explore-resources .section-title {
        font-size: 1.5rem;
    }

    .explore-resources .section-subtitle {
        font-size: 1rem;
    }

    .explore-resources .card-title {
        font-size: 1.25rem;
    }

    .explore-resources .card-title a {
        font-size: 1rem;
    }

    .explore-resources .card-text {
        font-size: 0.875rem;
    }
}

/* ===== trust-copy ===== */
.independent-publication-section {
    background-color: #F8FAFC;
    padding-top: 80px;
    padding-bottom: 80px;
}

.independent-publication-section .publication-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    position: relative;
    transition: background-color 0.2s linear;
}

.independent-publication-section .publication-card:hover {
    background-color: #FDFDFD;
}

.independent-publication-section .icon-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
    border-radius: 0;
    font-size: 28px;
}

.independent-publication-section .disclosure-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 0;
}

.independent-publication-section .disclosure-body p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    hyphens: auto;
}

.independent-publication-section .disclosure-link {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s linear;
}

.independent-publication-section .disclosure-link:hover {
    border-color: #059669;
    color: #059669;
}

@media (max-width: 767.98px) {
    .independent-publication-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .independent-publication-section .disclosure-heading {
        font-size: 20px;
    }

    .independent-publication-section .disclosure-body p {
        font-size: 14px;
    }

    .independent-publication-section .icon-wrapper {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 24px;
    }
}

/* ===== footer ===== */
.hp-footer {
    background-color: #0F172A;
    color: #F8FAFC;
    font-family: 'Inter', sans-serif;
}

.hp-footer__disclaimer {
    background-color: #F1F5F9;
    border-left: 4px solid #059669;
    color: #0F172A;
    border-radius: 2px;
}

.hp-footer__disclaimer-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-footer__disclaimer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

.hp-footer__accent-icon {
    color: #059669;
}

.hp-footer__logo {
    max-width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hp-footer__about {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.hp-footer__section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: 0.5px;
}

.hp-footer__link {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-footer__link:hover {
    color: #059669;
}

.hp-footer__list li {
    color: #CBD5E1;
    font-size: 0.95rem;
}

.hp-footer__newsletter-text {
    color: #CBD5E1;
    font-size: 0.95rem;
}

.hp-footer__input {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0;
    border-radius: 2px 0 0 2px;
    color: #0F172A !important;
    padding: 0.75rem 1rem;
}

.hp-footer__input::placeholder {
    color: #94A3B8;
}

.hp-footer__btn {
    background-color: #059669;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 0 2px 2px 0;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: background-color 0.2s ease;
}

.hp-footer__btn:hover {
    background-color: #10B981;
    color: #FFFFFF;
}

.hp-footer__bottom {
    border-top: 1px solid #334155;
}

.hp-footer__copyright {
    color: #94A3B8;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .hp-footer__disclaimer {
        padding: 1.5rem;
    }

    .hp-footer__section-title {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }

    .hp-footer__disclaimer-text {
        font-size: 0.85rem;
        hyphens: auto;
    }
}

.hp-category-page {
    background-color: #FDFDFD;
}

.hp-category-page .hp-content-section {
    background-color: #FDFDFD;
}

.hp-category-page .hp-sidebar {
    background-color: #FFFFFF;
    border-color: #E2E8F0 !important;
    position: sticky;
    top: 100px;
}

.hp-category-page .hp-sidebar__title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0F172A;
    border-bottom: 2px solid #059669;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.hp-category-page .hp-sidebar__link {
    font-family: 'Inter', sans-serif;
    color: #475569;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.hp-category-page .hp-sidebar__link:hover,
.hp-category-page .hp-sidebar__link.active {
    color: #059669;
    padding-left: 5px;
}

.hp-category-page .hp-sidebar__search .form-control {
    font-size: 0.875rem;
    padding: 0.6rem;
    color: #0F172A !important;
}

.hp-category-page .hp-sidebar__search .form-control::placeholder {
    color: #94A3B8;
}

.hp-category-page .hp-filter-bar {
    border-color: #E2E8F0 !important;
}

.hp-category-page .hp-filter-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #475569;
}

.hp-category-page .hp-sort-select {
    border-color: #E2E8F0;
    color: #0F172A;
    font-size: 0.875rem;
    padding: 0.4rem 2rem 0.4rem 0.75rem;
}

.hp-category-page .hp-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-color: #E2E8F0 !important;
    background-color: #FFFFFF;
}

.hp-category-page .hp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    background-color: #F8FAFC;
}

.hp-category-page .hp-card__img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.hp-category-page .hp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-category-page .hp-card:hover .hp-card__img {
    transform: scale(1.05);
}

.hp-category-page .hp-card__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hp-category-page .hp-card__title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #0F172A;
}

.hp-category-page .hp-card__link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #059669;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.hp-category-page .hp-card__link:hover {
    color: #0F172A;
}

@media (max-width: 991.98px) {
    .hp-category-page .hp-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hp-category-page .hp-card__title {
        font-size: 16px;
    }

    .hp-category-page .hp-filter-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .hp-category-page .hp-sort-controls {
        width: 100%;
    }

    .hp-category-page .hp-sort-select {
        width: 100%;
    }
}


/* ===== PAGE: guides ===== */
.guides-section {
  padding: 120px 0;
  background-color: #FDFDFD;
}

.guides-section .font-serif {
  font-family: 'Playfair Display', serif;
}

.guides-section .text-accent {
  color: #059669 !important;
}

.guides-section .search-wrapper {
  position: relative;
}

.guides-section .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  z-index: 5;
}

.guides-section .js-guides-search-input {
  padding-left: 45px;
  border-radius: 0;
  border: 1px solid #E2E8F0;
  height: 48px;
  background-color: #FFFFFF;
  color: #0F172A;
}

.guides-section .js-guides-search-input::placeholder {
  color: #94A3B8;
}

.guides-section .js-guides-search-input:focus {
  border-color: #059669;
  box-shadow: none;
}

.guides-section .guide-card {
  border: 1px solid #E2E8F0;
  border-radius: 0;
  transition: all 0.2s linear;
  background: #FFFFFF;
}

.guides-section .guide-card:hover {
  background-color: #F8FAFC;
  transform: translateY(-4px);
}

.guides-section .guide-card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.guides-section .guide-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guides-section .guide-card:hover img {
  transform: scale(1.05);
}

.guides-section .guide-card-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.guides-section .dot-separator {
  width: 4px;
  height: 4px;
  background-color: #CBD5E1;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
}

.guides-section .btn-primary {
  background-color: #0F172A;
  border-color: #0F172A;
  font-weight: 500;
}

.guides-section .btn-primary:hover {
  background-color: #059669;
  border-color: #059669;
}

.guides-section .guides-card-column {
  width: 100%;
  max-width: 560px;
}

.guides-section .js-guides-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.guides-section .btn-outline-primary {
  color: #0F172A;
  border-color: #E2E8F0;
}

.guides-section .btn-outline-primary:hover,
.guides-section .btn-outline-primary.active {
  background-color: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
}

.guides-section .bg-accent {
  background-color: #059669 !important;
}

.guides-section .border-dashed {
  border: 2px dashed #E2E8F0 !important;
}

@media (max-width: 768px) {
  .guides-section {
    padding: 60px 0;
  }
  .guides-section h1 {
    font-size: 2rem;
  }
}

/* ===== PAGE: contact ===== */
.contact-form-section {
  background-color: #F8FAFC;
}

.contact-details__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: #0F172A;
  line-height: 1.2;
}

.contact-details__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.6;
}

.contact-info-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #0F172A;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-info-list .d-flex > div:last-child {
  min-width: 0;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: #059669;
  line-height: 1;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 2px;
}

.contact-form .form-control {
  border: 1px solid #E2E8F0 !important;
  border-radius: 2px;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  padding: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form .form-control::placeholder {
  color: #64748B !important;
  opacity: 1 !important;
}

.contact-form .form-control:focus {
  border-color: #059669 !important;
  box-shadow: none;
}

.contact-form .form-label {
  display: none !important;
}

.contact-form__submit-btn {
  background-color: #0F172A !important;
  border: none;
  border-radius: 2px;
  text-transform: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease;
}

.contact-form__submit-btn:hover {
  background-color: #059669 !important;
}

.support-info-section {
  background-color: #FDFDFD;
}

.support-grid-wrapper {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 2px;
}

.support-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #0F172A;
}

.support-subtitle {
  font-family: 'Inter', sans-serif;
  color: #475569;
  max-width: 600px;
}

.support-card {
  padding: 2rem;
  border-right: 1px solid #F1F5F9;
}

.support-card:last-child {
  border-right: none;
}

.support-card__icon {
  font-size: 2rem;
  color: #059669;
}

.support-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.support-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-details__title {
    font-size: 2rem;
  }
  
  .support-card {
    border-right: none;
    border-bottom: 1px solid #F1F5F9;
    padding: 1.5rem 0;
  }
  
  .support-card:last-child {
    border-bottom: none;
  }
}

/* ===== PAGE: privacy ===== */
.privacy-section {
  padding: 120px 0;
  background-color: #FDFDFD;
  color: #0F172A;
}

.privacy-section .privacy-content-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 60px;
}

.privacy-section .privacy-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: #94A3B8;
  display: block;
  margin-bottom: 1rem;
}

.privacy-section .privacy-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.privacy-section .privacy-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.6;
  max-width: 800px;
}

.privacy-section .privacy-block {
  margin-bottom: 40px;
}

.privacy-section .privacy-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 0.5rem;
}

.privacy-section .privacy-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
}

.privacy-section p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
}

.privacy-section .privacy-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.privacy-section .privacy-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 0.75rem;
}

.privacy-section .privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 2px;
  background-color: #059669;
}

.privacy-section .privacy-contact-cta {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.privacy-section .btn-privacy-contact {
  display: inline-block;
  background-color: #0F172A;
  color: #FFFFFF !important;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s linear;
}

.privacy-section .btn-privacy-contact:hover {
  background-color: #059669;
}

@media (max-width: 768px) {
  .privacy-section {
    padding: 60px 0;
  }
  .privacy-section .privacy-content-card {
    padding: 30px 20px;
  }
  .privacy-section .privacy-main-title {
    font-size: 2.25rem;
  }
  .privacy-section .privacy-h2 {
    font-size: 1.5rem;
  }
}

/* ===== PAGE: terms ===== */
.terms-content {
  background-color: #FDFDFD;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: #475569;
}

.terms-content__wrapper {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0;
}

.terms-content__heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0F172A;
  font-size: 1.75rem;
  border-left: 4px solid #059669;
  padding-left: 1rem;
}

.terms-content__text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.terms-content__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.terms-content__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-content__list li::before {
  content: "\eb7a";
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  color: #059669;
  font-size: 1.1rem;
}

.terms-content__link {
  color: #059669;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s linear;
}

.terms-content__link:hover {
  color: #0F172A;
}

@media (max-width: 767.98px) {
  .terms-content__heading {
    font-size: 1.4rem;
  }
  .terms-content__wrapper {
    padding: 1.5rem !important;
  }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-section { background-color: #FDFDFD; font-family: 'Inter', sans-serif; }.disclaimer-section .disclaimer-card { background-color: #FFFFFF; border-color: #E2E8F0 !important; }.disclaimer-section .disclaimer-title { font-family: 'Playfair Display', serif; color: #0F172A; line-height: 1.2; }.disclaimer-section .disclaimer-eyebrow { letter-spacing: 0.1rem; font-size: 0.875rem; color: #059669; }.disclaimer-section .text-accent { color: #059669; }.disclaimer-section .disclaimer-lead { font-size: 1.15rem; line-height: 1.6; border-left: 3px solid #059669; padding-left: 1.5rem; }.disclaimer-section h2 { font-family: 'Playfair Display', serif; color: #0F172A; }.disclaimer-section .disclaimer-body p { line-height: 1.8; margin-bottom: 1.5rem; }.disclaimer-section .img-fluid { filter: grayscale(20%); transition: filter 0.3s ease; }.disclaimer-section .img-fluid:hover { filter: grayscale(0%); }.disclaimer-section .btn-primary { background-color: #0F172A; border: none; border-radius: 2px; transition: background-color 0.2s linear; font-weight: 500; text-transform: none; }.disclaimer-section .btn-primary:hover { background-color: #059669; }.disclaimer-section .small { font-size: 0.8rem; }@media (max-width: 768px) { .disclaimer-section .disclaimer-title { font-size: 2rem; } .disclaimer-section .disclaimer-lead { font-size: 1rem; } }

.hp-comment-main {
    border: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    position: relative;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background-color: #0F172A;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0;
}

.hp-comment-author {
    font-family: 'Playfair Display', serif;
    color: #0F172A;
    font-size: 1.25rem;
    font-weight: 700;
}

.hp-comment-timestamp {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    font-size: 0.8125rem;
}

.hp-comment-text {
    font-family: 'Inter', sans-serif;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.hp-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s linear;
}

.hp-action-btn:hover {
    color: #059669;
}

.hp-comment-reply-wrapper {
    border-left: 2px solid #F1F5F9;
}

.hp-comment-reply {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.hp-avatar-accent {
    background-color: #059669;
}

.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    color: #0F172A;
    font-size: 1.125rem;
    font-weight: 700;
}

.hp-comment-text-small {
    font-family: 'Inter', sans-serif;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.hp-comments-section .form-control,
.hp-comment-form-wrapper .form-control {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 2px !important;
    caret-color: #0F172A;
}

.hp-comments-section .form-control::placeholder,
.hp-comment-form-wrapper .form-control::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

.hp-comments-section .form-control:focus,
.hp-comment-form-wrapper .form-control:focus {
    border-color: #059669 !important;
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.12) !important;
}

.hp-comments-section .form-outline .form-label,
.hp-comment-form-wrapper .form-outline .form-label {
    display: none !important;
}


/* ===== PAGE TEMPLATE: household-expenses-analysis ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-sidebar-cta h4 {
    color: #FFFFFF !important;
}

.hp-sidebar-cta .btn-outline-light {
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
    background-color: transparent !important;
}

.hp-sidebar-cta .btn-outline-light:hover,
.hp-sidebar-cta .btn-outline-light:focus {
    border-color: #FFFFFF !important;
    color: #0F172A !important;
    background-color: #FFFFFF !important;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: family-budget-planning ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: financial-literacy-center ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: household-efficiency-calculators ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: rational-consumption-encyclopedia ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: technical-section ===== */
.hp-detail-page {
    background-color: #FDFDFD;
    color: #0F172A;
    font-family: 'Inter', sans-serif;
}

.hp-detail-hero {
    padding: 80px 0 40px;
    background-color: #F8FAFC;
}

.hp-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.hp-detail-subtitle {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.4;
    max-width: 800px;
}

.hp-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.hp-meta-value {
    font-weight: 600;
    color: #0F172A;
}

.hp-article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.hp-article-text h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: #0F172A;
}

.hp-article-text p {
    margin-bottom: 1.5rem;
}

.hp-main-image {
    border: 1px solid #E2E8F0;
    padding: 1px;
}

.hp-section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.hp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.hp-widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 0.5rem;
}

.hp-sidebar-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    transition: opacity 0.2s;
}

.hp-sidebar-link:hover {
    opacity: 0.7;
}

.hp-link-date {
    font-size: 0.75rem;
    color: #94A3B8;
}

.hp-link-title {
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.hp-comment-main,
.hp-comment-reply {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.hp-avatar-container {
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 48px;
    height: 48px;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author,
.hp-comment-author-small {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8rem;
    color: #94A3B8;
}

.hp-comment-text,
.hp-comment-text-small {
    color: #475569;
    line-height: 1.6;
}

.hp-action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-action-btn:hover {
    color: #0F172A;
}

.hp-btn-submit {
    background-color: #0F172A;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.hp-btn-submit:hover {
    background-color: #059669;
}

.hp-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.hp-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-top: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .hp-detail-title {
        font-size: 2.5rem;
    }

    .hp-detail-subtitle {
        font-size: 1.25rem;
    }

    .hp-sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hp-detail-title {
        font-size: 18px !important;
    }

    .hp-detail-subtitle {
        font-size: 14px !important;
    }

    .hp-article-text {
        font-size: 1rem;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 1rem !important;
    }

    .hp-detail-hero {
        padding: 40px 0 20px;
    }

    .hp-detail-meta {
        flex-direction: column;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* ===== PAGE TEMPLATE: guides ===== */
.hp-detail-wrapper {
    background-color: #FDFDFD;
}

.hp-article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}

.hp-article-body h2,
.hp-article-body h3,
.hp-article-body h4 {
    font-family: 'Playfair Display', serif;
    color: #0F172A;
    font-weight: 700;
}

.hp-article-body p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.hp-article-list {
    list-style: none;
    padding-left: 0;
}

.hp-article-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: #475569;
}

.hp-article-list li::before {
    content: '\eb7f';
    font-family: 'remixicon';
    position: absolute;
    left: 0;
    color: #059669;
}

.hp-main-image {
    height: 450px;
    object-fit: cover;
    border-radius: 2px;
}

.hp-avatar-container {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.hp-avatar-initials {
    width: 100%;
    height: 100%;
    background: #0F172A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50%;
}

.hp-avatar-accent {
    background: #059669;
}

.hp-comment-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #0F172A;
}

.hp-comment-timestamp {
    font-size: 0.8125rem;
    color: #94A3B8;
}

.hp-action-btn {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
}

.hp-action-btn:hover {
    color: #059669;
}

.hp-submit-btn {
    background-color: #0F172A !important;
    border: none;
    border-radius: 2px;
    font-weight: 600;
}

.hp-submit-btn:hover {
    background-color: #059669 !important;
}

.hp-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hp-tools-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hp-detail-wrapper .hp-sidebar.sticky-top {
    z-index: 10;
}

.hp-sidebar-btn {
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border: 1px solid #CBD5E1 !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hp-sidebar-btn:hover,
.hp-sidebar-btn:focus {
    background-color: #059669 !important;
    border-color: #059669 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.hp-sidebar-btn.btn-success {
    background-color: #0F172A !important;
    border-color: #0F172A !important;
    color: #FFFFFF !important;
}

.hp-sidebar-btn.btn-success:hover,
.hp-sidebar-btn.btn-success:focus {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

.hp-notes-block {
    background-color: #F8FAFC !important;
    border: 1px solid #D1FAE5;
    border-left: 4px solid #059669;
    color: #0F172A !important;
}

.hp-notes-block h4 {
    color: #0F172A !important;
}

.hp-notes-block p {
    color: #475569 !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hp-article-title {
        font-size: 2rem;
    }

    .hp-main-image {
        height: 250px;
    }

    .hp-comment-reply-wrapper {
        margin-left: 1.5rem !important;
        padding-left: 0.5rem !important;
    }
}


.hp-header .navbar {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    z-index: 1050;
}

.hp-header .hp-brand-logo {
    max-width: 42px;
    height: auto;
}

.hp-header .hp-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0F172A;
    font-size: 1.25rem;
}

.hp-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #334155 !important;
    padding: 0.5rem 1.25rem !important;
}

.hp-header .hp-btn-cta {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    font-weight: 600;
    border-radius: 2px;
}


.hp-footer {
    background-color: #0F172A;
    color: #F8FAFC;
}

.hp-footer__disclaimer {
    background-color: #F1F5F9;
    border-left: 4px solid #059669;
    color: #0F172A;
}

.hp-footer__logo {
    max-width: 50px;
    filter: brightness(0) invert(1);
}

.hp-footer__btn {
    background-color: #059669;
    color: #FFFFFF;
    border-radius: 0 2px 2px 0;
}
