/* Giving owns its layout here; shared site.css contains no Giving overrides. */
body.page-id-426 article { margin-top:28px; padding-bottom:16px; }
body.page-id-426 .entry-content { width:min(90vw,1200px); max-width:1200px; margin-inline:auto; }
body.page-id-426 .dtd-giving-hero { align-items:center; gap:48px; margin:0 0 64px!important; padding:36px; border:1px solid #e2d7eb; border-radius:24px; background:linear-gradient(125deg,#f5f0fa,#faf7ef); }
body.page-id-426 .dtd-giving-hero h1 { font-size:clamp(38px,4.8vw,64px); line-height:1.08; color:#492f75; margin:0 0 20px; }
body.page-id-426 .dtd-giving-hero p { font-size:18px; line-height:1.55; max-width:35ch; margin-bottom:24px; }
body.page-id-426 .dtd-giving-polaroid { box-sizing:border-box; padding:12px 12px 0; margin:8px!important; border:1px solid #e6e0d5; border-radius:2px; background:#fffdf8; box-shadow:0 8px 20px rgb(45 36 27 / 12%); transform:rotate(-2deg); }
body.page-id-426 .dtd-giving-polaroid img { display:block; width:100%; height:300px; object-fit:cover; border-radius:0!important; }
body.page-id-426 .dtd-giving-polaroid figcaption { min-height:48px; display:flex; align-items:center; justify-content:center; padding:12px 4px; margin:0; border:0; background:none; color:#766783; font:21px/1.35 'jeff-script','DTD Postcard',cursive; text-align:center; }
body.page-id-426 .dtd-giving-form { padding:36px; border:1px solid #e2d7eb; border-radius:24px; background:#fbf9fc; margin:0 0 56px!important; scroll-margin-top:120px; }
body.page-id-426 .dtd-giving-form h2 { font-size:clamp(32px,3.8vw,46px); line-height:1.12; margin:0 0 32px; color:#492f75; }
body.page-id-426 .dtd-giving-form > .wp-block-columns { gap:40px; align-items:start; margin:0; }
body.page-id-426 .dtd-giving-form .wp-block-column { min-width:0; }
body.page-id-426 .dtd-giving-form p { font-size:17px; line-height:1.6; margin-bottom:20px; }
body.page-id-426 .dtd-giving-form .cause-description { padding:0; }
body.page-id-426 .dtd-giving-form .polaroid-container { padding:12px 0 0; }
body.page-id-426 .dtd-giving-form .dtd-giving-polaroid { transform:rotate(2deg); }
body.page-id-426 .dtd-giving-form .dtd-giving-polaroid img { height:460px; object-position:center 35%; }
body.page-id-426 .dtd-giving-selection-note { margin-top:24px; padding:18px 20px; border-left:3px solid #c6a35b; background:#f6f0e5; border-radius:0 8px 8px 0; }
body.page-id-426 .dtd-giving-selection-note p { font-size:15px; margin:0; }
.dtd-donation-mount { position:relative; min-height:636px; }
.dtd-donation-mount .donation-box { min-height:636px; }
.dtd-donation-status { position:absolute; inset:0; display:flex; justify-content:center; align-items:center; border:1px solid #e2d7eb; border-radius:16px; background:#fff; color:#786588; text-align:center; padding:30px; z-index:0; }
.dtd-donation-status[hidden] { display:none; }
.dtd-donation-mount .egsandbox { position:relative; z-index:1; }
body.page-id-426 .dtd-donation-fallback { font-size:14px; text-align:center; margin:16px auto 0; }
body.page-id-426 .dtd-giving-society { margin:0 0 56px!important; }
body.page-id-426 .dtd-giving-society h2,body.page-id-426 .dtd-giving-stories h2 { font-size:36px; line-height:1.15; text-align:center; }
body.page-id-426 .dtd-giving-society-heading { margin-bottom:16px!important; }
body.page-id-426 .dtd-giving-society .wp-block-group { margin-bottom:24px!important; }
body.page-id-426 .dtd-giving-society p { font-size:17px; }
body.page-id-426 .dtd-giving-cta { display:grid; grid-template-columns:1.05fr 1fr; gap:40px; align-items:center; width:100%; box-sizing:border-box; margin:0 0 16px!important; padding:40px; border:1px solid #345b9b; border-radius:24px; background:linear-gradient(125deg,#173a72,#264d87); color:#fff; }
body.page-id-426 .dtd-giving-cta > .wp-block-column { min-width:0; }
body.page-id-426 .dtd-giving-cta-heading { font-size:clamp(30px,3.4vw,44px); line-height:1.12; margin:0 0 20px!important; color:#fff; text-shadow:none; }
body.page-id-426 .dtd-giving-cta-copy { font-size:17px; line-height:1.6; color:#e4edf9; margin:0 0 16px; }
body.page-id-426 .dtd-giving-cta-copy:last-child { margin-bottom:0; }
body.page-id-426 .dtd-giving-cta .dtd-contact-container { display:block; margin:0; }
body.page-id-426 .dtd-giving-cta .dtd-contact { display:grid; grid-template-columns:72px minmax(0,1fr); gap:18px; width:100%; box-sizing:border-box; padding:24px; border:1px solid #e1e7f0; border-radius:16px; box-shadow:none; background:#fff; align-items:start; }
body.page-id-426 .dtd-giving-cta .img-container { width:72px; height:72px; aspect-ratio:1; margin:0; mask:none; -webkit-mask:none; }
body.page-id-426 .dtd-giving-cta .img-container img { display:block; width:72px; height:72px; border-radius:10px; object-fit:cover; }
body.page-id-426 .dtd-giving-cta .contact-container { min-width:0; margin:0; width:auto; }
body.page-id-426 .dtd-giving-cta h3 { font-size:22px; line-height:1.2; color:#342440; margin:0 0 18px; }
body.page-id-426 .dtd-giving-cta h3 small { display:block; font-size:14px; line-height:1.5; font-weight:400; margin-top:6px; color:#62576d; }
body.page-id-426 .dtd-giving-cta .dtd-contact-link { display:flex; align-items:center; gap:10px; margin:12px 0 0; font-size:15px; line-height:1.4; color:#492f75; }
body.page-id-426 .dtd-giving-cta .dtd-contact-link span { overflow-wrap:anywhere; min-width:0; }
body.page-id-426 .dtd-giving-cta .dtd-contact-link svg { flex:0 0 18px; width:18px; height:18px; }
body.page-id-426 .dtd-giving-cta .dtd-contact-link:hover { color:#2e1950; text-decoration:underline; }
body.page-id-426 .dtd-giving-cta .dtd-contact-link:focus-visible { outline:2px solid #b18b34; outline-offset:4px; }
body.page-id-426 .dtd-giving-stories { margin:32px 0 0!important; }
body.page-id-426 .dtd-giving-stories-intro { max-width:700px; margin-inline:auto; text-align:center; }
@media(max-width:781px) {
 body.page-id-426 .dtd-giving-hero,body.page-id-426 .dtd-giving-form { padding:24px; gap:26px; margin-bottom:40px!important; }
 body.page-id-426 .dtd-giving-hero h1 { font-size:40px; }
 body.page-id-426 .dtd-giving-polaroid img,body.page-id-426 .dtd-giving-form .dtd-giving-polaroid img { height:390px; }
 body.page-id-426 .dtd-giving-form > .wp-block-columns { gap:32px; }
 body.page-id-426 .dtd-giving-cta { grid-template-columns:1fr; gap:26px; padding:24px; }
 body.page-id-426 .dtd-giving-society h2 { font-size:30px; }
 body.page-id-426 .dtd-giving-cta .dtd-contact { padding:18px; grid-template-columns:60px minmax(0,1fr); gap:14px; }
 body.page-id-426 .dtd-giving-cta .img-container,body.page-id-426 .dtd-giving-cta .img-container img { width:60px; height:60px; }
}

/* Fund cards keep route details in a shared, accessible dialog. Native details work without JS. */
body.page-id-426 .dtd-gift-routes { margin:0 0 64px!important; scroll-margin-top:120px; }
body.page-id-426 .dtd-gift-routes > h2 { font-size:clamp(30px,3.2vw,42px); line-height:1.16; color:#492f75; max-width:28ch; margin:0 auto 18px; text-align:center; }
body.page-id-426 .dtd-gift-intro { max-width:65ch; font-size:18px; line-height:1.6; margin:0 auto 32px; text-align:center; }
body.page-id-426 .dtd-gift-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body.page-id-426 .dtd-gift-card { display:flex; flex-direction:column; align-items:center; position:relative; isolation:isolate; overflow:hidden; min-width:0; padding:32px 26px 24px; border:1px solid #e2d7eb; border-radius:18px; background:#fcfafd; margin:0!important; }
body.page-id-426 .dtd-gift-card:before { content:''; position:absolute; inset:0; z-index:-1; background:var(--gift-photo) center top/cover no-repeat; opacity:.12; mask-image:linear-gradient(#000,transparent 85%); filter:grayscale(.5); }
body.page-id-426 .dtd-gift-card:nth-child(1) { --gift-photo:url('https://iitdelts.org/wp-content/uploads/2025/05/image-2-2-1024x987.png'); }
body.page-id-426 .dtd-gift-card:nth-child(2) { --gift-photo:url('https://iitdelts.org/wp-content/uploads/2022/11/old_house.png'); background:#faf8f1; border-color:#e8ddbf; }
body.page-id-426 .dtd-gift-card:nth-child(3) { --gift-photo:url('https://iitdelts.org/wp-content/uploads/2025/05/NKN1928.NEF_.jpg'); background:#f5f6fa; border-color:#dce0ea; }
body.page-id-426 .dtd-gift-icon { display:flex; align-items:center; justify-content:center; width:74px; height:74px; color:#492f75; background:#ffffffcf; border:0; border-radius:0; margin:0 0 24px; -webkit-mask:url("https://iitdelts.org/wp-content/plugins/dtd-chapter/modules/blocks/src/instagram/img/crest_mask.svg") center/contain no-repeat; mask:url("https://iitdelts.org/wp-content/plugins/dtd-chapter/modules/blocks/src/instagram/img/crest_mask.svg") center/contain no-repeat; box-shadow:none; }
body.page-id-426 .dtd-gift-icon svg { width:43px; height:43px; }
body.page-id-426 .dtd-gift-card h3 { font-size:28px; line-height:1.18; color:#342440; text-align:center; margin:0 0 20px; max-width:17ch; }
body.page-id-426 .dtd-gift-card > p { font-size:16px; line-height:1.65; margin:0 0 26px; text-align:center; }
body.page-id-426 .dtd-gift-card .dtd-gift-options { width:100%; margin:auto 0 0; }
body.page-id-426 .dtd-gift-options > summary { margin:0; display:flex; align-items:center; justify-content:center; gap:12px; list-style:none; min-height:50px; padding:12px 18px; border:1px solid #492f75; border-radius:8px; background:#492f75; color:#fff; font-size:17px; font-weight:700; line-height:1.4; cursor:pointer; }
body.page-id-426 .dtd-gift-options > summary::-webkit-details-marker { display:none; }
body.page-id-426 .dtd-gift-options > summary:before { display:none; }
body.page-id-426 .dtd-gift-options > summary svg { width:21px; height:21px; flex:none; }
body.page-id-426 .dtd-gift-options > summary:hover { background:#33204f; border-color:#33204f; }
body.page-id-426 .dtd-gift-chips { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:8px; }
body.page-id-426 .dtd-gift-chips span { display:inline-block; padding:5px 10px; border:1px solid #cfded2; border-radius:24px; background:#f1f7f2; color:#315343; font-size:11px; line-height:1.4; font-weight:600; }
body.page-id-426 .dtd-gift-card:last-child .dtd-gift-chips span { background:#f2eef7; color:#574368; border-color:#ded3e8; }
body.page-id-426 .dtd-gift-tax-note { margin:20px auto 0; color:#73677e; font-size:12px; line-height:1.6; max-width:85ch; text-align:center; }
body.page-id-426 .dtd-gift-options[open] > div { padding-top:22px; }
.dtd-gift-dialog { position:fixed; inset:0 0 0 auto; width:min(620px,100vw); max-width:620px; height:100dvh; max-height:100dvh; margin:0; box-sizing:border-box; overflow:hidden; overscroll-behavior:contain; border:0; border-left:1px solid #e2d7eb; border-radius:20px 0 0 20px; padding:38px 32px 24px; background:#fffdfb; color:#30283a; box-shadow:-15px 0 70px #21143130; transition:transform .25s cubic-bezier(.2,.7,.2,1),display .25s allow-discrete,overlay .25s allow-discrete; }
.dtd-gift-dialog[open] { display:flex; flex-direction:column; transform:translateX(0); }
.dtd-gift-dialog:not([open]) { transform:translateX(100%); }
@starting-style { .dtd-gift-dialog[open] { transform:translateX(100%); } }
.dtd-gift-dialog [role=tabpanel] { min-height:0; overflow-y:auto; padding:2px 4px 12px; flex:1; scrollbar-width:thin; }
.dtd-gift-dialog :is(h2,.dtd-gift-tabs) { flex-shrink:0; }
.dtd-gift-dialog::backdrop { background:#24143399; backdrop-filter:blur(4px); }
.dtd-gift-dialog h2 { font-size:30px; color:#492f75; line-height:1.15; padding-right:38px; margin:0 0 24px; }
.dtd-gift-dialog-close { position:absolute; right:18px; top:18px; display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:50%; background:#f1eaf7; color:#492f75; cursor:pointer; }
.dtd-gift-dialog-close svg { width:21px; height:21px; }
.dtd-gift-tabs { display:flex; gap:4px; background:#f1edf5; padding:4px; border-radius:10px; margin-bottom:26px; }
.dtd-gift-tabs [role=tab] { display:flex; align-items:center; justify-content:center; flex:1; min-height:48px; border:0; border-radius:7px; background:transparent; color:#6d5b7d; padding:10px 12px; font-family:inherit; font-size:14px; font-weight:600; line-height:1.4; cursor:pointer; box-shadow:none; }
.dtd-gift-tabs [role=tab][aria-selected=true] { background:white; color:#492f75; box-shadow:0 2px 5px #49307812; }
.dtd-gift-dialog [role=tabpanel][hidden] { display:none; }
.dtd-gift-dialog [role=tabpanel] h3 { display:none; }
.dtd-gift-dialog p { font-size:16px; line-height:1.65; margin:0 0 20px; }
.dtd-gift-modal-note { padding:18px; background:#f5f0f8; border:1px solid #e7ddee; border-radius:10px; margin-bottom:24px; }
.dtd-gift-modal-note p:last-child { margin-bottom:0; }
.dtd-gift-dialog .wp-block-button { width:100%; }
.dtd-gift-dialog .wp-block-button__link { display:flex; align-items:center; gap:10px; justify-content:center; width:100%; border:1px solid #492f75; border-radius:8px; padding:14px 18px; background:#492f75; color:#fff; font-size:16px; font-weight:600; text-decoration:none; margin-bottom:20px; }
.dtd-gift-dialog .wp-block-button__link:hover { background:#33204f; border-color:#33204f; color:white; }
:is(.dtd-gift-routes,.dtd-gift-dialog) :is(a,button,summary):focus-visible { outline:3px solid #b58a2b; outline-offset:4px; }
@media(max-width:1000px) and (min-width:782px) { body.page-id-426 .dtd-gift-grid { gap:14px; } body.page-id-426 .dtd-gift-card { padding:26px 20px 22px; } body.page-id-426 .dtd-gift-card h3 { font-size:25px; } }
@media(max-width:781px) { body.page-id-426 .dtd-gift-grid { grid-template-columns:1fr; } body.page-id-426 .dtd-gift-routes { margin-bottom:40px!important; } body.page-id-426 .dtd-gift-card { padding:28px; } .dtd-gift-dialog { padding:26px 22px; } .dtd-gift-tabs [role=tab] { font-size:13px; padding:10px 8px; } }

.dtd-gift-dialog .wp-block-button__link svg { width:18px; height:18px; flex:none; }
.dtd-gift-copy-field { margin:0 0 22px; }
.dtd-gift-copy-field label { display:block; font-size:12px; font-weight:700; color:#6e597d; margin-bottom:8px; }
.dtd-gift-copy-row { display:flex; align-items:stretch; border:1px solid #cdbbdc; border-radius:8px; background:#fff; overflow:hidden; }
.dtd-gift-dialog .dtd-gift-copy-row input { width:100%; min-width:0; height:auto; min-height:48px; margin:0; border:0; border-radius:0; padding:12px; background:transparent; color:#492f75; font-family:inherit; font-size:15px; font-weight:600; line-height:1.4; }
.dtd-gift-copy { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; border-left:1px solid #e1d6e9; border-radius:0; background:#f3edf8; color:#492f75; font-family:inherit; font-size:12px; font-weight:600; line-height:1.2; min-width:76px; min-height:44px; padding:10px; cursor:pointer; box-shadow:none; }
.dtd-gift-copy:hover { background:#e9dff2; color:#33204f; }
.dtd-gift-copy svg { width:16px; height:16px; flex:none; }
.dtd-gift-address-note { position:relative; margin:26px 4px!important; padding:24px; border:1px solid #e5dcca; border-radius:2px; background:repeating-linear-gradient(transparent,transparent 35px,#e9e1d1 36px),#fff9e9; box-shadow:0 4px 12px #46391b0b; transform:rotate(-.7deg); color:#6d5b72; font:25px/1.45 'jeff-script','DTD Postcard',cursive!important; }
.dtd-gift-address-note > strong { display:block; margin-bottom:8px; font:700 11px/1.4 var(--theme-font-family, sans-serif); letter-spacing:.08em; text-transform:uppercase; color:#8c7c5b; }
.dtd-gift-address-note > strong + br { display:none; }
.dtd-gift-address-note .dtd-gift-copy { display:flex; margin:16px 0 0 auto; border:1px solid #dccfb3; border-radius:6px; background:#fffdf5; }
.dtd-gift-copy-status { font-size:12px; color:#62516e; min-height:1.5em; margin:6px 0 0!important; }
@media(max-width:767px) { .dtd-gift-dialog { inset:auto 0 0; width:100%; max-width:none; height:92dvh; max-height:92dvh; border:0; border-top:1px solid #e2d7eb; border-radius:24px 24px 0 0; padding:34px 22px calc(18px + env(safe-area-inset-bottom,0px)); } .dtd-gift-dialog[open] { transform:translateY(0); } .dtd-gift-dialog:not([open]) { transform:translateY(100%); } .dtd-gift-dialog:before { content:''; position:absolute; top:10px; left:calc(50% - 20px); width:40px; height:4px; border-radius:99px; background:#aa9cb5; } .dtd-gift-address-note { font-size:23px!important; padding:20px; } @starting-style { .dtd-gift-dialog[open] { transform:translateY(100%); } } }
@media(prefers-reduced-motion:reduce) { .dtd-gift-dialog { transition:none; } }
