/* Gift card page (Components/Pages/GiftCard.razor).
   (.giftcard-card / .giftcard-info / .giftcard-buy-btn themselves live in PageLayout.css.)
   One centred card on every screen size, styled like the employee cards on /Team: photo across the
   top with rounded top corners, text + buy button below in a section with a beige border. */

/* More room below the nav bar than the shared .section-top (2rem) — same as the News page */
.giftcard-page.section-top { padding-top: 3.5rem; padding-bottom: 3rem; }

.giftcard-page .giftcard-combo {
    display: flex;
    flex-direction: column;
    width: calc(100% - 2rem);
    max-width: 32rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px 2px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.05);
}

/* Photo: cropped to 4:3, keeping the gift card itself in frame */
.giftcard-page .giftcard-photo-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 40%;
    border-radius: 1rem 1rem 0 0;
}
/* Shadow along the bottom edge, falling up into the photo (not down onto the text).
   An inset shadow on the <img> itself would be painted under the image, so it sits on an overlay. */
.giftcard-page .giftcard-photo-wrap { position: relative; }
.giftcard-page .giftcard-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: inset 0px -8px 14px -4px rgba(0,0,0,0.35);
    pointer-events: none;
}

/* Text section: beige border on the sides and bottom (no line between it and the photo),
   following the card's rounded bottom corners */
.giftcard-page .giftcard-card {
    border: 1px solid var(--color-secondary);
    border-top: none;
    border-radius: 0 0 1rem 1rem;
}

@media (min-width: 768px) {
    .giftcard-page.section-top { padding-top: 5rem; padding-bottom: 5rem; }
    .giftcard-page .giftcard-card { padding: 2.25rem 2rem; }
}
