/* ══════════════════════════════════════════════
   BREEDS PAGE — Gun Dogs Hub
══════════════════════════════════════════════ */

/* ── Page Layout ── */
.breeds-page {
    background: var(--light-bg);
    padding: 2.5rem 0 4rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Page Header ── */
.breeds-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.breeds-header h1,
.breeds-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.breeds-header h1::after,
.breeds-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #d4af37);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.breeds-header p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
    margin-top: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── Content Grid ── */
.breeds-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.breeds-main {
    min-width: 0;
}

.breeds-seo-content {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1.6rem 1.25rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.breeds-seo-content h2 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.breeds-seo-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.breeds-seo-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
}

.breeds-seo-content a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════
   POPULAR BREEDS (TOP)
══════════════════════════════════════════════ */
.popular-breeds-section {
    margin-bottom: 1.75rem;
}

.popular-breeds-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 1.15rem;
}

.popular-breeds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.breed-card--popular .breed-card-img-wrap {
    height: 230px;
}

/* ══════════════════════════════════════════════
   SORT CONTROLS
══════════════════════════════════════════════ */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    background: var(--white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.sort-controls label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.88rem;
    white-space: nowrap;
}

.sort-dropdown {
    position: relative;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 170px;
    justify-content: space-between;
    transition: var(--transition);
}

.sort-dropdown-btn:hover {
    border-color: var(--secondary-color);
}

.sort-dropdown-btn.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.15);
}

.sort-dropdown-btn svg {
    color: var(--text-light);
    transition: var(--transition);
}

.sort-dropdown-btn.active svg {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.12);
    min-width: 170px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.sort-dropdown-menu.show {
    display: block;
}

.sort-dropdown-item {
    display: block;
    padding: 0.7rem 1.15rem;
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.sort-dropdown-item:hover {
    background: rgba(185, 151, 91, 0.08);
    color: var(--secondary-color);
}

.sort-dropdown-item.active {
    background: rgba(185, 151, 91, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   BREED CARDS GRID
══════════════════════════════════════════════ */
.breeds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.breed-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(185, 151, 91, 0.3);
    text-decoration: none;
    color: inherit;
}

/* CTA (View Listings) */
.breed-card-cta {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 0.92rem;
}

.breed-card-cta-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.breed-card-cta svg {
    flex-shrink: 0;
}

.breed-card-title-link {
    color: inherit;
    text-decoration: none;
}

.breed-card-title-link:hover {
    color: var(--secondary-color);
}

.breed-card-snippet {
    margin: 0.1rem 0 0.65rem;
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 500;
}

.breed-detail-link-wrap {
    padding: 0 1.15rem 1.05rem;
}

.breed-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.88rem;
}

.breed-detail-link:hover {
    text-decoration: underline;
}

.breed-card-no-listings {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.88rem;
}

/* Disabled (0 listings) state */
.breed-card--disabled {
    opacity: 0.55;
    filter: grayscale(0.9);
    border-style: dashed;
}

.breed-card--disabled:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--border-color);
}

.breed-card--disabled:hover .breed-card-image {
    transform: none;
}

.breed-card .breed-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 190px;
}

.breed-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.breed-card:hover .breed-card-image {
    transform: scale(1.06);
}

.breed-card-content {
    padding: 1rem 1.15rem;
}

.breed-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.breed-card-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.breed-card-count svg {
    width: 15px;
    height: 15px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Badge: "Available" */
.breed-new-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color), #d4af37);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(185, 151, 91, 0.35);
}

.breed-new-badge svg {
    width: 11px;
    height: 11px;
}

/* ══════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════ */
.breeds-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 20px;
    align-self: start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.breeds-sidebar::-webkit-scrollbar { width: 5px; }
.breeds-sidebar::-webkit-scrollbar-track { background: transparent; border-radius: 10px; }
.breeds-sidebar::-webkit-scrollbar-thumb { background: var(--secondary-color); border-radius: 10px; }
.breeds-sidebar::-webkit-scrollbar-thumb:hover { background: #d4af37; }

.sidebar-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding: 0;
}

.sidebar-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-bottom: none;
    letter-spacing: 0.5px;
}

.sidebar-section-body {
    padding: 0.5rem 1.25rem;
}

/* ── Popular Breed Items ── */
.popular-breed-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-radius: 0;
}

.popular-breed-item:last-child {
    border-bottom: none;
}

.popular-breed-item:hover {
    text-decoration: none;
    color: inherit;
}

.popular-breed-item:hover .popular-breed-name {
    color: var(--secondary-color);
}

.popular-breed-item:hover .popular-breed-arrow {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.popular-breed-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.popular-breed-item:hover .popular-breed-thumb {
    border-color: var(--secondary-color);
}

.popular-breed-info {
    flex: 1;
    min-width: 0;
}

.popular-breed-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
    font-size: 0.88rem;
    transition: var(--transition);
}

.popular-breed-count {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.popular-breed-arrow {
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

/* ── Recent Listing Items ── */
.recent-listing-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.recent-listing-item:last-child {
    border-bottom: none;
}

.recent-listing-item:hover {
    text-decoration: none;
    color: inherit;
}

.recent-listing-item:hover .recent-listing-title {
    color: var(--secondary-color);
}

.recent-listing-image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.recent-listing-item:hover .recent-listing-image {
    border-color: var(--secondary-color);
}

.recent-listing-title {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.45;
    transition: var(--transition);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    .breeds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .breeds-content {
        grid-template-columns: 1fr;
    }

    .breeds-sidebar {
        order: -1;
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .breeds-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .popular-breeds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .breeds-page {
        padding: 1.5rem 0 3rem;
    }

    .breeds-header h1,
    .breeds-header h2 {
        font-size: 1.6rem;
    }

    .breeds-header p {
        font-size: 0.9rem;
    }

    .breeds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .breed-card .breed-card-img-wrap {
        height: 150px;
    }

    .breed-card-content {
        padding: 0.85rem 1rem;
    }

    .breed-card-title {
        font-size: 0.95rem;
    }

    .sort-controls {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .popular-breeds-grid {
        grid-template-columns: 1fr;
    }

    .breed-card--popular .breed-card-img-wrap {
        height: 200px;
    }
}

@media (max-width: 479.98px) {
    .breeds-grid {
        grid-template-columns: 1fr;
    }

    .breed-card .breed-card-img-wrap {
        height: 180px;
    }
}

/* ══════════════════════════════════════════════
   BREED DETAIL (SEO + CONVERSION)
══════════════════════════════════════════════ */
.breed-detail-hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.75rem;
    align-items: start;
    margin-bottom: 1.25rem;
}

.breed-hero-h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 0.6rem;
    letter-spacing: -0.4px;
}

.breed-hero-sub {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1.25rem;
    font-size: 1rem;
}

.breed-hero-img-wrap {
    border-radius: calc(var(--border-radius) + 2px);
    overflow: hidden;
    border: 1px solid rgba(31, 61, 43, 0.08);
    box-shadow: 0 18px 40px rgba(25, 52, 43, 0.12);
    background: linear-gradient(180deg, #f5f8f2 0%, #eef3ea 100%);
    aspect-ratio: 16 / 10;
}

.breed-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
    transform: scale(1.01);
}

.breed-quick-stats {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1.15rem 1.15rem;
}

.breed-quick-stats-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breed-quick-stats-item:last-of-type {
    border-bottom: none;
}

.breed-quick-stats-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.breed-quick-stats-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

.breed-availability {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.breed-availability-label {
    font-weight: 800;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.breed-availability-value {
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.breed-availability-value a,
.breed-availability-link {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
}

.breed-cta-block {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.breed-cta-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 0.65rem;
}

.breed-cta-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* The global .btn-secondary-modern is designed for dark backgrounds; on breed pages it can be too low-contrast. */
.breed-cta-secondary {
    background: rgba(199, 167, 91, 0.14) !important;
    color: var(--primary-color) !important;
    border: 2px solid rgba(199, 167, 91, 0.55) !important;
    backdrop-filter: none !important;
}

.breed-cta-secondary:hover {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border-color: rgba(199, 167, 91, 0.9) !important;
}

.breed-section {
    margin-top: 2.25rem;
}

/* `dogs-for-sale.css` uses scoped selectors under `section.dfs .content`. We wrap the breed listings
   with those classes to reuse the same card grid styling, but we don't want the sidebar layout. */
.breed-detail-listings-content {
    display: block !important;
    grid-template-columns: none !important;
}

/* Breed detail should feel like the screenshot: 2 cards per row (not 3) */
.breed-detail-listings-content .insite_lists .ads {
    grid-template-columns: repeat(3, 1fr) !important;
}

.breed-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.breed-difference-points {
    margin: 0 0 1rem 1.1rem;
    color: var(--text-dark);
}

.breed-difference-points li {
    margin-bottom: 0.35rem;
}

.breed-traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.breed-trait {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem 1.05rem;
}

.breed-trait-name {
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.breed-trait-stars {
    color: var(--secondary-color);
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.breed-listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.breed-listing-thumb {
    width: 100%;
    height: 185px;
    overflow: hidden;
}

.breed-listing-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.breed-listing-card:hover {
    transform: translateY(-3px);
    border-color: rgba(185, 151, 91, 0.35);
}

.breed-listing-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.breed-listing-card-body {
    padding: 0.85rem 0.95rem;
}

.breed-listing-breedline {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.45rem;
}

.breed-listing-title {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.55rem;
}

.breed-listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.breed-listing-price {
    font-weight: 900;
    color: var(--primary-color);
}

.breed-listing-stage {
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--secondary-color);
    background: rgba(185, 151, 91, 0.12);
    border: 1px solid rgba(185, 151, 91, 0.25);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.breed-listing-submeta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.breed-verified-badge {
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 0.8rem;
    background: rgba(185, 151, 91, 0.12);
    border: 1px solid rgba(185, 151, 91, 0.35);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.breed-view-all {
    margin-top: 1.15rem;
    display: flex;
    justify-content: center;
}

.breed-empty-listings {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.1rem;
    color: var(--text-light);
    text-align: center;
}

.breed-empty-listings a {
    margin-top: 0.75rem;
    display: inline-flex;
}

.breed-breeders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.breed-breeder-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem 1rem;
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.breed-breeder-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.breed-breeder-name {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.breed-breeder-pill {
    display: inline-flex;
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--secondary-color);
    background: rgba(185, 151, 91, 0.12);
    border: 1px solid rgba(185, 151, 91, 0.35);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.breed-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.breed-related-links a {
    text-decoration: none;
    font-weight: 900;
    color: var(--secondary-color);
    background: rgba(185, 151, 91, 0.08);
    border: 1px solid rgba(185, 151, 91, 0.25);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: var(--transition);
}

.breed-related-links a:hover {
    background: rgba(185, 151, 91, 0.14);
}

.breed-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.breed-faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem 1.05rem;
}

.breed-faq-item h3 {
    font-size: 1rem;
    margin: 0 0 0.6rem;
    color: var(--text-dark);
}

.breed-faq-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .breed-detail-hero {
        grid-template-columns: 1fr;
    }

    .breed-hero-img-wrap {
        aspect-ratio: 16 / 11;
    }

    .breed-hero-img-wrap img {
        height: 100%;
        object-position: center 24%;
    }

    .breed-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breed-breeders-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breed-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .breed-traits-grid {
        grid-template-columns: 1fr;
    }

    .breed-listings-grid {
        grid-template-columns: 1fr;
    }

    .breed-breeders-grid {
        grid-template-columns: 1fr;
    }
}



/* Final responsive overrides for breed detail */
@media (max-width: 991.98px) {
    .breed-hero-h1 {
        font-size: 1.8rem;
        line-height: 1.15;
    }

    .breed-quick-stats {
        padding: 1rem;
    }

    .breed-cta-block {
        gap: 0.9rem;
    }

    .breed-cta-block .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .breed-detail-listings-content .insite_lists .ads {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }

    .breed-related-links a {
        flex: 1 1 calc(50% - 0.75rem);
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .breed-detail-hero {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .breed-hero-h1 {
        font-size: 1.55rem;
        letter-spacing: -0.2px;
    }

    .breed-hero-sub {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .breed-hero-img-wrap {
        aspect-ratio: 16 / 12;
        border-radius: 14px;
    }

    .breed-hero-img-wrap img {
        object-position: center 22%;
    }

    .breed-quick-stats {
        border-radius: 14px;
        padding: 0.95rem;
    }

    .breed-quick-stats-item {
        padding: 0.7rem 0;
    }

    .breed-quick-stats-label {
        font-size: 0.78rem;
    }

    .breed-quick-stats-value {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .breed-availability-value {
        font-size: 1rem;
    }

    .breed-cta-block {
        margin-bottom: 1.25rem;
    }

    .breed-cta-block .btn-modern {
        min-height: 54px;
        padding: 0.95rem 1rem;
        font-size: 0.98rem;
        line-height: 1.35;
        text-align: center;
    }

    .breed-section {
        margin-top: 1.5rem;
    }

    .breed-section-title {
        font-size: 1.15rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .breed-section p,
    .breed-faq-item p,
    .breed-difference-points li {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .breed-difference-points {
        margin-left: 1rem;
    }

    .breed-trait,
    .breed-faq-item,
    .breed-breeder-card,
    .breed-empty-listings {
        padding: 0.9rem;
        border-radius: 14px;
    }

    .breed-trait-stars {
        font-size: 1rem;
    }

    .breed-detail-listings-content .insite_lists .ads {
        grid-template-columns: 1fr !important;
    }

    .breed-view-all {
        margin-top: 1rem;
    }

    .breed-view-all .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .breed-breeder-card {
        gap: 0.75rem;
    }

    .breed-breeder-card img {
        width: 52px;
        height: 52px;
    }

    .breed-related-links {
        gap: 0.6rem;
    }

    .breed-related-links a {
        flex: 1 1 100%;
        width: 100%;
        padding: 0.7rem 0.9rem;
        line-height: 1.35;
    }

    .breed-faq-item h3 {
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

@media (max-width: 479.98px) {
    .breed-hero-h1 {
        font-size: 1.4rem;
    }

    .breed-hero-img-wrap {
        aspect-ratio: 5 / 4;
    }

    .breed-cta-block .btn-modern {
        font-size: 0.94rem;
    }

    .breed-section-title {
        font-size: 1.08rem;
    }
}
