/*
 * /contact/ — client deck 12Oct26 slides 10–11 (contact.php):
 *   .contact-intro   "Explore the Worlds…" headline + intro line under the hero
 *   .subject-cards   Novels / Poetry / Music / Art, one-line hooks, each links
 *                    to its page — fills the gap between the intro and the form
 *   portrait glow    subtle purple/blue border-glow on the author photo
 *   placeholders     lighter Name / Email / Message placeholder text
 */

.contact-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-intro h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: Orbitron, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

.contact-intro p {
    margin: 0;
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.6;
}

.subject-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 56px;
    padding: 0;
    list-style: none;
}

.subject-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 28px 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(160deg, #262626, #1c1c1c);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.subject-card:hover,
.subject-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 204, 0, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    outline: none;
}

.subject-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.12);
    color: #FFCC00;
}

.subject-card__name {
    font-family: Orbitron, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.subject-card__hook {
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.5;
}

/* Author portrait: subtle purple/blue glow (slide 10, "Optimize the visuals") */
body.page-id-785 .entry-content .elementor-widget-image img {
    border-radius: 14px;
    border: 1px solid rgba(140, 120, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(110, 90, 255, 0.08), 0 0 36px rgba(96, 120, 255, 0.35);
}

/* Lighter placeholder text on the dark form (accessibility, slide 10) */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b5b5b5;
    opacity: 1;
}

@media (max-width: 1024px) {
    .subject-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .contact-intro h2 {
        font-size: 22px;
    }

    .contact-intro p {
        font-size: 16px;
    }

    .subject-cards {
        gap: 14px;
        margin-bottom: 40px;
    }

    .subject-card {
        padding: 20px 12px 18px;
    }

    .subject-card__hook {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .subject-card {
        transition: none;
    }
}

/* Typed text readable too (was #898989 on the dark fields) */
.contact-form input,
.contact-form textarea {
    color: #ffffff;
}

/* Deck 19Oct26 slide 16: "Contact Ferdouse" on ONE line — at 40px it wrapped
   on phones; scale it with the screen there instead. */
@media (max-width: 767px) {
    body.page-id-785 .elementor .elementor-element.elementor-element-4e83451 .elementor-heading-title {
        font-size: clamp(22px, 7.4vw, 40px) !important;
        white-space: nowrap;
    }
}
