/* =========================================================
   pages-graphics.css
   Modern abstract visual layer for index.php and category.php
   Load after the inline <style> blocks.
   CSS-only decoration: no photos, external images or JS.
   ========================================================= */

/* ---------- motion ---------- */
@keyframes pgAuroraDrift {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate3d(14px, -12px, 0) rotate(5deg) scale(1.04); }
    100% { transform: translate3d(-8px, 10px, 0) rotate(-4deg) scale(.98); }
}

@keyframes pgOrbFloat {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -13px, 0); }
}

@keyframes pgSoftReveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pgShimmer {
    0%   { background-position: 150% 0; }
    100% { background-position: -150% 0; }
}

/* ---------- shared page atmosphere ---------- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcf6f1;
    background-image:
        radial-gradient(ellipse at 8% 12%, rgba(240, 182, 111, .105), transparent 31%),
        radial-gradient(ellipse at 92% 46%, rgba(124, 30, 46, .045), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(248,238,231,.18));
    background-attachment: fixed;
}

::selection {
    color: #fff;
    background: #7c1e2e;
}

/* ---------- home hero: layered abstract aurora ---------- */
.quotes-hero {
    isolation: isolate;
    background:
        radial-gradient(ellipse at 78% 24%, rgba(240, 182, 111, .24), transparent 24%),
        radial-gradient(ellipse at 15% 95%, rgba(167, 67, 83, .34), transparent 35%),
        radial-gradient(ellipse at 56% 110%, rgba(240, 160, 77, .12), transparent 38%),
        linear-gradient(128deg, #211316 0%, #421923 48%, #702b3a 100%);
}

.quotes-hero::before,
.quotes-hero::after {
    z-index: -1;
    pointer-events: none;
}

.quotes-hero-inner {
    isolation: isolate;
}

.quotes-hero-inner::before,
.quotes-hero-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.quotes-hero-inner::before {
    width: clamp(230px, 34vw, 440px);
    aspect-ratio: 1;
    top: -34%;
    right: -3%;
    border: 1px solid rgba(255, 226, 188, .22);
    box-shadow:
        0 0 0 22px rgba(255, 226, 188, .035),
        0 0 0 58px rgba(255, 226, 188, .025),
        inset 0 0 70px rgba(240, 182, 111, .08);
    animation: pgAuroraDrift 18s ease-in-out infinite alternate;
}

.quotes-hero-inner::after {
    width: clamp(180px, 25vw, 320px);
    aspect-ratio: 1;
    left: -17%;
    bottom: -54%;
    background:
        radial-gradient(circle, rgba(240, 182, 111, .15) 0 1px, transparent 2px),
        repeating-radial-gradient(circle, transparent 0 17px, rgba(240, 182, 111, .12) 18px 19px, transparent 20px 34px);
    mask-image: radial-gradient(circle, #000 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%);
    animation: pgOrbFloat 12s ease-in-out infinite alternate;
}

.hero-copy {
    animation: pgSoftReveal .8s cubic-bezier(.2,.7,.2,1) both;
}

.hero-label {
    letter-spacing: .22em;
}

.hero-label::after {
    content: "";
    width: 24px;
    height: 1px;
    margin-left: 2px;
    background: currentColor;
    opacity: .7;
}

.quotes-hero h1 em {
    text-shadow: 0 5px 28px rgba(240, 182, 111, .16);
}

.hero-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #7c1e2e, #96384a);
    box-shadow:
        0 9px 25px rgba(12, 4, 6, .2),
        inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.hero-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.2) 48%, transparent 70%);
    background-size: 220% 100%;
    opacity: 0;
    transition: opacity .25s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(12, 4, 6, .25);
}

.hero-cta:hover::after {
    opacity: 1;
    animation: pgShimmer 1.1s ease;
}

.hero-stats strong {
    text-shadow: 0 2px 15px rgba(240,182,111,.18);
}

/* ---------- category hero: abstract halo ---------- */
.category-hero {
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% -5%, rgba(240,182,111,.22), transparent 32%),
        radial-gradient(ellipse at 100% 100%, rgba(153,54,72,.34), transparent 38%),
        linear-gradient(128deg, #211316 0%, #421923 52%, #702b3a 100%);
}

.category-hero-inner {
    isolation: isolate;
}

.category-hero-inner::before,
.category-hero-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.category-hero-inner::before {
    width: clamp(230px, 36vw, 430px);
    aspect-ratio: 1;
    top: -210px;
    right: -10%;
    border: 1px solid rgba(255, 226, 188, .2);
    box-shadow:
        0 0 0 24px rgba(255,226,188,.035),
        0 0 0 58px rgba(255,226,188,.025),
        0 0 0 96px rgba(255,226,188,.018);
    animation: pgAuroraDrift 20s ease-in-out infinite alternate;
}

.category-hero-inner::after {
    width: 230px;
    aspect-ratio: 1;
    left: -15%;
    bottom: -210px;
    background: radial-gradient(circle, rgba(240,182,111,.2), transparent 68%);
    filter: blur(7px);
    animation: pgOrbFloat 11s ease-in-out infinite alternate;
}

.category-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.category-kicker::before,
.category-kicker::after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .72;
}

.category-hero h1 {
    text-shadow: 0 5px 28px rgba(0,0,0,.16);
}

.category-count {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

/* ---------- section headings and separators ---------- */
.section-intro {
    position: relative;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(154,116,84,.65));
}

.section-kicker::after {
    transform: scaleX(-1);
}

.section-title {
    letter-spacing: -.025em;
}

.latest-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(124,30,46,.055), transparent 34%),
        radial-gradient(ellipse at 100% 100%, rgba(240,182,111,.15), transparent 36%),
        linear-gradient(180deg, #fffaf6 0%, #f8eee7 100%);
}

.latest-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -110px;
    width: 300px;
    aspect-ratio: 1;
    border: 1px solid rgba(124,30,46,.06);
    border-radius: 50%;
    box-shadow:
        0 0 0 24px rgba(124,30,46,.018),
        0 0 0 58px rgba(240,182,111,.035);
    pointer-events: none;
}

.latest-inner {
    position: relative;
    z-index: 1;
}

.latest-heading i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #a66c38;
    background: linear-gradient(145deg, #fff3e3, #f6e4d2);
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(124,30,46,.06);
}

/* ---------- quote cards: soft premium surface ---------- */
.quote-card {
    isolation: isolate;
    border: 1px solid rgba(124,30,46,.095);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(240,182,111,.11), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.99), rgba(255,251,247,.97));
    box-shadow:
        0 3px 12px rgba(47,25,19,.035),
        0 14px 34px rgba(47,25,19,.035),
        inset 0 1px 0 rgba(255,255,255,.95);
    transition:
        transform .38s cubic-bezier(.2,.75,.25,1),
        box-shadow .38s ease,
        border-color .38s ease;
}

.quote-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -66px;
    bottom: -82px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(124,30,46,.09);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(240,182,111,.12), transparent 68%);
    box-shadow:
        0 0 0 18px rgba(124,30,46,.018),
        0 0 0 42px rgba(240,182,111,.025);
    pointer-events: none;
    transition: transform .55s cubic-bezier(.2,.75,.25,1), opacity .35s ease;
    opacity: .8;
}

.quote-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,30,46,.16);
    box-shadow:
        0 10px 24px rgba(47,25,19,.055),
        0 22px 48px rgba(47,25,19,.075),
        inset 0 1px 0 rgba(255,255,255,.98);
}

.quote-card:hover::after {
    transform: scale(1.13) translate(-5px, -5px);
    opacity: 1;
}

/* Keep card text and controls above the abstract decoration. */
.quote-card-top,
.quote-card-content,
.quote-card-bottom {
    position: relative;
    z-index: 1;
}

.quote-card-title,
.quote-card h3 {
    letter-spacing: -.015em;
}

.quote-card-bottom {
    border-top-color: rgba(124,30,46,.09);
}

.quote-category {
    color: #865b46;
    background: linear-gradient(135deg, #fff5eb, #f9ece2);
    border-color: rgba(194,138,77,.19);
    letter-spacing: .025em;
}

.quote-read,
.read-quote {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s ease, gap .2s ease;
}

.quote-read:hover,
.read-quote:hover {
    gap: 9px;
}

/* ---------- category sections and toolbar ---------- */
.category-container {
    position: relative;
}

.category-header {
    border-bottom-color: rgba(124,30,46,.12);
}

.category-title-link {
    transition: transform .25s ease;
}

.category-title-link:hover {
    transform: translateX(2px);
}

.category-icon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f9e9e5, #f4e7d9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 12px rgba(124,30,46,.05);
}

.category-icon::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    right: -15px;
    bottom: -18px;
    border: 1px solid rgba(124,30,46,.13);
    border-radius: 50%;
}

.category-view-all,
.view-all {
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.category-view-all:hover,
.view-all:hover {
    transform: translateY(-2px);
    border-color: #7c1e2e;
    box-shadow: 0 5px 14px rgba(124,30,46,.12);
}

.category-toolbar {
    border-bottom-color: rgba(124,30,46,.12);
}

.category-toolbar h2 {
    position: relative;
}

.category-toolbar h2::before {
    content: "";
    width: 4px;
    height: 25px;
    flex: 0 0 4px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f0b66f, #7c1e2e);
    box-shadow: 0 2px 8px rgba(124,30,46,.14);
}

/* ---------- carousel controls ---------- */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    border: 1px solid rgba(255,255,255,.22) !important;
    box-shadow: 0 5px 14px rgba(47,25,19,.13);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(47,25,19,.17);
}

.owl-dot span {
    transition: width .25s ease, background .25s ease;
}

.owl-dot.active span {
    width: 20px !important;
    border-radius: 10px !important;
}

/* ---------- callout: soft abstract panel ---------- */
.bottom-callout {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(124,30,46,.09);
    border-left: 3px solid #d78c79;
    border-radius: 0 20px 20px 0;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(240,182,111,.25), transparent 34%),
        radial-gradient(ellipse at 5% 100%, rgba(124,30,46,.08), transparent 38%),
        linear-gradient(125deg, #fff7eb 0%, #f8e8e7 100%);
    box-shadow: 0 10px 30px rgba(47,25,19,.055);
}

.bottom-callout::before,
.bottom-callout::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.bottom-callout::before {
    width: 210px;
    height: 210px;
    right: -75px;
    top: -115px;
    border: 1px solid rgba(124,30,46,.12);
    box-shadow:
        0 0 0 22px rgba(124,30,46,.025),
        0 0 0 48px rgba(240,182,111,.055);
}

.bottom-callout::after {
    width: 90px;
    height: 90px;
    left: 5%;
    bottom: -65px;
    background: radial-gradient(circle, rgba(240,182,111,.2), transparent 70%);
    filter: blur(3px);
}

/* ---------- empty states and pagination ---------- */
.empty-state {
    box-shadow: 0 8px 24px rgba(47,25,19,.035);
    background: rgba(255,255,255,.78);
}

.pagination .page-link {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pagination .page-item:not(.active) .page-link:hover {
    transform: translateY(-2px);
    background: #fff9f3;
    box-shadow: 0 4px 12px rgba(47,25,19,.07);
}

.pagination .page-item.active .page-link {
    box-shadow: 0 4px 12px rgba(124,30,46,.18);
}

/* ---------- keyboard accessibility ---------- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(194,138,77,.55);
    outline-offset: 3px;
}

/* ---------- responsive refinements ---------- */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .quotes-hero-inner::before {
        width: 250px;
        top: -95px;
        right: -95px;
    }

    .quotes-hero-inner::after {
        width: 220px;
        left: -125px;
        bottom: -145px;
    }

    .category-hero-inner::before {
        width: 280px;
        top: -170px;
        right: -130px;
    }

    .category-hero-inner::after {
        width: 170px;
        left: -105px;
        bottom: -160px;
    }

    .quote-card::after {
        width: 150px;
        height: 150px;
        right: -60px;
        bottom: -70px;
    }

    .quote-card:hover {
        transform: translateY(-3px);
    }

    .bottom-callout::before {
        width: 155px;
        height: 155px;
        right: -75px;
        top: -90px;
    }
}

@media (max-width: 480px) {
    .quotes-hero-inner::before {
        opacity: .7;
    }

    .category-kicker {
        gap: 8px;
        letter-spacing: .15em;
    }

    .category-kicker::before,
    .category-kicker::after {
        width: 14px;
    }

    .quote-card::after {
        opacity: .62;
    }
}

/* ---------- respect reduced-motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   RED / BLACK POSTER ART DIRECTION
   Overrides the circular decorations above with angular,
   editorial poster-style graphics inspired by the quote feed.
   ========================================================= */

@keyframes pgPosterSweep {
    0%   { transform: translate3d(-3%, 0, 0) skewX(-18deg); opacity: .45; }
    50%  { transform: translate3d(3%, -8px, 0) skewX(-18deg); opacity: .8; }
    100% { transform: translate3d(-3%, 0, 0) skewX(-18deg); opacity: .45; }
}

@keyframes pgPosterGlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

@keyframes pgPosterReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Overall page: retain the warm reading surface, with restrained red accents. */
body {
    background-color: #f8f5f2;
    background-image:
        linear-gradient(135deg, rgba(112, 13, 28, .025) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fbf8f5 0%, #f4efeb 100%);
    background-size: 18px 18px, auto;
}

/* Home and category headers: deep black, blood red, and sharp poster geometry. */
.quotes-hero,
.category-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(112deg, transparent 0 48%, rgba(190, 20, 43, .20) 48.2% 62%, transparent 62.2%),
        linear-gradient(155deg, rgba(122, 8, 25, .94) 0%, transparent 48%),
        linear-gradient(120deg, #080809 0%, #171012 48%, #3a0711 100%) !important;
}

.quotes-hero::before,
.quotes-hero::after,
.category-hero::before,
.category-hero::after {
    pointer-events: none;
}

/* Remove the circular header ornaments entirely. */
.quotes-hero-inner::before,
.quotes-hero-inner::after,
.category-hero-inner::before,
.category-hero-inner::after {
    content: none !important;
    display: none !important;
}

/* Angular moving light panels replace the circles. */
.quotes-hero,
.category-hero {
    background-size: 180% 180%;
    animation: pgPosterGlow 18s ease-in-out infinite;
}

.quotes-hero .quotes-hero-inner,
.category-hero .category-hero-inner {
    position: relative;
    z-index: 1;
}

.quotes-hero .quotes-hero-inner::before,
.category-hero .category-hero-inner::before {
    content: "";
    display: block !important;
    position: absolute;
    z-index: -1;
    top: -25%;
    right: 8%;
    width: clamp(90px, 15vw, 210px);
    height: 155%;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 0;
    background: linear-gradient(180deg, transparent, rgba(190, 20, 43, .18), transparent);
    clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
    animation: pgPosterSweep 13s ease-in-out infinite;
}

.quotes-hero .quotes-hero-inner::after,
.category-hero .category-hero-inner::after {
    content: "";
    display: block !important;
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: -40%;
    width: clamp(160px, 25vw, 330px);
    height: 80%;
    border-radius: 0;
    background: linear-gradient(125deg, transparent 10%, rgba(190, 20, 43, .22), transparent 75%);
    clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
    animation: pgPosterSweep 16s ease-in-out infinite reverse;
}

.hero-copy,
.category-hero-inner > * {
    animation: pgPosterReveal .75s cubic-bezier(.2,.7,.2,1) both;
}

.hero-label,
.category-kicker {
    letter-spacing: .2em;
    color: rgba(255,255,255,.78);
}

.hero-label::after {
    background: #d51f3b;
    height: 2px;
    width: 34px;
}

.quotes-hero h1,
.category-hero h1 {
    text-shadow: 0 8px 30px rgba(0,0,0,.38);
}

.quotes-hero h1 em {
    color: #ef334f;
    text-shadow: 0 5px 25px rgba(220, 20, 50, .25);
}

.hero-cta {
    background: linear-gradient(115deg, #a90f2b, #e12643) !important;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 5px 20px rgba(169,15,43,.18);
}

.hero-cta:hover {
    background: linear-gradient(115deg, #c51635, #f02b4a) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.34), 0 7px 24px rgba(169,15,43,.25);
}

.hero-stats strong {
    color: #fff;
}

/* Category count: squared glass label, not a pill/circle. */
.category-count {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 7px;
    background: rgba(0,0,0,.24);
    box-shadow: none;
}

/* Remove circular accents elsewhere in the graphics layer as requested. */
.latest-section::before,
.quote-card::after,
.category-icon::after,
.bottom-callout::before,
.bottom-callout::after {
    content: none !important;
    display: none !important;
}

/* Quote cards: clean editorial poster surface with a red edge detail. */
.quote-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(24, 15, 17, .09);
    border-top: 3px solid #971329;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,245,242,.98));
    box-shadow: 0 5px 18px rgba(18, 8, 10, .045), 0 16px 34px rgba(18, 8, 10, .035);
    transition: transform .32s cubic-bezier(.2,.75,.25,1),
                box-shadow .32s ease, border-color .32s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    border-color: rgba(151,19,41,.24);
    border-top-color: #e12643;
    box-shadow: 0 12px 26px rgba(18,8,10,.08), 0 22px 42px rgba(18,8,10,.06);
}

.quote-card-title,
.quote-card h3 {
    color: #211417;
}

.quote-card-text,
.quote-text {
    color: #51464a;
}

.quote-category {
    color: #8f142c;
    background: #f8e9ec;
    border: 1px solid rgba(143,20,44,.12);
    border-radius: 5px;
}

.quote-card-bottom {
    border-top-color: rgba(30, 15, 19, .09);
}

/* Category icon becomes a compact square editorial marker. */
.category-icon {
    border-radius: 9px !important;
    background: linear-gradient(145deg, #241316, #8f142c) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(80, 8, 22, .14);
}

/* Section surfaces and controls stay subtle so the red hero remains the focus. */
.latest-section {
    background:
        linear-gradient(135deg, rgba(151,19,41,.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fffdfb 0%, #f6f0ec 100%);
    background-size: 22px 22px, auto;
}

.latest-heading i {
    color: #a31530;
    background: #f7e8eb;
    border-radius: 8px;
    box-shadow: none;
}

.section-kicker::before,
.section-kicker::after {
    background: linear-gradient(90deg, transparent, rgba(151,19,41,.55));
}

.category-toolbar h2::before {
    background: linear-gradient(180deg, #e12643, #650b1c);
}

.category-header,
.category-toolbar {
    border-bottom-color: rgba(95, 12, 29, .14);
}

.category-view-all:hover,
.view-all:hover {
    border-color: #a31530;
    box-shadow: 0 5px 14px rgba(151,19,41,.12);
}

/* Bottom callout: sharp red-black panel, no circular ornament. */
.bottom-callout {
    border: 1px solid rgba(151,19,41,.12);
    border-left: 4px solid #a31530;
    border-radius: 0 13px 13px 0;
    background:
        linear-gradient(115deg, rgba(151,19,41,.07), transparent 55%),
        linear-gradient(135deg, #fffaf8, #f5e9e9);
    box-shadow: 0 10px 28px rgba(30,10,14,.05);
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    border-radius: 8px !important;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    background: #94152d !important;
}

.owl-dot.active span {
    background: #a31530 !important;
}

.pagination .page-item.active .page-link {
    background: #94152d;
    border-color: #94152d;
}

a:focus-visible,
button:focus-visible {
    outline-color: rgba(190, 28, 57, .55);
}

/* Mobile: keep the poster geometry cropped cleanly, with no round shapes. */
@media (max-width: 768px) {
    .quotes-hero,
    .category-hero {
        background-position: center;
        animation-duration: 24s;
    }

    .quotes-hero .quotes-hero-inner::before,
    .category-hero .category-hero-inner::before {
        right: -8%;
        width: 115px;
        opacity: .65;
    }

    .quotes-hero .quotes-hero-inner::after,
    .category-hero .category-hero-inner::after {
        right: -8%;
        width: 190px;
        opacity: .65;
    }

    .quote-card:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quotes-hero,
    .category-hero {
        animation: none !important;
    }

    .quotes-hero .quotes-hero-inner::before,
    .quotes-hero .quotes-hero-inner::after,
    .category-hero .category-hero-inner::before,
    .category-hero .category-hero-inner::after,
    .hero-copy,
    .category-hero-inner > * {
        animation: none !important;
    }
}
