/**
 * VietnamSmart - Single Post Layout Ver 2 Stylesheet
 * Medical/Expert Verification Style Layout
 */

:root {
    --color-primary: #0056a9;
    --color-primary-dark: #004080;
    --color-primary-soft: #f0f5ff;
    --color-success: #71ae2c;
    --color-success-soft: #f4faeb;
    --color-accent: #5c7aea;
    --color-danger: #ed0b25;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    --color-warning: #eab308;
    --color-warning-soft: #fef9c3;
    --color-shadow: rgba(0, 86, 169, 0.05);
    --color-shadow-strong: rgba(0, 86, 169, 0.12);
    --font-main: "Inter", sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
}

/* Breadcrumb override */
.breadcrumb {
    padding: 16px 0 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--color-text-muted);
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

.breadcrumb-list i {
    color: var(--color-text-light);
    font-size: 10px;
}

/* General Layout Ver2 */
.post-layout-ver2 {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
    margin-top: 16px;
    margin-bottom: 40px;
}

/* Sticky Left Interaction Bar */
.sticky-left-bar-ver2 {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.interaction-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interaction-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 86, 169, 0.12);
    transform: translateY(-2px);
}

.interaction-btn.active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.interaction-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    border: 2px solid var(--color-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Center Column (Main Content) */
.post-main-ver2 {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px var(--color-shadow);
}

/* Header block info */
.post-header-ver2 {
    margin-bottom: 24px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.post-title-ver2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.35;
    margin-bottom: 16px;
}

.post-meta-ver2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.4;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.post-meta-category {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.post-meta-category:hover {
    color: var(--color-primary-dark);
}

/* Table of Contents - synced with product TOC */
.article-toc {
    display: block;
    width: fit-content;
    max-width: 100%;
    background-color: #f8f9fb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 28px;
    overflow: hidden;
}

.article-toc .pd-toc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    cursor: pointer;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.article-toc .pd-toc-title p {
    margin: 0;
    font-weight: 800;
    color: #18181b;
}

.article-toc .pd-toc-wrapper {
    padding: 10px 14px 12px;
}

.article-toc .pd-toc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-toc .pd-toc-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.article-toc .pd-toc-item::before {
    content: '•';
    flex: 0 0 auto;
    color: var(--color-primary);
    font-weight: 900;
}

.article-toc .pd-toc-item.level-3 {
    padding-left: 18px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
}

.article-toc.toc-h3-collapsed:not(.is-expanded) .pd-toc-item.level-3 {
    display: none;
}

.article-toc.toc-h3-collapsed .pd-toc-title::after {
    content: 'Hiện mục con';
    margin-left: auto;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
}

.article-toc.toc-h3-collapsed.is-expanded .pd-toc-title::after {
    content: 'Ẩn mục con';
}

.article-toc.is-expanded .pd-toc-chevron {
    transform: rotate(180deg);
}

.article-toc .pd-toc-item:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Content elements & Typography */
.article-content-ver2 {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.75;
}

.article-content-ver2 a {
    color: #1d93ff;
}

.article-content-ver2 p {
    margin-bottom: 18px;
}

.article-content-ver2 strong {
    font-weight: 700;
    color: #0f172a;
}

.article-content-ver2 h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-top: 32px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
}

.article-content-ver2 h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-content-ver2 ul,
.article-content-ver2 ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.article-content-ver2 ul {
    list-style: disc;
}

.article-content-ver2 ol {
    list-style: decimal;
}

.article-content-ver2 li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.article-content-ver2 figure {
    margin: 24px 0;
    max-width: 100% !important;
    width: auto !important;
}

.article-content-ver2 img,
.article-content-ver2 figure img,
.article-content-ver2 .wp-caption img {
    max-width: 100%;
    height: auto;
    display: block;
}

.article-content-ver2 .wp-caption,
.article-content-ver2 figure.wp-caption,
.article-content-ver2 .aligncenter {
    max-width: 100% !important;
    width: auto !important;
}

.article-content-ver2 .aligncenter,
.article-content-ver2 figure.aligncenter,
.article-content-ver2 .wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.article-content-ver2 figcaption {
    font-size: 12.5px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.article-content-ver2 table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    margin: 22px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.article-content-ver2 table tbody,
.article-content-ver2 table thead,
.article-content-ver2 table tfoot {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.article-content-ver2 table tr:first-child td,
.article-content-ver2 table thead th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 800;
}

.article-content-ver2 table tr:nth-child(even) td {
    background: #f8fafc;
}

.article-content-ver2 table th,
.article-content-ver2 table td {
    border: 1px solid #e5e7eb;
    padding: 11px 12px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

/* Lists with bold numbers/custom styles */
.numbered-step-list {
    list-style: none !important;
    padding-left: 0 !important;
    counter-reset: step-counter;
}

.numbered-step-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
}

.numbered-step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 16px;
}

/* Banner Zalo Vaccination Register */
.zalo-cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 20px;
    background: linear-gradient(135deg, #e6f2ff 0%, #cce6ff 100%);
    border: 1px solid rgba(0, 86, 169, 0.15);
    border-radius: var(--border-radius-md);
    padding: 22px;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 86, 169, 0.04);
}

.zalo-cta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zalo-cta-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.45;
}

.zalo-cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.zalo-input {
    height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 86, 169, 0.2);
    border-radius: var(--border-radius-sm);
    background: var(--color-bg);
    font-family: inherit;
    font-size: 13px;
    color: var(--color-text);
    outline: none;
    transition: all 0.2s ease;
}

.zalo-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 169, 0.1);
}

.zalo-input-name {
    width: 140px;
    flex-grow: 1;
}

.zalo-phone-group {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 86, 169, 0.2);
    border-radius: var(--border-radius-sm);
    background: var(--color-bg);
    overflow: hidden;
    transition: all 0.2s ease;
    flex-grow: 1.5;
    width: 170px;
}

.zalo-phone-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 169, 0.1);
}

.zalo-phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: var(--color-bg-alt);
    border-right: 1px solid rgba(0, 86, 169, 0.15);
    font-size: 12.5px;
    color: var(--color-text-muted);
    height: 36px;
    font-weight: 600;
}

.zalo-phone-prefix img {
    width: 18px;
    border-radius: 2px;
    box-shadow: none;
}

.zalo-input-phone {
    border: none;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.zalo-submit-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.zalo-submit-btn:hover {
    background: #005ecb;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.2);
}

.zalo-cta-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-box {
    position: relative;
    width: 90px;
    height: 90px;
    background: rgba(0, 86, 169, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-icon {
    font-size: 40px;
    color: #007aff;
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.illustration-tag {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #22c55e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 99px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Callout Box Blue */
.callout-blue {
    background: var(--color-primary-soft);
    border-left: 4px solid var(--color-primary);
    padding: 18px 22px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin: 26px 0;
    font-size: 14.5px;
}

.callout-blue p {
    margin-bottom: 0 !important;
}

/* Article Author Box */
.article-author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 32px 0 0;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.article-author-avatar {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 86, 169, 0.14);
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-author-avatar i {
    font-size: 28px;
}

.article-author-info {
    min-width: 0;
}

.article-author-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.article-author-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.35;
}

.article-author-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 2px;
}

.article-author-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 8px 0 0 !important;
}

.article-author-date {
    display: inline-flex;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 99px;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
}

/* Technical author/reviewer block - synced with single product */
.article-content-ver2 .pd-tech-people {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}

.article-content-ver2 .pd-tech-person {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.article-content-ver2 .pd-tech-avatar {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 58px;
    background: #e8f1fb;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.article-content-ver2 .pd-tech-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content-ver2 .pd-tech-info {
    min-width: 0;
}

.article-content-ver2 .pd-tech-role {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 86, 166, .08);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-content-ver2 .pd-tech-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.article-content-ver2 .pd-tech-name {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    text-decoration: none;
}

.article-content-ver2 a.pd-tech-name:hover {
    color: var(--color-primary);
}

.article-content-ver2 .pd-tech-title {
    margin-top: 0;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.article-content-ver2 .pd-tech-title:before {
    content: '— ';
    color: #94a3b8;
}

.article-content-ver2 .pd-tech-desc {
    margin: 8px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #64748b !important;
}

/* Accordion FAQ Block */
.faq-block {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-bg-alt);
    overflow: hidden;
    margin: 28px 0;
}

.faq-block-title {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: #fff;
    transition: background-color 0.2s ease;
}

.faq-header:hover {
    background-color: var(--color-bg-alt);
}

.faq-question {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    padding-right: 15px;
}

.faq-icon {
    font-size: 12px;
    color: var(--color-text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    background: var(--color-bg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-content {
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item.active .faq-body {
    max-height: 200px;
    opacity: 1;
}

/* Q&A Forum Widget */
.forum-widget {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    background: var(--color-bg-alt);
    margin: 32px 0;
}

.forum-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.forum-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forum-avatar-main {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 86, 169, 0.08);
}

.forum-title-text {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.forum-subtitle-text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.forum-header-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.forum-header-btn:hover {
    background: #005ecb;
}

.forum-category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.forum-category-scroll::-webkit-scrollbar {
    display: none;
}

.forum-cat-chip {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.forum-cat-chip.active {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

.forum-post-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.forum-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    transition: all 0.2s ease;
}

.forum-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.forum-card-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.forum-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.forum-user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
}

.forum-card-meta {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.forum-card-content {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 12px;
}

.forum-card-readmore {
    color: var(--color-primary);
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
}

.forum-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--color-bg-alt);
    padding-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.forum-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forum-action-btn:hover {
    color: var(--color-primary);
}

.forum-action-btn i {
    font-size: 13.5px;
}

.forum-footer-cta {
    margin-top: 20px;
    text-align: center;
}

.forum-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    color: var(--color-primary);
    font-size: 13.5px;
    font-weight: 700;
    background: #fff;
    transition: all 0.2s ease;
}

.forum-cta-btn:hover {
    background: var(--color-primary-soft);
    box-shadow: 0 4px 10px rgba(0, 86, 169, 0.05);
}

/* Diagnostic Quiz Widget */
.quiz-widget {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    background: #fff;
    margin: 32px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.quiz-title {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.quiz-question-box {
    margin-bottom: 20px;
}

.quiz-question-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: var(--color-bg-alt);
}

.quiz-option:hover {
    border-color: var(--color-primary);
    background: #fff;
}

.quiz-option.active {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 600;
}

.quiz-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--color-text-light);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #fff;
}

.quiz-option.active .quiz-radio {
    border-color: var(--color-primary);
}

.quiz-option.active .quiz-radio::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.quiz-option-text {
    font-size: 13.5px;
    line-height: 1.4;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 18px;
}

.quiz-nav-btn {
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quiz-nav-btn-prev {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text-muted);
}

.quiz-nav-btn-prev:hover {
    background: var(--color-bg-alt);
}

.quiz-nav-btn-next {
    background: #007aff;
    color: #fff;
    border: none;
}

.quiz-nav-btn-next:hover {
    background: #005ecb;
}

/* Related Posts */
.related-section-ver2 {
    margin-top: 0;
}

.related-section-title-ver2 {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-list-ver2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-item-ver2 {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-bg);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.related-item-ver2:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.related-thumb-ver2 {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--border-radius-md) - 2px);
    background: var(--color-bg-alt);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.related-thumb-ver2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-title-ver2 {
    display: block;
}

/* Right Sidebar Ver2 */
.right-sidebar-ver2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .post-layout-ver2 {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 20px;
    }

    .right-sidebar-ver2 {
        grid-column: 1 / -1;
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

@media (max-width: 768px) {
    .post-layout-ver2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sticky-left-bar-ver2 {
        flex-direction: row;
        justify-content: space-around;
        position: static;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 10px;
    }

    .post-main-ver2 {
        padding: 20px;
    }

    .post-title-ver2 {
        font-size: 22px;
    }

    .right-sidebar-ver2 {
        grid-template-columns: 1fr;
    }

    .zalo-cta-banner {
        grid-template-columns: 1fr;
    }

    .zalo-cta-illustration {
        display: none;
    }
}

/* WordPress Comment Form Premium UI/UX */
.comment-block {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.comments-area {
    margin-top: 20px;
}

.comment-reply-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-reply-title small a {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-danger);
    background: var(--color-primary-soft);
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.comment-reply-title small a:hover {
    background: var(--color-danger);
    color: #fff;
}

.comment-notes {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.comment-notes .required {
    color: var(--color-danger);
}

.comment-form-textarea {
    margin-bottom: 16px;
}

.comment-form-textarea textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background: #fff;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.comment-form-textarea textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 169, 0.1);
    background: #fff;
}

.comment-fields-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.comment-field-input input {
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 13.5px;
    color: var(--color-text);
    background: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.comment-field-input input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 169, 0.1);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 15px;
    height: 15px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.comment-form-cookies-consent label {
    cursor: pointer;
}

.form-submit {
    display: flex;
    justify-content: flex-start;
}

.comment-submit-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 86, 169, 0.15);
}

.comment-submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 86, 169, 0.25);
}

.comment-submit-btn:active {
    transform: translateY(0);
}

/* Responsive comments form */
@media (max-width: 768px) {
    .comment-fields-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .comment-submit-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}
