/*

    HEADER
    
*/

@media only screen and (max-width: 1024px) {
    .site-title-container p.site-description{
        font-size: 1.3em;    
    }
    
    [data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
        --logo-max-height: 35px;
    }
}

/*

    FOOTER
    
*/

@media only screen and (max-width: 1024px) {
    
    footer .ct-widget{
        width: 100%;
        text-align: left;
    }
    
    footer.ct-footer div[data-row="middle"] .ct-widget:not(:first-child){
        margin-top: 5px;
    }
    
    footer.ct-footer li{
        margin: 9px 0;
    }
    
    footer [data-row*="middle"] > div {
        --container-spacing: 0px;
    }

}

/*

    TITLE HERO SECTION
    
*/

@media only screen and (max-width: 1400px) {
    :root {
        --titleBorderRadius: 0px!important;
    }
}


@media only screen and (max-width: 1024px) {
    body[data-prefix="categories"] .entry-header .page-title,
    body[data-prefix="single_page"] .entry-header .page-title{
        font-size: 2em;
    }
    
    body .hero-section{
        margin-top: 0px;
        margin-bottom: 30px;
        box-shadow: 0px 0px 20px var(--paletteColor4);
    }
    
    body .hero-section,
    body .hero-section[data-type=type-2]>[class*=ct-container]{
        min-height: 15vh;
    }
}

/* NEWS */
@media only screen and (max-width: 768px) {
    .ct-posts-shortcode article:not(:first-of-type) .boundless-image{
        display: none;
    }
}

/* -------------------------------------------------------------------------- */

/* Shared site components. Prefer WordPress core block layout; keep only the
   visual rules that are specific to the IIT Delts design. */

/* Development opportunity rows (core Columns + core Column blocks). */
.dtd-feature-row {
    gap: 0;
    margin-bottom: 24px;
}

.dtd-feature-row > .wp-block-column {
    min-width: 0;
    padding: 12px;
}

.dtd-feature-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dtd-feature-row__content > :last-child {
    margin-bottom: 0;
}

.dtd-feature-row figure {
    margin: 0;
}

.dtd-feature-row__media figure {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1;
}

.dtd-feature-row__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.dtd-feature-row--7d04bd1 .dtd-feature-row__media figure {
    max-width: 250px;
}

@media (max-width: 767px) {
    .dtd-feature-row__media {
        max-width: 420px;
        padding: 12px;
    }

    .dtd-feature-row > .dtd-feature-row__content {
        padding: 8px;
    }

    .dtd-feature-row--7d04bd1 > .dtd-feature-row__media {
        padding: 8px;
    }
}

.dtd-vance-title { margin-bottom: 0 !important; font-size: 58px !important; }
.dtd-shelter-map iframe { display: block; width: 100%; height: 600px; }
.dtd-rush-cta {
    margin-block: 150px;
    padding: 4.5%;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 0 37px 18px rgb(208 211 212 / 70%);
    /* Real photo (chapter's Hugh Shields Award moment) with a purple
       color-wash over it, instead of a flat gradient over a small SVG
       pattern tiled at 76% - was never an actual photograph before. */
    background: linear-gradient(rgb(73 47 117 / 82%), rgb(43 27 71 / 88%)), url('/wp-content/uploads/2026/03/hugh-sheilds-26.jpg') center 42% / cover no-repeat;
    text-align: center;
}
.dtd-rush-cta-columns { margin: 0 !important; gap: 35px; }
.dtd-rush-cta-title { margin-bottom: 8px; color: #fff; }
.dtd-rush-cta-copy { margin: 0 auto; color: var(--theme-palette-color-7, #d0d3d4); line-height: 1.15; }
.dtd-rush-cta-buttons { justify-content: center !important; }
.dtd-rush-cta-buttons .wp-block-button__link { padding: 10px 40px; border-radius: 5px; background: var(--theme-palette-color-8, #fff); font-size: 18px; font-weight: 700; }
@media (max-width: 767px) {
    .dtd-vance-title { font-size: 45px !important; }
    .dtd-rush-cta { margin-block: 40px 10px; padding: 30px; text-align: center; }
    .dtd-rush-cta-title { font-size: 45px !important; }
    .dtd-rush-cta-buttons { justify-content: center !important; }
}

/* Homepage excellence panel, flattened from deeply nested Stackable columns. */
.dtd-home-comfort-native {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr);
    align-items: center;
    gap: clamp(48px, 6vw, 110px);
    width: min(100%, 1600px) !important;
    margin: 0 auto 50px !important;
    padding: 90px clamp(36px, 5vw, 80px) 150px;
}
.dtd-home-comfort-title {
    max-width: 620px;
    margin: 0 !important;
    font-size: clamp(64px, 6vw, 104px) !important;
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.035em;
    text-align: left;
}
.dtd-home-comfort-grid {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(280px, auto));
    grid-auto-flow: column;
    gap: 35px;
}
.dtd-home-comfort-grid::before {
    /* Shield watermark, moved here from the title column it used to sit
       behind - it now anchors the cards instead of competing with the
       heading text for attention. */
    position: absolute;
    z-index: -1;
    inset: -60px;
    content: '';
    background: transparent url('https://iitdelts.org/wp-content/uploads/2022/11/comfort-zone.svg') center/85% no-repeat;
}
.dtd-home-comfort-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 30px 25px;
    border: 1px dashed var(--dtd-card-color, var(--theme-palette-color-4));
    border-radius: 25px;
    box-shadow: 0 18px 45px rgb(73 47 117 / 7%);
    background: rgb(255 255 255 / 62%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: center;
}
.dtd-home-comfort-card:nth-child(3),
.dtd-home-comfort-card:nth-child(4) { transform: translateY(100px); }
.dtd-home-comfort-card:nth-child(2) { --dtd-card-color: var(--theme-palette-color-3, #00af73); }
.dtd-home-comfort-card:nth-child(3) { --dtd-card-color: var(--theme-palette-color-5, #e93050); }
.dtd-home-comfort-card:nth-child(4) { --dtd-card-color: var(--theme-palette-color-6, #64ccc9); }
.dtd-home-comfort-icon { width: 81px; height: 81px; margin: 0 auto 10px; }
.dtd-home-comfort-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dtd-home-comfort-card .value-title { margin: 16px 0 10px; font-weight: 700; }
.dtd-home-comfort-copy { margin-bottom: 0; font-size: 14px; line-height: 1.34; }
@media (max-width: 1023px) {
    .dtd-home-comfort-native { display: block; padding-bottom: 80px; }
    .dtd-home-comfort-title { max-width: none; margin-bottom: 45px !important; font-size: 56px !important; text-align: center; }
    .dtd-home-comfort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dtd-home-comfort-card:nth-child(3),
    .dtd-home-comfort-card:nth-child(4) { transform: none; }
}
@media (max-width: 767px) {
    .dtd-home-comfort-native { margin-bottom: 0 !important; padding: 55px 6vw 40px; background-size: 400px; }
    .dtd-home-comfort-title { margin: 0 0 30px !important; font-size: 44px !important; text-align: left; }
    .dtd-home-comfort-grid { grid-template-columns: 1fr; gap: 20px; }
    .dtd-home-comfort-card {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 18px;
        min-height: 0;
        padding: 22px 25px;
        text-align: left;
    }
    .dtd-home-comfort-card .dtd-home-comfort-icon { grid-row: 1 / 3; align-self: center; margin: 0; }
    .dtd-home-comfort-card .value-title { margin: 0 0 5px; font-size: 14px; }
    .dtd-home-comfort-copy { font-size: 18px; line-height: 1.25; }
}

/* Homepage 1901 and blueprint panels, built from core Columns. */
.dtd-home-1901-native {
    min-height: 50vh;
    margin: 200px auto 250px !important;
    border: 5px solid var(--theme-palette-color-4, #6d56a1);
    border-radius: 55px;
    box-shadow: 7px 5px 30px #48497927;
    background: #f7f7f7 url('https://iitdelts.org/wp-content/uploads/2022/11/old-wall.png') center/cover;
    overflow: hidden;
}
.dtd-home-1901-native > .wp-block-column:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 50px;
}
.dtd-home-1901-title { margin-bottom: 0 !important; text-align: center; line-height: 1.2; }
.dtd-home-1901-copy { width: 80%; margin: 0 auto 30px !important; }
.dtd-home-1901-subtitle { margin-bottom: 8px !important; text-align: center; }
.dtd-home-history-button .wp-block-button__link { padding: 15px 45px; border-radius: 3px; background: var(--theme-palette-color-8, #eac34f); }

.dtd-home-blueprint-native {
    margin-bottom: 0 !important;
    border-radius: 55px;
    box-shadow: 7px 5px 30px #48497927;
    background:
        linear-gradient(rgb(38 85 169 / 50%), rgb(38 85 169 / 50%)),
        linear-gradient(90deg, #3a78cf, #2655a9),
        url('https://iitdelts.org/wp-content/uploads/2022/11/blueprint_grid.svg') center/cover;
    overflow: hidden;
}
.dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding-bottom: 60px; }
.dtd-home-blueprint-title {
    min-height: 20vh;
    margin: 850px 0 0 !important;
    color: #fff;
    line-height: 1.2;
    text-align: center;
}
.dtd-home-blueprint-button .wp-block-button__link { padding: 10px 40px; border-radius: 3px; background: var(--theme-palette-color-2, #deae42); }
.dtd-home-blueprint-native p { color: #fff; }

@media (min-width: 768px) {
    .dtd-home-1901-native,
    .dtd-home-blueprint-native { flex-wrap: nowrap !important; }
    .dtd-home-1901-native > .wp-block-column:first-child { flex-basis: 49% !important; }
    .dtd-home-1901-native > .wp-block-column:last-child { flex-basis: 51% !important; }
    .dtd-home-blueprint-native > .wp-block-column:first-child,
    .dtd-home-blueprint-native > .wp-block-column:last-child { flex-basis: 15% !important; }
    .dtd-home-blueprint-native > .wp-block-column:nth-child(2) { flex-basis: 70% !important; }
}
@media (max-width: 1023px) {
    .dtd-home-1901-native > .wp-block-column:first-child,
    .dtd-home-blueprint-native > .wp-block-column:first-child,
    .dtd-home-blueprint-native > .wp-block-column:last-child { display: none; }
    .dtd-home-1901-title,
    .dtd-home-blueprint-title { font-size: 30px !important; }
}
@media (max-width: 767px) {
    .dtd-home-1901-native { min-height: 50vh; margin: 300px auto 0 !important; border-radius: 24px; }
    .dtd-home-1901-native > .wp-block-column:last-child { padding: 100px 10px 0; }
    .dtd-home-1901-title,
    .dtd-home-1901-subtitle { font-size: 45px !important; }
    .dtd-home-blueprint-native { margin-bottom: 40px !important; border-radius: 24px; }
    .dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding-bottom: 0; }
    .dtd-home-blueprint-title { margin-top: 420px !important; font-size: 35px !important; line-height: 1.4; text-align: left; }
}

/* Rooms: native galleries replace non-autoplay Stackable carousels. */
.dtd-room-gallery {
    gap: 16px;
    margin-bottom: 0;
}
.dtd-room-gallery .wp-block-image,
.dtd-room-gallery img {
    width: 100%;
    height: 100%;
}
.dtd-room-gallery img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
}
.dtd-rooms-heading-mobile { }
.dtd-rooms-wave {
    width: 100vw !important;
    height: clamp(70px, 12.5vw, 200px) !important;
    margin-inline: calc(50% - 50vw);
    line-height: 0;
    background: var(--theme-palette-color-1, #492f75);
    clip-path: polygon(0 35%, 15% 50%, 30% 30%, 50% 55%, 70% 25%, 85% 50%, 100% 35%, 100% 100%, 0 100%);
}
.dtd-rooms-wave svg { display: block; width: 100%; height: clamp(70px, 12.5vw, 200px) !important; }
.dtd-rooms-wave path { fill: var(--theme-palette-color-1, #492f75); }
@media (max-width: 767px) {
    .dtd-rooms-heading-mobile { font-size: 45px !important; }
    .dtd-room-gallery { grid-template-columns: 1fr !important; }
}

/* Native Details replacement for archive/composite accordions. */
.dtd-accordion {
    width: min(100% - 40px, var(--theme-normal-container-max-width, 1290px));
    margin-inline: auto;
    border-bottom: 1px solid var(--theme-border-color, #d0d3d4);
}

.dtd-accordion > summary {
    position: relative;
    padding: 18px 48px 18px 0;
    cursor: pointer;
    list-style: none;
    font-size: 25px;
    font-weight: 700;
}

.dtd-accordion > summary::-webkit-details-marker { display: none; }
.dtd-accordion > summary::after {
    position: absolute;
    top: 50%;
    right: 8px;
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .18s ease;
}
.dtd-accordion[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.dtd-accordion > :not(summary) { margin-inline: 0; }
.dtd-accordion[open] { padding-bottom: 24px; }

/* Homepage native structural sections. */
.dtd-home-title-column-container { margin-bottom: 0 !important; }
.dtd-home-title-column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100%, 1000px);
    min-height: 65vh;
    margin-inline: auto;
}
.dtd-home-hero-title {
    margin-top: 0 !important;
    color: var(--theme-palette-color-1, #492f75);
    font-size: 122px !important;
    font-weight: 800;
    line-height: 1;
}
.invert-boldness .dtd-home-hero-title { font-weight: 300; }
.dtd-home-instagram { margin-bottom: 100px !important; }
.dtd-home-instagram-title { margin: 50px 0 25px !important; text-align: center; }
.dtd-home-events { margin: 50px 0 25px !important; }
.dtd-home-events-title { margin-bottom: 25px !important; text-align: center; }
.dtd-home-event-grid { gap: 0; }
.dtd-home-event-grid > .wp-block-column { min-width: 0; }
.dtd-home-event-grid {
    /* Up to 3 event-category cards can appear here (undergrad, alumni,
       shelter meals) but a category with no upcoming events renders
       nothing at all, so its column is genuinely empty. Size columns to
       their own content instead of stretching to equal thirds, drop
       empty ones out of the row entirely, and center whatever's left -
       covers 1, 2, or 3 populated cards without any JS. */
    justify-content: center;
    gap: 24px;
}
.dtd-home-event-grid > .wp-block-column {
    flex: 0 1 auto;
}
.dtd-home-event-grid > .wp-block-column:empty {
    display: none;
}
.dtd-home-events-calendar { margin-bottom: 130px !important; }
.dtd-home-events-calendar .wp-block-button__link { padding-inline: 40px; color: #fff; }
.dtd-home-latest { margin-bottom: 120px !important; }
.dtd-home-latest-title { margin-bottom: 25px !important; text-align: center; }

body.home:not(:has(.dtd-events)):not(:has(.event__calendar)) .dtd-home-events,
body.home:not(:has(.dtd-events)):not(:has(.event__calendar)) .dtd-home-events-calendar {
    display: none !important;
}

/* Native replacements for the former Stackable block widgets. */
.dtd-footer-instagram-title { margin-bottom: 25px; text-align: center; }
.dtd-update-info {
    width: min(100% - 40px, var(--theme-normal-container-max-width, 1290px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 72px) clamp(36px, 6vw, 88px);
    overflow: hidden;
    border-radius: 25px;
    color: #fff;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 18%);
    box-shadow: 0 24px 60px rgb(37 85 73 / 18%);
    background: #009173;
}
.dtd-update-info::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background-image: var(--dtd-update-photo, url('/wp-content/uploads/2023/11/Delt-IIT-Reunion-002-scaled.jpg'));
    background-position: var(--dtd-update-focus-x, 50%) var(--dtd-update-focus-y, 44%);
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1) contrast(1.08);
}
.dtd-update-info-eyebrow {
    margin: 0 0 10px;
    color: rgb(255 255 255 / 78%);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.dtd-update-info-columns { margin: 0 !important; gap: clamp(36px, 6vw, 96px); }
.dtd-update-info-title { max-width: 820px; margin-inline: auto; margin-bottom: 22px; color: #fff; font-size: clamp(48px, 5vw, 74px) !important; line-height: .98; letter-spacing: -.025em; }
.dtd-update-info-lead,
.dtd-update-info-copy { max-width: 760px; margin-inline: auto; margin-bottom: 16px; color: #fff; font-size: 18px; line-height: 1.45; }
.dtd-update-info-lead { font-size: 20px; }
.dtd-update-info-copy { margin-bottom: 0; }
.dtd-update-info-buttons { justify-content: center; }
.dtd-update-info-buttons .wp-block-button { width: auto; }
.dtd-update-info-buttons .wp-block-button__link { width: 100%; padding: 17px 24px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 8px; color: #fff; background: var(--theme-palette-color-1, #492f75); font-size: 17px; font-weight: 700; box-shadow: 0 14px 28px rgb(42 21 75 / 20%); transition: transform .2s ease, box-shadow .2s ease; }
.dtd-update-info-buttons .wp-block-button__link:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 18px rgb(0 0 0 / 18%); }
@media (max-width: 767px) {
    .dtd-footer-instagram-title { font-size: 55px !important; }
    .dtd-home-comfort-icon { width: 64px; height: 64px; }
    .dtd-update-info { width: calc(100% - 24px); padding: 34px 24px; }
    .dtd-update-info-columns { gap: 20px; }
    .dtd-update-info-title { font-size: 42px !important; line-height: 1 !important; }
    .dtd-update-info-lead { font-size: 17px; }
    .dtd-update-info-copy { font-size: 16px; }
}

@media (max-width: 1023px) {
    .dtd-home-title-column { min-height: 1vh; }
    .dtd-home-hero-title { font-size: 50px !important; }
    .dtd-home-instagram-title,
    .dtd-home-events-title,
    .dtd-home-latest-title { font-size: 30px !important; }
}

@media (max-width: 767px) {
    .dtd-home-hero-title { margin-bottom: 0 !important; font-size: 54px !important; }
    .dtd-home-instagram-title { font-size: 55px !important; }
    .dtd-home-events { margin-top: 0 !important; margin-bottom: 50px !important; }
    .dtd-home-events-title { display: none; font-size: 45px !important; }
    .dtd-home-event-grid > .wp-block-column { flex-basis: 100% !important; margin-inline: 0; }
    .dtd-home-latest { margin-bottom: 60px !important; }
    .dtd-home-latest-title { margin-top: 0 !important; font-size: 45px !important; }
}

/* Contact page native layouts. */
.dtd-contact-hero {
    margin-bottom: 70px !important;
    padding: 180px 80px 60px;
    border-radius: 32px;
    background:
        linear-gradient(rgb(234 195 79 / 40%), rgb(234 195 79 / 40%)),
        url('https://iitdelts.org/wp-content/uploads/2025/11/photo_2025-10-19_19-40-12.jpg') center/cover no-repeat;
}

.dtd-contact-hero-title {
    width: 62%;
    margin-bottom: 75px !important;
    color: #fff;
    font-size: 85px !important;
    line-height: 1.1;
    text-shadow: 0 0 19px #0006;
}

.dtd-contact-strip {
    gap: 35px;
    margin-bottom: 0 !important;
    padding: 60px 35px;
    border-radius: 25px;
    background: color-mix(in srgb, var(--theme-palette-color-1, #492f75) 90%, transparent);
}

.dtd-contact-strip > .wp-block-column { text-align: center; }

.dtd-contact-detail {
    margin-bottom: 0;
    color: var(--theme-palette-color-8, #eac34f);
    font-size: 16px;
    text-align: center;
}

.dtd-contact-form-title {
    margin-bottom: 50px !important;
    text-align: center;
}

.dtd-contact-form-layout {
    gap: 35px;
    margin-bottom: 0 !important;
}

.dtd-contact-form-layout > .wp-block-column:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
}

.dtd-contact-directory { margin-bottom: 150px !important; }

.dtd-contact-directory-title {
    margin-bottom: 8px !important;
    text-align: center;
}

.dtd-contact-directory-intro {
    width: min(100%, 700px);
    margin: 0 auto 60px !important;
    text-align: center;
}

@media (min-width: 768px) {
    .dtd-contact-strip,
    .dtd-contact-form-layout { flex-wrap: nowrap !important; }
    .dtd-contact-form-layout > .wp-block-column:first-child { flex-basis: 40% !important; }
    .dtd-contact-form-layout > .wp-block-column:last-child { flex-basis: 60% !important; }
}

@media (max-width: 1023px) {
    .dtd-contact-hero-title { width: 100%; font-size: 40px !important; }
    .dtd-contact-form-title,
    .dtd-contact-directory-title { font-size: 30px !important; }
}

@media (max-width: 767px) {
    .dtd-contact-hero {
        padding: 100px 25px 60px;
        text-align: center;
    }
    .dtd-contact-hero-title { margin-bottom: 35px !important; font-size: 30px !important; }
    .dtd-contact-strip { padding: 40px 25px; }
    .dtd-contact-form-title { font-size: 25px !important; }
    .dtd-contact-form-layout > .wp-block-column:first-child { display: none; }
    .dtd-contact-form-layout > .wp-block-column:last-child { padding-left: 0; }
    .dtd-contact-directory { margin-bottom: 50px !important; }
    .dtd-contact-directory-title { margin-top: 30px !important; font-size: 25px !important; text-align: left; }
    .dtd-contact-directory-intro { margin-bottom: 24px !important; text-align: left; }
}

/* Giving page native sections. */
.dtd-giving-society {
    margin-top: 70px !important;
    margin-bottom: 50px !important;
}

.dtd-giving-society-heading {
    margin-bottom: 0 !important;
    text-align: center;
}

.dtd-spotlight-cta.dtd-giving-cta {
    margin-bottom: 150px !important;
}

.dtd-giving-cta-heading {
    margin-bottom: 30px !important;
    color: #fff;
}

.dtd-giving-cta-copy {
    color: var(--theme-palette-color-7, #d0d3d4);
    line-height: 1.4;
}

.dtd-giving-cta-copy--lead { margin-bottom: 18px !important; }

.dtd-giving-stories { margin-bottom: 0; }

.dtd-giving-stories-title {
    margin-bottom: 0 !important;
    text-align: center;
}

.dtd-giving-stories-intro {
    width: min(100%, 700px);
    margin-inline: auto !important;
    text-align: center;
    text-wrap: balance;
}

@media (max-width: 1023px) {
    .dtd-giving-stories-title { font-size: 30px !important; }
}

@media (max-width: 767px) {
    .dtd-giving-society { margin-bottom: 25px !important; }
    .dtd-giving-society-heading { font-size: 45px !important; }
    .dtd-spotlight-cta.dtd-giving-cta { margin-bottom: 45px !important; }
    .dtd-giving-stories { margin-bottom: 35px !important; }
    .dtd-giving-stories-title {
        margin-bottom: 25px !important;
        font-size: 45px !important;
        text-align: left;
    }
    .dtd-giving-stories-intro {
        margin-bottom: 24px !important;
        text-align: left;
    }
}

/* 1960 Shelter: native historic-campus callout. */
.dtd-shelter-campus {
    margin-top: 150px !important;
    margin-bottom: 151px !important;
}

.dtd-button--wide .wp-block-button__link {
    padding: 10px 50px;
    color: #fff;
    font-weight: 700;
}

/* Scholarships: repeated native 33/67 information rows. */
.dtd-scholarship-row {
    gap: 0;
}

.dtd-scholarship-row > .wp-block-column {
    min-width: 0;
    padding: 12px;
}

.dtd-scholarship-row--mb-21 { margin-bottom: 21px !important; }

.dtd-scholarship-apply .wp-block-button__link {
    background: transparent;
}

@media (min-width: 768px) {
    .dtd-scholarship-row { flex-wrap: nowrap !important; }
    .dtd-scholarship-row > .wp-block-column:first-child { flex-basis: 33.3% !important; }
    .dtd-scholarship-row > .wp-block-column:last-child { flex-basis: 66.7% !important; }
}

/* Alumni Spotlight CTA: native Columns with the existing contact-card block. */
.dtd-spotlight-cta {
    gap: 35px;
    align-items: center;
    margin-bottom: 0 !important;
    padding: 4.5%;
    border-radius: 25px;
    background-color: var(--theme-palette-color-1, #492f75);
    background-image:
        linear-gradient(color-mix(in srgb, var(--theme-palette-color-1, #492f75) 80%, transparent), color-mix(in srgb, var(--theme-palette-color-1, #492f75) 80%, transparent)),
        url('https://iitdelts.org/wp-content/uploads/2022/11/join_us_bg.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 76%;
}

.dtd-spotlight-cta-heading {
    margin-bottom: 8px !important;
    color: #fff;
}

.dtd-spotlight-cta-copy {
    color: var(--theme-palette-color-7, #d0d3d4);
}

@media (min-width: 768px) {
    .dtd-spotlight-cta { flex-wrap: nowrap !important; }
    .dtd-spotlight-cta > .wp-block-column:first-child { flex-basis: 55.3% !important; }
    .dtd-spotlight-cta > .wp-block-column:last-child { flex-basis: 44.7% !important; }
}

@media (max-width: 1023px) {
    .dtd-spotlight-cta { padding: 5%; }
}

@media (max-width: 767px) {
    .dtd-spotlight-cta {
        padding: 10%;
        text-align: center;
    }
}

/* Giving CTA/story components shared by native blocks. */
.dtd-donate-button .wp-block-button__link {
    border-radius: 3px;
    background: var(--theme-palette-color-2, #deae42);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dtd-donate-button .wp-block-button__link:hover {
    transform: translateY(-2px) scale(1.03);
}

.dtd-giving-stories-heading {
    margin: 0 0 8px !important;
    text-align: center;
}

.dtd-giving-stories-copy {
    width: min(100%, 700px);
    margin: 0 auto 60px !important;
    text-align: center;
}

@media (max-width: 1023px) {
    .dtd-giving-stories-heading { font-size: 30px !important; }
}

@media (max-width: 767px) {
    .dtd-giving-stories-heading { font-size: 25px !important; }
    .dtd-giving-stories-copy { margin-bottom: 24px !important; }
}

/* Native replacement for Stackable's default 50%-width divider. */
hr.dtd-divider {
    width: min(45vw, 600px) !important;
    max-width: none !important;
    height: 1px !important;
    border: 0;
    margin-inline: auto;
    background: #ddd;
}

/* Small native Image blocks used for Contact details. */
.dtd-contact-icon {
    width: 40px !important;
    height: 40px;
    margin-bottom: 16px;
    margin-inline: auto;
}

.dtd-contact-icon img {
    display: block;
    width: 40px !important;
    max-width: none !important;
    height: 40px !important;
    object-fit: contain;
}

/* Centered reading-width content formerly wrapped by a single Stackable
   column with containerWidth: 960. */
.dtd-reading-width {
    width: min(90vw, 960px) !important;
    max-width: 960px !important;
    margin-inline: auto !important;
}

/* Reusable measurements and responsive alignment for native Paragraphs. */
.dtd-text--measure-700 {
    width: min(100%, 700px);
    margin-inline: auto !important;
}

.dtd-text--measure-80 {
    width: 80%;
    margin-inline: auto !important;
}

.dtd-text--mb-60 { margin-bottom: 60px !important; }
.dtd-text--mb-30 { margin-bottom: 30px !important; }
.dtd-text--mb-18 { margin-bottom: 18px !important; }

@media (max-width: 767px) {
    .dtd-text--mobile-left { text-align: left !important; }
    .dtd-text--mobile-center { text-align: center !important; }
    .dtd-text--mobile-mb-24 { margin-bottom: 24px !important; }
}

/* Philanthropy: native 60/40 Columns with progressively enhanced counters. */
.dtd-philanthropy-layout {
    gap: 0;
    margin-bottom: 0;
}

.dtd-philanthropy-layout > .wp-block-column {
    min-width: 0;
    padding: 12px;
}

.dtd-count-up {
    margin-bottom: 0 !important;
    color: var(--theme-palette-color-4, #6d56a1);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.75;
    text-align: center;
}

.dtd-count-up__accent {
    color: var(--theme-palette-color-7, #d0d3d4);
}

@media (min-width: 768px) {
    .dtd-philanthropy-layout {
        flex-wrap: nowrap !important;
    }

    .dtd-philanthropy-layout > .wp-block-column:first-child { flex-basis: 60% !important; }
    .dtd-philanthropy-layout > .wp-block-column:last-child { flex-basis: 40% !important; }
}

/* State of the Chapter: native demographic image pair and news section. */
.dtd-state-latest {
    margin-bottom: 120px !important;
}

.dtd-state-demographics {
    gap: 0;
}

.dtd-state-demographics > .wp-block-column {
    min-width: 0;
    padding: 12px;
}

.dtd-state-latest-heading {
    margin-bottom: 25px !important;
    text-align: center;
}

@media (min-width: 768px) {
    .dtd-state-demographics {
        flex-wrap: nowrap !important;
    }

    .dtd-state-demographics > .wp-block-column:first-child { flex-basis: 42.5% !important; }
    .dtd-state-demographics > .wp-block-column:last-child { flex-basis: 57.5% !important; }
}

@media (max-width: 1023px) {
    .dtd-state-latest-heading { font-size: 30px !important; }
}

@media (max-width: 767px) {
    .dtd-state-latest { margin-bottom: 60px !important; }
    .dtd-state-latest-heading { font-size: 45px !important; }
}

/* Responsive refinements for native core Spacer blocks. */
@media (max-width: 1024px) {
    .dtd-hide-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .dtd-hide-mobile {
        display: none !important;
    }

    .dtd-spacer--3d43c18 { height: 10px !important; }
    .dtd-spacer--86897c2 { height: 30px !important; }
    .dtd-spacer--e0fb2a3 { height: 75px !important; }
}

/* -------------------------------------------------------------------------- */

/* 2026 visual systems refresh: shared scale, rhythm, and interaction language. */
:root {
    --dtd-radius: 18px;
    --dtd-radius-sm: 12px;
    --dtd-shadow: 0 16px 42px rgb(33 23 56 / 12%);
    --dtd-shadow-soft: 0 8px 24px rgb(33 23 56 / 9%);
    --dtd-paper: #fbfaf6;
    --dtd-ink: #1e1b22;
}

/* Header and brand interactions. */
.site-title-container .site-description { line-height: 1.05; }
.site-title-container .brand-name span { display: block; line-height: .94; }
.site-title-container .brand-name small { display: block; margin-top: 4px; line-height: 1.05; }
.ct-header-account .ct-icon { width: 24px; height: 24px; }
.ct-header-account .ct-account-item { display: inline-flex; align-items: center; gap: 7px; }
.site-logo-container,
.dtd-home-instagram-title a,
.dtd-footer-instagram-title a,
a[href*="instagram.com/iitdelts"]:has(> strong) { display: inline-block; transition: transform .2s ease, filter .2s ease; }
@media (hover: hover) {
    .site-logo-container:hover,
    .dtd-home-instagram-title a:hover,
    .dtd-footer-instagram-title a:hover,
    a[href*="instagram.com/iitdelts"]:has(> strong):hover { transform: translateY(-2px) rotate(-1.5deg); filter: drop-shadow(0 8px 8px rgb(73 47 117 / 22%)); }
}

/* Remove broken novelty SVG cursors; these were intermittently falling back to native cursors. */
.footer-crest:hover,
.dtd-home-1901-images[data-cursor] .wp-block-image { cursor: auto !important; }

/* Shared CTA treatment: compact, deliberate cards rather than horizontal banners. */
.dtd-rush-cta,
.dtd-spotlight-cta,
.dtd-update-info {
    width: min(calc(100% - 40px), 1040px) !important;
    margin-inline: auto !important;
    border-radius: var(--dtd-radius) !important;
    box-shadow: var(--dtd-shadow-soft);
}
.dtd-rush-cta { margin-block: clamp(52px, 7vw, 96px) !important; padding: clamp(34px, 5vw, 58px) !important; }
.dtd-rush-cta-columns { display: block !important; }
.dtd-rush-cta-title { max-width: 18ch; margin-inline: auto; font-size: clamp(42px, 5vw, 66px) !important; line-height: .98; }
.dtd-rush-cta-copy { max-width: 58ch; margin-inline: auto; line-height: 1.45; }
.dtd-rush-cta-buttons { margin-top: 24px; }

/* Contact page: editorial hero, distinct contact cards, and a form that uses
   its available height instead of leaving a dead lower half. */
.dtd-contact-hero {
    display: grid;
    align-content: end;
    width: min(calc(100% - 32px), 1320px);
    min-height: clamp(540px, 62vw, 720px);
    margin: 24px auto 82px !important;
    padding: clamp(42px, 7vw, 92px) !important;
    overflow: hidden;
    border-radius: 28px !important;
    background-image: linear-gradient(105deg, rgb(25 17 38 / 76%) 0%, rgb(48 31 72 / 50%) 52%, rgb(36 24 52 / 30%) 100%), url('https://iitdelts.org/wp-content/uploads/2025/11/photo_2025-10-19_19-40-12.jpg') !important;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: var(--dtd-shadow);
}
.dtd-contact-hero-title { width: min(100%, 12ch) !important; margin: 0 0 clamp(34px, 6vw, 62px) !important; font-size: clamp(52px, 7vw, 88px) !important; line-height: .94 !important; letter-spacing: -.035em; text-wrap: balance; }
.dtd-contact-strip { gap: 14px !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.dtd-contact-strip > .wp-block-column { display: grid; place-items: center; min-height: 154px; padding: 24px 20px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 16px; background: rgb(48 30 76 / 78%); box-shadow: 0 16px 34px rgb(17 10 27 / 22%); backdrop-filter: blur(12px); }
.dtd-contact-strip .dtd-contact-icon { margin-bottom: 16px; }
.dtd-contact-strip .dtd-contact-icon img { width: 38px; height: 38px; object-fit: contain; }
.dtd-contact-detail, .dtd-contact-detail a { color: #f2ce54 !important; text-decoration-color: rgb(242 206 84 / 60%); }
.dtd-contact-detail a:hover { color: #fff !important; text-decoration-color: #fff; }
.contact-form { width: min(100% - 40px, 1180px); margin-inline: auto; }
.dtd-contact-form-title { margin-bottom: 28px !important; }
.dtd-contact-form-layout { align-items: stretch; }
.dtd-contact-form-layout > .wp-block-column:first-child figure,
.dtd-contact-form-layout > .wp-block-column:first-child img { height: 100%; }
.dtd-contact-form-layout > .wp-block-column:first-child img { object-fit: cover; }
.dtd-contact-form-layout > .wp-block-column:last-child { padding: clamp(24px, 4vw, 44px) !important; border: 1px solid rgb(73 47 117 / 12%); border-radius: var(--dtd-radius); box-shadow: var(--dtd-shadow-soft); background: #fff; }
.dtd-contact-form-layout .wpforms-container,
.dtd-contact-form-layout .wpforms-form { height: 100%; }
.dtd-contact-form-layout .wpforms-form { display: flex; flex-direction: column; }
.dtd-contact-form-layout .wpforms-field-container { flex: 1 1 auto; }
.dtd-contact-form-layout .wpforms-field-textarea textarea { min-height: clamp(220px, 24vw, 330px) !important; }
.dtd-contact-form-layout :is(.cf-turnstile, .wpforms-field-turnstile, .wpforms-turnstile-container) { width: 100% !important; max-width: none !important; }
.dtd-contact-form-layout :is(.cf-turnstile, .wpforms-field-turnstile, .wpforms-turnstile-container) iframe { width: 100% !important; max-width: none !important; }
.dtd-contact-directory { width: min(100% - 40px, 1120px) !important; margin: 0 auto 80px !important; }
.dtd-contact-directory-intro { margin-bottom: 34px !important; }
.dtd-contact-container { max-width: none; }

/* A single-column footer update card; button follows its copy in every viewport. */
.dtd-update-info { padding: clamp(34px, 5vw, 60px) !important; }
.dtd-update-info-columns { display: block !important; max-width: 760px; }
.dtd-update-info-title { max-width: 13ch; font-size: clamp(42px, 5vw, 62px) !important; line-height: .98; }
.dtd-update-info-lead, .dtd-update-info-copy { max-width: 62ch; }
.dtd-update-info-buttons { width: auto !important; margin-top: 26px; justify-content: flex-start !important; }
.dtd-update-info-buttons .wp-block-button { width: auto !important; }
.dtd-update-info-buttons .wp-block-button__link { width: auto !important; min-width: 190px; }
/* Footer remains ordinary document flow, but its crest and link rows stay compact. */
footer.ct-footer { position: static !important; }
footer.ct-footer [data-row="middle"] { min-height: 0 !important; padding-block: 18px !important; }
footer.ct-footer [data-row="middle"] .ct-container-fluid { min-height: 0 !important; padding-block: 0 !important; }
footer.ct-footer .footer-crest { margin: 0 auto !important; line-height: 0; }
footer.ct-footer .footer-crest img { width: clamp(112px, 9vw, 148px) !important; max-height: 160px; object-fit: contain; }
footer.ct-footer [data-row="bottom"] { padding-block: 34px 28px !important; }
footer.ct-footer [data-row="bottom"] .ct-container { row-gap: 30px !important; }

/* Development opportunities become balanced information cards. */
.dtd-feature-row { width: min(calc(100% - 32px), 1040px) !important; margin: 0 auto 26px !important; padding: clamp(22px, 3vw, 30px); border: 1px solid rgb(73 47 117 / 10%); border-radius: 16px; box-shadow: var(--dtd-shadow-soft); background: #fff; }
.dtd-feature-row__media { display: grid; place-items: center; }
.dtd-feature-row__media figure { max-width: 220px !important; aspect-ratio: 1 / 1; }
.dtd-feature-row__media img { object-fit: contain !important; padding: 12px; }
.dtd-feature-row__content { max-width: 62ch; }

/* Accessible native accordions with a card feel and a real opening motion. */
.dtd-accordion { min-height: 0 !important; margin: 14px 0 !important; padding: 0 !important; overflow: clip; border: 1px solid rgb(73 47 117 / 14%) !important; border-radius: var(--dtd-radius-sm); box-shadow: 0 6px 20px rgb(73 47 117 / 9%); background: #fff; }
.dtd-accordion > summary { box-sizing: border-box; min-height: 0 !important; margin: 0 !important; padding: 18px 58px 18px 24px !important; font-size: clamp(18px, 1.7vw, 24px) !important; line-height: 1.25 !important; transition: background .2s ease, color .2s ease; }
.dtd-accordion > summary:hover { color: #492f75; background: rgb(73 47 117 / 5%); }
.dtd-accordion[open] > summary { color: #fff; background: #492f75; }
.dtd-accordion[open] > summary::after { border-color: currentColor; }
.dtd-accordion:not([open]) > :not(summary) { display: none !important; }
.dtd-accordion[open] > :not(summary) { overflow: hidden; }
.dtd-accordion .wp-block-gallery { padding: 20px; }

/* Wellness: responsive five-part sequence and a proper pull quote. */
.dtd-wellness-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; max-width: 1100px; padding: 0; margin: 44px auto; list-style: none; counter-reset: wellness; }
.dtd-wellness-path li { position: relative; min-height: 150px; padding: 58px 16px 20px; border-radius: var(--dtd-radius-sm); color: #fff; background: linear-gradient(145deg, #492f75, #6d56a1); box-shadow: var(--dtd-shadow-soft); text-align: center; font-weight: 700; }
.dtd-wellness-path li::before { position: absolute; top: -20px; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid #fff; border-radius: 50%; content: counter(wellness); counter-increment: wellness; transform: translateX(-50%); background: #eac34f; color: #492f75; font-size: 21px; box-shadow: var(--dtd-shadow-soft); }
body.page-id-3273 .wp-block-quote { max-width: 880px; margin: 46px auto; padding: clamp(28px, 4vw, 44px); border: 0; border-radius: 16px; background: var(--dtd-paper); box-shadow: var(--dtd-shadow-soft); }
body.page-id-3273 .wp-block-quote p { margin: 0; color: #2e243a; font-family: Georgia, serif; font-size: clamp(16px, 1.35vw, 18px); font-style: italic; line-height: 1.65; }
body.page-id-3273 .wp-block-quote cite { display: block; margin-top: 22px; color: #492f75; font-style: normal; font-weight: 700; }

/* State of the Chapter: correspondence and editorial demographic cards. */
.dtd-state-letter { position: relative; max-width: 840px; margin: 44px auto; padding: 52px 62px; border: 1px solid #d9ccb1; box-shadow: 7px 9px 0 #e7d9b7, var(--dtd-shadow-soft); background: repeating-linear-gradient(0deg, #fffdf6, #fffdf6 28px, #f1ebdc 29px); font-family: Georgia, serif; line-height: 1.7; }
.dtd-state-letter::after { position: absolute; top: 22px; right: 24px; width: 70px; height: 84px; border: 7px solid transparent; border-image: repeating-linear-gradient(135deg,#9d4141 0 5px,#f7ead1 5px 10px) 8; content: 'ΔΤΔ\A CHICAGO\A 2026'; display: grid; place-items: center; color: #783535; background: #f4dfad; font-family: Georgia, serif; font-size: 10px; font-weight: 700; line-height: 1.3; text-align: center; transform: rotate(5deg); white-space: pre; box-shadow: 0 4px 10px rgb(50 30 20 / 16%); }
.dtd-state-letter::before { position: absolute; z-index: 2; top: 54px; right: 78px; width: 112px; height: 42px; border: 2px solid rgb(73 47 117 / 38%); border-radius: 50%; content: 'GAMMA BETA  •  CHICAGO'; color: rgb(73 47 117 / 48%); font: 700 8px/42px system-ui,sans-serif; letter-spacing: .05em; text-align: center; transform: rotate(-9deg); }
.dtd-state-letter p { max-width: 680px; margin: 0 auto 1.2em !important; color: #30253a; font-size: clamp(17px, 1.45vw, 20px); }
.dtd-state-letter p:first-child { padding-right: 64px; color: #493064; font-size: clamp(19px, 1.7vw, 23px); }
.dtd-state-letter p:last-child { margin-top: 1.7em !important; margin-bottom: 0 !important; font-style: italic; }
/* acf/state-demographics ships its own equivalent CSS via its block
   stylesheet now (wp-content/plugins/dtd-blocks/state-demographics/) -
   the .dtd-state-demographics (no --data suffix, targeting core/column
   children) rules that used to live here were from a pre-block version
   of this content and no longer match anything in the current markup. */

/* One small, direct footer action—not a second hero. */
.dtd-update-info { position: relative; isolation: isolate; overflow: hidden; width: min(calc(100% - 32px), 920px) !important; min-height: 0 !important; margin-block: 54px !important; padding: clamp(36px, 5vw, 58px) clamp(34px, 6vw, 70px) !important; }
.dtd-update-info::after { position: absolute; right: -55px; bottom: -85px; width: 310px; aspect-ratio: 1; content: ''; opacity: .09; background: url('/wp-content/uploads/2022/11/%CE%94%CE%A4%CE%94-shield.png') center/contain no-repeat; pointer-events: none; }
.dtd-update-info-columns { display: block !important; }
.dtd-update-info-title { max-width: 15ch; margin: 0 auto 18px !important; font-size: clamp(38px, 4.4vw, 54px) !important; line-height: 1 !important; }
.dtd-update-info-copy { max-width: 68ch; margin: 0 auto !important; font-size: 18px; line-height: 1.55; text-wrap: balance; }
.dtd-update-info-buttons { justify-content: center !important; margin: 26px 0 0 !important; }
.dtd-update-info-buttons .wp-block-button__link { min-width: 0; padding: 14px 22px; }
.dtd-state-latest .dtd-responsive-spacer { height: 52px !important; }
.dtd-state-latest-heading { margin-top: 0 !important; }

/* Creed receives the same archival language without sacrificing reading comfort. */
body.page-id-1024 .dtd-reading-width--a0034e4 { max-width: 900px; margin: 28px auto 70px !important; padding: clamp(32px, 5vw, 62px); border: 1px solid #d5c39b; box-shadow: 10px 12px 0 #e8d9b8, var(--dtd-shadow-soft); background: linear-gradient(90deg, rgb(243 234 213 / 78%), #fffdf8 15%, #fffdf8 85%, rgb(243 234 213 / 78%)); }
body.page-id-1024 .dtd-reading-width--a0034e4 .wp-block-quote { margin: 0; border: 0; }
body.page-id-1024 .dtd-reading-width--a0034e4 h5 { margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(19px, 2.2vw, 27px); font-weight: 400; line-height: 1.55; }

/* Homepage cards, founder collage, and blueprint regain intentional layering. */
.dtd-home-comfort-native { position: relative; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr) !important; gap: clamp(32px, 5vw, 78px) !important; padding-bottom: 78px !important; background: none !important; }
.dtd-home-comfort-native::before { position: absolute; left: 4%; top: 50%; width: min(36vw, 520px); aspect-ratio: 1; content: ''; transform: translateY(-50%); opacity: .11; pointer-events: none; background: url('/wp-content/uploads/2022/11/%CE%94%CE%A4%CE%94-shield.png') center / contain no-repeat; }
.dtd-home-comfort-title, .dtd-home-comfort-grid { position: relative; z-index: 1; }
.dtd-home-comfort-card { border-radius: var(--dtd-radius-sm) !important; }
.dtd-home-comfort-native::after { display: none !important; }
.dtd-home-comfort-icon img { width: 72px !important; height: 72px !important; object-fit: contain !important; }
.dtd-home-comfort-card:nth-child(3), .dtd-home-comfort-card:nth-child(4) { transform: translateY(38px) !important; }
.dtd-home-1901-native { margin-block: 90px !important; }
.dtd-home-blueprint-native { position: relative; isolation: isolate; overflow: hidden; margin-top: 64px !important; border-radius: var(--dtd-radius) !important; background: linear-gradient(145deg,#356dc1,#194b9a) !important; }
.dtd-home-blueprint-native::before { position: absolute; z-index: -1; inset: 0; content: ''; opacity: .34; background-image: linear-gradient(rgb(255 255 255 / 15%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 15%) 1px,transparent 1px),linear-gradient(rgb(255 255 255 / 8%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 8%) 1px,transparent 1px); background-size: 80px 80px,80px 80px,16px 16px,16px 16px; -webkit-mask-image:radial-gradient(ellipse at center,#000 35%,transparent 88%); mask-image:radial-gradient(ellipse at center,#000 35%,transparent 88%); }
.dtd-home-blueprint-title { min-height: 0 !important; margin: 170px 0 28px !important; line-height: 1.02 !important; }
.dtd-home-blueprint-title em { display: inline-block; color: #fff; font-style: normal; text-shadow: 1px 1px 0 #24509c, 2px 2px 0 #1d4385, 3px 3px 0 #16366d, 7px 9px 14px rgb(0 0 0 / 24%); }
.dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding-bottom: 72px !important; }
.dtd-home-1901-images { pointer-events: none; }

/* Giving retains its blueprint atmosphere and gains a dimensional title. */
body.page-id-426 .dtd-giving-cta { background-image: linear-gradient(rgb(24 69 151 / 87%), rgb(24 69 151 / 87%)), url('/wp-content/uploads/2022/11/blueprint_grid.svg') !important; background-size: auto, 540px !important; }
body.page-id-426 .dtd-giving-cta-heading { text-shadow: 1px 1px 0 #1d4385, 2px 2px 0 #16366d, 6px 7px 14px rgb(0 0 0 / 22%); }

/* Keep shared “latest” sections close to their preceding content. */
.dtd-state-latest, .dtd-home-latest { margin-top: 64px !important; }
.dtd-responsive-spacer { height: clamp(30px, 5vw, 72px) !important; }
body.home.page-id-771 .dtd-home-latest { margin-bottom: 40px !important; }
body.home.page-id-771 .dtd-home-latest + .dtd-responsive-spacer { height: 24px !important; }

@media (max-width: 767px) {
    .dtd-rush-cta, .dtd-spotlight-cta, .dtd-update-info, .dtd-feature-row { width: calc(100% - 24px) !important; }
    .dtd-rush-cta-title, .dtd-update-info-title { font-size: 42px !important; }
    .dtd-contact-form-layout > .wp-block-column:first-child { display: block !important; }
    .dtd-contact-form-layout > .wp-block-column:first-child img { width: 100%; max-height: 260px; object-fit: cover; }
    .dtd-wellness-path { grid-template-columns: 1fr; max-width: 520px; padding-left: 32px; }
    .dtd-wellness-path li { min-height: 0; padding: 24px 24px 24px 58px; text-align: left; }
    .dtd-wellness-path li::before { top: 50%; left: 0; transform: translate(-50%, -50%); }
    .dtd-state-demographics { padding: 12px; }
    .dtd-state-demographics--data { grid-template-columns: 1fr; width: calc(100% - 24px); }
    .dtd-demographic-card { padding: 28px 22px; }
    .dtd-demographic-table > div { grid-template-columns: 1fr 82px 72px; gap: 8px; font-size: 14px; }
    .dtd-state-letter { padding: 28px 24px; }
    .dtd-state-letter::after { top: 12px; right: 12px; transform: scale(.82) rotate(7deg); transform-origin: top right; }
    .dtd-room-name { display: block; margin: 4px 0 0; font-size: .42em; }
    .dtd-home-comfort-native { display: block !important; padding-bottom: 42px !important; }
    .dtd-home-comfort-native::before { width: 82vw; left: 9vw; top: 30%; }
    .dtd-home-comfort-card:nth-child(3), .dtd-home-comfort-card:nth-child(4) { transform: none !important; }
    .dtd-home-blueprint-title { margin-top: 82px !important; font-size: 42px !important; text-align: center !important; }
    .dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding: 0 24px 44px !important; }
}

/* Lower-footer reveal: the page and footer's top content scroll over the
   anchored crest/contact area. JS enables this only when it fits the viewport. */
@media (min-width: 1024px) {
    body:has(footer.dtd-footer-reveal-ready) main#main,
    body:has(footer.dtd-footer-reveal-ready) .site-main { position: relative; z-index: 2; background: #fff; }
    footer.ct-footer.dtd-footer-reveal-ready { position: relative !important; z-index: 1; background: #fff; }
    footer.ct-footer.dtd-footer-reveal-ready::after { display: block; height: var(--dtd-footer-reveal-height); content: ''; pointer-events: none; }
    footer.ct-footer.dtd-footer-reveal-ready [data-row="top"] { position: relative; z-index: 2; background: #fff; }
    footer.ct-footer.dtd-footer-reveal-ready [data-row="middle"],
    footer.ct-footer.dtd-footer-reveal-ready [data-row="bottom"] { position: fixed !important; z-index: 0; right: 0; left: 0; width: 100%; background: #fff; }
    footer.ct-footer.dtd-footer-reveal-ready [data-row="bottom"] { bottom: 0; }
    footer.ct-footer.dtd-footer-reveal-ready [data-row="middle"] { bottom: var(--dtd-footer-bottom-height); }
}

/* Alumni profile CTA: full container width, a clearer portrait, deeper green
   wash, and a subtle foil-like highlight instead of a flat overlay. */
.dtd-update-info {
    width: min(calc(100% - 32px), var(--theme-normal-container-max-width, 1290px)) !important;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 32%), inset 0 -34px 70px rgb(0 31 28 / 28%), 0 28px 62px rgb(13 61 52 / 24%) !important;
}
.dtd-update-info::after {
    z-index: -1;
    inset: 0;
    width: auto;
    aspect-ratio: auto;
    opacity: 1;
    background: linear-gradient(112deg, transparent 0 33%, rgb(255 255 255 / 14%) 44%, transparent 57%), radial-gradient(circle at 18% 0%, rgb(255 255 255 / 16%), transparent 36%), linear-gradient(135deg, rgb(0 111 82 / 88%), rgb(0 42 38 / 94%));
    mix-blend-mode: normal;
}

@media (max-width: 767px) {
    .dtd-contact-hero { min-height: 0; margin-top: 12px !important; padding: 84px 20px 24px !important; }
    .dtd-contact-hero-title { margin-bottom: 28px !important; font-size: clamp(42px, 13vw, 62px) !important; }
    .dtd-contact-strip { display: grid !important; grid-template-columns: 1fr; }
    .dtd-contact-strip > .wp-block-column { min-height: 0; padding: 20px; }
    .dtd-contact-form-layout .wpforms-field-textarea textarea { min-height: 220px !important; }
}

/* At compact widths the account control is an icon button, not a wrapped name. */
@media (max-width: 767px) {
    [data-device="mobile"] .ct-header-account .ct-account-item {
        display: grid !important;
        place-items: center;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    [data-device="mobile"] .ct-header-account .ct-account-item > :not(svg) { display: none !important; }
    [data-device="mobile"] .ct-header-account .ct-account-item .ct-icon {
        display: block !important;
        width: 29px !important;
        height: 29px !important;
        margin: 0 !important;
    }
    [data-device="mobile"] .ct-header-account { margin-inline-start: auto; }
    [data-device="mobile"] .site-title-container .brand-name { line-height: .95; }
}

/* Preserve readable desktop navigation on medium screens without losing the wordmark. */
@media (min-width: 768px) and (max-width: 1380px) {
    header .site-branding {
        position: relative;
        display: flex;
        align-items: center;
    }
    header .site-branding .site-logo-container img {
        width: 42px !important;
        height: 46px !important;
        object-fit: contain;
    }
    header .site-branding .site-title-container {
        position: absolute;
        z-index: 50;
        display: block !important;
        top: calc(100% + 8px);
        left: 0;
        width: max-content;
        max-width: min(78vw, 300px);
        padding: 11px 14px;
        border: 1px solid rgb(73 47 117 / 12%);
        border-radius: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        pointer-events: none;
        box-shadow: 0 12px 28px rgb(32 22 54 / 16%);
        background: #fff;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }
    header .site-branding:hover .site-title-container,
    header .site-branding:focus-within .site-title-container {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    header .site-branding .site-title-container .brand-name { white-space: nowrap; }
    header .site-branding .site-title-container .brand-name span { font-size: 18px; }
    header .site-branding .site-title-container .brand-name small { font-size: 10px; }
}

/* Home history collage: photos fill the empty left column without covering copy. */
body.home.page-id-771 .dtd-home-1901-images { display: block !important; position: relative !important; isolation: isolate; overflow: visible !important; }
body.home.page-id-771 .dtd-home-1901-images .wp-block-image { display: block !important; position: absolute !important; width: auto !important; margin: 0 !important; padding: 0 !important; line-height: 0 !important; box-shadow: 0 18px 34px rgba(25, 18, 41, .18); background: #fff; }
body.home.page-id-771 .dtd-home-1901-images .wp-block-image { box-shadow: none !important; background: transparent !important; }
body.home.page-id-771 .dtd-home-1901-images .wp-block-image img { display: block !important; width: 100% !important; height: auto !important; max-width: none !important; max-height: none !important; object-fit: cover !important; box-shadow: 0 18px 34px rgba(25,18,41,.2); }

@media (min-width: 900px) {
    body.home.page-id-771 .dtd-home-1901-images { width: min(calc(100% - 64px), 1180px) !important; height: 620px !important; margin: 32px auto -620px !important; z-index: 5 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { width: 32% !important; top: 84px !important; right: auto !important; left: 0 !important; transform: rotate(-7deg) !important; z-index: 1 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-2 { display: block !important; width: 48% !important; top: 12px !important; right: auto !important; left: 24% !important; transform: rotate(2.5deg) !important; z-index: 3 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { width: 33% !important; top: 280px !important; right: auto !important; left: 44% !important; transform: rotate(6deg) !important; z-index: 2 !important; }
    body.home.page-id-771 .dtd-home-1901-native { display: flex !important; flex-wrap: nowrap !important; position: relative !important; z-index: 4 !important; box-sizing: border-box !important; min-height: 620px !important; padding: 32px 40px !important; margin: 0 auto 64px !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:first-child { display: block !important; flex: 0 0 49% !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:last-child { position: relative; z-index: 6; flex: 0 0 51% !important; padding: 24px 12px 24px 0 !important; }
}

@media (max-width: 899px) {
    body.home.page-id-771 .dtd-home-1901-images { width: min(calc(100% - 30px), 720px) !important; height: 330px !important; margin: 44px auto 20px !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { width: 43% !important; top: 98px !important; left: 0 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-2 { display: block !important; width: 58% !important; top: 0 !important; left: 21% !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { width: 39% !important; top: 112px !important; right: 0 !important; left: auto !important; }
    body.home.page-id-771 .dtd-home-1901-native { display: block !important; position: relative !important; z-index: 4 !important; min-height: 0 !important; margin: 0 auto 64px !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:first-child { display: none !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:last-child { width: 100% !important; padding: 44px 24px 36px !important; }
}

@media (max-width: 520px) {
    body.home.page-id-771 .dtd-home-1901-images { height: 250px !important; margin-top: 32px !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { top: 74px !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { top: 84px !important; }
}

/* Cohesive shared-component repair batch. */
.dtd-spotlight-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
    align-items: center !important;
    gap: clamp(32px, 6vw, 76px) !important;
    padding: clamp(42px, 6vw, 72px) !important;
    color: #fff;
    background-color: #492f75 !important;
}
.dtd-spotlight-cta h2,
.dtd-spotlight-cta p { color: #fff !important; }
.dtd-spotlight-cta .dtd-contact-container { display: block; }
.dtd-spotlight-cta .dtd-contact { box-sizing: border-box; width: 100%; padding: 22px; color: #261d34; background: rgb(255 255 255 / 96%); }
.dtd-spotlight-cta .dtd-contact h3,
.dtd-spotlight-cta .dtd-contact small { color: #261d34 !important; }
.dtd-spotlight-cta .dtd-contact a { color: #492f75 !important; }

/* Keep the medium desktop header on one deliberate row. The compact crest
   reveals the full chapter wordmark without sacrificing navigation space. */
@media (min-width: 900px) and (max-width: 1380px) {
    header [data-row="middle"] .ct-container { width: min(100%, 1480px) !important; padding-inline: clamp(18px, 2vw, 30px) !important; }
    header [data-items="primary"] { gap: clamp(5px, .7vw, 11px) !important; }
    header .header-menu-1 > .menu { display: flex !important; flex-wrap: nowrap !important; justify-content: center; white-space: nowrap; }
    header .header-menu-1 .ct-menu-link { padding-inline: clamp(6px, .65vw, 10px) !important; font-size: clamp(11px, .86vw, 14px) !important; }
    header .ct-header-account .ct-account-item { gap: 10px !important; min-width: max-content; padding-inline: 8px !important; line-height: 1.15 !important; }
    header .ct-header-account .ct-icon { width: 27px !important; height: 27px !important; }
    header #header-menu-1 > .menu > .more-items-container { display: contents !important; }
    header #header-menu-1 > .menu > .more-items-container > a,
    header #header-menu-1 > .menu > .more-items-container > .ct-toggle-dropdown-desktop-ghost { display: none !important; }
    header #header-menu-1 > .menu > .more-items-container > .sub-menu {
        position: static !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    header #header-menu-1 > .menu > .more-items-container > .sub-menu > li { display: flex !important; }
    header #header-menu-1 .dtd-highlight-item { display: none !important; }
}

/* The desktop builder previously constrained this row to about 70vw.  Keep
   the full navigation, giving CTA and account control on one usable line at
   common 13–15 inch laptop widths. */
@media (min-width: 1025px) and (max-width: 1560px) {
    header [data-row="middle"] .ct-container {
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
        padding-inline: clamp(14px, 1.55vw, 24px) !important;
    }
    header [data-row="middle"] [data-column="start"] {
        min-width: 0;
    }
    header [data-row="middle"] [data-column="end"] {
        min-width: max-content;
    }
    header [data-row="middle"] [data-id="button"] .ct-button {
        min-height: 48px;
        padding-inline: clamp(14px, 1.25vw, 22px) !important;
        font-size: clamp(12px, .86vw, 14px) !important;
        white-space: nowrap;
    }
    header .header-menu-1 .ct-menu-link {
        padding-inline: clamp(5px, .58vw, 9px) !important;
        font-size: clamp(11px, .82vw, 13px) !important;
    }
    header .ct-header-account .ct-account-item {
        gap: 8px !important;
        padding-inline: 6px !important;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    header .ct-header-account .ct-account-item { display: inline-flex !important; align-items: center !important; gap: 10px !important; white-space: nowrap; }
    footer.ct-footer [data-row="middle"] { padding-block: 28px 22px !important; }
    footer.ct-footer .footer-crest img { width: clamp(150px, 13vw, 190px) !important; max-height: 205px !important; }
}

/* Footer contact cards stay readable while preserving a one-line email. */
footer .dtd-contact { min-width: 0; }
footer .dtd-contact .contact-container { width: 100%; }
footer .dtd-contact-link--email { max-width: 100%; }
footer .dtd-contact-link--email span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Contact page: the form and image read as one composed panel. */
body.page-id-571 .dtd-contact-form-layout { overflow: hidden; border: 1px solid rgb(73 47 117 / 12%); border-radius: var(--dtd-radius); box-shadow: var(--dtd-shadow); background: #fff; }
body.page-id-571 .dtd-contact-form-layout { width: min(calc(100% - 32px), 1040px) !important; margin-inline: auto !important; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column { margin: 0 !important; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column:first-child { flex-basis: 42% !important; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column:last-child { flex-basis: 58% !important; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column:first-child img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column:last-child { border: 0; border-radius: 0; box-shadow: none; }
body.page-id-571 main .dtd-contact-container { width: min(calc(100% - 32px), 1040px) !important; margin-inline: auto !important; }
body.page-id-571 .wpforms-field input,
body.page-id-571 .wpforms-field textarea { border: 1px solid rgb(73 47 117 / 16%) !important; border-radius: 9px !important; background: #fbfafc !important; transition: border-color .18s ease, box-shadow .18s ease; }
body.page-id-571 .wpforms-field input:focus,
body.page-id-571 .wpforms-field textarea:focus { border-color: #6d56a1 !important; box-shadow: 0 0 0 3px rgb(109 86 161 / 14%) !important; }
body.page-id-571 .dtd-contact-form-layout > .wp-block-column:last-child,
body.page-id-571 .dtd-contact-form-layout .wpforms-container,
body.page-id-571 .dtd-contact-form-layout .wpforms-form { min-height: 100%; }
body.page-id-571 .dtd-contact-form-layout .wpforms-form { display: flex; flex-direction: column; }
body.page-id-571 .dtd-contact-form-layout .wpforms-field-container { display: flex; flex: 1 1 auto; flex-direction: column; }
body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea { display: flex; flex: 1 1 250px; flex-direction: column; }
body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea { flex: 1 1 auto; min-height: 260px !important; height: 100% !important; }
body.page-id-571 .dtd-contact-form-layout :is(.cf-turnstile, .wpforms-field-turnstile, .wpforms-turnstile-container) { box-sizing: border-box; width: 100% !important; max-width: none !important; overflow: hidden; }
body.page-id-571 .dtd-contact-form-layout :is(.cf-turnstile, .wpforms-field-turnstile, .wpforms-turnstile-container) iframe { display: block; width: 100% !important; max-width: none !important; }

@media (max-width: 767px) {
    body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea { flex-basis: auto; }
    body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea { min-height: 220px !important; height: 220px !important; }
}

/* Home giving panel: reserve a deliberate photo stage above the copy instead
   of letting the absolute polaroids cover the title and donor content. */
body.home.page-id-771 .polaroid-container {
    position: relative !important;
    z-index: 3 !important;
    width: min(calc(100% - 48px), 1100px) !important;
    height: clamp(300px, 31vw, 420px) !important;
    margin: 54px auto -210px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.home.page-id-771 .updated-house-polaroid {
    top: 0 !important;
    margin: 0 !important;
}
body.home.page-id-771 .updated-house-polaroid:nth-of-type(1) { left: 0 !important; width: 34% !important; transform: rotate(-5deg) !important; }
body.home.page-id-771 .updated-house-polaroid:nth-of-type(2) { right: 0 !important; width: 34% !important; transform: rotate(6deg) !important; }
body.home.page-id-771 .updated-house-polaroid:nth-of-type(3) { left: 28% !important; width: 44% !important; transform: rotate(1deg) !important; }
body.home.page-id-771 .updated-house-polaroid img { width: 100% !important; max-width: none !important; height: auto !important; }
body.home.page-id-771 .dtd-home-blueprint-native {
    margin: 0 auto 72px !important;
    padding-top: clamp(240px, 22vw, 320px) !important;
    padding-bottom: clamp(44px, 5vw, 68px) !important;
}
body.home.page-id-771 .dtd-home-blueprint-title {
    max-width: 17ch;
    margin: 0 auto 28px !important;
    font-size: clamp(48px, 5.4vw, 76px) !important;
    text-align: center;
}
body.home.page-id-771 .dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding-bottom: 0 !important; }
body.home.page-id-771 .dtd-home-blueprint-native .dynamic-sponsor-block { margin-top: 44px; }

@media (max-width: 767px) {
    .dtd-spotlight-cta { display: block !important; padding: 34px 22px !important; }
    .dtd-spotlight-cta .dtd-contact-container { margin-top: 28px; }
    body.page-id-571 .dtd-contact-form-layout > .wp-block-column:first-child img { min-height: 0; max-height: 300px; }
    footer.ct-footer .footer-crest img { width: 92px !important; }
    body.home.page-id-771 .polaroid-container { width: min(calc(100% - 30px), 520px) !important; height: 245px !important; margin: 34px auto -105px !important; }
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(1),
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(2) { display: none !important; }
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(3) { display: block !important; left: 7% !important; width: 86% !important; transform: rotate(-2deg) !important; }
    body.home.page-id-771 .dtd-home-blueprint-native { padding: 150px 22px 42px !important; }
    body.home.page-id-771 .dtd-home-blueprint-title { margin-top: 0 !important; font-size: clamp(38px, 11vw, 52px) !important; }
}

/* Composite archive: centered content, measured accordion spacing, and one
   PhotoSwipe-powered gallery interaction across the site. */
body.page-id-441 .entry-content > :not(.alignfull) {
    width: min(calc(100% - 32px), 1120px);
    margin-inline: auto;
}
body.page-id-441 .dtd-accordion > summary {
    padding-inline: 24px 58px !important;
}
body.page-id-441 .dtd-accordion > summary::after {
    right: 24px !important;
}
body.page-id-441 .dtd-accordion .wp-block-gallery {
    justify-content: center;
    gap: 12px !important;
    padding: 22px;
}
body.page-id-441 .dtd-accordion .wp-block-image {
    margin: 0 !important;
}
body.page-id-441 .dtd-composite-needs {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    gap: clamp(24px, 5vw, 54px);
    align-items: center;
    margin-block: clamp(42px, 7vw, 84px) !important;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgb(73 47 117 / 14%);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f8f5fb);
    box-shadow: 0 18px 44px rgb(44 28 72 / 10%);
}
body.page-id-441 .dtd-composite-years {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}
body.page-id-441 .dtd-composite-years a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgb(73 47 117 / 22%);
    border-radius: 999px;
    color: #492f75;
    background: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}
body.page-id-441 .dtd-composite-needs .dtd-contact-container,
body.page-id-441 .dtd-composite-needs .dtd-contact {
    width: 100%;
    min-width: 0;
}
body.page-id-441 .dtd-composite-needs .dtd-contact-container { display: block !important; }
body.page-id-441 .dtd-composite-needs .dtd-contact {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 14px 18px !important;
    align-items: center !important;
    padding: 20px !important;
}
body.page-id-441 .dtd-composite-needs .dtd-contact > img { width: 84px !important; height: 84px !important; object-fit: cover; }
body.page-id-441 .dtd-composite-needs .dtd-contact-info { min-width: 0; }
body.page-id-441 .dtd-composite-needs .dtd-contact-link { overflow-wrap: anywhere; }

/* Alumni awards: three editorial cards with consistent rhythm instead of
   three unrelated text columns. */
body.page-id-403 .entry-content > .wp-block-columns:first-child {
    align-items: stretch;
    gap: 18px;
    width: min(calc(100% - 32px), 1180px);
    margin-inline: auto;
}
body.page-id-403 .entry-content > .wp-block-columns:first-child > .wp-block-column {
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgb(73 47 117 / 13%);
    border-top: 5px solid #492f75;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 38px rgb(39 25 63 / 9%);
}
body.page-id-403 .entry-content > .wp-block-columns:first-child h2 {
    margin-top: 0;
    color: #492f75;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.08;
    text-wrap: balance;
}
body.page-id-403 .entry-content > .wp-block-columns:first-child p,
body.page-id-403 .entry-content > .wp-block-columns:first-child li {
    font-size: 16px;
    line-height: 1.65;
}
body.page-id-403 .dtd-spotlight-cta-heading {
    max-width: 10ch;
    margin: 0 0 18px;
    font-size: clamp(44px, 6vw, 76px) !important;
    line-height: .98;
    text-wrap: balance;
}
body.page-id-403 .dtd-spotlight-cta-copy {
    max-width: 48ch;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.55;
}
body.page-id-403 .dtd-spotlight-cta {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px) !important;
}
body.page-id-403 .dtd-spotlight-cta .dtd-contact-container,
body.page-id-403 .dtd-spotlight-cta .dtd-contact {
    width: 100% !important;
    min-width: 0 !important;
}
body.page-id-403 .dtd-spotlight-cta .dtd-contact {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding: 22px !important;
}
body.page-id-403 .dtd-spotlight-cta .dtd-contact > img {
    grid-row: 1 / span 3;
    width: 92px !important;
    height: 92px !important;
    object-fit: cover;
}
body.page-id-403 .dtd-spotlight-cta .dtd-contact h3,
body.page-id-403 .dtd-spotlight-cta .dtd-contact .dtd-contact-links {
    min-width: 0;
}
body.page-id-403 .dtd-spotlight-cta .dtd-contact-link--email span {
    overflow-wrap: anywhere;
    white-space: normal;
}

/* Alumni involvement follows the same site container as its headings and
   navigation, including every contact-card group. */
body.page-id-400 .entry-content > :where(.wp-block-group, .wp-block-columns, .dtd-contact-container):not(.alignfull) {
    width: min(calc(100% - 32px), 1120px) !important;
    margin-inline: auto !important;
}

/* Contact hero: a compact editorial masthead with three legible utility
   cards, stronger contrast, and no large purple slab obscuring the photo. */
body.page-id-571 .dtd-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(calc(100% - 32px), 1180px) !important;
    min-height: clamp(540px, 57vw, 720px);
    margin: clamp(22px, 4vw, 52px) auto clamp(54px, 7vw, 88px) !important;
    padding: clamp(42px, 6vw, 78px) !important;
    border-radius: 24px;
    background-position: center !important;
}
body.page-id-571 .dtd-contact-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(105deg, rgb(31 20 50 / 78%) 0 42%, rgb(31 20 50 / 24%) 72%, rgb(31 20 50 / 46%));
}
body.page-id-571 .dtd-contact-hero-title {
    max-width: 11ch;
    margin: 0;
    color: #fff !important;
    font-size: clamp(48px, 6.5vw, 86px) !important;
    line-height: .94;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgb(20 12 32 / 42%);
}
body.page-id-571 .dtd-contact-strip {
    position: absolute;
    right: clamp(28px, 5vw, 64px);
    bottom: clamp(28px, 5vw, 60px);
    left: clamp(28px, 5vw, 64px);
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
body.page-id-571 .dtd-contact-strip > .wp-block-column {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 18px 20px;
    border: 1px solid rgb(255 255 255 / 26%);
    border-radius: 14px;
    background: rgb(36 23 60 / 78%);
    box-shadow: 0 12px 28px rgb(15 8 28 / 18%);
    backdrop-filter: blur(12px);
}
body.page-id-571 .dtd-contact-icon,
body.page-id-571 .dtd-contact-icon img {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
}
body.page-id-571 .dtd-contact-detail {
    margin: 0 !important;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.4;
}
body.page-id-571 .dtd-contact-detail a { color: #efc64d !important; }
body.page-id-571 .dtd-contact-form-title {
    width: min(calc(100% - 32px), 1040px);
    margin: 0 auto 28px !important;
    font-size: clamp(44px, 6vw, 72px) !important;
    line-height: 1;
    text-wrap: balance;
}
body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea {
    min-height: 320px !important;
}
body.page-id-571 .dtd-contact-form-layout :is(.cf-turnstile, .wpforms-field-turnstile, .wpforms-turnstile-container) {
    width: 100% !important;
    max-width: none !important;
}

/* Long testimonial remains a pull quote, not a second page headline. */
body.page-id-3273 .wp-block-quote p {
    font-size: clamp(17px, 1.45vw, 21px) !important;
    line-height: 1.62 !important;
    text-align: left;
}

@media (max-width: 767px) {
    body.page-id-441 .dtd-composite-needs { grid-template-columns: 1fr; }
    body.page-id-403 .entry-content > .wp-block-columns:first-child { display: grid !important; grid-template-columns: 1fr; }
    body.page-id-403 .dtd-spotlight-cta { grid-template-columns: 1fr !important; }
    body.page-id-403 .dtd-spotlight-cta .dtd-contact { grid-template-columns: 76px minmax(0, 1fr); }
    body.page-id-403 .dtd-spotlight-cta .dtd-contact > img { width: 76px !important; height: 76px !important; }
    body.page-id-571 .dtd-contact-hero { min-height: 720px; padding: 42px 24px !important; }
    body.page-id-571 .dtd-contact-strip { position: absolute; right: 18px; bottom: 18px; left: 18px; grid-template-columns: 1fr !important; }
    body.page-id-571 .dtd-contact-strip > .wp-block-column { min-height: 0; }
    body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea { min-height: 240px !important; }
}

/* Footer spacing; the measured fixed reveal is defined above. */
footer.ct-footer [data-row="top"] { padding-block: clamp(28px, 4vw, 48px) 18px !important; }
footer.ct-footer [data-row="middle"] { padding-block: 18px clamp(36px, 5vw, 62px) !important; }
footer.ct-footer .footer-crest img { width: clamp(164px, 14vw, 220px) !important; max-height: 230px !important; }
footer .dtd-contact { min-width: 0; }
footer .dtd-contact-link--email span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Guard against an older LiteSpeed aggregate flattening the logged-in contact
   editor controls. */
body .dtd-contact-editor input:not([type="checkbox"]),
body .dtd-contact-editor textarea {
    appearance: none !important;
    border: 2px solid #cfc5dc !important;
    border-radius: 10px !important;
    color: #241c2f !important;
    background: #fff !important;
    box-shadow: inset 0 1px 2px rgb(33 23 56 / 6%) !important;
}
body .dtd-contact-editor input:not([type="checkbox"]):focus,
body .dtd-contact-editor textarea:focus { border-color: #492f75 !important; outline: 4px solid rgb(73 47 117 / 14%) !important; outline-offset: 0 !important; }
body .dtd-contact-editor button.dtd-contact-editor__button { border: 2px solid #492f75 !important; color: #492f75 !important; background: #fff !important; }
body .dtd-contact-editor button.dtd-contact-editor__button--primary { color: #fff !important; background: #492f75 !important; }

/* 2026-08-22 contact + archive consistency pass. Keep this final layer
   intentionally page-scoped so older component rules cannot win. */
body.page-id-571 .dtd-contact-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(calc(100% - 32px), 1180px) !important;
    min-height: clamp(600px, 58vw, 730px);
    padding: clamp(34px, 5vw, 62px) !important;
    background-image: url('https://iitdelts.org/wp-content/uploads/2025/11/photo_2025-10-19_19-40-16-copy.jpg') !important;
    background-position: center 44% !important;
    background-size: cover !important;
}
body.page-id-571 .dtd-contact-hero-title {
    position: relative;
    z-index: 1;
    margin: 0 0 clamp(34px, 5vw, 60px) !important;
}
body.page-id-571 .dtd-contact-strip {
    position: relative !important;
    z-index: 1;
    inset: auto !important;
    width: 100% !important;
    margin: 0 !important;
}
body.page-id-571 .dtd-contact-map-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}
body.page-id-571 .dtd-contact-map-link .wp-block-column {
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body.page-id-571 .dtd-contact-map-link:hover .wp-block-column {
    border-color: rgb(239 198 77 / 66%);
    background: rgb(36 23 60 / 90%);
    transform: translateY(-2px);
}
body.page-id-571 .contact-form,
body.page-id-571 .dtd-contact-form-title,
body.page-id-571 .dtd-contact-form-layout,
body.page-id-571 main .dtd-contact-container {
    width: min(calc(100% - 32px), 1180px) !important;
    margin-inline: auto !important;
}
body.page-id-571 .contact-form {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body.page-id-571 .dtd-contact-form-title { margin-bottom: 28px !important; }
body.page-id-571 .dtd-contact-form-layout .wpforms-field :is(input, textarea),
body.page-id-571 .dtd-contact-form-layout .wpforms-field-medium {
    width: 100% !important;
    max-width: none !important;
}
body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea {
    width: 50% !important;
    flex: 0 0 auto !important;
}
body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea {
    width: 100% !important;
    min-height: 320px !important;
    height: 320px !important;
}
body.page-id-571 .dtd-contact-form-layout .wpforms-submit {
    min-height: 50px !important;
    padding: 0 28px !important;
    border: 2px solid #492f75 !important;
    border-radius: 9px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: #492f75 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .015em;
    text-transform: none !important;
    box-shadow: 0 8px 20px rgb(73 47 117 / 18%) !important;
}
body.page-id-571 .dtd-contact-form-layout .wpforms-submit:hover {
    border-color: #2d1d49 !important;
    background: #2d1d49 !important;
    transform: translateY(-1px);
}
body.page-id-571 .entry-content > :last-child { margin-bottom: 0 !important; }

/* Newsletter archive and Composite Photos use one centered accordion system. */
body:is(.page-id-3438, .page-id-441) .entry-content > .dtd-accordion,
body:is(.page-id-3438, .page-id-441) main .dtd-accordion {
    box-sizing: border-box;
    width: min(calc(100% - 32px), 1120px) !important;
    max-width: 1120px !important;
    margin: 14px auto !important;
    border: 1px solid rgb(73 47 117 / 15%) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgb(73 47 117 / 10%) !important;
}
body:is(.page-id-3438, .page-id-441) .dtd-accordion > summary {
    box-sizing: border-box;
    width: 100%;
    padding: 20px 64px 20px 24px !important;
    text-align: left;
}
body:is(.page-id-3438, .page-id-441) .dtd-accordion > summary::after {
    right: 26px !important;
}
body:is(.page-id-3438, .page-id-441) .dtd-accordion > :not(summary) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}
body:is(.page-id-3438, .page-id-441) .dtd-accordion > .wp-block-group {
    padding: clamp(18px, 3vw, 30px) !important;
}

@media (max-width: 767px) {
    body.page-id-571 .dtd-contact-hero {
        min-height: 0;
        padding: 88px 20px 20px !important;
    }
    body.page-id-571 .dtd-contact-strip { grid-template-columns: 1fr !important; }
    body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea { width: 100% !important; }
    body.page-id-571 .dtd-contact-form-layout .wpforms-field-textarea textarea {
        min-height: 240px !important;
        height: 240px !important;
    }
}

/* Home: history photos stay in the visual half of the card and never cover
   the original copy. Photo wrappers remain visually transparent. */
body.home.page-id-771 .dtd-home-1901-images,
body.home.page-id-771 .polaroid-container { background: transparent !important; box-shadow: none !important; }
body.home.page-id-771 .dtd-home-1901-images .wp-block-image { box-shadow: none !important; background: transparent !important; }
body.home.page-id-771 .dtd-home-1901-images .wp-block-image img { width: 100% !important; height: auto !important; max-width: none !important; object-fit: cover !important; box-shadow: 0 18px 34px rgb(25 18 41 / 20%); }

@media (min-width: 900px) {
    body.home.page-id-771 .dtd-home-1901-images { display: block !important; position: relative !important; z-index: 5 !important; overflow: visible !important; width: min(calc(100% - 64px), 1180px) !important; height: 570px !important; margin: 48px auto -570px !important; }
    body.home.page-id-771 .dtd-home-1901-images .wp-block-image { position: absolute !important; margin: 0 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { width: 31% !important; top: 106px !important; left: -2% !important; transform: rotate(-7deg) !important; z-index: 1 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-2 { display: block !important; width: 40% !important; top: 24px !important; left: 9% !important; transform: rotate(2.5deg) !important; z-index: 3 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { width: 30% !important; top: 286px !important; left: 21% !important; transform: rotate(6deg) !important; z-index: 2 !important; }
    body.home.page-id-771 .dtd-home-1901-native { display: flex !important; position: relative !important; z-index: 4 !important; min-height: 570px !important; margin: 0 auto clamp(54px, 6vw, 82px) !important; padding: 46px 48px !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:first-child { flex: 0 0 53% !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:last-child { position: relative; z-index: 6; flex: 0 0 47% !important; padding: 28px 12px 28px 22px !important; }
}

/* Home: the giving collage has its own photo stage above the blueprint copy. */
body.home.page-id-771 .polaroid-container { position: relative !important; z-index: 3 !important; width: min(calc(100% - 56px), 1180px) !important; height: clamp(290px, 29vw, 390px) !important; margin: clamp(42px, 6vw, 72px) auto -126px !important; padding: 0 !important; }
body.home.page-id-771 .updated-house-polaroid { top: 0 !important; margin: 0 !important; filter: drop-shadow(0 18px 18px rgb(20 30 58 / 22%)); }
body.home.page-id-771 .updated-house-polaroid:nth-of-type(1) { left: -1% !important; width: 31% !important; transform: rotate(-5deg) !important; }
body.home.page-id-771 .updated-house-polaroid:nth-of-type(2) { right: -1% !important; width: 31% !important; transform: rotate(5deg) !important; }
body.home.page-id-771 .updated-house-polaroid:nth-of-type(3) { left: 31% !important; width: 38% !important; transform: rotate(1deg) !important; }
body.home.page-id-771 .updated-house-polaroid img { width: 100% !important; max-width: none !important; height: auto !important; }
body.home.page-id-771 .dtd-home-blueprint-native { position: relative; isolation: isolate; overflow: hidden; margin: 0 auto 72px !important; padding-top: clamp(178px, 17vw, 228px) !important; padding-bottom: clamp(48px, 6vw, 76px) !important; border-radius: 18px !important; background: linear-gradient(145deg,#356dc1,#194b9a) !important; }
body.home.page-id-771 .dtd-home-blueprint-native::before { position: absolute; z-index: -1; inset: 0; content: ''; opacity: .34; background-image: linear-gradient(rgb(255 255 255 / 15%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 15%) 1px,transparent 1px),linear-gradient(rgb(255 255 255 / 8%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 8%) 1px,transparent 1px); background-size: 80px 80px,80px 80px,16px 16px,16px 16px; -webkit-mask-image:radial-gradient(ellipse at center,#000 35%,transparent 88%); mask-image:radial-gradient(ellipse at center,#000 35%,transparent 88%); }
body.home.page-id-771 .dtd-home-blueprint-title { max-width: 17ch; min-height: 0 !important; margin: 0 auto 28px !important; font-size: clamp(48px, 5.4vw, 76px) !important; line-height: 1.02 !important; text-align: center; }
body.home.page-id-771 .dtd-home-blueprint-title em { display: inline-block; color: #fff; font-style: normal; text-shadow: 1px 1px 0 #24509c,2px 2px 0 #1d4385,3px 3px 0 #16366d,7px 9px 14px rgb(0 0 0 / 24%); }
body.home.page-id-771 .dtd-home-blueprint-native > .wp-block-column:nth-child(2) { padding-bottom: 0 !important; }
body.home.page-id-771 .dtd-home-blueprint-native .dynamic-sponsor-block { margin-top: 44px; }
body.home.page-id-771 .dtd-spacer--aa354a1,
body.home.page-id-771 .dtd-spacer--e0fb2a3 { height: clamp(28px, 4vw, 58px) !important; }
body.home.page-id-771 .dtd-rush-cta { width: min(calc(100% - 32px), 1040px) !important; margin-block: clamp(44px, 6vw, 72px) !important; }

@media (max-width: 899px) {
    body.home.page-id-771 .dtd-home-1901-images { position: relative !important; width: min(calc(100% - 30px), 720px) !important; height: 330px !important; margin: 40px auto 22px !important; }
    body.home.page-id-771 .dtd-home-1901-images .wp-block-image { position: absolute !important; margin: 0 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { width: 43% !important; top: 98px !important; left: 0 !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-2 { display: block !important; width: 58% !important; top: 0 !important; left: 21% !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { width: 39% !important; top: 112px !important; right: 0 !important; left: auto !important; }
    body.home.page-id-771 .dtd-home-1901-native { display: block !important; min-height: 0 !important; margin-bottom: 54px !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:first-child { display: none !important; }
    body.home.page-id-771 .dtd-home-1901-native > .wp-block-column:last-child { width: 100% !important; padding: 34px 24px 36px !important; }
    body.home.page-id-771 .polaroid-container { height: clamp(230px, 53vw, 330px) !important; margin-bottom: -64px !important; }
    body.home.page-id-771 .dtd-home-blueprint-native { padding-top: 112px !important; }
}

@media (max-width: 520px) {
    footer.ct-footer .footer-crest img { width: 118px !important; }
    body.home.page-id-771 .dtd-home-1901-images { height: 250px !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-1 { top: 74px !important; }
    body.home.page-id-771 .dtd-home-1901-images .dtd-home-1901-picture-3 { top: 84px !important; }
    body.home.page-id-771 .polaroid-container { height: 220px !important; margin: 30px auto -46px !important; }
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(1),
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(2) { display: block !important; width: 38% !important; }
    body.home.page-id-771 .updated-house-polaroid:nth-of-type(3) { display: block !important; left: 18% !important; width: 64% !important; }
    body.home.page-id-771 .dtd-home-blueprint-native { padding: 88px 18px 38px !important; }
    body.home.page-id-771 .dtd-home-blueprint-title { font-size: clamp(36px, 10.5vw, 48px) !important; }
}
