/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; }

/* ===== Body ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 20px 20px;
}

/* ===== Header ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto 40px auto; 
    padding: 5px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    height: 36px;
    width: auto;
    display: block;
}
.brand-text {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.brand-yun {
    color: #1a2744;
}
.brand-qio {
    color: #c89b3c;
}
.logo:hover .brand-qio {
    color: #d4a648;
}

.site-header nav { display: flex; gap: 24px; }
.site-header nav a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.site-header nav a:hover { color: #8f6d31; }
.site-header nav a.active { color: #8f6d31; font-weight: 700; }

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 14px;
}

/* ===== Article Contact Section ===== */
.article-contact {
    max-width: 820px;
    margin: 48px auto 0;
    padding: 0 20px;
}
.contact-box {
    background: #faf7ee;
    border: 1px solid #ebdfc2;
    border-radius: 10px;
    padding: 32px 28px;
    text-align: center;
}
.contact-box h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #1a2744;
    margin: 0 0 8px;
}
.contact-box p {
    font-size: 15px;
    color: #6b5a3a;
    margin: 0 0 20px;
}
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.contact-btn.email {
    background: #1a2744;
    color: #fff;
}
.contact-btn.email:hover { background: #c89b3c; }
.contact-btn.about {
    background: #fff;
    color: #1a2744;
    border: 1px solid #d0c8b0;
}
.contact-btn.about:hover { border-color: #c89b3c; color: #c89b3c; }
.site-footer p { margin-bottom: 4px; }
.footer-links a { color: #888; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #c89b3c; }

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}
.social-links a {
    opacity: 0.6;
    transition: opacity 0.2s;
}
.social-links a:hover { opacity: 1; }

/* ===== Footer Newsletter ===== */
.footer-newsletter {
    max-width: 480px;
    margin: 0 auto 24px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}
.newsletter-title {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 6px;
}
.newsletter-subtitle {
    color: #888;
    font-size: 13px;
    margin-bottom: 14px;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #1a1a1a;
}
.newsletter-input:focus {
    border-color: #c9a15d;
}
.newsletter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background: #c9a15d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.newsletter-btn:hover:not(:disabled) {
    background: #b88f4e;
}
.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.newsletter-msg {
    margin-top: 10px;
    font-size: 13px;
    min-height: 16px;
    text-align: center;
}
.newsletter-msg.success {
    color: #2e7d32;
}
.newsletter-msg.error {
    color: #c0392b;
}
@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}

/* ===== Unsubscribe Page ===== */
.unsubscribe-page {
    max-width: 560px;
    margin: 80px auto;
    padding: 40px 24px;
    text-align: center;
}
.unsubscribe-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px 32px;
}
.unsubscribe-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
}
.unsubscribe-card.loading .icon { background: #f0f4ff; color: #1a2744; }
.unsubscribe-card.success .icon { background: #e8f5e9; color: #2e7d32; }
.unsubscribe-card.error .icon { background: #fdecea; color: #c0392b; }
.unsubscribe-card h1 {
    font-family: Georgia, serif;
    font-size: 26px;
    color: #1a2744;
    margin-bottom: 12px;
    font-weight: 700;
}
.unsubscribe-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.unsubscribe-card .back-link {
    display: inline-block;
    padding: 10px 24px;
    background: #c9a15d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.unsubscribe-card .back-link:hover {
    background: #b88f4e;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 10px 20px 10px;
}
.hero h1 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e3a5f;
    position: relative;
    padding-bottom: 5px;
}
.hero h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: #c9a15d;
}
.hero p { font-size: 18px; color: #c9a15d; max-width: 600px; margin: 0 auto; }

/* ===== Category Sections ===== */
.category-section {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #1a2744;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.category-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr auto;
    row-gap: 14px;
    column-gap: 28px;
}

/* Featured Card */
.featured-card { display: contents; }
.featured-thumb {
    display: block;
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
    border-radius: 4px;
}
.featured-thumb img {
    width: 100%;
    height: 348px;
    object-fit: cover;
    display: block;
}
.featured-body {
    grid-column: 1;
    grid-row: 2;
}
.featured-body h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}
.featured-body h3 a {
    color: #1a1a1a;
    text-decoration: none;
}
.featured-body h3 a:hover { color: #c9a15d; }

/* Article List */
.article-list {
    grid-column: 2;
    grid-row: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.item-thumb {
    display: block;
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    overflow: hidden;
    border-radius: 4px;
}

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

.item-body { flex: 1; min-width: 0; }
.item-body h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}
.item-body h4 a {
    color: #1a1a1a;
    text-decoration: none;
}
.item-body h4 a:hover { color: #c9a15d; }

.meta {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.meta time::after {
    content: " · ";
    margin: 0 4px;
}

/* Category More Link */
.category-more {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    color: #1a2744;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.category-more:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .site-header { flex-direction: column; gap: 12px; }
    .category-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .featured-card { display: block; }
    .featured-thumb,
    .featured-body,
    .article-list,
    .category-more {
        grid-column: auto;
        grid-row: auto;
    }
    .featured-thumb img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .category-more {
        justify-self: start;
        align-self: auto;
        margin-top: 16px;
    }
    .featured-body h3 { font-size: 22px; }
    .item-body h4 { font-size: 14px; }
}

/* ===== Categories Page ===== */
.categories-page {
    padding: 20px 0;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}
.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 8px;
}
.breadcrumb a {
    color: #1a2744;
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #bbb;
}

.categories-hero {
    margin-bottom: 40px;
}
main.categories-page > header.categories-hero > h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 40px;
}

.category-card {
    break-inside: avoid;
}
.category-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #1a2744;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.category-card-header h2 { line-height: 1.2; }
.category-card-header a {
    color: #1a2744;
    text-decoration: none;
}
.category-card-header a:hover { color: #c9a15d; }
.category-card-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.subcategory-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subcategory-list a {
    color: #444;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.subcategory-list a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c9a15d;
    flex-shrink: 0;
}
.subcategory-list a:hover {
    color: #1a2744;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    main.categories-page > header.categories-hero > h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    body { padding: 55px 16px 16px; }
    .category-section { padding: 32px 0; }
    .category-header { font-size: 13px; }
    .category-more { justify-self: start; }
    .categories-grid { grid-template-columns: 1fr; }
    main.categories-page > header.categories-hero > h1 { font-size: 24px; }
    .categories-page { padding: 16px 0; }
}

/* ===== Listing Page (Activity Style) ===== */
.listing-page {
    padding: 20px 0;
}

.news-page {
    padding: 20px 0;
}

.newsletter-page {
    padding: 20px 0;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
}
.listing-header h1 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.listing-count {
    font-size: 14px;
    color: #888;
}
.view-all {
    color: #1a2744;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.view-all:hover { text-decoration: underline; }

.listing-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.page-size-label {
    font-size: 14px;
    color: #555;
}
.page-size-select {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
}
.page-size-select:focus {
    outline: none;
    border-color: #1a2744;
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.activity-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.activity-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.activity-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    border: 1px solid #ddd;
    padding: 2px 8px;
    border-radius: 3px;
    width: fit-content;
}
.activity-body h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}
.activity-body h2 a {
    color: #1a1a1a;
    text-decoration: none;
}
.activity-body h2 a:hover {
    color: #1a2744;
    text-decoration: underline;
}
.activity-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.activity-meta .comments {
    color: #1a2744;
    font-weight: 500;
}
.activity-thumb {
    flex-shrink: 0;
    width: 140px;
    height: 94px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}
.activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 16px;
}
.page-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1a2744;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.page-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #1a2744;
}
.page-btn:disabled {
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
}
.page-info {
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    .activity-list { grid-template-columns: 1fr; }
    .listing-header { flex-direction: column; }
    .listing-header h1 { font-size: 32px; }
}

@media (max-width: 480px) {
    .activity-thumb { width: 100px; height: 67px; }
    .activity-body h2 { font-size: 15px; }
    .listing-header h1 { font-size: 28px; }
}

/* ===== Highlight List (Category Overview) ===== */
.highlight-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}
.highlight-thumb {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}
.highlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.highlight-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.highlight-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}
.highlight-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}
.highlight-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    width: fit-content;
}
.badge-new {
    color: #fff;
    background: #22c55e;
}
.badge-early {
    color: #fff;
    background: #1a2744;
}
.highlight-body h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.highlight-body h2 a {
    color: #1a2744;
    text-decoration: none;
}
.highlight-body h2 a:hover {
    text-decoration: underline;
}
.highlight-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.highlight-meta .comments {
    color: #1a2744;
    font-weight: 500;
}

@media (max-width: 768px) {
    .highlight-thumb { width: 140px; height: 94px; }
    .highlight-body h2 { font-size: 16px; }
}

@media (max-width: 480px) {
    .highlight-card { gap: 12px; }
    .highlight-thumb { width: 100px; height: 67px; }
    .highlight-body h2 { font-size: 15px; }
    .highlight-category { font-size: 10px; }
    .highlight-badge { font-size: 9px; }
}

/* ===== Review / Article Page ===== */
.review-page {
    padding: 20px 0;
}

.review-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.review-content {
    min-width: 0;
}

.review-content h1, .review-content h2, .review-content h3, .review-content h4 {
    scroll-margin-top: 80px;
}

.review-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
}

.review-header {
    margin-bottom: 24px;
}

.review-header h1 {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 10px;
}

.review-byline {
    font-size: 14px;
    color: #888;
}

.review-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.review-hero-media {
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    max-height: 420px;
}

.review-hero-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
}

.review-hero-specs dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.review-hero-specs div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.review-hero-specs dt {
    font-size: 14px;
    color: #888;
}

.review-hero-specs dd {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.review-summary {
    margin-bottom: 40px;
}

.review-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
}

.score-value {
    font-size: 28px;
    font-weight: 900;
    color: #1a2744;
}

.score-label {
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}

.review-section {
    margin-bottom: 44px;
}

.review-section h2 {
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    margin-top: 32px;
    margin-bottom: 16px;
}

.review-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2744;
    margin: 24px 0 10px;
}

.review-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}

.review-section ul {
    margin: 0 0 16px 20px;
    line-height: 1.7;
}

.review-section li {
    margin-bottom: 6px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.pros, .cons {
    padding: 20px;
    border-radius: 6px;
}

.pros { background: #f6fbf6; border: 1px solid #d9edd9; }
.cons { background: #fff8f6; border: 1px solid #f5ded8; }

.pros h3, .cons h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}

.pros h3 { color: #2a7a2a; }
.cons h3 { color: #a0452f; }

.pros ul, .cons ul {
    margin: 0 0 0 18px;
    font-size: 15px;
    color: #444;
}

.spec-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.spec-table th,
.spec-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.spec-table th {
    background: #f9f9f9;
    color: #555;
    font-weight: 600;
    width: 45%;
}

.spec-table td {
    color: #1a1a1a;
}

.comparison-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 16px;
}

.comparison-card h3 {
    margin: 0 0 10px;
    color: #1a2744;
}

.comparison-card p {
    margin: 0;
    font-size: 15px;
}

/* Amazon / buy button */
.buy-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 8px;
    max-width: 520px;
}

.buy-card img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.buy-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buy-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.buy-card-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.amazon-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #f47c48;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, transform 0.1s;
}

.amazon-btn:hover {
    background: #e06a36;
    color: #fff;
    transform: translateY(-1px);
}

/* Inline Amazon button (inserted via editor shortcode) */
.amazon-buy-box {
    margin: 24px 0;
}
.amazon-buy-box .amazon-btn {
    width: auto;
    min-width: 200px;
}

/* Sidebar Table of Contents */
.review-sidebar {
    position: sticky;
    top: 80px;
}

.toc-box {
    background: #fff8e7;
    border: 1px solid #f0e4cc;
    border-radius: 6px;
    padding: 20px;
}

.toc-title {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.toc-list {
    list-style: square;
    padding-left: 18px;
    color: #1a2744;
}

.toc-list li {
    margin-bottom: 8px;
    line-height: 1.45;
}
.toc-list li.toc-level-h2 { padding-left: 0; font-size: 15px; }
.toc-list li.toc-level-h1 { font-weight: 700; font-size: 15px; }
.toc-list li.toc-level-h3 { padding-left: 20px; font-size: 13px; color: #666; }
.toc-list li.toc-level-h4 { padding-left: 40px; font-size: 12px; color: #999; }

.toc-list a {
    color: #1a2744;
    text-decoration: none;
    font-size: 15px;
}

.toc-list a:hover {
    color: #c9a15d;
    text-decoration: underline;
}

.toc-list ul {
    list-style: square;
    padding-left: 18px;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .review-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .review-sidebar {
        position: static;
        order: -1;
    }
    .review-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .review-header h1 { font-size: 30px; }
    .score-grid { grid-template-columns: repeat(2, 1fr); }
    .pros-cons { grid-template-columns: 1fr; }
    .buy-card { flex-direction: column; align-items: flex-start; }
}
