/* HEY VIP Blog / Rehber — colors follow the site palette (navy #12233a, orange #d97706). */
:root {
    --hv-surface: #ffffff;
    --hv-border: #e5e1d8;
    --hv-text: #132035;
    --hv-muted: #64748b;
    --hv-accent: #b45309;
    --hv-accent-soft: #fff7ed;
    --hv-navy: #12233a;
    --hv-like: #e0245e;
    --hv-wa: #25d366;
    --hv-radius: 14px;
}

.hv-blog {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 16px 56px;
    color: var(--hv-text);
}

.hv-blog__head h1 {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", SimSun, serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.hv-blog__head p {
    margin: 0 0 18px;
    color: var(--hv-muted);
}

.hv-blog__empty {
    padding: 32px 0;
    color: var(--hv-muted);
}

/* Category chips: one scrollable row on every screen; blog.js toggles the arrows and edge fades. */
.hv-chips-scroller {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.hv-chips {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.hv-chips::-webkit-scrollbar {
    display: none;
}

.hv-chips-scroller.can-forward .hv-chips {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
    mask-image: linear-gradient(to right, #000 88%, transparent);
}

.hv-chips-scroller.can-back .hv-chips {
    -webkit-mask-image: linear-gradient(to left, #000 88%, transparent);
    mask-image: linear-gradient(to left, #000 88%, transparent);
}

.hv-chips-scroller.can-back.can-forward .hv-chips {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.hv-chips-arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hv-border);
    border-radius: 50%;
    color: var(--hv-text);
    background: var(--hv-surface);
    padding: 0 0 2px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hv-chips-arrow:hover {
    border-color: var(--hv-accent);
    color: var(--hv-accent);
}

.hv-chips-arrow[hidden] {
    display: none;
}

[dir="rtl"] .hv-chips-arrow {
    transform: scaleX(-1);
}

.hv-chip {
    flex: 0 0 auto;
    border: 1px solid var(--hv-border);
    border-radius: 999px;
    color: var(--hv-text);
    background: var(--hv-surface);
    padding: 7px 14px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hv-chip:hover {
    border-color: var(--hv-accent);
}

.hv-chip.is-active {
    border-color: var(--hv-navy);
    color: #ffffff;
    background: var(--hv-navy);
}

/* Side banners: hidden below 1240px; above it they sit next to the 760px content column, grow with
   the free space (up to 340px), stay vertically centred while scrolling and stop above the footer. */
.hv-blog-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.hv-side {
    display: none;
}

@media (min-width: 1240px) {
    .hv-blog-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr);
        gap: 32px;
        max-width: 1680px;
        margin: 0 auto;
        padding: 0 24px 56px;
    }

    /* A viewport-tall sticky box keeps the banner centred on screen; at the end of the article the box
       scrolls away with the content, so the banner never runs into the footer. */
    .hv-side {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: start;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        padding: 24px 0;
    }

    /* Hug the content column instead of drifting to the window edges. */
    .hv-side--left {
        justify-self: end;
        align-items: flex-end;
    }

    .hv-side--right {
        justify-self: start;
        align-items: flex-start;
    }
}

@media (min-width: 1600px) {
    .hv-side {
        max-width: 340px;
    }
}

.hv-ad {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.hv-ad:hover,
.hv-ad:focus-visible {
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.22);
    transform: translateY(-3px);
}

/* Uploaded artwork: the frame wraps the image exactly, so no empty bands around tall banners. */
.hv-ad--image {
    width: fit-content;
    max-width: 100%;
    line-height: 0;
}

.hv-ad__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    border-radius: 18px;
}

.hv-side > .hv-ad__image {
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .hv-ad,
    .hv-ad:hover,
    .hv-ad:focus-visible {
        transform: none;
    }
}

.hv-ad--house {
    width: 100%;
    background: var(--hv-surface);
}

.hv-ad--house img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hv-ad__body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.hv-ad__body strong {
    color: var(--hv-text);
    font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", SimSun, serif;
    font-size: 1.15rem;
    line-height: 1.25;
}

.hv-ad__body > span {
    color: var(--hv-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hv-ad__body em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hv-accent);
    font-style: normal;
    font-weight: 800;
}

.hv-ad--quote {
    background: var(--hv-navy);
}

.hv-ad--quote .hv-ad__body strong {
    color: #ffffff;
}

.hv-ad--quote .hv-ad__body > span {
    color: #c9d1db;
}

.hv-ad--quote .hv-ad__body em {
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #20b979;
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Feed and card */
.hv-feed {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hv-border);
}

.hv-card {
    border-bottom: 1px solid var(--hv-border);
    padding: 22px 0;
}

.hv-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--hv-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hv-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hv-accent);
    text-decoration: none;
}

.hv-card__title {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.hv-card__title a {
    color: inherit;
    text-decoration: none;
}

.hv-card__title a:hover {
    color: var(--hv-accent);
}

.hv-card__media {
    display: block;
}

.hv-card__media img,
.hv-post__cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--hv-radius);
    background: #ece7de;
    object-fit: cover;
}

.hv-card__summary {
    display: -webkit-box;
    margin: 14px 0 0;
    overflow: hidden;
    color: #3c4149;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hv-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.hv-like,
.hv-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    border: 1px solid var(--hv-border);
    border-radius: 999px;
    color: var(--hv-text);
    background: var(--hv-surface);
    padding: 0 14px;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.hv-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--hv-muted);
    font-size: 0.9rem;
}

.hv-card__actions .hv-views {
    height: 40px;
    padding: 0 6px;
}

/* Below the visibility threshold the counter stays in the page (blog.js needs its marker) but is not shown. */
.hv-views[hidden],
.hv-card__dot[hidden] {
    display: none;
}

.hv-views svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.hv-like svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.15s;
}

.hv-share svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hv-share {
    justify-content: center;
    width: 40px;
    padding: 0;
}

.hv-share--wide {
    width: auto;
    padding: 0 14px;
}

.hv-like:hover,
.hv-share:hover {
    border-color: #c9c2b5;
}

.hv-like.is-liked {
    border-color: #f6c3d3;
    color: var(--hv-like);
    background: #fff5f8;
    cursor: default;
}

.hv-like.is-liked svg {
    fill: currentColor;
    transform: scale(1.08);
}

.hv-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
    color: var(--hv-accent);
    font-weight: 800;
    text-decoration: none;
}

.hv-card__more svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.2s;
}

.hv-card.is-open .hv-card__more svg {
    transform: rotate(180deg);
}

.hv-card.is-loading .hv-card__more {
    opacity: 0.55;
    pointer-events: none;
}

/* Expanded body continues the summary. */
.hv-card.is-open .hv-card__summary {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.hv-card__body {
    margin-top: 14px;
    animation: hv-open 0.25s ease-out;
}

.hv-card__body .hv-prose {
    color: #3c4149;
    font-size: 1rem;
    line-height: 1.7;
}

.hv-card__body .hv-prose h2 {
    margin: 1.4em 0 0.4em;
    font-size: 1.2rem;
}

.hv-card__open {
    display: inline-block;
    margin-top: 4px;
    color: var(--hv-accent);
    font-weight: 800;
    text-decoration: none;
}

@keyframes hv-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv-card__body {
        animation: none;
    }
}

.hv-loader {
    display: flex;
    justify-content: center;
    min-height: 40px;
    padding: 24px 0;
}

.hv-loader[hidden],
.hv-pager[hidden] {
    display: none;
}

.hv-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid var(--hv-border);
    border-top-color: var(--hv-accent);
    border-radius: 50%;
    opacity: 0;
}

.hv-loader.is-busy .hv-spinner {
    opacity: 1;
    animation: hv-spin 0.8s linear infinite;
}

@keyframes hv-spin {
    to {
        transform: rotate(360deg);
    }
}

.hv-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    color: var(--hv-muted);
}

.hv-pager a {
    color: var(--hv-accent);
    font-weight: 800;
    text-decoration: none;
}

/* Detail page */
.hv-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--hv-muted);
    font-size: 0.85rem;
}

.hv-crumbs a {
    color: var(--hv-muted);
    text-decoration: none;
}

.hv-crumbs a:hover {
    color: var(--hv-accent);
}

.hv-post__title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", SimSun, serif;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    line-height: 1.2;
}

.hv-post__byline {
    margin: 0 0 6px;
    color: var(--hv-muted);
    font-size: 0.85rem;
}

.hv-post__byline a {
    color: inherit;
    font-weight: 700;
}

.hv-post__lead {
    margin: 10px 0 18px;
    color: #3c4149;
    font-size: 1.12rem;
    line-height: 1.6;
}

.hv-post__cover {
    margin: 0 0 24px;
}

.hv-post__actions {
    margin: 28px 0;
}

.hv-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.hv-prose h2 {
    margin: 1.8em 0 0.5em;
    font-size: 1.45rem;
    line-height: 1.3;
}

.hv-prose h3 {
    margin: 1.5em 0 0.4em;
    font-size: 1.2rem;
}

.hv-prose p {
    margin: 0 0 1em;
}

.hv-prose ul,
.hv-prose ol {
    margin: 0 0 1em;
    padding-inline-start: 1.3em;
}

.hv-prose li {
    margin: 0.3em 0;
}

.hv-prose a {
    color: var(--hv-accent);
}

.hv-prose img {
    max-width: 100%;
    height: auto;
    margin: 0.5em 0;
    border-radius: var(--hv-radius);
}

.hv-prose table {
    display: block;
    width: 100%;
    margin: 0 0 1em;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.hv-prose th,
.hv-prose td {
    border: 1px solid var(--hv-border);
    padding: 8px 10px;
    text-align: start;
}

.hv-prose th {
    background: #f7f3ec;
}

.hv-prose blockquote {
    margin: 0 0 1em;
    border-inline-start: 4px solid var(--hv-accent);
    border-radius: 8px;
    background: var(--hv-accent-soft);
    padding: 10px 16px;
}

/* Priced route after the first paragraph of a post (S9): the post's most relevant route page. */
.hv-top-route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0;
    border: 1px solid var(--hv-border);
    border-inline-start: 4px solid var(--hv-accent);
    border-radius: var(--hv-radius);
    background: var(--hv-accent-soft);
    padding: 14px 16px;
}

.hv-top-route .hv-top-route__link {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: var(--hv-text);
    text-decoration: none;
}

.hv-top-route .hv-top-route__link strong {
    font-size: 1.05rem;
}

.hv-top-route .hv-top-route__link span {
    color: var(--hv-muted);
    font-size: 0.95rem;
}

.hv-top-route .hv-top-route__link:hover strong {
    color: var(--hv-accent);
}

/* .hv-prose a would otherwise recolor the button text. */
.hv-top-route .hv-btn--wa {
    color: #06210f;
}

.hv-cta {
    margin: 32px 0 0;
    border-radius: var(--hv-radius);
    color: #ffffff;
    background: var(--hv-navy);
    padding: 22px;
}

.hv-cta h2 {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.hv-cta p {
    margin: 0 0 16px;
    color: #c9d1db;
    line-height: 1.6;
}

.hv-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--hv-navy);
    padding: 0 18px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.hv-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.hv-btn--wa {
    color: #06210f;
    background: var(--hv-wa);
}

.hv-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: transparent;
}

.hv-related {
    margin-top: 36px;
}

.hv-related h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.hv-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.hv-related__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--hv-text);
    text-decoration: none;
}

.hv-related__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
}

.hv-related__cat {
    color: var(--hv-accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hv-related__item strong {
    line-height: 1.35;
}

/* ---------------- Admin (Blog tab inside the super admin panel) ---------------- */
.hv-admin {
    color: var(--hv-text);
}

.hv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.hv-table th,
.hv-table td {
    border-bottom: 1px solid var(--hv-border);
    padding: 10px 8px;
    text-align: start;
    vertical-align: middle;
}

.hv-table__actions {
    white-space: nowrap;
}

.hv-table__actions button + button {
    margin-inline-start: 12px;
}

.hv-thumb {
    width: 72px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.hv-lang {
    display: inline-block;
    margin-inline-end: 3px;
    border-radius: 4px;
    color: #9aa0a6;
    background: #f1f3f5;
    padding: 2px 6px;
    font-size: 0.72rem;
}

.hv-lang.is-on {
    color: #137333;
    background: #e6f4ea;
    font-weight: 700;
}

/* Blog admin: languages whose meta description is outside the target length. */
.hv-lang.is-meta-off {
    outline: 2px solid #f29900;
    outline-offset: -2px;
}

.hv-meta-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.hv-meta-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.hv-meta-tools .hv-meta-filter {
    margin-bottom: 0;
}

.hv-meta-tools button {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #d97706;
    font-weight: 900;
    cursor: pointer;
}

.hv-meta-tools button:disabled {
    opacity: 0.6;
    cursor: progress;
}

.hv-form .hv-meta-count.is-ok {
    color: #137333;
}

.hv-form .hv-meta-count.is-off {
    color: #b45309;
    font-weight: 700;
}

.hv-link,
.hv-link-danger {
    border: 0;
    color: var(--hv-accent);
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.hv-link-danger {
    color: #c5221f;
}

.hv-form fieldset {
    margin: 0 0 16px;
    border: 1px solid var(--hv-border);
    border-radius: 12px;
    background: #ffffff;
    padding: 16px;
}

.hv-form legend {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 6px;
    font-size: 1rem;
    font-weight: 800;
}

.hv-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    font-weight: 700;
}

.hv-form small {
    color: var(--hv-muted);
    font-weight: 400;
}

.hv-form input:not([type="checkbox"]),
.hv-form select,
.hv-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #cfd3d9;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    font-weight: 400;
}

.hv-form textarea.hv-body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92rem;
    line-height: 1.55;
}

.hv-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
}

.hv-agent-row {
    flex-wrap: nowrap;
    gap: 12px;
}

.hv-agent-row > label {
    margin-bottom: 0;
}

.hv-agent-row > .hv-btn {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .hv-agent-row {
        flex-wrap: wrap;
    }
}

.hv-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hv-form .hv-check {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.hv-cover-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -4px 0 14px;
}

.hv-cover-preview img {
    width: 240px;
    max-width: 50%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
}

.hv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.hv-tab {
    border: 1px solid var(--hv-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 8px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hv-tab.is-active {
    border-color: var(--hv-navy);
    color: #ffffff;
    background: var(--hv-navy);
}

.hv-tab.is-filled:not(.is-active) {
    border-color: #81c995;
}

.hv-body-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    font-weight: 700;
}

.hv-body-head .hv-link {
    margin-inline-start: auto;
}

.hv-preview {
    min-height: 200px;
    margin-bottom: 14px;
    border: 1px dashed #cfd3d9;
    border-radius: 8px;
    padding: 16px;
}

.hv-form .hv-inline-upload {
    margin-top: 10px;
    font-weight: 400;
}

.hv-form details {
    margin-top: 6px;
}

.hv-form summary {
    margin-bottom: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hv-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hv-alert {
    margin-bottom: 14px;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.94rem;
    line-height: 1.55;
}

.hv-alert--err {
    border-color: #f5c2c0;
    border-left-color: #c5221f;
    color: #8c1d18;
    background: #fdf2f1;
}

.hv-alert--ok {
    border-color: #bfe3cb;
    border-left-color: #188038;
    color: #14532d;
    background: #f1f9f4;
}

.hv-btn--danger {
    background: #c5221f;
}

.hv-btn--danger:hover {
    background: #a50e0e;
}

.hv-btn:focus-visible {
    outline: 3px solid rgba(180, 83, 9, 0.35);
    outline-offset: 2px;
}

/* Confirmation dialog used by the blog admin instead of window.confirm. */
.hv-confirm {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
}

.hv-confirm__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    cursor: default;
    animation: hv-confirm-fade 0.15s ease-out;
}

.hv-confirm__dialog {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    width: min(460px, 100%);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    color: var(--hv-text);
    background: var(--hv-surface);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    animation: hv-confirm-rise 0.18s ease-out;
}

.hv-confirm__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--hv-accent);
    background: var(--hv-accent-soft);
    font-size: 1.15rem;
    font-weight: 800;
}

.hv-confirm__dialog--danger .hv-confirm__icon {
    color: #c5221f;
    background: #fdecea;
}

.hv-confirm__body h3 {
    margin: 6px 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
}

.hv-confirm__body p {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--hv-muted);
    line-height: 1.55;
}

.hv-confirm__actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

@keyframes hv-confirm-fade {
    from {
        opacity: 0;
    }
}

@keyframes hv-confirm-rise {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
}

@media (max-width: 520px) {
    .hv-confirm__dialog {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }

    .hv-confirm__actions {
        flex-direction: column-reverse;
    }

    .hv-confirm__actions .hv-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv-confirm__backdrop,
    .hv-confirm__dialog {
        animation: none;
    }
}


.hv-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.hv-btn--light {
    border: 1px solid var(--hv-border);
    color: var(--hv-text);
    background: #ffffff;
}

.hv-translate-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 4px 0 12px;
}

.hv-translate-bar small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hv-muted);
}

.hv-translate-bar .hv-spinner-inline {
    border-color: rgba(15, 23, 42, 0.18);
    border-top-color: var(--hv-accent);
}

.hv-form .hv-grow {
    flex: 1 1 260px;
    margin-bottom: 0;
}

.hv-category__names {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0 12px;
}

.hv-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.hv-banner-preview {
    display: grid;
    place-items: center;
    min-height: 160px;
    margin-bottom: 14px;
    border: 1px dashed #cfd3d9;
    border-radius: 10px;
    color: var(--hv-muted);
    background: #faf8f4;
    padding: 10px;
    text-align: center;
}

.hv-banner-preview img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .hv-card__title {
        font-size: 1.18rem;
    }

    .hv-form input:not([type="checkbox"]),
    .hv-form select,
    .hv-form textarea {
        font-size: 16px;
    }

    .hv-table thead {
        display: none;
    }

    .hv-table,
    .hv-table tbody {
        display: block;
    }

    /* Each post becomes a compact card: title, category, languages, status, date and actions stacked. */
    .hv-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        border-bottom: 1px solid var(--hv-border);
        padding: 12px 0;
    }

    .hv-table td {
        border: 0;
        padding: 0;
    }

    .hv-table td:empty {
        display: none;
    }

    .hv-table .hv-thumb {
        width: 120px;
        height: 68px;
    }

    .hv-table td:nth-child(2) .hv-link {
        font-size: 1rem;
        font-weight: 800;
        text-align: start;
    }

    .hv-table__actions {
        padding-top: 6px;
    }
}

/* Route pages related to the post (internal links to the priced transfer pages). */
.hv-route-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-route-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    background: var(--hv-surface);
    color: var(--hv-text);
    padding: 12px 16px;
    font-weight: 700;
    text-decoration: none;
}

.hv-route-links a::after {
    content: "→";
    color: var(--hv-accent);
}

[dir="rtl"] .hv-route-links a::after {
    content: "←";
}

.hv-route-links a:hover,
.hv-route-links a:focus-visible {
    border-color: var(--hv-accent);
    background: var(--hv-accent-soft);
}

/* Brand YouTube Short: local poster, player loads on click (blog.js). */
.hv-short {
    margin: 1.75rem auto;
    max-width: 300px;
}

.hv-short__play,
.hv-short__frame {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--hv-navy);
    box-shadow: 0 12px 30px rgb(18 35 58 / 18%);
}

.hv-short__play {
    position: relative;
}

.hv-short__play img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hv-short__icon {
    position: absolute;
    inset: 0;
    display: grid;
    width: 68px;
    height: 68px;
    margin: auto;
    border-radius: 50%;
    background: rgb(220 38 38 / 92%);
    place-items: center;
    transition: transform 0.2s ease;
}

.hv-short__icon svg {
    margin-inline-start: 4px;
    fill: #ffffff;
}

.hv-short__play:hover .hv-short__icon,
.hv-short__play:focus-visible .hv-short__icon {
    transform: scale(1.08);
}

.hv-short figcaption {
    margin-top: 0.5rem;
    color: var(--hv-muted);
    font-size: 0.8rem;
    text-align: center;
}
