/* ============================================================
   Taste of Thailand — Article Page Styles
   Shared by all recipe, guide, and review pages.
   ============================================================ */


/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
    background: #1d2124;
    color: #fff;
    padding: 100px 0 30px;
    margin-bottom: 10px;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

/* ── Article Layout ─────────────────────────────────────────── */
.article-content {
    padding-top: 0.5rem;
}

/* ── Headings ───────────────────────────────────────────────── */
.article-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #232d39;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #444;
    margin-top: 4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}
.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #232d39;
    margin-top: 2.75rem;
    margin-bottom: 0.9rem;
    line-height: 1.35;
}
.article-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #232d39;
    margin-top: 1.75rem;
    margin-bottom: 0.6rem;
}

/* ── Body Text ──────────────────────────────────────────────── */
.article-content p {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: #444;
}
.article-content strong {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: #2c2c2c;
}
.article-content em {
    font-family: 'Lora', serif;
    font-style: italic;
    color: inherit;
}

/* ── Links ──────────────────────────────────────────────────── */
.article-content a {
    color: #c0392b;
    text-decoration: underline !important;
}
.article-content a:hover {
    color: #ff0000;
    text-decoration: underline !important;
}
.article-content a.jump-to-recipe,
.article-content a.jump-to-video,
.article-content a[style*="background"] {
    text-decoration: none !important;
}

/* ── Lists ──────────────────────────────────────────────────── */
.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.article-content li {
    margin-bottom: 0.35rem;
}

/* ── Images ─────────────────────────────────────────────────── */
.article-content img {
    max-width: 100%;
    height: auto !important;
    width: auto !important;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    margin: 2rem 0;
    display: block;
}
/* Hero/featured images (full-width, eager-loaded) */
.article-content img.img-fluid {
    width: 100% !important;
}
/* Suppress shadow on very small inline images */
.article-content img[width="200"],
.article-content img[width="100"],
.article-content img[width="50"] {
    box-shadow: none;
}
/* Portrait images - limit width only on large desktop screens */
@media (min-width: 1200px) {
    .article-content img.portrait {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Figures & Captions ─────────────────────────────────────── */
.article-content figure {
    margin: 2rem 0;
}
.article-content figcaption,
.article-content .wp-element-caption {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ── Blockquotes & Pullquotes ───────────────────────────────── */
.article-content blockquote,
.article-content .wp-block-pullquote blockquote {
    border-left: 4px solid #ff0000;
    padding: 0.75rem 1.25rem;
    margin: 2rem 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
    border-radius: 0 6px 6px 0;
}
.article-content .wp-block-pullquote blockquote p {
    margin: 0;
    font-size: 1.1rem;
}
.article-content .wp-block-pullquote {
    margin: 2rem 0;
    padding: 0;
    border: none;
}

/* ── Tables ─────────────────────────────────────────────────── */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.975rem;
}
.article-content th {
    background: #1d2124;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1rem;
    text-align: left;
}
.article-content td {
    padding: 0.6rem 1rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}
.article-content tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.article-content tbody tr:hover {
    background: #f0f0f0;
}

/* ── FAQ Section ────────────────────────────────────────────── */
.faq-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.faq-card h3 {
    font-size: 1.05rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.65rem !important;
    color: #c0392b;
    font-weight: 700;
    line-height: 1.4;
}
.faq-card p {
    margin-bottom: 0;
}

/* ── Quick Answer / Info Boxes ──────────────────────────────── */
.quick-answer,
.article-content [style*="background:#fff3cd"],
.article-content [style*="background: #fff3cd"] {
    background: #fff3cd;
    border-left: 4px solid #f0a500;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}
.quick-answer h2 {
    margin-top: 0 !important;
    font-size: 1.05rem;
    color: #232d39;
}
/* Recipe card headings: prevent article h2/h3 margin from breaking card layout */
.recipe-card h2,
.wprm-recipe-container h2 {
    margin-top: 0.75rem !important;
    font-size: 1.05rem;
}

/* ── Jump to Recipe / Video buttons ─────────────────────────── */
.jump-to-recipe,
.jump-to-video {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 0.03em;
    margin-bottom: 0 !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.jump-to-recipe svg,
.jump-to-video svg {
    margin-right: 0.5em;
    vertical-align: -0.1em;
}
p:has(.jump-to-recipe),
p:has(.jump-to-video) {
    margin-bottom: 20px;
}
.jump-to-recipe {
    background: #c0392b;
    box-shadow: 0 3px 10px rgba(192, 57, 43, 0.45);
    margin-right: 1rem;
}
.jump-to-recipe:hover {
    background: #a93226;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 5px 16px rgba(192, 57, 43, 0.5);
    transform: translateY(-1px);
}
.jump-to-video {
    background: #0066cc;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.45);
}
.jump-to-video:hover {
    background: #004fa3;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 5px 16px rgba(0, 102, 204, 0.5);
    transform: translateY(-1px);
}

/* ── Share Bar ──────────────────────────────────────────────── */
.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 2rem auto 1rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    background: #f9f9f9;
}
.share-label {
    font-weight: 700;
    font-size: 1rem;
    color: #444;
    margin-right: 4px;
    white-space: nowrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
    will-change: transform;
}
.share-btn:hover {
    transform: translateY(-3px);
    opacity: 1;
}
.share-x         { background: #1a1a1a; }
.share-x:hover   { box-shadow: 0 6px 18px rgba(26,26,26,0.4); }
.share-facebook  { background: #1877f2; }
.share-facebook:hover { box-shadow: 0 6px 18px rgba(24,119,242,0.45); }
.share-pinterest { background: #e60023; }
.share-pinterest:hover { box-shadow: 0 6px 18px rgba(230,0,35,0.4); }
.share-whatsapp  { background: #25d366; }
.share-whatsapp:hover  { box-shadow: 0 6px 18px rgba(37,211,102,0.45); }
@media (max-width: 767px) {
    .share-bar { gap: 5px; padding: 0.6rem 0.75rem; }
    .share-label { font-size: 0.75rem; }
    .share-btn { padding: 0.55rem; font-size: 0; border-radius: 50%; }
    .share-btn svg { width: 1.25rem; height: 1.25rem; margin-right: 0 !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .share-bar { gap: 8px; padding: 0.875rem 1rem; }
    .share-label { font-size: 0.875rem; }
    .share-btn { padding: 0.75rem; font-size: 0; border-radius: 50%; }
    .share-btn svg { width: 1.5rem; height: 1.5rem; margin-right: 0 !important; }
}

/* ── Whitespace Utilities ───────────────────────────────────── */
.spacer-sm {
    height: 20px;
}
.spacer-md {
    height: 40px;
}
.spacer-lg {
    height: 60px;
}
.spacer-responsive {
    height: 1.5rem;
}
@media (min-width: 768px) {
    .spacer-responsive { height: 2.5rem; }
}
@media (min-width: 992px) {
    .spacer-responsive { height: 4rem; }
}

/* ── Page-Level Section Rhythm ──────────────────────────────── */
/* Major page bands need clearly more air than the 3.5rem above
   in-article h2s, or the boundaries stop reading as boundaries. */
.article-main {
    padding-bottom: 90px;
}
.related-articles {
    padding: 70px 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.author-bio-section {
    padding: 70px 0 80px;
}
@media (max-width: 767px) {
    .article-main    { padding-bottom: 50px; }
    .related-articles { padding: 40px 0; }
    .author-bio-section { padding: 40px 0 50px; }
}

/* ── Related Article Cards ──────────────────────────────────── */
.post-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.post-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Recipe / Video Embeds ──────────────────────────────────── */
.article-content .ratio {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}
.article-content .ratio::before {
    display: block;
    content: "";
}
.article-content .ratio-16x9::before {
    padding-top: 56.25%;
}
.article-content .ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── Recipe Card (WPRM + .recipe-card) ──────────────────────── */

/* Container */
.wprm-recipe-container {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    background: #f9f9f9;
    overflow: hidden;
    clear: both;
}
.wprm-container-float-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    text-align: center;
    max-width: 160px;
}
.wprm-container-float-right img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: 0 0 0.5rem;
    width: 100% !important;
    height: auto !important;
}

/* Recipe name + summary */
.wprm-recipe-name {
    font-size: 1.5rem !important;
    color: #1d2124 !important;
    margin-top: 0 !important;
    margin-bottom: 0.4rem !important;
}
.wprm-recipe-summary {
    color: #555;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Times bar */
.wprm-recipe-times-container {
    display: flex !important;
    background: #1d2124;
    color: #fff;
    border-radius: 8px;
    padding: 0 !important;
    border: none !important;
    margin: 1rem 0 !important;
    overflow: hidden;
}
.wprm-recipe-block-container-table {
    flex: 1;
    text-align: center;
    border: none !important;
    border-right: 1px solid rgba(255,255,255,0.15) !important;
    padding: 0.6rem 0.5rem !important;
}
.wprm-recipe-block-container-table:last-child {
    border-right: none !important;
}
.wprm-recipe-time-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 0.15rem;
}
.wprm-recipe-time {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
}
.wprm-recipe-details-unit { font-size: 0.85rem; }

/* Tags row: course, cuisine, servings, calories, author */
.wprm-recipe-tags-container,
.wprm-recipe-servings-container,
.wprm-recipe-nutrition-container,
.wprm-recipe-author-container {
    font-size: 0.85rem;
    color: #555;
    margin: 0.2rem 0;
}
.wprm-recipe-details-label { color: #888; }

/* Section headers: Ingredients / Instructions / Notes / Equipment */
.wprm-recipe-header {
    font-size: 1.05rem !important;
    margin-top: 1.4rem !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 2px solid #c0392b;
}

/* Ingredients */
.wprm-recipe-ingredients {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}
.wprm-recipe-ingredient {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    list-style-type: none !important;
}
.wprm-recipe-ingredient:last-child { border-bottom: none; }
.wprm-recipe-ingredient-amount {
    font-weight: 700;
    color: #1d2124;
}
.wprm-recipe-ingredient-unit { color: #555; }
.wprm-recipe-ingredient-notes {
    font-size: 0.82rem;
    color: #888;
    display: block;
}

/* Equipment */
.wprm-recipe-equipment {
    list-style: none !important;
    padding-left: 0 !important;
    font-size: 0.9rem;
}
.wprm-recipe-equipment-item { padding: 0.2rem 0; list-style-type: none !important; }

/* Instructions */
.wprm-recipe-instructions {
    padding-left: 1.4rem !important;
    margin-bottom: 0 !important;
}
.wprm-recipe-instruction {
    margin-bottom: 0.65rem !important;
    list-style-type: decimal !important;
}
.wprm-recipe-instruction-text { line-height: 1.65; }

/* Notes */
.wprm-recipe-notes { font-size: 0.9rem; color: #555; }
.wprm-recipe-notes ol,
.wprm-recipe-notes ul { padding-left: 1.4rem; margin-bottom: 0; }
.wprm-recipe-notes li { margin-bottom: 0.4rem; }

/* Print button */
.wprm-recipe-print {
    display: inline-block !important;
    font-size: 0.8rem !important;
    padding: 5px 10px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    color: #555 !important;
    background: #fff !important;
    text-decoration: none !important;
}
.wprm-recipe-print:hover {
    background: #f8f9fa !important;
    color: #333 !important;
    text-decoration: none !important;
}

/* ── .recipe-card (non-WPRM pages) ─────────────────────────── */
.recipe-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    background: #f9f9f9;
}
.recipe-card .recipe-times {
    display: flex;
    background: #1d2124;
    border-radius: 8px;
    margin: 0.75rem 0 1rem;
    overflow: hidden;
}
.recipe-card .recipe-time-block {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.recipe-card .recipe-time-block:last-child { border-right: none; }
.recipe-card .recipe-time-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6);
}
.recipe-card .recipe-time-value {
    font-size: 1rem;
    font-weight: 700;
}
.recipe-card h3 {
    font-size: 1.05rem !important;
    margin-top: 1.4rem !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #c0392b;
}
.recipe-card > h3:first-of-type { margin-top: 0.5rem !important; }
.recipe-card ul {
    list-style: none !important;
    padding-left: 0 !important;
}
.recipe-card ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}
.recipe-card ul li:last-child { border-bottom: none; }
.recipe-card ol { padding-left: 1.4rem !important; }
.recipe-card ol li { margin-bottom: 0.65rem; }

/* ── Print ──────────────────────────────────────────────────── */
@media print {
    .header-area,
    footer,
    .d-flex.gap-2,
    .js-preloader,
    .post-card { display: none !important; }
    .article-content { font-size: 12pt; color: #000; }
    .page-hero { padding: 20px 0; }
    a { color: inherit; text-decoration: none; }
    .article-content img { box-shadow: none; }
    .wprm-recipe-container,
    .recipe-card { background: #fff; border: 1px solid #ccc; }
    .wprm-recipe-times-container,
    .recipe-card .recipe-times {
        background: #1d2124 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .page-hero { padding: 80px 0 32px; }
    .article-main { padding-bottom: 64px; }
    .related-articles { padding: 48px 0; }
    .author-bio-section { padding: 48px 0 56px; }
    .article-content h2 { font-size: 1.35rem; margin-top: 2.5rem; }
    .article-content h3 { font-size: 1.15rem; }
    .article-content table { font-size: 0.875rem; }
    .article-content th,
    .article-content td { padding: 0.5rem 0.6rem; }
    /* Portrait images full-width on mobile */
    .article-content img.portrait {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
@media (max-width: 575px) {
    .jump-to-recipe {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ── Dessert Gallery Grid ───────────────────────────────────── */
.dessert-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    margin: 1.75rem 0 0.5rem;
}
.dessert-gallery-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    text-decoration: none !important;
}
.dessert-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    display: block;
    transition: transform 0.35s ease;
}
.dessert-gallery-item:hover img {
    transform: scale(1.06);
}
.dessert-gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 1.5rem 0.35rem 0.4rem;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .dessert-gallery {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.35rem;
    }
    .dessert-gallery-item span {
        font-size: 0.48rem;
        padding: 1rem 0.2rem 0.3rem;
    }
}
@media (max-width: 480px) {
    .dessert-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .dessert-gallery-item span {
        font-size: 0.65rem;
        padding: 2rem 0.5rem 0.5rem;
    }
}

/* ── Image Pairs (side-by-side on large screens) ────────────── */
.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 991px) {
    .image-pair {
        grid-template-columns: 1fr;
    }
}
.image-pair img {
    width: 100% !important;
}

.divider-gradient {
    height: 2px;
    background: linear-gradient(to right, transparent, #dee2e6 30%, #dee2e6 70%, transparent);
    margin: 50px 0 120px;
    border: none;
}

/* ── Visual Step Grid ───────────────────────────────────────── */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.step-grid figure {
    margin: 0 !important;
    position: relative;
}
.step-grid .step-num {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.6;
    pointer-events: none;
}
.step-grid img {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 6px;
    display: block;
}
@media (max-width: 575px) {
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Quiz CTA ─────────────────────────────────────────────── */
.quiz-cta {
    background: #FFF4ED;
    border: 2px dashed #D85A30;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    transition: transform 0.2s ease, border-color 0.2s ease;
    margin: 128px 0;
    position: relative;
}
.quiz-cta::before,
.quiz-cta::after {
    position: absolute;
    right: -20px;
    font-size: 48px;
    color: #D85A30;
    line-height: 1;
    letter-spacing: 12px;
    white-space: nowrap;
}
.quiz-cta::before {
    content: '⬇⬇⬇⬇';
    top: -72px;
    animation: quizArrowDown 0.7s ease-in-out infinite alternate;
}
.quiz-cta::after {
    content: '⬆⬆⬆⬆';
    bottom: -72px;
    animation: quizArrowUp 0.7s ease-in-out infinite alternate;
}
@keyframes quizArrowDown {
    from { transform: translateX(-50%) translateY(0); }
    to   { transform: translateX(-50%) translateY(8px); }
}
@keyframes quizArrowUp {
    from { transform: translateX(-50%) translateY(0); }
    to   { transform: translateX(-50%) translateY(-8px); }
}
.quiz-cta:hover { transform: scale(1.015); }
.quiz-cta-content { display: flex; align-items: center; gap: 16px; }
.quiz-cta-icon {
    font-size: 80px;
    animation: bowlBounce 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes bowlBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-8px) rotate(6deg); }
}
.quiz-cta .quiz-cta-title {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 2px;
    color: #2c2c2a;
}
.quiz-cta .quiz-cta-subtitle { font-size: 22px; color: #6b5d54; margin: 0; }
.quiz-cta .quiz-cta-btn {
    background: #D85A30;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 24px 48px;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}
.quiz-cta .quiz-cta-btn:hover { color: #fff; transform: scale(1.06) rotate(-1deg); }
@media (max-width: 480px) {
    .quiz-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 20px; }
    .quiz-cta-content { flex-direction: column; text-align: center; }
    .quiz-cta .quiz-cta-title { font-size: 26px; }
    .quiz-cta .quiz-cta-btn { width: 100%; margin-top: 4px; }
}
@media (min-width: 768px) {
    .img-half { max-width: 50%; margin-left: auto; margin-right: auto; }
    .img-70 { max-width: 70%; margin-left: auto; margin-right: auto; }
}
.subscribe-jiggle { animation: subscribeWiggle 2.5s ease-in-out infinite; }
@keyframes subscribeWiggle {
    0%,100% { transform: rotate(0deg); }
    15%     { transform: rotate(-4deg); }
    30%     { transform: rotate(4deg); }
    45%     { transform: rotate(-3deg); }
    60%     { transform: rotate(3deg); }
    75%     { transform: rotate(-1deg); }
}
