.gg-cat-profile {
    --cat-slate: #3e4c59;
    --cat-cream: #f4efea;
    --cat-line: #ccd0d2;
    background: #fdfcfa;
    color: #22262a;
    font: 18px/1.48 Georgia, 'Times New Roman', serif;
}
.gg-cat-profile .gg-cat-wrap { width: min(92%, 1220px); margin-inline: auto; }
.gg-cat-profile h1, .gg-cat-profile h2 { color: var(--cat-slate); font-family: inherit; line-height: 1.12; }
.gg-cat-profile h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 40px); font-weight: 400; }
.gg-cat-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 16px 20px; font-size: 15px; }
.gg-cat-breadcrumb a, .gg-cat-gallery-link { color: var(--cat-slate); }
.gg-cat-hero, .gg-cat-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.gg-cat-hero { align-items: center; padding-bottom: 34px; }
.gg-cat-hero-text-only { grid-template-columns: 1fr; }
.gg-cat-portrait img { display: block; width: 100%; aspect-ratio: 8 / 9; object-fit: cover; object-position: center top; border-radius: 18px; }
.gg-cat-intro { min-width: 0; overflow-wrap: break-word; }
.gg-cat-category { color: var(--cat-slate); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.gg-cat-category, .gg-cat-lined { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.gg-cat-category::after, .gg-cat-lined::after { content: ''; flex: 1; height: 1px; background: #aab3ba; }
.gg-cat-profile h1 { margin: 12px 0 3px; font-size: clamp(48px, 7vw, 90px); font-weight: 600; }
.gg-cat-registered { margin-bottom: 12px; color: #696f78; font-size: clamp(21px, 2.7vw, 35px); font-style: italic; line-height: 1.15; }
.gg-cat-breed { color: var(--cat-slate); font-size: clamp(18px, 2vw, 24px); margin-bottom: 14px; }
.gg-cat-tagline { font-size: 23px; font-style: italic; }
.gg-cat-bio p { margin-bottom: 12px; }
.gg-cat-bio p:last-child:empty { display: none; }
.gg-cat-facts { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 22px 0 28px; padding: 0; list-style: none; }
.gg-cat-facts li { padding: 0 16px; border-right: 1px solid #aab3ba; }
.gg-cat-facts li:first-child { padding-left: 0; }
.gg-cat-facts li:last-child { border-right: 0; padding-right: 0; }
.gg-cat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.gg-cat-profile .gg-cat-button { display: inline-block; background: var(--cat-slate); color: #fff; padding: 11px 27px; border-radius: 8px; text-decoration: none; text-align: center; }
.gg-cat-profile .gg-cat-button:hover { background: #293946; color: #fff; }
.gg-cat-gallery-link { text-decoration: underline; text-underline-offset: 5px; }
.gg-cat-details-band { background: var(--cat-cream); padding-block: 34px; }
.gg-cat-details { align-items: start; }
.gg-cat-details > :only-child { grid-column: 1 / -1; }
.gg-cat-health { padding: 14px 24px 18px; border-radius: 17px; background: #faf8f6; }
.gg-cat-details dl { margin: 0; }
.gg-cat-details dl > div { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--cat-line); }
.gg-cat-details dl > div:last-child { border-bottom: 0; }
.gg-cat-details dt { color: var(--cat-slate); font-weight: 700; }
.gg-cat-details dd { margin: 0; overflow-wrap: anywhere; }
.gg-cat-health dl > div { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); padding-block: 5px; }
.gg-cat-health dd { position: relative; padding-left: 24px; }
.gg-cat-check { position: absolute; left: 0; color: var(--cat-slate); font-family: Arial, sans-serif; font-weight: 700; }
.gg-cat-gallery { padding-block: 26px 34px; scroll-margin-top: 110px; }
.gg-cat-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gg-cat-gallery-grid a { display: block; border-radius: 13px; overflow: hidden; }
.gg-cat-gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.gg-cat-profile a:focus-visible { outline: 3px solid #567c94; outline-offset: 3px; }
.gg-cat-cta {
    background: var(--cat-slate);
    border-bottom: 1px solid #ffffff55;
    padding: 18px 0;
    /* Extend the banner beyond the theme's profile container without adding horizontal scroll. */
    box-shadow: 0 0 0 100vmax var(--cat-slate);
    clip-path: inset(0 -100vmax);
}
.gg-cat-cta .gg-cat-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px clamp(20px, 8vw, 120px); }
.gg-cat-cta h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 37px); }
.gg-cat-cta .gg-cat-button { background: var(--cat-cream); color: var(--cat-slate); }
.gg-cat-cta .gg-cat-button:hover { background: #fff; color: #293946; }
@media (max-width: 767px) {
    .gg-cat-profile { font-size: 16px; }
    .gg-cat-hero, .gg-cat-details { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .gg-cat-portrait img { max-height: 490px; }
    .gg-cat-health { padding-inline: 15px; }
    .gg-cat-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .gg-cat-cta h2 { text-align: center; }
}
