.reader-art-home-section {
    position: relative;
    overflow: hidden;
    padding: 64px 20px;
    background:
        linear-gradient(rgba(242,224,179,.9), rgba(222,195,142,.92)),
        url("../images/parchment.png");
    background-size: cover;
    border-top: 1px solid rgba(116,76,31,.28);
    border-bottom: 1px solid rgba(116,76,31,.28);
}

.reader-art-home-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.reader-art-home-heading {
    margin-bottom: 26px;
    text-align: center;
}

.reader-art-home-heading p {
    max-width: 760px;
    margin: 8px auto 0;
    color: #69471f;
    font-size: 18px;
    line-height: 1.55;
}

.reader-art-home-submit {
    max-width: 920px;
    margin: 22px auto 0;
    color: #69471f;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

.reader-art-home-submit span {
    margin-right: 7px;
    color: #b77d21;
    text-shadow: 0 0 10px rgba(183,125,33,.18);
}

.reader-art-home-entry {
    max-width: 920px;
    margin: 24px auto 0;
    text-align: center;
}

.reader-art-home-entry p {
    margin: 0;
    color: #69471f;
    font-size: 18px;
    line-height: 1.55;
}

.reader-art-home-entry p span {
    margin-right: 7px;
    color: #b77d21;
    text-shadow: 0 0 10px rgba(183,125,33,.18);
}

.reader-art-home-entry__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.reader-art-home-entry__actions a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 19px;
    color: #4e3218;
    background: rgba(255,249,225,.48);
    border: 1px solid rgba(139,91,30,.55);
    border-radius: 999px;
    font-family: var(--title-font);
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.reader-art-home-entry__actions a.is-primary {
    color: #fff0ad;
    background: linear-gradient(145deg, #172840, #203754);
    border-color: #b9852f;
    box-shadow: 0 8px 18px rgba(45,30,14,.16);
}

.reader-art-home-entry__actions a:hover,
.reader-art-home-entry__actions a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(45,30,14,.18);
}

.reader-art-home-entry__actions a:focus-visible {
    outline: 3px solid rgba(183,125,33,.5);
    outline-offset: 3px;
}

.reader-art-home-kicker {
    margin: 0;
    color: #9a661d;
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.reader-art-home-heading h2 {
    margin: 5px 0 0;
    color: #4e3218;
    font-family: var(--title-font);
}

.reader-art-home-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
    overflow: hidden;
    border: 2px solid #c99d50;
    border-radius: 18px;
    background: linear-gradient(145deg, #101827, #182438);
    box-shadow: 0 18px 38px rgba(45,30,14,.2);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.reader-art-home-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .22;
    background-image:
        radial-gradient(circle, rgba(255,232,151,.85) 0 1.3px, transparent 2px),
        radial-gradient(circle, rgba(244,212,124,.55) 0 .9px, transparent 1.6px);
    background-size: 260px 210px, 360px 290px;
    background-position: 35px 90px, 165px 30px;
    animation: readerArtParticles 24s linear infinite;
    mask-image: linear-gradient(90deg, transparent 22%, #000 48%, #000 100%);
}

.reader-art-home-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 28%, rgba(244,212,124,.13) 50%, transparent 72%);
    transform: translateX(-125%);
    transition: transform .85s ease;
}

.reader-art-home-card:hover,
.reader-art-home-card:focus-within {
    transform: translateY(-4px);
    border-color: #e4bf61;
    box-shadow: 0 24px 46px rgba(45,30,14,.27), 0 0 24px rgba(198,156,74,.08);
}

.reader-art-home-card:hover::after,
.reader-art-home-card:focus-within::after {
    transform: translateX(125%);
}

.reader-art-home-card > * {
    position: relative;
    z-index: 2;
}

.reader-art-home-media {
    min-height: 360px;
    padding: 18px;
    background: rgba(6,10,17,.65);
}

.reader-art-home-media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform .42s ease;
}

.reader-art-home-card:hover .reader-art-home-media img,
.reader-art-home-card:focus-within .reader-art-home-media img {
    transform: scale(1.018);
}

.reader-art-home-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 52px);
    color: #f7edd1;
}

.reader-art-home-copy .reader-art-home-kicker {
    color: #f4d47c;
}

.reader-art-home-copy h3 {
    margin: 8px 0 12px;
    color: #fff0ad;
    font-family: var(--title-font);
    font-size: clamp(26px, 3.4vw, 38px);
}

.reader-art-home-copy p {
    margin: 0 0 12px;
    color: rgba(255,248,226,.84);
    line-height: 1.55;
}

.reader-art-home-meta {
    color: rgba(255,244,205,.7) !important;
    font-size: 14px;
}

.reader-art-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.reader-art-home-actions a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    overflow: hidden;
    padding: 10px 19px;
    border: 1px solid #d9ad4d;
    border-radius: 999px;
    color: #fff0ad;
    text-decoration: none;
    font-family: var(--title-font);
    font-weight: 700;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.reader-art-home-actions a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.42) 50%, transparent 70%);
    transform: translateX(-125%);
    transition: transform .6s ease;
}

.reader-art-home-actions a:first-child {
    background: #d9ad4d;
    color: #281d0a;
}

.reader-art-home-actions a:hover,
.reader-art-home-actions a:focus-visible {
    transform: translateY(-2px);
    border-color: #f4d47c;
    box-shadow: 0 9px 20px rgba(0,0,0,.22);
}

.reader-art-home-actions a:hover::after,
.reader-art-home-actions a:focus-visible::after {
    transform: translateX(125%);
}

.reader-art-home-actions a:focus-visible {
    outline: 3px solid rgba(244,212,124,.8);
    outline-offset: 4px;
}

.reader-art-home-empty {
    padding: 28px;
    border: 1px solid rgba(116,76,31,.34);
    border-radius: 14px;
    background: rgba(255,249,225,.65);
    color: #654521;
    text-align: center;
}

.reader-art-home-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 320px;
    padding: 14px;
    background: rgba(6,10,17,.65);
}

.reader-art-home-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .42s ease;
}

.reader-art-home-card:hover .reader-art-home-preview-grid img,
.reader-art-home-card:focus-within .reader-art-home-preview-grid img {
    transform: scale(1.015);
}

@keyframes readerArtParticles {
    0% { background-position: 35px 250px, 165px 310px; }
    45% { background-position: 52px 55px, 140px 120px; }
    100% { background-position: 28px -180px, 178px -250px; }
}

@media (max-width: 760px) {
    .reader-art-home-section { padding: 48px 14px; }
    .reader-art-home-card { grid-template-columns: 1fr; }
    .reader-art-home-media { min-height: 300px; }
    .reader-art-home-preview-grid { min-height: 250px; }
    .reader-art-home-card::before { mask-image: none; opacity: .16; }
    .reader-art-home-submit,
    .reader-art-home-entry p { font-size: 17px; }
    .reader-art-home-entry__actions { flex-direction: column; }
    .reader-art-home-entry__actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .reader-art-home-card,
    .reader-art-home-card::after,
    .reader-art-home-card::before,
    .reader-art-home-media img,
    .reader-art-home-preview-grid img,
    .reader-art-home-actions a,
    .reader-art-home-actions a::after,
    .reader-art-home-entry__actions a {
        animation: none;
        transition: none;
    }
}
