/* Remitian Penalty Dodge — Breeze microsite theme
   Matches the booth widget, screen background and print: ink #1a1a1a, Remitian orange #ff3c00,
   a high-contrast serif for headings and a clean sans for everything else.
   No hosted assets needed: the glow, dot grid and orange stripe footer are drawn in CSS.
   Upload the Remitian logo (white wordmark version) through the event's normal logo setting. */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Inter:wght@400;500;600&display=swap');

:root {
    --rm-ink: #1a1a1a;
    --rm-ink-2: #232323;
    --rm-orange: #ff3c00;
    --rm-paper: #ffffff;
    --rm-muted: rgba(255, 255, 255, .62);
    --rm-line: rgba(255, 255, 255, .14);
    --rm-serif: 'IvyOra Display', 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    --rm-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Page: ink ground, orange glow behind the header, faint dot grid ---------- */
html body {
    background-color: var(--rm-ink) !important;
    background-image:
        radial-gradient(70% 420px at 50% 0, rgba(255, 60, 0, .30) 0%, rgba(255, 60, 0, 0) 100%),
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.3px) !important;
    background-size: auto, 22px 22px !important;
    background-repeat: no-repeat, repeat !important;
    background-attachment: scroll, fixed !important;
    color: var(--rm-paper) !important;
    font-family: var(--rm-sans) !important;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

body .session-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Header: logo, title, short orange rule ---------- */
body .header {
    width: 100%;
    text-align: center;
    padding: 32px 20px 0;
    box-sizing: border-box;
    background: transparent !important;
}

body .gallery-header {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .logo-wrapper img,
body .event-logo {
    max-height: 64px !important;
    max-width: 60vw;
    height: auto;
    width: auto;
}

body .event-title h1,
body .event-title h1 a,
body .event-title h2,
body .event-title a {
    color: var(--rm-paper) !important;
    margin: 0;
    text-decoration: none;
}

/* "Penalty Dodge" — big serif, like the intro screen */
body .event-title h1,
body .event-title h1 a {
    font-family: var(--rm-serif) !important;
    font-weight: 400 !important;
    font-size: 44px !important;
    line-height: 1.02;
    letter-spacing: .005em;
}
body .event-title h1 { margin-top: 18px; }

/* subtitle / date — small tracked caps, like the kicker labels */
body .event-title h2 {
    font-family: var(--rm-sans) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--rm-muted) !important;
    margin-top: 12px;
    padding-left: .3em; /* optically re-centre tracked caps */
}

body .event-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--rm-orange);
    margin: 22px auto 26px;
}

/* ---------- Photo / video cards ---------- */
body .card {
    width: calc(100% - 40px);
    max-width: 520px;
    margin: 0 auto 28px;
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid var(--rm-line) !important;
    border-radius: 20px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

body .card-body figure {
    margin: 0;
}

body .card-body img.preview,
body .card-body video,
body .card-body .plyr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

body .plyr {
    --plyr-color-main: var(--rm-orange);
}

/* ---------- Share + download row ---------- */
body .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px 4px;
    background: transparent !important;
    border: 0 !important;
}

body .social-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

body .card-footer .button,
body .fa-pinterest,
body .fa-linkedin,
body .fa-facebook-f,
body .fa-x-twitter,
body .fa-copy,
body .fa-arrow-up-from-bracket {
    color: var(--rm-muted) !important;
    cursor: pointer;
    transition: color .15s ease;
}

body .card-footer .button:hover {
    color: var(--rm-paper) !important;
}

/* download = the one filled control, the same orange as the booth buttons */
body .action-buttons form {
    margin: 0;
}

body .action-buttons button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--rm-orange);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 8px 26px rgba(255, 60, 0, .35);
    margin-right: 4px;
    transition: transform .08s ease, box-shadow .15s ease;
}

body .action-buttons button .button,
body .action-buttons .fa-download {
    color: var(--rm-paper) !important;
}

body .action-buttons button:hover {
    box-shadow: 0 8px 30px rgba(255, 60, 0, .6);
}

body .action-buttons button:active {
    transform: scale(.95);
}

body .virtual-booth-actions .btn {
    background-color: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-paper) !important;
    font-family: var(--rm-sans);
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(255, 60, 0, .35);
}

/* ---------- Footer: tagline over an orange stripe band (echoes the Remitian mark) ---------- */
body .footer {
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: transparent !important;
}

body .footer-content,
body .footer-content a {
    font-family: var(--rm-sans) !important;
    color: var(--rm-muted) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

body .footer-content::before {
    content: 'The Standard for Tax Payments';
    display: block;
    color: var(--rm-paper);
    margin-bottom: 8px;
}

body .footer::after {
    content: '';
    display: block;
    height: 40px;
    margin-top: 16px;
    background: repeating-linear-gradient(
        -60deg,
        var(--rm-orange) 0 10px,
        var(--rm-ink) 10px 26px
    );
    -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
            mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* ---------- Toast ---------- */
#toast-container > .toast-success {
    background-color: var(--rm-ink-2);
    background-image: none;
    color: var(--rm-paper);
    border-left: 4px solid var(--rm-orange);
    font-family: var(--rm-sans);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .5);
    opacity: 1;
}
