.homepage-breeding, .homepage-breeding * { box-sizing: border-box; }
.homepage-breeding { width: 100%; color: #403945; }
.breeding-section { padding: 32px 0; }
.breeding-section + .breeding-section { border-top: 1px solid #e4dce7; }
.breeding-heading { text-align: center; margin: 0 auto 24px; }
.breeding-eyebrow { display: block; font-size: 13px; line-height: 1.5; letter-spacing: .07em; color: #756e7c; }
.breeding-heading h2 { margin: 8px 0 10px; font-size: clamp(25px, 4vw, 34px); line-height: 1.2; color: #554b5d; }
.breeding-heading p { margin: 0; line-height: 1.6; color: #756e7c; }
.announcement-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.announcement-card { flex: 1 1 310px; max-width: 460px; min-width: 0; border: 1px solid #e1d7e5; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 5px 22px #54415e0d; }
.announcement-photo { aspect-ratio: 4 / 3; }
.announcement-copy { padding: 24px; }
.announcement-label { display: inline-block; padding: 5px 11px; border-radius: 20px; background: #f2edf4; color: #64556e; font-size: 13px; }
.announcement-copy h3 { font-size: 23px; line-height: 1.3; margin: 14px 0 10px; overflow-wrap: anywhere; }
.announcement-date { font-size: 15px; color: #756e7c; margin: 0 0 12px; }
.announcement-description { font-size: 17px; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.puppy-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.puppy-tile { --puppy-border: #a6cce8; --puppy-soft: #eff7fd; flex: 0 1 calc((100% - 48px) / 3); max-width: 320px; min-width: 0; border: 2px solid var(--puppy-border); border-radius: 18px; background: #fff; box-shadow: 0 5px 18px #54415e12; overflow: hidden; transition: box-shadow .2s ease; }
.puppy-tile:hover { box-shadow: 0 9px 26px #54415e20; }
.puppy-female { --puppy-border: #e7b3cb; --puppy-soft: #fff2f7; }
.puppy-photo { aspect-ratio: 1; }
.gallery-photo, [data-oriented-image] { display: block; position: relative; overflow: hidden; isolation: isolate; background: #f4f0f5; }
[data-oriented-image] > img { display: block; position: absolute; width: 100%; height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: cover; max-width: none !important; max-height: none; margin: 0; }
.gallery-photo { color: #fff; text-decoration: none; cursor: zoom-in; }
.gallery-photo:focus-visible, .image-lightbox-close:focus-visible { outline: 3px solid #695673; outline-offset: 4px; }
.photo-enlarge { display: grid; place-items: center; position: absolute; z-index: 1; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: #ffffffeb; color: #54435f; font-size: 22px; box-shadow: 0 2px 8px #0002; }
.puppy-photo-placeholder { display: grid; place-items: center; background: var(--puppy-soft); color: #756e7c; }
.puppy-copy { padding: 20px 14px 22px; text-align: center; }
.puppy-litter { font-size: 13px; color: #756e7c; margin: 0 0 6px; }
.puppy-copy h3 { font-size: 24px; margin: 0 0 8px; line-height: 1.25; overflow-wrap: anywhere; }
.puppy-gender { font-size: 15px; margin: 0 0 16px; color: #756e7c; }
.puppy-gender span { font-size: 18px; }
.puppy-status { display: inline-block; border-radius: 20px; padding: 7px 12px; font-size: 14px; line-height: 1.35; font-weight: 600; }
.is-available { background: #edf6ed; color: #35603d; }
.is-reserved { background: #f0edf2; color: #6b616f; }
.puppy-reserved .puppy-copy { background: #fdfbfd; }
.image-lightbox { border: 0; padding: 52px 18px 18px; border-radius: 16px; background: #fff; color: #403945; width: min(960px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); box-shadow: 0 18px 70px #0005; }
.image-lightbox::backdrop { background: #221a2ed9; }
.image-lightbox-close { position: absolute; top: 8px; right: 10px; border: 0; background: #f2edf4; color: #54435f; border-radius: 50%; width: 36px; height: 36px; font-size: 24px; cursor: pointer; }
.image-lightbox-frame { width: 100%; height: min(65dvh, 650px); background: #faf8fb; border-radius: 10px; }
.image-lightbox-caption { text-align: center; font-size: 16px; margin: 14px 0 0; overflow-wrap: anywhere; }
.image-editor { padding: 18px; border: 1px solid #ded5e3; border-radius: 14px; background: #faf8fc; }
.image-editor-preview { width: min(100%, 360px); aspect-ratio: 1; border-radius: 12px; margin: 14px auto; }
.image-editor-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #756e7c; font-size: 14px; text-align: center; padding: 16px; }
.image-editor-preview:has(img[src]:not([src=""])) .image-editor-empty { display: none; }
.image-editor-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.image-editor-controls label { display: grid; gap: 6px; }
.image-editor-controls input[type="range"] { width: 100%; padding: 0; accent-color: #887295; }
.image-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.image-editor-note { display: block; color: #756e7c; line-height: 1.6; margin: 8px 0; }
.homepage-switch { cursor: pointer; }
.homepage-switch[aria-pressed="true"] { background: #edf6ed; border-color: #a8c5af; color: #35603d; }
.puppy-thumbnail { width: 76px; height: 76px; border-radius: 10px; flex: 0 0 76px; }
.puppy-thumbnail-empty { display: grid; place-items: center; color: #756e7c; background: #f4f0f5; font-size: 12px; }
.puppy-list-name { display: grid; gap: 6px; }
.puppy-list-name small { color: #756e7c; }
.announcement-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.announcement-admin-card { border: 1px solid #ded5e3; border-radius: 14px; overflow: hidden; background: #fff; }
.announcement-admin-copy { padding: 18px; }
.announcement-admin-copy h3 { margin-top: 10px; overflow-wrap: anywhere; }
.announcement-admin-copy .admin-actions { margin-top: 16px; }
.announcement-admin-copy .admin-actions form { margin: 0; }
@media (max-width: 760px) { .puppy-tile { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 580px) {
    .breeding-section { padding: 24px 0; }
    .announcement-grid, .puppy-gallery { gap: 18px; }
    .puppy-tile { flex-basis: 100%; }
    .announcement-copy { padding: 20px; }
    .image-editor-controls { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .puppy-tile { transition: none; } }

.foundation-profiles { box-sizing: border-box; width: 100%; color: #403945; }
.foundation-page-shell { box-sizing: border-box; width: min(100%, 1008px); padding: 42px 24px; margin: 0 auto; }
.foundation-page-heading h1 { text-align: center; margin-bottom: 20px; }
.foundation-page-intro { max-width: 800px; margin: 0 auto 12px; }
.foundation-page-intro p { text-align: center; line-height: 1.7; }
.foundation-page-intro span { font-size: 18px !important; }
.foundation-patella { border-top: 1px solid #e4dce7; margin-top: 10px; padding-top: 28px; }
.foundation-patella h1, .foundation-patella h2 { font-size: 24px; text-align: center; }
.foundation-patella p { line-height: 1.7; }
.foundation-patella p span { font-size: 16px !important; }
.foundation-dog-section { padding: 26px 0 34px; }
.foundation-dog-section + .foundation-dog-section { border-top: 1px solid #e4dce7; }
.foundation-dog-card { flex-basis: calc((100% - 24px) / 2); max-width: 460px; }
.foundation-dog-copy { padding: 24px; }
.foundation-dog-name { text-align: center; margin-bottom: 18px; }
.foundation-dog-name h3 { color: #554b5d; font-size: 27px; line-height: 1.3; margin: 0 0 8px; overflow-wrap: anywhere; }
.foundation-dog-gender { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; font-size: 14px; border-radius: 20px; background: var(--puppy-soft); color: #65546e; }
.foundation-dog-gender > span { font-size: 20px; line-height: 1; }
.foundation-dog-description { font-size: 16px; line-height: 1.75; margin: 0 0 20px; overflow-wrap: anywhere; }
.foundation-dog-facts { margin: 0; display: grid; gap: 0; }
.foundation-dog-facts > div { padding: 12px 0; border-top: 1px solid #ece6ef; }
.foundation-dog-facts dt { font-weight: 600; font-size: 13px; line-height: 1.5; color: #756e7c; margin-bottom: 4px; overflow-wrap: anywhere; }
.foundation-dog-facts dd { font-size: 16px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.foundation-empty { text-align: center; padding: 28px 12px; color: #756e7c; }
.foundation-info-card { scroll-margin-top: 24px; }
.foundation-info-selector { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 18px 0 24px; }
.foundation-info-selector .form-group { flex: 1 1 260px; }
.foundation-info-selector button { margin-bottom: 0; }
.foundation-visibility { display: flex; align-items: center; gap: 10px; cursor: pointer; line-height: 1.6; }
.foundation-visibility input[type="checkbox"] { width: 20px; height: 20px; accent-color: #887295; flex: 0 0 auto; }
.foundation-field-list { display: flex; flex-direction: column; gap: 16px; }
.foundation-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; padding: 18px; background: #faf8fc; border: 1px solid #ded5e3; border-radius: 14px; }
.foundation-field-row textarea { min-height: 94px; }
.foundation-field-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.foundation-field-actions .btn { padding: 9px 13px; min-width: 42px; }
.foundation-fields-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foundation-fields-toolbar small { color: #756e7c; }
@media (max-width: 580px) {
    .foundation-page-shell { padding: 26px 16px; }
    .foundation-dog-card { flex-basis: 100%; max-width: 460px; }
    .foundation-dog-copy { padding: 20px; }
    .foundation-field-row { grid-template-columns: minmax(0, 1fr); padding: 14px; }
    .foundation-info-selector { align-items: stretch; }
    .foundation-info-selector button { width: 100%; }
}
