/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.sketch-image-hover {
    transition: transform 0.3s ease;
}

.sketch-image-hover:hover {
    transform: scale(1.05);
}

.sketch-card-offset {
    right: -1.5rem;
    bottom: -1.5rem;
}

.content-flow-gap {
    gap: 4rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-body-frame {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-medium-height {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* image stagger — sm:translate-y-3 / sm:-translate-y-3 have no BS utility */
@media (min-width: 640px) {
    .content-stagger__img-up   { transform: translateY(0.75rem); }
    .content-stagger__img-down { transform: translateY(-0.75rem); }
}

/* dashed border — not a native BS utility */
.content-panel__dashed { border-style: dashed; }

/* decor line — fixed width to match w-16 */
.content-decor__line { width: 4rem; height: 0; display: block; }

/* CTA hover — transform/transition have no BS utility */
.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.content-min-base {
    min-height: 16rem;
}

.bodycopy-storyblock__text-panel-inset {
    padding: 4rem;
}

.broadsheet-wide-strip__media {
  width: 100%;
  max-width: 20rem;
}

.broadsheet-wide-strip__img {
    object-fit: cover;
}
.broadsheet-wide-strip__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perks-bordered-flex__tile {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-bordered-flex__tile:hover {
        transform: scale(1.05);
    }
}

/* subscribe v29 — newspaper masthead: geometry shared by both CSS frameworks, no colors */
.mailing-masthead__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-5xl {
    max-width: 64rem !important;
}

.mailing-masthead__head {
    margin-bottom: 2.5rem;
}

.mailing-masthead__rule {
    height: 1px;
}

.mailing-masthead__title {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.mailing-masthead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

/* newspaper body copy set in two columns */
.mailing-masthead__columns {
    column-count: 2;
    column-gap: 2rem;
}

.mailing-masthead__label {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.mailing-masthead__stack {
    gap: 0.75rem;
}

.mailing-masthead__input,
.mailing-masthead__cta {
    padding: 0.75rem 1rem;
}

.mailing-masthead__cta {
    padding-inline: 1.5rem;
}

.mailing-masthead__thanks-title {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .mailing-masthead__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mailing-masthead__columns {
        grid-column: span 2 / span 2;
    }

    .mailing-masthead__title {
        font-size: 3rem;
    }
}

.google-map-fullscreen-style-with-bottom-overlay-bar__iframe { width: 100%; min-height: 400px; }
@media (min-width: 768px) { .google-map-fullscreen-style-with-bottom-overlay-bar__iframe { min-height: 600px; } }

/* iframe-normalized */
.google-map-fullscreen-style-with-bottom-overlay-bar__iframe {
    width: 100%;
    max-width: 100%;
    height: 400px;
    min-height: 400px;
    display: block;
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
}

@media (min-width: 768px) {
    .google-map-fullscreen-style-with-bottom-overlay-bar__iframe {
        height: 600px;
        min-height: 600px;
    }
}


