/* =====================
    Hero
   ===================== */

.hero-artwork {
    background-image: url("../imgs/heroes/hero-mailer.webp");
    background-position: center 31%;
}

/* =====================
    Section Layout
   ===================== */

.page-slot .chapter-heading {
    text-align: center;
}

.page-slot .chapter-section + .chapter-section {
    position: relative;
    border-top: none;
}

.page-slot .chapter-section + .chapter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    transform: translateX(-50%);
    border-top: 1px solid var(--border-color);
}

/* =====================
    Contact Methods
   ===================== */

.mailer-methods {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding-top: 24px;
    padding-bottom: 0;
}

.mailer-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease;
}

.mailer-method:hover {
    transform: translateY(-4px);
}

/* Repeats the hex clip-path from style-common.css's shared badge rule rather
   than joining that selector list, since this hex sizes/colors itself
   independently and isn't part of that shared component's markup pattern. */
.mailer-hex {
    width: 80px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
}

.mailer-hex i {
    width: 30px;
    height: 30px;
    stroke-width: 1.6;
}

.mailer-hex-svg {
    width: 26px;
    height: 26px;
}

.mailer-method-label {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

/* =====================
    Guestbook
   ===================== */

.mailer-guestbook {
    padding-bottom: 56px;
}

.mailer-guestbook iframe {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 540px;
    margin: 0 auto;
    border: none;
    border-radius: 0;
}
