
/* Subpages share the approved Keencairn colours and header; additions are scoped. */
.kc-page{background:var(--paper);min-height:64vh}
.kc-banner{background:linear-gradient(112deg,#153e5c,#285b7e 70%,#457b9b);color:#fffefa;padding:62px clamp(24px,6vw,92px) 68px}
.kc-banner-inner{max-width:1160px;margin:auto}
.kc-banner h1{font:normal clamp(44px,5vw,68px)/1.12 "EB Garamond",Georgia,serif;margin:0 0 16px}
.kc-banner p{max-width:800px;margin:0;color:#eaf4f9;font-size:17px;line-height:1.85}
.kc-section{max-width:1160px;margin:auto;padding:66px clamp(24px,4vw,44px) 82px}
.kc-section-narrow{max-width:880px}
.kc-prose p{margin:0 0 23px;line-height:1.98;color:#324f62;font-size:17px}
.kc-prose h2,.kc-section h2{font:normal clamp(32px,3vw,44px)/1.18 "EB Garamond",Georgia,serif;color:var(--navy);margin:36px 0 23px}




.kc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:29px}
.kc-card{background:#fffefa;border:1px solid #dce5e8;box-shadow:0 9px 28px #183e570b;display:flex;flex-direction:column;min-width:0}
.kc-card-photo{aspect-ratio:4 / 3}
.kc-card-copy{padding:21px 22px 23px;display:flex;flex-direction:column;flex:1}
.kc-card h2{font-size:26px!important;line-height:1.2!important;margin:0 0 10px!important}
.kc-card h2 a{text-decoration:none;color:var(--navy)}
.kc-small{color:#577084;font-size:14px;margin:0 0 11px;line-height:1.65}
.kc-parent{color:#405b6c;font-size:14px;margin:0 0 22px;line-height:1.6;flex:1}
.kc-action{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:42px;padding:10px 18px;background:#245a7b;color:white;text-decoration:none;font-size:13px;font-weight:600;border:1px solid #245a7b;transition:background .2s}
.kc-action:hover{background:#17425e;color:white}

.kc-back{display:inline-block;color:#527e9d;margin-bottom:25px;text-decoration:none;font-size:14px;font-weight:600}
.kc-back:hover{text-decoration:underline}
.kc-profile{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(300px,.87fr);gap:48px;align-items:start}
.kc-profile-hero{margin:0}
.kc-profile-hero img{display:block;width:100%;max-height:510px;object-fit:contain;background:#edf3f6}
.kc-profile-facts{padding:24px 27px;border:1px solid #d1e2ea;background:#eff5f8}
.kc-profile-facts dt{font-size:11px;letter-spacing:.15em;color:#55768d;font-weight:700;text-transform:uppercase;margin-top:16px}
.kc-profile-facts dt:first-child{margin-top:0}
.kc-profile-facts dd{margin:3px 0 0;color:#26495f;font-size:16px;line-height:1.6}
.kc-results{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.kc-results li{padding:12px 15px;background:#eff4f7;border-left:3px solid #9dbacb;line-height:1.6;color:#344f60}
.kc-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.kc-gallery figure{margin:0;border:1px solid #dce5e8;background:#fffefa;overflow:hidden}
.kc-gallery a{display:block;background:#eff4f7}
.kc-gallery img{width:100%;height:250px;object-fit:contain;display:block}
.kc-gallery figcaption{font-size:13px;color:#526d80;padding:9px 12px;min-height:45px;line-height:1.4}
.kc-pedigree{max-width:780px;background:#fffefa;padding:15px;border:1px solid #dce5e8}
.kc-pedigree img{display:block;width:100%;height:auto}
.kc-note{color:#506f80;font-size:14px;line-height:1.8}

@media(max-width:970px){.kc-grid,.kc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.kc-profile{grid-template-columns:1fr}}
@media(max-width:610px){.kc-section{padding:44px 22px 60px}.kc-banner{padding:45px 22px 49px}.kc-banner h1{font-size:45px}.kc-grid,.kc-gallery{grid-template-columns:1fr}.kc-card-photo{aspect-ratio:1.3}.kc-gallery img{height:auto;max-height:360px}.kc-profile-facts{padding:20px}.kc-prose p{font-size:16px}}

/* Maintain whole photographs on cards and dog profile pages. */
.kc-card-photo{display:flex;align-items:center;justify-content:center}

/* Shared spacing and photo handling for archived years and editable dog cards. */
.archive-layout .archive-main{width:100%;box-sizing:border-box;max-width:1180px;margin:0 auto;padding:44px 24px 74px}
.archive-layout .archive-hero>div{max-width:1180px;margin:0 auto}
@media(max-width:520px){.archive-layout .archive-main{padding:30px 18px 58px}}

/* Uncropped Keencairn dog cards: show the whole original photograph on every viewport. */
.kc-card-photo{overflow:hidden;background:#edf3f6}
.kc-card-photo img{display:block!important;object-fit:contain!important;object-position:center center!important;width:100%;height:100%;max-height:100%;transform:none!important}
.kc-profile-hero img,.kc-gallery img{object-fit:contain!important;object-position:center!important}
.kc-judge-reports{margin:35px 0}
.kc-judge-report{padding:18px 22px;margin:14px 0;background:#f1f6f8;border-left:3px solid #8eb1c5}
.kc-judge-report h3{font:600 16px/1.4 system-ui;color:#24516b;margin:0 0 10px}
.kc-judge-report p{font-size:16px;line-height:1.8;color:#304c5f;margin:0}
/* Original first-photo captions use the same treatment as gallery captions. */
.kc-profile-hero figcaption{padding:9px 12px;text-align:center;color:#526d80;font-size:13px;line-height:1.4}
