/* === SaveLoot Hosting Finder === */

:root {
    --hf-primary: #2563eb;
    --hf-primary-dark: #1d4ed8;
    --hf-success: #16a34a;
    --hf-warning: #d97706;
    --hf-border: #e5e7eb;
    --hf-muted: #6b7280;
    --hf-radius: 12px;
    --hf-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --hf-shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --hf-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* Hero */
.hosting-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: var(--hf-radius);
    margin-bottom: 2rem;
}
.hosting-hero h1 {
    letter-spacing: -0.5px;
}

/* Quick Cards */
.hosting-quick-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}
.hosting-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hf-shadow-md);
    border-color: var(--hf-primary);
}

/* Provider Cards */
.hosting-provider-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hosting-provider-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
}
.hosting-provider-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}
.hosting-provider-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--hf-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Category Cards */
.hosting-category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}
.hosting-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hf-shadow-md);
    border-color: var(--hf-primary);
}

/* Compare Links */
.hosting-compare-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}
.hosting-compare-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
    border-color: var(--hf-primary);
}
.hosting-compare-mini-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

/* Finder Wizard */
.finder-step {
    min-height: 200px;
}
.finder-option {
    display: block;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-bottom: 8px;
    user-select: none;
}
.finder-option:hover {
    border-color: var(--hf-primary);
    background: #eff6ff;
}
.finder-option input {
    display: none;
}
.finder-option input:checked + span,
.finder-option:has(input:checked) {
    border-color: var(--hf-primary);
    background: #dbeafe;
    font-weight: 600;
}
.finder-option-multi input:checked + span,
.finder-option-multi:has(input:checked) {
    border-color: var(--hf-primary);
    background: #dbeafe;
}

/* Progress */
.hosting-progress .progress {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}
.hosting-progress .progress-bar {
    transition: width 0.3s ease;
}

/* Results */
.hosting-top-match {
    border: 2px solid var(--hf-primary) !important;
    border-radius: var(--hf-radius);
}
.hosting-match-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hf-primary);
    white-space: nowrap;
}
.hosting-match-score-sm {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hf-primary);
}
.hosting-match-badge {
    background: var(--hf-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}
.hosting-result-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}
.hosting-result-logo-sm {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}
.hosting-result-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hosting-result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
}
.hosting-category-winner {
    transition: transform 0.2s ease;
    border: 1px solid #e5e7eb;
}
.hosting-category-winner:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-sm);
}

/* Coupon Badge */
.hosting-coupon-badge {
    border: 1px solid var(--hf-success);
    background: #dcfce7;
}

/* Plan Cards */
.hosting-plan-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hosting-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
}

/* Coupon Cards */
.hosting-coupon-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}
.hosting-coupon-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
}

/* Comparison Table */
.hosting-comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--hf-radius);
}
.hosting-comparison-table {
    min-width: 600px;
    margin-bottom: 0;
}
.hosting-comparison-table th,
.hosting-comparison-table td {
    vertical-align: middle;
}
.hosting-comparison-table .sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    font-weight: 600;
    min-width: 140px;
}
.hosting-comparison-table thead .sticky-col {
    background: #f8f9fa;
}
.hosting-comparison-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

/* Score Bar */
.slc-hosting-score-bar {
    position: relative;
    width: 80px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
}
.slc-hosting-score-bar > div {
    height: 100%;
    background: var(--hf-primary);
    border-radius: 10px;
}
.slc-hosting-score-bar > span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    line-height: 20px;
    color: #fff;
    font-weight: 600;
}

/* === Provider Page === */
.hp-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius);
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    box-shadow: var(--hf-shadow-sm);
    margin-bottom: 1.5rem;
}
.hp-hero::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.10), transparent 70%);
    pointer-events: none;
}
.hp-hero-body {
    position: relative;
    padding: 1.75rem;
}
.hp-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--hf-border);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--hf-shadow-sm);
}
.hp-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hf-primary);
    background: #fff;
}
.hp-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}
.hp-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}
.hp-rating .hp-rating-value {
    font-weight: 700;
    color: #111827;
}
.hp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--hf-border);
    color: #374151;
}
.hp-badge-primary { background: #eff6ff; border-color: #bfdbfe; color: var(--hf-primary-dark); }
.hp-badge-success { background: #dcfce7; border-color: #bbf7d0; color: #15803d; }
.hp-badge-warning { background: #fef3c7; border-color: #fde68a; color: #b45309; }
.hp-cta {
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.hp-desc {
    color: #4b5563;
    margin: 1.1rem 0 0;
    max-width: 62ch;
}

/* Fact tiles */
.hp-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.hp-fact {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid var(--hf-border);
    border-radius: 10px;
}
.hp-fact-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eff6ff;
    color: var(--hf-primary);
    font-size: 0.9rem;
}
.hp-fact-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--hf-muted);
}
.hp-fact-value {
    font-weight: 700;
    font-size: 0.92rem;
    color: #111827;
    line-height: 1.25;
}

/* Section headings */
.hp-section-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}
.hp-section-title i { color: var(--hf-primary); }

/* Flag chips */
.hosting-flags { gap: 0.5rem; }
.hosting-flag {
    padding: 0.3rem 0.6rem;
    background: #fff;
    border: 1px solid var(--hf-border);
    border-radius: 9999px;
    font-size: 0.82rem;
}
.hp-dc-grid .hosting-flag { background: #f9fafb; }

/* Server locations grid */
.hp-locations-heading { display: flex; align-items: center; gap: 0.55rem; font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: #111827; }
.hp-locations-heading i { color: var(--hf-primary); }
.hp-locations-heading span { font-size: 0.95rem; color: var(--hf-muted); margin-left: auto; }
.hp-location { font-size: 0.92rem; color: #374151; }
.hp-location-flag { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #f3f4f6; }
.hp-location-flag img { width: 100%; height: 100%; object-fit: cover; }
.hp-location-flag-placeholder { color: #9ca3af; font-size: 0.75rem; }
.hp-location-city { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Plan cards */
.hp-plan {
    height: 100%;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hp-plan:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: var(--hf-shadow-md);
}
.hp-plan-body { padding: 1.15rem; display: flex; flex-direction: column; height: 100%; }
.hp-plan-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hf-primary);
    background: #eff6ff;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.55rem;
}
.hp-plan-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.hp-price { display: flex; align-items: baseline; gap: 0.3rem; }
.hp-price-amount { font-size: 1.85rem; font-weight: 800; color: #111827; line-height: 1; }
.hp-price-period { font-size: 0.85rem; color: var(--hf-muted); }
.hp-price-renewal { font-size: 0.78rem; color: var(--hf-muted); margin-top: 0.25rem; }
.hp-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0.9rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.6rem;
    font-size: 0.84rem;
}
.hp-plan-specs li { display: flex; align-items: center; gap: 0.4rem; color: #374151; }
.hp-plan-specs .hp-no { color: #9ca3af; }
.hp-plan-coupon {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #15803d;
    background: #f0fdf4;
    border: 1px dashed #86efac;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.85rem;
}
.hp-plan-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.hp-plan-actions .btn { flex: 1; font-weight: 600; }

/* Coupon cards */
.hp-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--hf-border);
    border-left: 4px solid var(--hf-success);
    border-radius: var(--hf-radius);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hp-coupon:hover { transform: translateY(-2px); box-shadow: var(--hf-shadow-md); }
.hp-coupon-text { font-weight: 700; color: #111827; }
.hp-coupon-code {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    background: #f3f4f6;
    border: 1px dashed #9ca3af;
    border-radius: 6px;
}

/* Pros / Cons */
.hp-pc { height: 100%; border: 1px solid var(--hf-border); border-radius: var(--hf-radius); overflow: hidden; background: #fff; }
.hp-pc-head { padding: 0.7rem 1rem; font-weight: 700; font-size: 0.95rem; }
.hp-pc-head-pro { background: #f0fdf4; color: #15803d; border-bottom: 1px solid #bbf7d0; }
.hp-pc-head-con { background: #fef2f2; color: #b91c1c; border-bottom: 1px solid #fecaca; }
.hp-pc ul { list-style: none; margin: 0; padding: 0.75rem 1rem; }
.hp-pc li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: #374151; padding: 0.3rem 0; }

/* Sidebar */
.hp-sidebar { position: sticky; top: 90px; }
.hp-side-card {
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius);
    background: #fff;
    box-shadow: var(--hf-shadow-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}
.hp-side-head {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--hf-border);
}
.hp-side-body { padding: 0.85rem 1rem; }
.hp-visit-btn { background: linear-gradient(90deg, #2563eb, #7c3aed); border: none; color: #fff; }
.hp-visit-btn:hover { color: #fff; opacity: 0.92; }
.hp-side-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    border-bottom: 1px dashed #f3f4f6;
}
.hp-side-row:last-child { border-bottom: 0; }
.hp-side-row span:first-child { color: var(--hf-muted); }
.hp-side-row strong { text-align: right; }
.hp-disclosure {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #475569;
    background: #f8fafc;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius);
    padding: 0.85rem 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hp-sidebar { position: static; }
}
@media (max-width: 575px) {
    .hp-hero-body { padding: 1.15rem; }
    .hp-title { font-size: 1.35rem; }
    .hp-logo { width: 58px; height: 58px; flex-basis: 58px; }
    .hp-cta { width: 100%; }
    .hp-plan-specs { grid-template-columns: 1fr; }
    .hp-coupon { flex-direction: column; align-items: flex-start; }
    .hp-coupon .btn { width: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .hosting-hero {
        padding: 1.5rem 1rem;
    }
    .hosting-hero h1 {
        font-size: 1.5rem;
    }
    .hosting-match-score {
        font-size: 1.1rem;
    }
    .hosting-result-logo {
        width: 40px;
        height: 40px;
    }
    .finder-option {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    .hosting-comparison-table .sticky-col {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hosting-hero .btn {
        width: 100%;
    }
    .hosting-quick-card .card-body {
        padding: 0.75rem;
    }
    .hosting-quick-card h6 {
        font-size: 0.8rem;
    }
}

/* Accessibility */
.hosting-quick-card:focus-visible,
.hosting-category-card:focus-visible,
.hosting-compare-link:focus-visible,
.finder-option:focus-within {
    outline: 2px solid var(--hf-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* HostAdvice-style provider page */
.hp-verdict {
    background: #f0f9ff;
    border-left: 4px solid var(--hf-primary);
    padding: 1rem 1.15rem;
    border-radius: var(--hf-radius);
    margin-top: 1rem;
    font-size: 1.05rem;
    color: #1e293b;
    font-style: italic;
}
.hp-score-ring,
.hp-score-ring-sm {
    position: relative;
    display: inline-block;
    width: 140px;
    height: 140px;
}
.hp-score-ring-sm { width: 100px; height: 100px; }
.hp-score-ring svg,
.hp-score-ring-sm svg { transform: rotate(-90deg); }
.hp-ring-bg { fill: none; stroke: #e2e8f0; stroke-width: 10; }
.hp-ring-fill { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.hp-ring-excellent { stroke: #2563eb; filter: drop-shadow(0 0 4px rgba(37,99,235,0.45)); }
.hp-ring-great { stroke: #3b82f6; }
.hp-ring-good { stroke: #22c55e; }
.hp-ring-fair { stroke: #f59e0b; }
.hp-ring-poor { stroke: #ef4444; }
.hp-ring-success { stroke: #22c55e; }
.hp-ring-warning { stroke: #f59e0b; }
.hp-ring-danger { stroke: #ef4444; }
.hp-score-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
}
.hp-score-text .hp-score-number { font-size: 2.2rem; font-weight: 800; color: #1e293b; }
.hp-score-text .hp-score-label { font-size: 0.85rem; color: #64748b; }
.hp-score-text-sm .hp-score-number { font-size: 1.6rem; font-weight: 800; color: #1e293b; }
.hp-sticky-toc { position: sticky; top: 80px; }
.hp-review-body h2,
.hp-review-body h3 { margin-top: 1.75rem; margin-bottom: 1rem; font-weight: 700; }
.hp-review-body h2 { font-size: 1.55rem; color: #0f172a; }
.hp-review-body h3 { font-size: 1.25rem; color: #1e293b; }
.hp-review-body p { line-height: 1.75; color: #334155; }
.hp-review-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.hp-review-body li { margin-bottom: 0.4rem; }
.hp-review-body table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.hp-review-body th,
.hp-review-body td { border: 1px solid #e2e8f0; padding: 0.6rem 0.8rem; text-align: left; }
.hp-review-body th { background: #f8fafc; font-weight: 600; }
.hp-review-form-rating { display: flex; flex-direction: row-reverse; gap: 0.25rem; }
.hp-review-form-rating label { color: #d1d5db; cursor: pointer; font-size: 1.25rem; }
.hp-review-form-rating input { display: none; }
.hp-review-form-rating input:checked ~ label,
.hp-review-form-rating label:hover,
.hp-review-form-rating label:hover ~ label { color: #f59e0b; }
.hp-review-card .badge { font-size: 0.75rem; }

/* Review category star ratings */
.review-score-row { padding: 0.6rem 0; border-bottom: 1px solid #f3f4f6; }
.review-score-row:last-child { border-bottom: 0; }
.star-rating { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 0.25rem; }
.star-rating input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-rating label { cursor: pointer; font-size: 1.2rem; color: #d1d5db; margin: 0; }
.star-rating label i { pointer-events: none; color: inherit; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: #f59e0b; }

/* Published review cards */
.hp-review-card { background: #fff; border: 1px solid #f1f5f9; border-radius: 0.75rem; padding: 1.25rem; }
.hp-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.hp-review-avatar { width: 48px; height: 48px; border-radius: 50%; background: #f3f4f6; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #6b7280; margin-right: 0.75rem; font-size: 1.1rem; }
.hp-review-meta { flex: 1; }
.hp-review-name { font-weight: 700; color: #0f172a; }
.hp-review-meta-line { font-size: 0.85rem; color: #64748b; }
.hp-review-pinned { font-size: 0.75rem; color: #22c55e; border: 1px solid #22c55e; border-radius: 999px; padding: 0.2rem 0.6rem; display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
.hp-review-rating { font-weight: 700; font-size: 1.3rem; color: #0f172a; margin-bottom: 0.5rem; }
.hp-review-rating .fa-star,
.hp-review-rating .fa-star-half-stroke { font-size: 0.95rem; margin-left: 0.1rem; }
.hp-review-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: #0f172a; }
.hp-review-body { color: #334155; line-height: 1.65; margin-bottom: 1rem; }
.hp-review-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.hp-review-tag { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.85rem; color: #64748b; }
.hp-review-actions { display: flex; gap: 1.25rem; font-size: 0.9rem; }
.hp-review-actions a { color: #2563eb; text-decoration: none; }
.hp-review-actions a:hover { text-decoration: underline; }

/* === HostAdvice-style comparison page layout === */
.hp-toc { border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #f8fafc; }
.hp-toc a { color: #1e40af; font-weight: 500; text-decoration: none; }
.hp-toc a:hover { text-decoration: underline; }
.hp-section-title { margin-top: 3rem; margin-bottom: 1rem; font-weight: 700; }
.hp-section-title .badge { font-size: 0.9em; vertical-align: middle; }
@media (max-width: 991px) { .hp-sticky-toc { position: static; } }

/* === Comparison Result Tone Badges / Bars === */
.bg-excellent,
.bg-great,
.bg-good,
.bg-fair,
.bg-poor { color: #fff !important; font-weight: 700; }
.bg-excellent { background-color: #2563eb !important; }
.bg-great     { background-color: #3b82f6 !important; }
.bg-good      { background-color: #22c55e !important; }
.bg-fair      { background-color: #f59e0b !important; }
.bg-poor      { background-color: #ef4444 !important; }

/* === Professional Comparison Table === */
.hosting-comparison-table thead th {
    background: #f8fafc;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}
.hosting-comparison-table tbody tr:nth-child(even) { background: #f9fafb; }
.hosting-comparison-table tbody tr:hover { background: #eff6ff; }
.hosting-comparison-table .table-secondary td {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.hosting-comparison-table .progress { background: #e5e7eb; }

/* === Comparison Winner Card === */
.hp-compare-winner {
    border: 2px solid #2563eb !important;
    box-shadow: 0 4px 20px rgba(37,99,235,0.15) !important;
}
.hp-compare-winner .badge.bg-primary {
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* === HostAdvice-style editorial comparison (hc-*) === */
.hc-page { max-width: 1200px; color: #1f2937; }
.hc-title { font-size: 2.1rem; font-weight: 800; line-height: 1.2; color: #0f172a; margin-bottom: 0.75rem; }
.hc-byline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #475569; margin-bottom: 1.5rem; }
.hc-author-avatar { width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; display: inline-flex; align-items: center; justify-content: center; color: #64748b; }

.hc-hero-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; height: 100%; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.hc-hero-card.is-winner { border-color: #2563eb; box-shadow: 0 6px 24px rgba(37,99,235,.15); }
.hc-winner-ribbon { position: absolute; top: -12px; left: 1rem; background: #2563eb; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; }
.hc-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hc-hero-logo { max-height: 40px; max-width: 160px; object-fit: contain; }
.hc-hero-logo-text { font-weight: 800; font-size: 1.25rem; }
.hc-hero-rating { display: flex; align-items: center; gap: 0.4rem; }
.hc-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 1px; }
.hc-star-off { color: #e2e8f0; }
.hc-rating-num { font-weight: 800; color: #0f172a; }
.hc-visit { font-weight: 700; padding: 0.65rem 1rem; }
.hc-coupon-line { display: block; margin-top: 0.75rem; padding: 0.55rem 0.75rem; background: #fff7ed; border: 1px dashed #fb923c; border-radius: 8px; color: #c2410c; font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.hc-coupon-line:hover { background: #ffedd5; color: #9a3412; }
.hc-hero-bullets { list-style: none; padding: 0; margin: 0.9rem 0 0; font-size: 0.875rem; color: #334155; }
.hc-hero-bullets li { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; }
.hc-hero-bullets i { color: #16a34a; margin-top: 3px; }

.hc-main { font-size: 1.02rem; line-height: 1.7; }
.hc-section { padding-top: 1.5rem; margin-bottom: 2rem; scroll-margin-top: 90px; }
.hc-section + .hc-section { border-top: 1px solid #e2e8f0; }
.hc-h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 0.75rem; }
.hc-h3 { font-size: 1.15rem; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 0.5rem; margin: 1.5rem 0 0.6rem; }
.hc-h3 img { max-height: 22px; max-width: 90px; object-fit: contain; }
.hc-badge-win { background: #dcfce7; color: #15803d; font-size: 0.7rem; font-weight: 700; }
.hc-verdict-line { font-style: italic; color: #475569; border-left: 4px solid #2563eb; padding-left: 0.85rem; margin-bottom: 1rem; }
.hc-cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.hc-link-review { color: #2563eb; font-weight: 600; text-decoration: none; }
.hc-link-review:hover { text-decoration: underline; }
.hc-provider-block { margin-bottom: 1.25rem; }
.hc-list-title { font-weight: 700; margin: 0.75rem 0 0.35rem; color: #0f172a; }
.hc-list { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.hc-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.35rem; }
.hc-list li::before { font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 0.85rem; }
.hc-list-check li::before { content: "\f00c"; color: #16a34a; }
.hc-list-cross li::before { content: "\f00d"; color: #dc2626; }
.hc-snapshot { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 1rem 1.25rem; margin: 1.25rem 0 1rem; }
.hc-snapshot-title { font-weight: 800; color: #1e40af; margin-bottom: 0.5rem; }
.hc-snapshot ul { margin: 0; padding-left: 1.2rem; }
.hc-snapshot li { margin-bottom: 0.3rem; }
.hc-visit-winner { font-weight: 700; }
.hc-proscons { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.25rem; height: 100%; }
.hc-proscons .hc-h3 { margin-top: 0; }

.hc-bottom-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 2px solid #2563eb; border-radius: 12px; padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.hc-bottom-left { display: flex; align-items: center; gap: 1rem; }
.hc-bottom-left img { max-height: 44px; max-width: 140px; object-fit: contain; }
.hc-bottom-right { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.hc-faq .accordion-item { border: 1px solid #e2e8f0; border-radius: 8px !important; margin-bottom: 0.5rem; overflow: hidden; }
.hc-faq .accordion-button { font-weight: 600; color: #0f172a; background: #fff; }
.hc-faq .accordion-button:not(.collapsed) { background: #eff6ff; color: #1e40af; box-shadow: none; }

.hc-sticky { position: sticky; top: 90px; }
.hc-side-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem; margin-bottom: 0.75rem; }
.hc-side-card.is-winner { border-color: #2563eb; }
.hc-side-logo { max-height: 28px; max-width: 120px; object-fit: contain; }
.hc-side-score { font-weight: 800; color: #2563eb; font-size: 1.1rem; }
.hc-side-score small { font-size: 0.7rem; color: #64748b; font-weight: 600; }
.hc-side-coupons { display: block; text-align: center; font-size: 0.875rem; font-weight: 600; color: #15803d; text-decoration: none; }
.hc-side-coupons:hover { text-decoration: underline; }
.hc-toc { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.75rem 0; margin-top: 0.75rem; }
.hc-toc a { display: block; padding: 0.45rem 1rem; color: #334155; font-size: 0.9rem; font-weight: 500; text-decoration: none; border-left: 3px solid transparent; }
.hc-toc a:hover, .hc-toc a.active { color: #1e40af; background: #eff6ff; border-left-color: #2563eb; }

.hc-popular { columns: 2; column-gap: 2rem; padding-left: 1.25rem; }
.hc-popular li { margin-bottom: 0.4rem; break-inside: avoid; }
.hc-popular a { color: #2563eb; text-decoration: none; font-weight: 500; }
.hc-popular a:hover { text-decoration: underline; }

/* === Hero score ring & side-by-side cards === */
.hc-hero-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hc-hero-score { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.hc-hero-score small { font-size: 0.65rem; color: #64748b; font-weight: 600; text-transform: uppercase; }
.hc-hero-main { flex: 1; min-width: 0; }
.hc-score-ring circle { transition: stroke-dashoffset 0.6s ease; }
.hc-hero-deal { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding: 0.55rem 0.75rem; background: #fff7ed; border: 1px dashed #fb923c; border-radius: 8px; color: #9a3412; font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.hc-hero-deal:hover { background: #ffedd5; color: #7c2d12; }
.hc-deal-tag { background: #c2410c; color: #fff; font-size: 0.65rem; font-weight: 800; padding: 0.15rem 0.4rem; border-radius: 4px; text-transform: uppercase; }
.hc-provider-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; height: 100%; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.hc-provider-card .hc-h3 { margin-top: 0; }
.hc-compare-row { position: relative; }
.hc-compare-row::before { content: "VS"; position: absolute; left: 50%; top: 2rem; transform: translateX(-50%); background: #f1f5f9; color: #64748b; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; z-index: 2; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }

@media (max-width: 767px) {
    .hc-compare-row::before { display: none; }
    .hc-hero-header { flex-direction: column; align-items: flex-start; }
}

/* === Premium hosting comparison landing (hcmp-) === */
.hcmp-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; padding: 2.5rem 0 3.5rem; margin-bottom: 2rem; }
.hcmp-hero a { color: #bfdbfe; }
.hcmp-hero a:hover { color: #fff; }
.hcmp-breadcrumb .breadcrumb { background: transparent; padding: 0; margin-bottom: 1.25rem; }
.hcmp-breadcrumb .breadcrumb-item.active { color: #cbd5e1; }
.hcmp-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hcmp-hero-main { max-width: 640px; }
.hcmp-hero-title { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; color: #fff; }
.hcmp-hero-subtitle { font-size: 1.15rem; color: #cbd5e1; line-height: 1.6; margin: 0; }
.hcmp-hero-stats { display: flex; gap: 1rem; }
.hcmp-stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 1rem 1.25rem; min-width: 110px; text-align: center; }
.hcmp-stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hcmp-stat-label { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }

.hcmp-tool-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.75rem; box-shadow: 0 4px 20px rgba(15,23,42,0.06); height: 100%; transition: transform .2s, box-shadow .2s; }
.hcmp-tool-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,0.1); }
.hcmp-tool-icon { width: 52px; height: 52px; border-radius: 12px; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1rem; }
.hcmp-tool-providers .hcmp-tool-icon { background: #f0fdf4; color: #16a34a; }
.hcmp-tool-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; color: #0f172a; }
.hcmp-tool-desc { color: #64748b; margin-bottom: 1.25rem; }
.hcmp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.hcmp-feature { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem; text-align: center; }
.hcmp-feature-icon { width: 48px; height: 48px; border-radius: 50%; background: #dbeafe; color: #1d4ed8; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1rem; }
.hcmp-feature-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; color: #0f172a; }
.hcmp-feature-text { color: #64748b; font-size: 0.95rem; margin: 0; }
.hcmp-section-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.25rem; color: #0f172a; }

.hcmp-popular { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.hcmp-popular-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem 1.5rem; text-decoration: none; box-shadow: 0 2px 12px rgba(15,23,42,.06); transition: all .2s; }
.hcmp-popular-link:hover { border-color: #2563eb; box-shadow: 0 10px 28px rgba(15,23,42,.1); }
.hcmp-popular-side { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.hcmp-popular-side:last-child { justify-content: flex-end; }
.hcmp-popular-logo { max-height: 32px; max-width: 110px; object-fit: contain; }
.hcmp-popular-name { font-size: 1rem; font-weight: 700; color: #0f172a; }
.hcmp-popular-vs { background: #e2e8f0; color: #475569; font-weight: 800; font-size: 0.75rem; padding: 0.35rem 0.75rem; border-radius: 999px; }
.hcmp-popular-arrow { color: #2563eb; font-size: 1.1rem; }

.hcmp-provider-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.25rem; height: 100%; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hcmp-provider-card:hover { border-color: #2563eb; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,.08); }
.hcmp-provider-logo { max-height: 40px; max-width: 140px; object-fit: contain; margin-bottom: 0.75rem; }
.hcmp-provider-name { font-weight: 700; color: #0f172a; margin-bottom: 0.35rem; }
.hcmp-provider-rating { color: #f59e0b; font-size: 0.9rem; font-weight: 700; }
.hcmp-provider-rating i { color: #f59e0b; }

@media (max-width: 767px) {
    .hcmp-hero-title { font-size: 1.8rem; }
    .hcmp-hero-grid { flex-direction: column; align-items: flex-start; }
    .hcmp-hero-stats { width: 100%; }
    .hcmp-popular-link { flex-wrap: wrap; }
}

/* === Premium Hosting Finder enhancements === */
.hosting-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    border-radius: 0;
    padding: 5rem 0 4.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.hosting-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hosting-hero h1 { color: #fff; font-size: 3.2rem; letter-spacing: -1.2px; }
.hosting-hero .hosting-hero-lead { color: #cbd5e1; font-size: 1.2rem; max-width: 620px; }
.hosting-hero .btn-primary { background: #fff; color: #0f172a; border: none; border-radius: 999px; font-weight: 700; padding: 0.85rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hosting-hero .btn-primary:hover { background: #eff6ff; color: #1d4ed8; }

.hosting-quick-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .25s ease;
}
.hosting-quick-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(15,23,42,0.1); border-color: #2563eb; }
.hosting-quick-card i { width: 56px; height: 56px; border-radius: 14px; background: #eff6ff; color: #2563eb; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; font-size: 1.4rem; }
.hosting-quick-card h6 { font-weight: 700; color: #0f172a; }

.hosting-provider-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.25rem; transition: all .25s ease; }
.hosting-provider-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,0.08); border-color: #2563eb; }
.hosting-provider-logo { width: 56px; height: 56px; border-radius: 10px; }
.hosting-provider-logo-placeholder { width: 56px; height: 56px; border-radius: 10px; }

.hosting-category-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem; transition: all .25s ease; }
.hosting-category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,0.08); border-color: #2563eb; }
.hosting-category-card i { width: 48px; height: 48px; border-radius: 12px; background: #eff6ff; color: #2563eb; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; font-size: 1.3rem; }
.hosting-category-card h5 { font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; }

.hosting-compare-link { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; transition: all .25s ease; }
.hosting-compare-link:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15,23,42,0.08); border-color: #2563eb; }

#finder-wizard { background: #f8fafc; padding: 4rem 0; }
#finder-wizard .card { border: none; border-radius: 20px; box-shadow: 0 10px 40px rgba(15,23,42,0.06); }
.finder-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.9rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-weight: 500;
    transition: all .2s ease;
    margin-bottom: 0.5rem;
    text-align: center;
}
.finder-option:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.finder-option input:checked + span,
.finder-option:has(input:checked) { border-color: #2563eb; background: #eff6ff; color: #0f172a; font-weight: 700; }
.finder-option span { pointer-events: none; }
.finder-option-multi input:checked + span,
.finder-option-multi:has(input:checked) { background: #eff6ff; }

/* ── Custom Multi-Select Dropdown ── */
.hcmp-multiselect { position: relative; }
.hcmp-ms-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: .55rem .75rem; border: 1px solid #dee2e6; border-radius: .375rem;
    background: #fff; cursor: pointer; font-size: .875rem; color: #495057;
    transition: border-color .2s ease;
}
.hcmp-ms-toggle:hover { border-color: #2563eb; }
.hcmp-ms-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcmp-ms-caret { font-size: .75rem; color: #94a3b8; transition: transform .2s ease; }
.hcmp-ms-panel {
    display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    z-index: 1050; background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: .6rem; max-height: 320px; overflow: hidden;
}
.hcmp-ms-panel.show { display: block; }
.hcmp-ms-list { max-height: 240px; overflow-y: auto; }
.hcmp-ms-item {
    display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem;
    border-radius: .25rem; cursor: pointer; font-size: .85rem; color: #334155;
    transition: background .15s ease;
}
.hcmp-ms-item:hover { background: #f1f5f9; }
.hcmp-ms-item input { flex-shrink: 0; }
.hcmp-ms-item:has(input:checked) { background: #eff6ff; color: #1e40af; font-weight: 600; }
.hcmp-ms-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hosting-results { padding: 1rem 0; }
.hosting-results h2,
.hosting-results h3 { color: #0f172a; }
.hosting-results .hosting-top-match {
    background: #fff;
    border: 2px solid #2563eb;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}
.hosting-match-score {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.hosting-match-score-sm {
    background: #eff6ff;
    color: #2563eb;
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    font-size: 0.95rem;
    display: inline-block;
}
.hosting-match-badge {
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}
.hosting-category-winner { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; transition: all .2s ease; }
.hosting-category-winner:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,0.08); border-color: #2563eb; }
.hosting-result-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; transition: all .2s ease; }
.hosting-result-card:hover { box-shadow: 0 12px 32px rgba(15,23,42,0.08); border-color: #2563eb; }
.hosting-result-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; }
.hosting-result-logo-sm { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }

section.bg-light { background: #f1f5f9 !important; padding: 4rem 0; }
section.bg-light i { color: #2563eb; margin-bottom: 1rem; }
section.bg-light h5 { font-weight: 700; color: #0f172a; }

#hostingFaq .accordion-item { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-bottom: 0.75rem; }
#hostingFaq .accordion-button { font-weight: 600; color: #0f172a; }
#hostingFaq .accordion-button:not(.collapsed) { background: #eff6ff; color: #2563eb; }

@media (max-width: 768px) {
    .hosting-hero { padding: 3rem 0; }
    .hosting-hero h1 { font-size: 2rem; }
}

@media (max-width: 991px) {
    .hc-title { font-size: 1.6rem; }
    .hc-sticky { position: static; }
    .hc-sidebar { order: -1; }
    .hc-toc { display: none; }
    .hc-popular { columns: 1; }
}

/* ── Top 5 Popular Hosting Companies ── */
.hcmp-top5-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 1.5rem; position: relative; z-index: 1; box-shadow: 0 2px 12px rgba(15,23,42,0.06); }
.hcmp-top5-card:hover { z-index: 100; box-shadow: 0 10px 28px rgba(15,23,42,0.1); }
.hcmp-top5-badge { position: absolute; top: .75rem; left: .75rem; background: #f97316; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; z-index: 2; }
.hcmp-top5-card:nth-child(2) .hcmp-top5-badge { background: #f97316; }
.hcmp-top5-card:nth-child(3) .hcmp-top5-badge { background: #2563eb; }
.hcmp-top5-card:nth-child(4) .hcmp-top5-badge { background: #16a34a; }
.hcmp-top5-card:nth-child(5) .hcmp-top5-badge { background: #7c3aed; }
.hcmp-top5-card:nth-child(6) .hcmp-top5-badge { background: #dc2626; }
.hcmp-top5-head { display: flex; flex-wrap: nowrap; gap: 2rem; padding: 2.75rem 1.5rem 1.25rem; align-items: center; }
.hcmp-top5-info { flex: 1 1 0; display: flex; gap: 1.5rem; align-items: center; min-width: 0; }
.hcmp-top5-logo { height: 80px; width: auto; max-width: 220px; object-fit: contain; }
.hcmp-top5-name { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.hcmp-top5-features { list-style: none; padding: 0; margin: 0; font-size: .85rem; color: #475569; columns: 1; }
.hcmp-top5-features li { margin-bottom: .5rem; display: flex; align-items: flex-start; gap: .45rem; }
.hcmp-top5-features i { color: #22c55e; font-size: .8rem; margin-top: .15rem; }
.hcmp-top5-rating { position: relative; text-align: left; min-width: 150px; flex: 0 0 160px; }
.hcmp-top5-rating-head { display: flex; align-items: center; justify-content: flex-start; gap: .4rem; margin-bottom: .25rem; }
.hcmp-top5-rating-label { font-size: .85rem; font-weight: 600; color: #64748b; }
.hcmp-top5-score-badge { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: .5rem; padding: .25rem .7rem; font-weight: 800; color: #0f172a; font-size: 1.25rem; display: inline-flex; align-items: center; }
.hcmp-top5-score-badge i { font-size: .95rem; }
.hcmp-top5-stars { color: #f59e0b; font-size: .8rem; white-space: nowrap; margin-bottom: .2rem; }
.hcmp-top5-stars .text-muted { color: #cbd5e1; }
.hcmp-top5-review-link { display: block; color: #2563eb; font-size: .85rem; text-decoration: none; margin: .1rem 0; }
.hcmp-top5-review-link:hover { text-decoration: underline; }

.hcmp-rating-hover { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); z-index: 100; width: 260px; padding: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; box-shadow: 0 12px 40px rgba(15,23,42,0.18); opacity: 0; visibility: hidden; transition: all .25s ease; margin-top: .5rem; pointer-events: none; }
.hcmp-rating-hover::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border-width: 8px; border-style: solid; border-color: transparent transparent #e2e8f0 transparent; }
.hcmp-rating-hover::after { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: -1px; border-width: 8px; border-style: solid; border-color: transparent transparent #fff transparent; }
.hcmp-top5-rating:hover .hcmp-rating-hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.hcmp-rating-hover-score { font-size: 1.8rem; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: .25rem; }
.hcmp-rating-hover-score i { font-size: 1.2rem; }
.hcmp-rating-hover-based { text-align: center; font-size: .85rem; color: #2563eb; margin-bottom: .75rem; }
.hcmp-rating-hover-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.hcmp-rating-hover-list li { display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid #f1f5f9; font-size: .85rem; color: #475569; }
.hcmp-rating-hover-list li:last-child { border-bottom: none; }
.hcmp-rating-hover-list li i { color: #64748b; width: 20px; text-align: center; }
.hcmp-rating-hover-list li strong { color: #0f172a; }
.hcmp-rating-hover .btn { border-radius: .5rem; }
.hcmp-top5-cta { text-align: right; min-width: 200px; flex: 0 0 200px; }
.hcmp-top5-cta .btn { border-radius: 999px; padding: .6rem .75rem; }
.hcmp-top5-price { font-size: 1.8rem; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: .6rem; }
.hcmp-top5-price small { font-size: .9rem; color: #64748b; font-weight: 500; }
.hcmp-top5-coupons { display: inline-flex; align-items: center; color: #0f172a; font-size: .85rem; font-weight: 600; text-decoration: none; margin-top: .25rem; }
.hcmp-top5-coupons:hover { color: #2563eb; text-decoration: underline; }
.hcmp-top5-plans { border-top: 1px solid #e2e8f0; padding: .75rem 1.5rem; background: #f8fafc; }
.hcmp-top5-plans.d-none { display: none !important; }
.hcmp-top5-toggle { text-align: center; padding: .75rem; }
.hcmp-top5-toggle a { color: #64748b; font-weight: 600; text-decoration: none; font-size: .9rem; }
.hcmp-top5-toggle a:hover { color: #2563eb; text-decoration: underline; }
.hcmp-top5-plan-row { display: flex; flex-wrap: wrap; align-items: center; padding: .6rem 0; border-bottom: 1px solid #e2e8f0; gap: .75rem; font-size: .9rem; }
.hcmp-top5-plan-row:last-child { border-bottom: none; }
.hcmp-top5-plan-header { font-weight: 700; font-size: .7rem; color: #64748b; text-transform: uppercase; padding-bottom: .4rem; border-bottom: 1px solid #cbd5e1; }
.hcmp-top5-col-name { flex: 1 1 140px; }
.hcmp-top5-col-name a { color: #2563eb; text-decoration: none; font-weight: 600; }
.hcmp-top5-col-name a:hover { text-decoration: underline; }
.hcmp-top5-col-spec { flex: 0 0 70px; text-align: center; }
.hcmp-top5-col-price { flex: 0 0 80px; text-align: center; font-weight: 700; color: #0f172a; }
.hcmp-top5-col-score { flex: 0 0 70px; text-align: center; font-weight: 600; color: #0f172a; }
.hcmp-top5-col-action { flex: 0 0 115px; text-align: center; }

@media (max-width: 991px) {
    .hcmp-top5-head { flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; padding-top: 2.25rem; }
    .hcmp-top5-info { flex: 1 1 100%; align-items: flex-start; }
    .hcmp-top5-logo { height: 64px; max-width: 180px; }
    .hcmp-top5-rating, .hcmp-top5-cta { flex: 0 0 100%; width: 100%; text-align: left; }
    .hcmp-top5-cta { max-width: 240px; text-align: left; }
    .hcmp-top5-features { columns: 1; }
}
@media (max-width: 767px) {
    .hcmp-top5-head { flex-direction: column; align-items: flex-start; }
    .hcmp-top5-info { flex-direction: column; align-items: flex-start; }
    .hcmp-top5-logo { height: 56px; max-width: 160px; }
    .hcmp-top5-rating, .hcmp-top5-cta { width: 100%; text-align: left; }
    .hcmp-top5-cta { max-width: 240px; }
    .hcmp-top5-features { columns: 1; }
    .hcmp-top5-plan-row:not(.hcmp-top5-plan-header) { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: 1rem 0; }
    .hcmp-top5-col-name { grid-column: 1 / -1; }
    .hcmp-top5-col-action { grid-column: 1 / -1; }
    .hcmp-top5-col-spec { text-align: left; }
}
