/* =========================================================
   Aranyköpések – publikus oldal
   2026-10-12 – váltakozó, bemutatkozás-jellegű idézetkártyák
   ========================================================= */

.golden-quotes-page {
    max-width: 1120px !important;
    padding-top: 1.1rem;
}

.golden-quotes-header {
    max-width: 780px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.golden-quotes-header .page-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.golden-quotes-header .page-title > i {
    color: var(--agi-accent);
    font-size: .82em;
}

.golden-quotes-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .35rem;
}

.golden-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.golden-quote-card {
    position: relative;
    width: min(72%, 790px);
    min-height: 96px;
    display: flex;
    align-items: center;
    padding: 1.55rem 1.7rem 1.5rem 1.95rem;
    overflow: hidden;

    border: 1px solid var(--agi-border);
    border-radius: 22px;
    background: rgba(255,255,255,.88);
    box-shadow: var(--agi-shadow-sm);

    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Pont úgy hullámozzon, mint a bemutatkozás blokkjai. */
.golden-quote-card:nth-child(odd) {
    margin-left: auto;
    margin-right: 0;
}

.golden-quote-card:nth-child(even) {
    margin-left: 0;
    margin-right: auto;
}

.golden-quote-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139,97,71,.23);
    box-shadow: var(--agi-shadow-md);
}

.golden-quote-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--agi-gold), var(--agi-accent));
    opacity: .75;
}

/* Finom nagy idézőjel a háttérben, nem külön ikon-kocka. */
.golden-quote-card::after {
    content: "“";
    position: absolute;
    right: 1.15rem;
    bottom: -2.1rem;
    color: rgba(139,97,71,.055);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 9rem;
    line-height: 1;
    pointer-events: none;
}

.golden-quote-mark {
    display: none !important;
}

.golden-quote-body {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.golden-quote-text {
    margin: 0;
    color: #352c26;
    font-size: 1rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
}


.golden-quote-author {
    margin-top: .75rem;
    color: #74675f;
    font-size: .9rem;
    font-weight: 700;
    text-align: right;
}

.golden-quote-card.quote-font-elegant .golden-quote-text {
    font-family: 'Cormorant Garamond SemiBold', Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.golden-quote-card.quote-font-classic .golden-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
}

.golden-quote-card.quote-font-modern .golden-quote-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
}

.golden-quote-card.quote-font-handwritten .golden-quote-text {
    font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
    font-weight: 600;
}

/* Az adminban kiválasztott háttér továbbra is érvényes. */
.golden-quote-card.quote-bg-cream {
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,239,230,.92));
}

.golden-quote-card.quote-bg-paper {
    background:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
        linear-gradient(145deg, #fffefb 0%, #f7f2e9 100%);
    background-size: 32px 32px, 32px 32px, auto;
}

.golden-quote-card.quote-bg-rose {
    background: linear-gradient(145deg, #fffafa 0%, #f3e3df 100%);
}

.golden-quote-card.quote-bg-sage {
    background: linear-gradient(145deg, #fdfefb 0%, #e5ecdf 100%);
}

.golden-quote-card.quote-bg-dark {
    background: linear-gradient(145deg, #43362f 0%, #241e1a 100%);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 16px 38px rgba(24,18,14,.18);
}

.golden-quote-card.quote-bg-dark::after {
    color: rgba(255,255,255,.045);
}

.golden-quote-card.quote-bg-dark .golden-quote-text,
.golden-quote-card.quote-bg-dark .golden-quote-author {
    color: #fff8f1;
}

/* Világos választott háttér dark módban is világos idézetlap marad. */
html.dark-mode .golden-quote-card:not(.quote-bg-dark) .golden-quote-text {
    color: #352c26;
}

html.dark-mode .golden-quote-card:not(.quote-bg-dark) .golden-quote-author {
    color: #74675f;
}



.golden-quotes-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.2rem 1.5rem;
    border: 1px solid var(--agi-border);
    border-radius: 22px;
    background: var(--agi-surface);
    box-shadow: var(--agi-shadow-sm);
}

.golden-quotes-empty-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--agi-accent-soft);
    color: var(--agi-accent-strong);
    font-size: 1.8rem;
}

.golden-quotes-empty h2 {
    margin-bottom: .45rem;
}

.golden-quotes-empty p {
    margin: 0;
    color: var(--agi-muted);
}

@media (max-width: 991.98px) {
    .golden-quote-card {
        width: min(84%, 760px);
    }
}

@media (max-width: 700px) {
    .golden-quotes-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .golden-quotes-header {
        margin-bottom: 1.5rem;
    }

    .golden-quotes-list {
        gap: .9rem;
    }

    .golden-quote-card,
    .golden-quote-card:nth-child(odd),
    .golden-quote-card:nth-child(even) {
        width: 100%;
        min-height: 88px;
        margin-left: 0;
        margin-right: 0;
        padding: 1.25rem 1.25rem 1.2rem 1.45rem;
        border-radius: 18px;
    }

    .golden-quote-card::after {
        right: .4rem;
        bottom: -1.35rem;
        font-size: 6.5rem;
    }

    .golden-quote-text,
    .golden-quote-card.quote-font-elegant .golden-quote-text {
        font-size: 1rem;
    }
}
