/*!
Theme Name: Dogsize
Theme URI: https://dogsize.co/
Author: DogSize.co
Author URI: https://dogsize.co/
Description: Custom DogSize theme optimized for speed and responsiveness. Built for puppy weight calculators, dog breed pages, and blog content.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dogsizeco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0A8A7B;
    --primary-hover: #087A6D;
    --primary-dark: #066B5E;
    --primary-darker: #054D44;
    --primary-light: rgba(10, 138, 123, 0.1);
    --secondary: #E6F5F2;
    --accent: #D6A24E;
    --accent-hover: #C4922E;
    --text: #1A1A1A;
    --text-light: #555555;
    --text-muted: #777777;
    --background: #FFFFFF;
    --border: #E5E7EB;
    --border-light: #F0F0F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-subtle: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 8px 25px rgba(10, 138, 123, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 1rem;
}
a { text-decoration: none; color: inherit; transition: color 0.2s ease; background-color: transparent; }
a:visited { color: inherit; }
a:hover, a:focus, a:active { outline: 0; }
img { max-width: 100%; display: block; height: auto; border-style: none; }
ul { list-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
textarea { overflow: auto; width: 100%; }
[hidden] { display: none; }
h1, h2, h3, h4, h5, h6 { clear: both; }
pre { background: #eee; font-family: "Courier 10 Pitch", courier, monospace; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
b, strong { font-weight: bolder; }
table { margin: 0 0 1.5em; width: 100%; }
embed, iframe, object { max-width: 100%; }
figure { margin: 1em 0; }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(3deg); } 75% { transform: rotate(-3deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sparkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes confettiFall { 0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }
@keyframes fadeOutPaw { 0% { opacity: 0.6; transform: scale(1) rotate(var(--paw-rotation, 0deg)); } 100% { opacity: 0; transform: scale(0.3) rotate(var(--paw-rotation, 0deg)) translateY(-20px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; } .stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; } .stagger-5 { transition-delay: 0.5s; } .stagger-6 { transition-delay: 0.6s; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-label { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px; }
.section-title { font-size: 38px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--text); }
.section-title .highlight { color: var(--primary); }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; line-height: 1.7; }
.section-heading { font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary-darker); }
.highlight-text { color: var(--primary); font-weight: bold; position: relative; }
.highlight-text::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 4px; background-color: var(--primary-light); border-radius: 2px; z-index: -1; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: all 0.25s ease; font-family: inherit; position: relative; overflow: hidden; }
.btn-primary { background-color: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10, 138, 123, 0.3); color: #fff; }
.btn-accent { background-color: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214, 162, 78, 0.3); color: #fff; }
.btn-outline { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10, 138, 123, 0.2); }
.btn-ghost { background: transparent; color: var(--text); padding: 8px 16px; }
.btn-ghost:hover { color: var(--primary); }
.ripple-btn::after { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%); background-repeat: no-repeat; background-position: 50%; transform: scale(10, 10); opacity: 0; transition: transform 0.5s, opacity 1s; }
.ripple-btn:active::after { transform: scale(0,0); opacity: 0.3; transition: 0s; }

/* ===== NAVBAR ===== */
.ds-navbar { background-color: var(--background); padding: 16px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s ease; }
.ds-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.ds-navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; transition: transform 0.2s ease; }
.navbar-logo:hover { transform: scale(1.02); }
.navbar-logo .logo-icon { font-size: 28px; animation: wiggle 3s ease-in-out infinite; display: inline-block; }
.navbar-logo .logo-text { color: var(--text); }
.navbar-logo .logo-dot { color: var(--primary); }
.navbar-logo img { max-height: 40px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: 6px; }
.navbar-nav a { padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); transition: all 0.2s ease; display: flex; align-items: center; gap: 4px; position: relative; }
.navbar-nav a::after { content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px; background-color: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; border-radius: 2px; }
.navbar-nav a:hover { color: var(--primary); }
.navbar-nav a:hover::after, .navbar-nav a.current-menu-item::after { transform: scaleX(1); }
.navbar-nav a.current-menu-item { color: var(--primary); font-weight: 600; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; transition: transform 0.2s ease; color: var(--text); }
.mobile-toggle:hover { transform: scale(1.1); }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; }
.mobile-nav.open { display: block; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: var(--background); padding: 24px; overflow-y: auto; box-shadow: -4px 0 20px rgba(0,0,0,0.15); }
.mobile-nav-close { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.mobile-nav-close button { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text); }
.mobile-nav-links a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border-light); transition: color 0.2s; }
.mobile-nav-links a:hover { color: var(--primary); }

/* ===== BREADCRUMB ===== */
.ds-breadcrumb { padding: 14px 0; font-size: 13px; color: var(--text-muted); background: var(--secondary); border-bottom: 1px solid var(--border-light); }
.ds-breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ds-breadcrumb a { color: var(--primary); font-weight: 500; }
.ds-breadcrumb a:hover { text-decoration: underline; }
.ds-breadcrumb .sep { margin: 0 4px; color: #ccc; }
.ds-breadcrumb .current { color: var(--text); font-weight: 600; }

/* ===== TOAST ===== */
.ds-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background-color: var(--primary); color: #fff; padding: 16px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; box-shadow: 0 8px 30px rgba(10,138,123,0.35); z-index: 10000; transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275); display: flex; align-items: center; gap: 10px; }
.ds-toast.show { transform: translateX(-50%) translateY(0); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background-color: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 20px rgba(10,138,123,0.35); transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); opacity: 0; visibility: hidden; z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px) scale(1.1); background-color: var(--accent); box-shadow: 0 6px 25px rgba(214,162,78,0.4); }
.paw-trail { position: fixed; pointer-events: none; z-index: 9999; font-size: 16px; opacity: 0; animation: fadeOutPaw 1s ease forwards; }
.confetti { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; }
.confetti-piece { position: absolute; width: 10px; height: 10px; border-radius: 2px; animation: confettiFall 3s ease-in forwards; }

/* ===== NEWSLETTER + FOOTER ===== */
.newsletter-footer-wrapper { background-color: var(--primary); position: relative; }
.newsletter-section { padding: 80px 0 60px; position: relative; overflow: hidden; }
.newsletter-section .container { position: relative; z-index: 2; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.newsletter-content { padding-bottom: 40px; }
.newsletter-content h2 { font-size: 40px; font-weight: 800; color: #FFFFFF; line-height: 1.2; margin-bottom: 16px; }
.newsletter-content h2 .heart { display: inline-block; animation: bounce 1.5s ease-in-out infinite; font-style: normal; }
.newsletter-content p { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 28px; max-width: 460px; }
.newsletter-form { display: flex; gap: 0; max-width: 460px; background-color: #FFFFFF; border-radius: 50px; padding: 5px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.newsletter-form:focus-within { box-shadow: 0 8px 40px rgba(0,0,0,0.2); transform: translateY(-2px); }
.newsletter-form input { flex: 1; padding: 14px 24px; border: none; border-radius: 50px; font-size: 15px; font-family: inherit; color: var(--text); background: transparent; outline: none; }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button { padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 700; background-color: var(--text); color: #FFFFFF; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s ease; white-space: nowrap; }
.newsletter-form button:hover { background-color: var(--accent); transform: scale(1.03); }
.newsletter-privacy { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 14px; }
.newsletter-privacy a { color: rgba(255,255,255,0.85); text-decoration: underline; text-decoration-style: dotted; }
.newsletter-privacy a:hover { color: #fff; }
.newsletter-image { display: flex; align-items: flex-end; justify-content: center; position: relative; }
.newsletter-image img { width: 340px; max-width: 100%; position: relative; z-index: 2; animation: floatSlow 4s ease-in-out infinite; filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15)); }
.newsletter-deco { position: absolute; pointer-events: none; z-index: 1; }
.newsletter-deco-bone { top: 15%; right: 20%; font-size: 32px; opacity: 0.2; animation: float 4s ease-in-out infinite; }
.newsletter-deco-paw { top: 40%; left: 10%; font-size: 28px; opacity: 0.15; animation: floatSlow 5s ease-in-out infinite; animation-delay: 1s; }
.newsletter-deco-ball { bottom: 30%; right: 10%; font-size: 24px; opacity: 0.2; animation: bounce 3s ease-in-out infinite; animation-delay: 0.5s; }
.newsletter-deco-star { bottom: 45%; left: 30%; font-size: 20px; opacity: 0.25; animation: sparkle 2s ease-in-out infinite; }
.newsletter-footer-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 0; }

/* ===== FOOTER ===== */
.ds-footer { background-color: var(--primary-darker); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-size: 22px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand h3 .dot { color: var(--accent); }
.footer-brand h3 .footer-paw { animation: wiggle 3s ease-in-out infinite; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); color: rgba(255,255,255,0.7); }
.footer-social a:hover { background-color: var(--accent); transform: translateY(-4px) scale(1.1); box-shadow: 0 4px 15px rgba(214,162,78,0.4); color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: all 0.2s ease; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--accent); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.7); transition: all 0.2s ease; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== SIDEBAR ===== */
.ds-sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 901px) { .ds-sidebar { position: sticky; top: 80px; height: fit-content; } }
.widget { background: white; padding: 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all 0.3s ease; }
.widget:hover { box-shadow: var(--shadow-md); }
.widget-title { font-family: 'Rockwell', 'Georgia', serif; color: var(--primary); font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border-light); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text); transition: color 0.2s; }
.widget ul li a:hover { color: var(--primary); }
.custom-logo-link { display: inline-block; }

/* ===== HOMEPAGE HERO ===== */
.ds-hero { padding: 60px 0 80px; background-color: var(--background); position: relative; overflow: hidden; }
.ds-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); z-index: 0; }
.hero-deco { position: absolute; pointer-events: none; z-index: 0; }
.hero-deco-1 { top: 20%; right: 5%; font-size: 24px; opacity: 0.15; }
.hero-deco-2 { bottom: 15%; left: 3%; font-size: 20px; opacity: 0.1; }
.hero-deco-3 { top: 10%; left: 40%; font-size: 18px; opacity: 0.08; }
.ds-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span { width: 36px; height: 36px; border-radius: 50%; background-color: var(--secondary); border: 2px solid var(--background); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-left: -10px; transition: transform 0.2s ease; }
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust-avatars span:hover { transform: scale(1.2) translateY(-2px); z-index: 2; }
.hero-trust-text { display: flex; flex-direction: column; }
.hero-trust-stars { color: var(--accent); font-size: 16px; }
.hero-trust-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.ds-hero h1 { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.ds-hero h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.ds-hero h1 .highlight::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 6px; background-color: var(--primary-light); border-radius: 3px; z-index: -1; }
.hero-subtitle { font-size: 18px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; max-width: 480px; }
.hero-stat { font-size: 16px; font-weight: 700; margin-bottom: 28px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.hero-stat .stat-icon { animation: bounce 2s ease-in-out infinite; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-cta .btn { white-space: nowrap; }

/* Calculator Widget (hero) */
.calculator-widget { background-color: var(--background); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-lg); position: relative; transition: box-shadow 0.3s ease; }
.calculator-widget:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.calculator-widget h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text); display: flex; align-items: center; gap: 8px; }

/* ===== PUPPY CALCULATOR SHARED ===== */
.ds-calc-wrapper { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--background); }
.ds-calc-header { background: var(--secondary); padding: 20px 25px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.ds-calc-header-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.ds-calc-header-text h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ds-calc-header-text p { font-size: 13px; color: var(--text-muted); }
.ds-calc-body { padding: 25px; }
.ds-form-group { margin-bottom: 20px; }
.ds-form-group:last-of-type { margin-bottom: 0; }
.ds-form-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-bottom: 10px; font-size: 14px; }
.ds-form-group label i { color: var(--primary); font-size: 14px; width: 16px; }
.ds-form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; background: var(--background); color: var(--text); }
.ds-form-control:focus { outline: none; border-color: var(--primary); }
.ds-form-control:hover { border-color: var(--primary); }
.ds-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ds-input-with-unit { display: flex; gap: 8px; }
.ds-input-with-unit input { flex: 1; min-width: 0; }
.ds-unit-select { padding: 14px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--background); color: var(--text); font-size: 14px; font-family: inherit; cursor: pointer; min-width: 70px; }
.ds-unit-select:focus { outline: none; border-color: var(--primary); }
.ds-unit-badge { padding: 14px 16px; background: var(--secondary); border: 1px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--text-muted); font-weight: 500; text-align: center; min-width: 70px; }
.ds-gender-toggle { display: flex; gap: 10px; }
.ds-gender-option { flex: 1; position: relative; }
.ds-gender-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.ds-gender-label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--text-light); transition: all 0.2s; background: var(--background); }
.ds-gender-label:hover { border-color: var(--primary); color: var(--primary); }
.ds-gender-option input:checked + .ds-gender-label { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.ds-calc-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 16px 24px; border-radius: 6px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 0.2s, transform 0.1s; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 25px; }
.ds-calc-btn:hover:not(:disabled) { background: var(--primary-hover); }
.ds-calc-btn:active:not(:disabled) { transform: scale(0.98); }
.ds-calc-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ds-results-section { display: none; border-top: 1px solid var(--border); background: var(--secondary); }
.ds-results-section.show { display: block; animation: slideDown 0.3s ease-out; }
.ds-results-header { padding: 20px 25px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.ds-results-header i { color: var(--primary); font-size: 18px; }
.ds-results-header h4 { font-size: 16px; font-weight: 700; color: var(--text); }
.ds-results-content { padding: 20px 25px; }
.ds-result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.ds-result-card { background: var(--background); border: 1px solid var(--border); border-radius: 8px; padding: 18px; position: relative; transition: border-color 0.2s; }
.ds-result-card:hover { border-color: var(--primary); }
.ds-result-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); border-radius: 8px 0 0 8px; }
.ds-result-card.accent::before { background: var(--accent); }
.ds-result-card.full-width { grid-column: span 2; }
.ds-result-card-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ds-result-card-label i { color: var(--primary); font-size: 12px; }
.ds-result-card.accent .ds-result-card-label i { color: var(--accent); }
.ds-result-card-value { font-size: 22px; font-weight: 700; color: var(--text); }
.ds-result-card-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.ds-comparison-bar { margin-top: 12px; }
.ds-bar-container { height: 8px; background: var(--border); border-radius: 4px; position: relative; overflow: visible; }
.ds-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.6s ease-out; }
.ds-bar-marker { position: absolute; top: -6px; width: 4px; height: 20px; background: var(--accent); border-radius: 2px; transform: translateX(-50%); transition: left 0.6s ease-out; }
.ds-bar-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.ds-info-box { margin-top: 20px; background: var(--background); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 16px 18px; }
.ds-info-box-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ds-info-box-title i { color: var(--accent); }
.ds-info-box ul { list-style: none; margin: 0; padding: 0; }
.ds-info-box li { font-size: 12px; color: var(--text-light); margin-bottom: 6px; padding-left: 16px; position: relative; line-height: 1.5; border-bottom: none; }
.ds-info-box li::before { content: ''; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; }
.ds-loading-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: spin 0.7s linear infinite; }

/* ===== TRUSTED BAR ===== */
.ds-trusted-bar { padding: 32px 0; background-color: var(--background); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.trusted-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.trusted-left { flex-shrink: 0; }
.trusted-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 4px; }
.trusted-heading { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.2; }
.trusted-stats { display: flex; align-items: center; gap: 48px; }
.trusted-stat-item { display: flex; align-items: center; gap: 14px; transition: transform 0.3s ease; cursor: default; }
.trusted-stat-item:hover { transform: translateY(-3px); }
.trusted-stat-icon { width: 56px; height: 56px; border-radius: 50%; background-color: var(--secondary); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 24px; transition: all 0.3s ease; }
.trusted-stat-item:hover .trusted-stat-icon { background-color: var(--primary); color: #fff; transform: rotate(10deg); }
.trusted-stat-text { display: flex; flex-direction: column; }
.trusted-stat-value { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.2; }
.trusted-stat-desc { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ===== HOW BIG ===== */
.ds-how-big { padding: 80px 0; background-color: var(--background); position: relative; overflow: hidden; }
.paw-prints { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.paw-print { position: absolute; font-size: 60px; opacity: 0.04; transform: rotate(var(--rotation, 0deg)); }
.ds-how-big:hover .paw-print { opacity: 0.08; }
.ds-how-big .container { position: relative; z-index: 1; }
.how-big-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.how-big-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.how-big-text p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.how-big-image { background-color: var(--secondary); border-radius: var(--radius-xl); height: 350px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.4s ease; cursor: pointer; position: relative; }
.how-big-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.how-big-image:hover { transform: scale(1.03) rotate(1deg); }
.size-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.size-chart-item { padding: 16px; background-color: var(--secondary); border-radius: var(--radius-sm); transition: all 0.3s ease; cursor: default; border: 2px solid transparent; }
.size-chart-item:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.size-chart-item h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.size-chart-item p { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }

/* ===== WHY SECTION ===== */
.ds-why { padding: 80px 0; background-color: var(--secondary); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; margin-top: 48px; }
.why-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-md); cursor: default; transition: all 0.3s ease; }
.why-item:hover { background-color: var(--background); box-shadow: var(--shadow-md); transform: translateX(6px); }
.why-item-icon { flex-shrink: 0; width: 48px; height: 48px; background-color: var(--background); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: all 0.3s ease; }
.why-item:hover .why-item-icon { background-color: var(--primary); transform: scale(1.1) rotate(5deg); }
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== POPULAR BREEDS ===== */
.ds-popular-breeds { padding: 80px 0; background-color: var(--background); }
.breeds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.breed-card { background-color: var(--background); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); display: block; text-decoration: none; color: inherit; }
.breed-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-8px); }
.breed-card-image { width: 100%; height: 200px; background-color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; overflow: hidden; }
.breed-card-image img { width: 100%; height: 100%; object-fit: cover; }
.breed-card:hover .breed-card-image { background-color: var(--primary-light); }
.breed-card-emoji { transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275); }
.breed-card:hover .breed-card-emoji { transform: scale(1.15) rotate(-5deg); }
.breed-card-body { padding: 20px; }
.breed-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.breed-card:hover .breed-card-body h3 { color: var(--primary); }
.breed-card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.breed-card-meta span { display: flex; align-items: center; gap: 4px; }
.breed-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.breed-tag { display: inline-block; padding: 4px 10px; background-color: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 600; border-radius: 20px; margin-bottom: 10px; transition: all 0.2s ease; }
.breed-card:hover .breed-tag { background-color: var(--primary); color: #fff; }

/* ===== ARTICLES ===== */
.ds-articles { padding: 80px 0; background-color: var(--secondary); }
.articles-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.article-card { background: var(--background); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); display: block; text-decoration: none; color: inherit; }
.article-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-6px); }
.article-card-image { width: 100%; height: 180px; background-color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 48px; overflow: hidden; position: relative; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px; }
.article-tag { display: inline-block; padding: 3px 10px; background-color: var(--secondary); color: var(--primary); font-size: 11px; font-weight: 600; border-radius: 20px; margin-bottom: 10px; transition: all 0.2s ease; }
.article-card:hover .article-tag { background-color: var(--primary); color: #fff; }
.article-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; transition: color 0.2s ease; }
.article-card:hover .article-card-body h3 { color: var(--primary); }
.article-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }

/* ===== ALL BREEDS ===== */
.ds-all-breeds { padding: 80px 0; background-color: var(--background); }
.all-breeds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.all-breed-item { background-color: var(--background); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; align-items: center; gap: 12px; transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275); cursor: pointer; text-decoration: none; color: inherit; }
.all-breed-item:hover { border-color: var(--primary); background-color: var(--primary-light); transform: translateY(-3px) scale(1.02); box-shadow: 0 4px 15px rgba(10,138,123,0.15); }
.all-breed-item .breed-emoji { font-size: 28px; flex-shrink: 0; transition: transform 0.3s ease; }
.all-breed-item:hover .breed-emoji { transform: scale(1.2) rotate(-10deg); }
.all-breed-item .breed-info h4 { font-size: 14px; font-weight: 600; transition: color 0.2s ease; }
.all-breed-item:hover .breed-info h4 { color: var(--primary); }
.all-breed-item .breed-info p { font-size: 12px; color: var(--text-muted); }
.hidden-breeds { display: none; }
.hidden-breeds.show { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; animation: slideIn 0.3s ease; }
.load-more-wrapper { text-align: center; margin-top: 32px; }

/* ===== DOG BREED SINGLE ===== */
.ds-breed-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
@media (max-width: 900px) { .ds-breed-page-wrapper { grid-template-columns: 1fr; } }
.ds-breed-hero { background: var(--background); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-subtle); margin-bottom: 30px; border: 1px solid var(--border-light); transition: box-shadow 0.3s ease; }
.ds-breed-hero:hover { box-shadow: var(--shadow-hover); }
.ds-breed-hero h1 { color: var(--text); font-weight: 800; margin-bottom: 1rem; }
.ds-breed-hero h2, .ds-breed-hero h3 { font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.ds-interaction-bar { background-color: var(--secondary); padding: 20px; border-radius: var(--radius-md); margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; border: 1px solid rgba(10,138,123,0.1); }
.tooltip-trigger { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; color: var(--primary); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; transition: all 0.3s; }
.tooltip-trigger:hover { color: var(--primary-hover); transform: translateX(3px); }
.info-icon { background: var(--primary); color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: transform 0.2s ease; }
.tooltip-trigger:hover .info-icon { transform: rotate(15deg) scale(1.1); }
.like-container { display: flex; align-items: center; gap: 15px; }
.like-btn { background: white; border: 2px solid transparent; padding: 8px 16px; border-radius: 30px; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-family: inherit; }
.like-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.like-btn.liked { background-color: #fff0e6; border-color: var(--accent); color: var(--accent); }
.tap-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.social-share { display: flex; gap: 12px; }
.share-icon { width: 42px; height: 42px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.share-icon:hover { transform: scale(1.15) translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.share-icon.facebook { background: #1877f2; color: white; }
.share-icon.twitter { background: #000; color: white; }
.ds-calc-section { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); transition: box-shadow 0.3s ease; }
.ds-calc-section:hover { box-shadow: var(--shadow-hover); }
.ds-calc-section h2 { text-align: center; margin-bottom: 25px; font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary); }
.ds-breed-info-card { background-color: var(--secondary); border-radius: var(--radius-lg); margin-bottom: 30px; display: flex; overflow: hidden; box-shadow: var(--shadow-subtle); transition: all 0.3s ease; border: 1px solid var(--border-light); }
.ds-breed-info-card:hover { box-shadow: var(--shadow-hover); }
.breed-img-col { flex: 1; min-height: 250px; background-size: cover; background-position: center; transition: transform 0.5s ease; overflow: hidden; }
.ds-breed-info-card:hover .breed-img-col { transform: scale(1.03); }
.breed-stats-col { flex: 1.2; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.breed-stats-col h3 { font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.stat-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(10,138,123,0.2); padding: 12px 0; transition: all 0.2s ease; }
.stat-row:hover { padding-left: 8px; background-color: rgba(10,138,123,0.05); border-radius: 4px; }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-weight: 600; color: var(--text-muted); }
.stat-value { font-weight: 700; color: var(--text); }
.ds-growth-chart { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }
.ds-growth-chart h2 { font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary-darker); margin-bottom: 20px; }
.ds-chart-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.ds-tab-btn { padding: 8px 16px; border: 2px solid var(--primary); background: transparent; color: var(--primary); border-radius: 25px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; font-size: 0.85rem; font-family: inherit; }
.ds-tab-btn:hover { background: var(--primary-light); }
.ds-tab-btn.active { background: var(--primary); color: white; }
.canvas-wrapper { position: relative; height: 300px; margin-bottom: 20px; }
.ds-traits { background-color: var(--secondary); padding: 30px; border-radius: var(--radius-lg); margin-bottom: 40px; border: 1px solid rgba(10,138,123,0.1); }
.ds-traits h2 { font-family: 'Rockwell', 'Georgia', serif; font-weight: 700; color: var(--primary-darker); text-align: center; margin-bottom: 25px; }
.trait-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.trait-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); transition: all 0.3s ease; cursor: default; }
.trait-item:hover { background-color: rgba(255,255,255,0.7); transform: translateX(4px); }
.trait-label { font-weight: 600; font-size: 0.95rem; }
.rating-circles { display: flex; gap: 4px; }
.circle { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,0.5); border: 1px solid rgba(10,138,123,0.3); transition: all 0.2s ease; }
.circle.filled { background-color: var(--primary); border-color: var(--primary); }
.trait-item:hover .circle.filled { transform: scale(1.25); }
.ds-recommendation { background: white; border: 3px solid var(--primary); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 40px; position: relative; display: flex; align-items: center; gap: 25px; transition: all 0.3s ease; }
.ds-recommendation:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.badge-ribbon { position: absolute; top: -15px; left: -10px; background-color: var(--accent); color: #fff; padding: 8px 20px; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%); box-shadow: 2px 2px 5px rgba(0,0,0,0.2); letter-spacing: 0.5px; }
.rec-image { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; transition: transform 0.3s ease; }
.ds-recommendation:hover .rec-image { transform: scale(1.05) rotate(-2deg); }
.rec-content h3 { margin-bottom: 10px; font-size: 1.1rem; font-family: 'Rockwell','Georgia',serif; font-weight: 700; color: var(--primary); }
.rec-bullets { list-style: none; font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; padding: 0; }
.rec-bullets li { margin-bottom: 5px; }
.rec-cta-btn { background-color: var(--accent); color: white; border: none; padding: 12px 25px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 0 var(--accent-hover); width: 100%; font-family: inherit; font-size: 0.95rem; }
.rec-cta-btn:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 0 #b8832a; }
.rec-cta-btn:active { transform: translateY(4px); box-shadow: none; }
.ds-accordion { margin-bottom: 40px; }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-header { width: 100%; padding: 18px 0; text-align: left; background: none; border: none; outline: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); transition: all 0.3s; font-family: inherit; }
.accordion-header:hover { color: var(--primary); padding-left: 8px; }
.accordion-header-content { display: flex; align-items: center; gap: 12px; }
.accordion-icon { font-size: 1.3rem; width: 30px; text-align: center; }
.accordion-toggle { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; color: var(--primary); }
.accordion-header.active .accordion-toggle { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: var(--text-light); padding-left: 42px; }
.accordion-content p { padding-bottom: 18px; line-height: 1.8; }
.ds-keep-reading { margin-bottom: 40px; }
.keep-reading-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.keep-reading-title { font-family: 'Rockwell','Georgia',serif; font-weight: 700; font-size: 1.6rem; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-darker) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.related-breeds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.breed-card-mini { background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-subtle); transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); cursor: pointer; border: 1px solid var(--border-light); text-decoration: none; color: inherit; display: block; }
.breed-card-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.mini-img { width: 100%; height: 120px; background-color: var(--secondary); object-fit: cover; transition: transform 0.4s ease; display: block; }
.breed-card-mini:hover .mini-img { transform: scale(1.05); }
.mini-info { padding: 12px; text-align: center; font-weight: 600; font-size: 0.9rem; transition: color 0.2s ease; }
.breed-card-mini:hover .mini-info { color: var(--primary); }
.whats-it-like-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.speech-bubble { position: relative; background: var(--secondary); padding: 12px 18px; border-radius: 8px; border: 2px solid rgba(10,138,123,0.3); flex-shrink: 0; transition: transform 0.3s ease; }
.speech-bubble:hover { transform: scale(1.05); }
.speech-bubble::after { content: ''; position: absolute; bottom: -12px; left: 20px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 12px solid var(--secondary); }
.speech-bubble::before { content: ''; position: absolute; bottom: -15px; left: 18px; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 14px solid rgba(10,138,123,0.3); }
.speech-bubble-text { font-family: 'Georgia', serif; font-style: italic; font-weight: bold; color: var(--primary-darker); font-size: 0.95rem; line-height: 1.2; }
.speech-bubble-text span { display: block; }
.caring-title { font-family: 'Rockwell','Georgia',serif; font-weight: 700; color: var(--primary-darker); font-size: 1.8rem; }
.trust-metrics { display: flex; justify-content: space-around; text-align: center; margin-top: 10px; }
.trust-metrics > div { transition: transform 0.3s ease; cursor: default; }
.trust-metrics > div:hover { transform: translateY(-3px); }
.metric-icon { font-size: 1.5rem; display: block; margin-bottom: 5px; }
.metric-val { font-weight: 800; display: block; color: var(--primary); }
.metric-label { font-size: 0.75rem; color: var(--text-muted); }

/* ===== BLOG ARCHIVE ===== */
.ds-blog-layout { max-width: 1400px; margin: 0 auto; padding: 40px 30px; display: grid; grid-template-columns: 1fr 350px; gap: 50px; }
.ds-archive-header { margin-bottom: 35px; }
.archive-title { font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.archive-description { color: var(--text-muted); font-size: 16px; }
.archive-count { color: var(--primary); font-weight: 600; }
.ds-filter-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; margin-bottom: 30px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 15px; }
.ds-filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.ds-filter-tab { padding: 8px 16px; background: none; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-weight: 500; color: var(--text-light); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.ds-filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.ds-filter-tab.active { background: var(--primary); border-color: var(--primary); color: white; }
.ds-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 50px; }
.ds-blog-card { background: var(--background); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.2s; text-decoration: none; color: inherit; display: block; }
.ds-blog-card:hover { border-color: var(--primary); }
.ds-blog-card-image { position: relative; overflow: hidden; }
.ds-blog-card-image img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.ds-blog-card:hover .ds-blog-card-image img { transform: scale(1.03); }
.ds-blog-card-category { position: absolute; top: 15px; left: 15px; background: var(--background); color: var(--primary); padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ds-blog-card-body { padding: 25px; }
.ds-blog-card-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; transition: color 0.2s; }
.ds-blog-card:hover .ds-blog-card-title { color: var(--primary); }
.ds-blog-card-excerpt { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.ds-blog-card-meta { display: flex; align-items: center; gap: 20px; }
.ds-blog-card-author { display: flex; align-items: center; gap: 10px; }
.ds-blog-card-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.ds-blog-card-author-name { font-weight: 600; font-size: 14px; }
.ds-blog-card-date { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.ds-blog-card-readmore { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 15px; transition: gap 0.2s; }
.ds-blog-card:hover .ds-blog-card-readmore { gap: 10px; }
.ds-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.ds-page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text); background: var(--background); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.ds-page-btn:hover, .ds-page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

/* ===== SINGLE POST ===== */
.ds-post-layout { max-width: 1400px; margin: 0 auto; padding: 40px 30px; display: grid; grid-template-columns: 1fr 350px; gap: 50px; }
.ds-post-article { background: var(--background); }
.ds-post-header { margin-bottom: 30px; }
.ds-post-category { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.ds-post-title { font-size: 34px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 24px; }
.ds-post-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.ds-post-author { display: flex; align-items: center; gap: 12px; }
.ds-post-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ds-post-author-name { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.ds-post-date { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; }
.ds-share-buttons { display: flex; gap: 8px; align-items: center; }
.ds-share-label { font-weight: 500; color: var(--text-muted); font-size: 14px; margin-right: 4px; }
.ds-share-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--background); color: var(--text-light); transition: all 0.2s; }
.ds-share-btn:hover { border-color: var(--primary); color: var(--primary); }
.ds-share-btn.facebook:hover { border-color: #1877F2; color: #1877F2; background: rgba(24,119,242,0.05); }
.ds-share-btn.twitter:hover { border-color: #000; color: #000; background: rgba(0,0,0,0.05); }
.ds-featured-image { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 35px; }
.ds-post-content p { margin-bottom: 20px; color: var(--text-light); font-size: 17px; }
.ds-post-content h2 { font-size: 24px; color: var(--text); margin: 35px 0 18px; font-weight: 600; }
.ds-post-content h3 { font-size: 20px; color: var(--text); margin: 28px 0 14px; font-weight: 600; }
.ds-post-content ul { margin: 20px 0; padding-left: 25px; list-style: disc; }
.ds-post-content li { margin-bottom: 10px; color: var(--text-light); font-size: 16px; }
.ds-post-content blockquote { border-left: 4px solid var(--primary); padding: 20px 25px; margin: 30px 0; background: var(--secondary); border-radius: 0 8px 8px 0; font-style: italic; font-size: 18px; color: var(--text); }
.ds-post-content img { border-radius: 8px; margin: 20px 0; }
.ds-post-tags { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ds-post-tag { display: inline-block; padding: 6px 14px; background: var(--secondary); color: var(--primary); border-radius: 4px; font-size: 13px; font-weight: 500; transition: all 0.2s; text-decoration: none; }
.ds-post-tag:hover { background: var(--primary); color: white; }
.ds-related-posts { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.ds-related-posts h3 { font-size: 24px; font-weight: 700; margin-bottom: 25px; }
.ds-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ds-related-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: border-color 0.2s; }
.ds-related-card:hover { border-color: var(--primary); }
.ds-related-card img { width: 100%; height: 150px; object-fit: cover; transition: transform 0.3s; }
.ds-related-card:hover img { transform: scale(1.03); }
.ds-related-card-body { padding: 15px; }
.ds-related-card-body h4 { font-size: 15px; font-weight: 600; line-height: 1.4; transition: color 0.2s; }
.ds-related-card:hover .ds-related-card-body h4 { color: var(--primary); }
.ds-related-card-body p { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== DOG BREEDS ARCHIVE ===== */
.ds-breeds-archive-layout { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 60px; }
.ds-breeds-page-header { padding: 50px 0 30px; text-align: center; }
.ds-breeds-page-header h1 { font-size: 44px; font-weight: 900; color: var(--text); margin-bottom: 12px; letter-spacing: -0.5px; }
.ds-breeds-page-header h1 .highlight { color: var(--primary); }
.ds-breeds-page-header p { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto 8px; line-height: 1.7; }
.breed-count-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background-color: var(--secondary); border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 12px; }
.ds-breeds-search-wrapper { max-width: 500px; margin: 28px auto 0; position: relative; }
.ds-breeds-search-input { width: 100%; padding: 14px 20px 14px 48px; border: 2px solid var(--border); border-radius: 50px; font-size: 16px; font-family: inherit; background: var(--background); color: var(--text); outline: none; transition: all 0.3s ease; }
.ds-breeds-search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.ds-breeds-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; }
.ds-breeds-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0; }
.ds-breeds-filter-tab { padding: 8px 20px; background: var(--background); border: 2px solid var(--border); border-radius: 30px; font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.ds-breeds-filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.ds-breeds-filter-tab.active { background: var(--primary); border-color: var(--primary); color: white; }
.ds-az-letter-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; margin-top: 40px; }
.ds-az-letter { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; box-shadow: 0 4px 12px rgba(10,138,123,0.3); flex-shrink: 0; }
.ds-az-line { flex: 1; height: 1px; background: var(--border-light); }
.ds-az-count { font-size: 13px; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.ds-breeds-az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ds-breed-az-card { background: var(--background); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; display: flex; align-items: center; gap: 16px; transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275); cursor: pointer; text-decoration: none; color: inherit; }
.ds-breed-az-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(10,138,123,0.12); }
.ds-breed-az-img { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--secondary); object-fit: cover; flex-shrink: 0; transition: transform 0.3s ease; }
.ds-breed-az-card:hover .ds-breed-az-img { transform: scale(1.1); }
.ds-breed-az-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; transition: color 0.2s; }
.ds-breed-az-card:hover .ds-breed-az-info h3 { color: var(--primary); }
.ds-breed-az-info p { font-size: 12px; color: var(--text-muted); }
.ds-breed-az-tag { display: inline-block; padding: 2px 8px; background: var(--primary-light); color: var(--primary); border-radius: 10px; font-size: 10px; font-weight: 600; margin-top: 4px; transition: all 0.2s; }
.ds-breed-az-card:hover .ds-breed-az-tag { background: var(--primary); color: white; }
.no-results-msg { text-align: center; padding: 60px 0; color: var(--text-muted); font-size: 18px; }

/* ===== PAGE TEMPLATE ===== */
.ds-page-layout { max-width: 1400px; margin: 0 auto; padding: 40px 30px; display: grid; grid-template-columns: 1fr 350px; gap: 50px; }
.ds-page-content { background: var(--background); }
.ds-page-title { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 24px; line-height: 1.3; }
.ds-page-featured-image { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.ds-page-body p { margin-bottom: 20px; color: var(--text-light); font-size: 17px; line-height: 1.8; }
.ds-page-body h2 { font-size: 24px; color: var(--text); margin: 35px 0 18px; font-weight: 600; }
.ds-page-body h3 { font-size: 20px; color: var(--text); margin: 28px 0 14px; font-weight: 600; }
.ds-page-body ul { margin: 20px 0; padding-left: 25px; list-style: disc; }
.ds-page-body li { margin-bottom: 10px; color: var(--text-light); font-size: 16px; }
.ds-page-body img { border-radius: 8px; margin: 20px 0; }

/* ===== ACCESSIBILITY ===== */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
#primary[tabindex="-1"]:focus { outline: 0; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { text-align: center; font-size: 13px; color: var(--text-muted); }
.gallery { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; }
.gallery-item { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.custom-logo-link { display: inline-block; }
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { display: none; }
.infinity-end.neverending .site-footer { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .ds-blog-layout, .ds-post-layout, .ds-page-layout { grid-template-columns: 1fr 300px; gap: 40px; }
}
@media (max-width: 1024px) {
    .ds-hero .container { grid-template-columns: 1fr; gap: 40px; }
    .ds-hero h1 { font-size: 40px; }
    .breeds-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .all-breeds-grid, .hidden-breeds.show { grid-template-columns: repeat(3, 1fr); }
    .why-grid { gap: 24px 40px; }
    .how-big-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trusted-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
    .trusted-stats { gap: 32px; flex-wrap: wrap; }
    .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
    .newsletter-content { padding-bottom: 20px; }
    .newsletter-content p { max-width: 100%; }
    .newsletter-form { max-width: 100%; margin: 0 auto; }
    .newsletter-privacy { text-align: center; }
    .newsletter-image { justify-content: center; }
    .newsletter-image img { width: 260px; }
    .ds-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar-nav { display: none !important; }
    .navbar-nav.open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background: var(--background);
        padding: 70px 24px 24px;
        z-index: 9999;
        box-shadow: -4px 0 30px rgba(0,0,0,0.18);
        overflow-y: auto;
        list-style: none;
        gap: 0;
    }
    .navbar-nav.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: -1;
    }
    .navbar-nav.open li { border-bottom: 1px solid var(--border-light); }
    .navbar-nav.open li a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; }
    .mobile-toggle { display: block; }
    .ds-hero h1 { font-size: 32px; }
    .section-title { font-size: 28px; }
    .breeds-grid, .articles-grid { grid-template-columns: 1fr; }
    .all-breeds-grid, .hidden-breeds.show { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .articles-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius-md); padding: 8px; }
    .newsletter-form input { border-radius: var(--radius-sm); text-align: center; }
    .newsletter-form button { border-radius: var(--radius-sm); width: 100%; }
    .newsletter-content h2 { font-size: 30px; }
    .trusted-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
    .ds-blog-grid { grid-template-columns: 1fr; }
    .ds-post-title { font-size: 26px; }
    .ds-related-grid { grid-template-columns: 1fr; }
    .ds-breeds-az-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .ds-recommendation { flex-direction: column; text-align: center; }
    .badge-ribbon { left: 50%; transform: translateX(-50%); top: -20px; }
    .rec-bullets { text-align: left; }
    .ds-breed-info-card { flex-direction: column; }
    .breed-img-col { height: 200px; flex: none; width: 100%; }
    .whats-it-like-header { flex-direction: column; align-items: flex-start; }
    .caring-title { font-size: 1.4rem; }
    .ds-form-row { grid-template-columns: 1fr; }
    .ds-gender-toggle { flex-direction: column; }
    .ds-result-cards { grid-template-columns: 1fr; }
    .ds-result-card.full-width { grid-column: span 1; }
    .ds-blog-layout, .ds-post-layout, .ds-page-layout { padding: 30px 20px; }
}
@media (max-width: 480px) {
    .all-breeds-grid, .hidden-breeds.show { grid-template-columns: 1fr; }
    .size-chart { grid-template-columns: 1fr; }
    .ds-breeds-az-grid { grid-template-columns: 1fr; }
    .ds-blog-layout, .ds-post-layout, .ds-page-layout { padding: 20px 15px; }
    .ds-breeds-page-header h1 { font-size: 32px; }
    .ds-breed-page-wrapper { padding: 0 15px 30px; }
}

/* ===== ADDITIONAL THEME COMPONENTS ===== */
.ds-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 15px; font-weight: 600; border-radius: 8px; border: none; cursor: pointer; transition: all 0.25s ease; font-family: inherit; text-decoration: none; }
.ds-btn-primary { background-color: var(--primary); color: #fff; }
.ds-btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,138,123,0.3); color: #fff; }
.ds-btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.ds-btn-outline:hover { background-color: var(--primary); color: #fff; transform: translateY(-2px); }
.ds-btn-accent { background-color: var(--accent); color: #fff; border: none; }
.ds-btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-2px); color: #fff; }
.ds-btn-sm { padding: 8px 16px; font-size: 13px; }
.ds-btn-lg { padding: 16px 32px; font-size: 16px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.ds-navbar-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ds-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; text-decoration: none; }
.ds-logo img { max-height: 48px; width: auto; }
.ds-logo-text { color: var(--text); }
.ds-nav-links { display: flex; align-items: center; }
.ds-menu-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ds-menu-list li a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 6px; transition: all 0.2s; display: block; }
.ds-menu-list li a:hover, .ds-menu-list li.current-menu-item > a { color: var(--primary); background: var(--primary-light); }
.ds-nav-actions { display: flex; align-items: center; gap: 12px; }
.ds-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.ds-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.ds-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-nav-toggle.active span:nth-child(2) { opacity: 0; }
.ds-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ds-back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background-color: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 20px rgba(10,138,123,0.35); transition: all 0.3s ease; opacity: 0; visibility: hidden; z-index: 999; }
.ds-back-to-top.visible { opacity: 1; visibility: visible; }
.ds-back-to-top:hover { transform: translateY(-4px) scale(1.1); background-color: var(--accent); }
.ds-breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 14px 0; font-size: 13px; color: var(--text-muted); }
.ds-breadcrumb-list li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #ccc; }
.ds-breadcrumb-list a { color: var(--primary); font-weight: 500; }
.ds-breadcrumb-list a:hover { text-decoration: underline; }
.ds-breadcrumb-list li[aria-current="page"] { color: var(--text); font-weight: 600; }
.ds-section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.ds-section-badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.ds-section-title { font-size: 36px; font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: 14px; }
.ds-section-subtitle { font-size: 16px; color: var(--text-light); line-height: 1.7; }
.ds-section-cta { text-align: center; margin-top: 36px; }
.ds-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ds-hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.ds-hero-title { font-size: 52px; font-weight: 900; line-height: 1.1; color: var(--text); margin-bottom: 18px; letter-spacing: -1px; }
.ds-hero-accent { color: var(--primary); }
.ds-hero-desc { font-size: 17px; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.ds-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ds-hero-content { max-width: 560px; }
.ds-trusted-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ds-trusted-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); flex-shrink: 0; }
.ds-trusted-items { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.ds-trusted-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.ds-trusted-item i { font-size: 20px; color: var(--primary); }
.ds-how-big-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ds-how-big-image img { width: 100%; border-radius: var(--radius-lg); }
.ds-how-big-content { max-width: 500px; }
.ds-how-big-list { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ds-how-big-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-light); }
.ds-how-big-list li i { color: var(--primary); flex-shrink: 0; }
.ds-why-section { padding: 80px 0; background: var(--secondary); }
.ds-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ds-why-card { background: #fff; padding: 32px 24px; border-radius: var(--radius-lg); text-align: center; transition: all 0.3s ease; border: 1px solid var(--border-light); }
.ds-why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ds-why-icon { width: 64px; height: 64px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; color: var(--primary); transition: all 0.3s ease; }
.ds-why-card:hover .ds-why-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.ds-why-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.ds-why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.ds-load-more-wrap { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.ds-size-filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.ds-size-filter-btn { padding: 8px 18px; border: 2px solid var(--border); border-radius: 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: #fff; text-decoration: none; transition: all 0.2s; }
.ds-size-filter-btn:hover, .ds-size-filter-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.ds-breed-card-mini { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: all 0.2s ease; }
.ds-breed-card-mini:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.ds-breed-card-mini-img { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--secondary); }
.ds-breed-card-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-breed-card-mini-name { font-size: 14px; font-weight: 600; color: var(--text); display: block; }
.ds-breed-size-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: var(--secondary); color: var(--primary); }
.calculator-container { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; width: 100%; }
.calculator-header { background: var(--secondary); padding: 20px 25px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.header-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0; }
.header-text h2 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.header-text p { font-size: 13px; color: var(--text-muted); }
.input-section { padding: 22px 25px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-bottom: 8px; font-size: 14px; }
.form-group label i { color: var(--primary); width: 16px; font-size: 14px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; color: var(--text); background: var(--background); transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-with-unit { display: flex; gap: 8px; }
.input-with-unit input { flex: 1; min-width: 0; }
.unit-select { padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--background); color: var(--text); font-size: 13px; font-family: inherit; cursor: pointer; min-width: 65px; }
.unit-select:focus { outline: none; border-color: var(--primary); }
.unit-badge { padding: 12px 14px; background: var(--secondary); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; color: var(--text-muted); text-align: center; min-width: 60px; white-space: nowrap; }
.gender-toggle { display: flex; gap: 10px; }
.gender-option { flex: 1; position: relative; }
.gender-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.gender-label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--text-light); transition: all 0.2s; background: var(--background); }
.gender-label:hover { border-color: var(--primary); color: var(--primary); }
.gender-option input:checked + .gender-label { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
#calculate-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 14px 24px; border-radius: 6px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 0.2s, transform 0.1s; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
#calculate-btn:hover:not(:disabled) { background: var(--primary-hover); }
#calculate-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.locked-breed-display { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--secondary); border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--primary); }
.results-section { display: none; border-top: 1px solid var(--border); }
.results-section.show { display: block; animation: slideDown 0.3s ease-out; }
.results-header { background: var(--secondary); padding: 18px 25px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.results-header i { color: var(--primary); font-size: 18px; }
.results-header h2, .results-header h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.results-content { padding: 20px 25px; }
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.result-card { background: var(--background); border: 1px solid var(--border); border-radius: 8px; padding: 16px; position: relative; transition: border-color 0.2s; }
.result-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); border-radius: 8px 0 0 8px; }
.result-card.accent::before { background: var(--accent); }
.result-card.full-width { grid-column: span 2; }
.result-card-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.result-card-label i { color: var(--primary); font-size: 11px; }
.result-card.accent .result-card-label i { color: var(--accent); }
.result-card-value { font-size: 20px; font-weight: 700; color: var(--text); }
.result-card-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.comparison-bar { margin-top: 12px; }
.bar-container { height: 8px; background: var(--border); border-radius: 4px; position: relative; overflow: visible; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.6s ease-out; }
.bar-marker { position: absolute; top: -6px; width: 4px; height: 20px; background: var(--accent); border-radius: 2px; transform: translateX(-50%); transition: left 0.6s ease-out; }
.bar-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.info-box { margin-top: 16px; background: var(--background); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 14px 16px; }
.info-box-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-box-title i { color: var(--accent); }
.info-box ul { list-style: none; margin: 0; padding: 0; }
.info-box li { font-size: 12px; color: var(--text-light); margin-bottom: 5px; padding-left: 14px; position: relative; line-height: 1.5; border-bottom: none !important; }
.info-box li::before { content: ''; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; }
.loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: spin 0.7s linear infinite; }
.ds-newsletter-wrap { background: var(--primary); padding: 64px 0 48px; }
.ds-newsletter-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ds-newsletter-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ds-newsletter-desc { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.ds-newsletter-form { display: flex; gap: 0; background: #fff; border-radius: 50px; padding: 5px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); max-width: 460px; }
.ds-newsletter-form .ds-btn-accent { border-radius: 50px; white-space: nowrap; }
.ds-newsletter-input { flex: 1; padding: 14px 22px; border: none; background: transparent; font-size: 15px; font-family: inherit; color: var(--text); outline: none; border-radius: 50px; }
.ds-newsletter-image img { width: 280px; max-width: 100%; }
.ds-footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ds-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ds-footer-logo .ds-logo-text { font-size: 22px; font-weight: 800; color: #fff; }
.ds-footer-tagline { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ds-footer-social { display: flex; gap: 10px; }
.ds-social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.3s ease; text-decoration: none; }
.ds-social-link:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.ds-footer-col-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.ds-footer-links { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ds-footer-links a, .ds-footer-links li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: all 0.2s ease; text-decoration: none; }
.ds-footer-links a:hover, .ds-footer-links li a:hover { color: var(--accent); padding-left: 4px; }
.ds-footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ds-footer-copy { font-size: 13px; color: rgba(255,255,255,0.5); }
.ds-footer-copy a { color: rgba(255,255,255,0.7); }
.ds-footer-legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.ds-footer-legal a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; text-decoration: none; }
.ds-footer-legal a:hover { color: var(--accent); }
.footer-widget-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.ds-page-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 60px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.ds-breed-main { min-width: 0; }
.ds-breed-hero-content { }
.ds-breed-size-badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.ds-breed-title { font-size: 40px; font-weight: 900; color: var(--text); margin-bottom: 12px; }
.ds-breed-excerpt { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.ds-like-btn { background: white; border: 2px solid var(--border); padding: 8px 18px; border-radius: 30px; cursor: pointer; font-size: 16px; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; font-family: inherit; font-weight: 600; color: var(--text); }
.ds-like-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.ds-like-btn.liked { background: #fff0e6; border-color: var(--accent); color: var(--accent); }
.ds-share-btns { display: flex; gap: 10px; }
.ds-share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; transition: all 0.3s ease; text-decoration: none; }
.ds-share-btn.facebook { background: #1877f2; }
.ds-share-btn.twitter { background: #000; }
.ds-share-btn.pinterest { background: #e60023; }
.ds-share-btn:hover { transform: scale(1.15) translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.ds-breed-calc-section { background: var(--background); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }
.ds-trust-block { background: var(--secondary); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; border: 1px solid rgba(10,138,123,0.1); }
.ds-breed-info-inner { display: flex; overflow: hidden; border-radius: var(--radius-lg); }
.ds-breed-img-col img { width: 100%; height: 100%; object-fit: cover; min-height: 250px; }
.ds-breed-stats-col { flex: 1.2; padding: 28px; }
.ds-breed-info-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.ds-breed-stats { display: flex; flex-direction: column; }
.ds-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(10,138,123,0.2); }
.ds-stat-row:last-child { border-bottom: none; }
.ds-stat-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text-muted); }
.ds-stat-value { font-weight: 700; font-size: 14px; color: var(--text); }
.ds-growth-chart-section { background: var(--background); padding: 28px; border-radius: var(--radius-lg); margin-bottom: 28px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }
.ds-chart-wrapper { position: relative; height: 300px; }
.ds-traits-section { background: var(--secondary); padding: 28px; border-radius: var(--radius-lg); margin-bottom: 28px; border: 1px solid rgba(10,138,123,0.1); }
.ds-traits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.ds-trait-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 8px; transition: background 0.2s; }
.ds-trait-item:hover { background: rgba(255,255,255,0.7); }
.ds-trait-header { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.ds-trait-header i { color: var(--primary); width: 18px; }
.ds-trait-circles { display: flex; gap: 5px; }
.ds-trait-circle { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); border: 1px solid rgba(10,138,123,0.3); transition: all 0.2s; }
.ds-trait-circle.filled { background: var(--primary); border-color: var(--primary); }
.ds-rec-card { background: #fff; border: 3px solid var(--primary); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; position: relative; transition: all 0.3s ease; }
.ds-rec-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ds-badge-ribbon { position: absolute; top: -14px; left: -8px; background: var(--accent); color: #fff; padding: 6px 18px; font-weight: 800; text-transform: uppercase; font-size: 12px; clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%); box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.ds-rec-inner { display: flex; align-items: center; gap: 24px; }
.ds-rec-image img { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }
.ds-rec-title { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.ds-rec-desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.ds-rec-cta-btn { display: inline-block; background: var(--accent); color: #fff; border: none; padding: 12px 24px; border-radius: 30px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; font-family: inherit; }
.ds-rec-cta-btn:hover { background: var(--accent-hover); transform: translateY(-2px); color: #fff; }
.ds-breed-content { margin-bottom: 28px; }
.ds-breed-content p { font-size: 16px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; }
.ds-accordion-section { margin-bottom: 28px; }
.ds-accordion { border-top: 1px solid var(--border-light); }
.ds-accordion-item { border-bottom: 1px solid var(--border-light); }
.ds-accordion-trigger { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 4px; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; font-family: inherit; transition: color 0.2s; }
.ds-accordion-trigger:hover { color: var(--primary); }
.ds-accordion-icon { color: var(--primary); font-size: 18px; width: 24px; }
.ds-accordion-arrow { margin-left: auto; color: var(--text-muted); transition: transform 0.3s ease; }
.ds-accordion-item.open .ds-accordion-arrow { transform: rotate(180deg); }
.ds-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; }
.ds-accordion-body { padding: 4px 4px 20px; font-size: 15px; color: var(--text-light); line-height: 1.8; }
.ds-find-data-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px; }
.ds-find-data-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ds-find-data-icon { font-size: 36px; color: rgba(255,255,255,0.8); flex-shrink: 0; }
.ds-find-data-content h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.ds-find-data-content p { font-size: 14px; color: rgba(255,255,255,0.8); }
.ds-related-breeds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.ds-related-breed-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: all 0.3s ease; text-align: center; }
.ds-related-breed-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ds-related-breed-img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--secondary); flex-shrink: 0; }
.ds-related-breed-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-related-breed-name { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
.ds-related-breed-weight { font-size: 11px; color: var(--text-muted); }
.ds-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0; }
.ds-blog-archive-title { font-size: 36px; font-weight: 900; color: var(--text); margin: 12px 0; }
.ds-blog-archive-desc { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.ds-post-count-badge { display: inline-block; font-size: 12px; font-weight: 700; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; margin-left: 10px; }
.ds-category-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ds-category-tab { padding: 7px 16px; border: 2px solid var(--border); border-radius: 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: all 0.2s; background: #fff; }
.ds-category-tab:hover, .ds-category-tab.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.ds-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ds-blog-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s ease; display: block; color: inherit; text-decoration: none; }
.ds-blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.ds-blog-card-img { position: relative; height: 200px; overflow: hidden; background: var(--secondary); }
.ds-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ds-blog-card:hover .ds-blog-card-img img { transform: scale(1.05); }
.ds-blog-cat-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--primary); color: #fff; letter-spacing: 0.5px; }
.ds-blog-card-body { padding: 20px; }
.ds-blog-card-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.ds-blog-card-title a { color: var(--text); }
.ds-blog-card:hover .ds-blog-card-title a { color: var(--primary); }
.ds-blog-card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.ds-blog-card-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.ds-blog-author { display: flex; align-items: center; gap: 6px; }
.ds-author-avatar { width: 24px; height: 24px; border-radius: 50%; }
.ds-blog-date { display: flex; align-items: center; gap: 5px; }
.ds-blog-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.ds-post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0; }
.ds-post-cat-badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.ds-post-title { font-size: 36px; font-weight: 900; line-height: 1.2; color: var(--text); margin-bottom: 20px; }
.ds-post-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ds-post-author-block { display: flex; align-items: center; gap: 12px; }
.ds-post-author-avatar { width: 44px; height: 44px; border-radius: 50%; }
.ds-post-author-name { display: block; font-weight: 700; font-size: 15px; color: var(--text); }
.ds-post-date { display: block; font-size: 13px; color: var(--text-muted); }
.ds-post-share-row { display: flex; gap: 8px; }
.ds-post-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.ds-post-featured-img img { width: 100%; height: 420px; object-fit: cover; }
.ds-post-content { font-size: 16px; line-height: 1.85; color: var(--text-light); margin-bottom: 32px; }
.ds-post-content p { margin-bottom: 20px; }
.ds-post-content h2 { font-size: 24px; font-weight: 800; color: var(--text); margin: 32px 0 14px; }
.ds-post-content ul, .ds-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.ds-post-content ul { list-style: disc; }
.ds-post-content ol { list-style: decimal; }
.ds-post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; font-size: 13px; color: var(--text-muted); }
.ds-tag-link { padding: 4px 12px; background: var(--secondary); color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.ds-tag-link:hover { background: var(--primary); color: #fff; }
.ds-related-posts-title { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.ds-related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ds-related-post-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s ease; }
.ds-related-post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ds-related-post-img { height: 160px; overflow: hidden; background: var(--secondary); }
.ds-related-post-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-related-post-body { padding: 14px; }
.ds-related-post-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 8px 0; }
.ds-related-post-title a { color: var(--text); }
.ds-related-post-card:hover .ds-related-post-title a { color: var(--primary); }
.ds-related-post-date { font-size: 12px; color: var(--text-muted); }
.ds-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0; }
.ds-page-title { font-size: 36px; font-weight: 900; color: var(--text); margin-bottom: 16px; }
.ds-page-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.ds-page-featured-img img { width: 100%; max-height: 400px; object-fit: cover; }
.ds-page-content { font-size: 16px; line-height: 1.85; color: var(--text-light); }
.ds-page-content p { margin-bottom: 20px; }
.ds-page-content h2 { font-size: 24px; font-weight: 800; color: var(--text); margin: 32px 0 14px; }
.ds-breeds-archive-layout { padding-bottom: 60px; }
.ds-archive-header { background: var(--secondary); padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.ds-archive-title { font-size: 40px; font-weight: 900; color: var(--text); margin: 12px 0; }
.ds-archive-desc { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.ds-breed-count-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; background: var(--primary); color: #fff; padding: 5px 14px; border-radius: 20px; }
.ds-archive-controls { padding: 28px 0 20px; border-bottom: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 18px; }
.ds-breed-search-form { position: relative; display: flex; align-items: center; max-width: 560px; }
.ds-search-icon { position: absolute; left: 18px; color: var(--text-muted); font-size: 15px; }
.ds-breed-search-input { width: 100%; padding: 14px 18px 14px 48px; border: 2px solid var(--border); border-radius: 50px; font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color 0.2s; outline: none; }
.ds-breed-search-input:focus { border-color: var(--primary); }
.ds-search-submit { position: absolute; right: 6px; padding: 8px 20px; background: var(--primary); color: #fff; border: none; border-radius: 40px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.ds-search-submit:hover { background: var(--primary-hover); }
.ds-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ds-filter-btn { padding: 8px 18px; border: 2px solid var(--border); border-radius: 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; background: #fff; transition: all 0.2s; cursor: pointer; }
.ds-filter-btn:hover, .ds-filter-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.ds-alpha-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 20px 0; }
.ds-alpha-link { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; border-radius: 6px; color: var(--primary); border: 1px solid var(--primary-light); text-decoration: none; transition: all 0.2s; }
.ds-alpha-link:hover:not(.disabled) { background: var(--primary); color: #fff; }
.ds-alpha-link.disabled { color: var(--border); border-color: var(--border); cursor: default; pointer-events: none; }
.ds-breeds-az-list { padding: 20px 0 40px; display: flex; flex-direction: column; gap: 32px; }
.ds-az-letter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ds-az-letter-badge { width: 38px; height: 38px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.ds-az-divider { flex: 1; height: 1px; background: var(--border-light); }
.ds-az-count { font-size: 12px; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.ds-breeds-az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ds-breed-az-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: all 0.2s ease; }
.ds-breed-az-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.ds-breed-az-img { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--secondary); flex-shrink: 0; }
.ds-breed-az-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-breed-az-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; }
.ds-breed-az-name { display: block; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-breed-az-weight { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ds-size-toy { background: #fdf3ff; color: #9333ea; }
.ds-size-small { background: #eff6ff; color: #2563eb; }
.ds-size-medium { background: var(--primary-light); color: var(--primary); }
.ds-size-large { background: #fff7ed; color: #c2410c; }
.ds-size-giant { background: #fef2f2; color: #dc2626; }
.ds-no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.ds-no-results i { font-size: 48px; color: var(--border); margin-bottom: 16px; display: block; }
.ds-no-results h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ds-pagination { margin-top: 40px; }
.ds-pagination .nav-links { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ds-pagination .page-numbers { padding: 8px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; transition: all 0.2s; }
.ds-pagination .page-numbers:hover, .ds-pagination .page-numbers.current { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.widget-breeds-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.widget-breeds-list li { border-bottom: 1px solid var(--border-light) !important; padding-bottom: 8px !important; }
.widget-breeds-list li a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text) !important; transition: color 0.2s; }
.widget-breeds-list li a:hover { color: var(--primary) !important; }
@media (max-width: 1024px) { .ds-hero-grid { grid-template-columns: 1fr; } .ds-why-grid { grid-template-columns: repeat(2, 1fr); } .ds-footer-grid { grid-template-columns: 1fr 1fr; } .ds-newsletter-inner { grid-template-columns: 1fr; } .ds-newsletter-image { display: none; } .ds-related-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .ds-blog-grid { grid-template-columns: 1fr; } .ds-how-big-grid { grid-template-columns: 1fr; } .ds-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; } .ds-footer-bottom { flex-direction: column; text-align: center; } .ds-breed-info-inner { flex-direction: column; } .ds-rec-inner { flex-direction: column; text-align: center; } .ds-find-data-inner { flex-direction: column; text-align: center; } .ds-post-title, .ds-archive-title, .ds-blog-archive-title { font-size: 28px; } .form-row { grid-template-columns: 1fr; } .result-cards { grid-template-columns: 1fr; } .result-card.full-width { grid-column: span 1; } .gender-toggle { flex-direction: column; } .ds-related-posts-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ds-hero-title { font-size: 34px; } .ds-section-title { font-size: 26px; } .ds-breeds-az-grid { grid-template-columns: 1fr; } .ds-related-breeds-grid { grid-template-columns: repeat(2, 1fr); } .ds-why-grid { grid-template-columns: 1fr; } }

/* ===== NEW TEMPLATE ALIASES & CLASSES ===== */

/* Navbar alias */
.navbar { background-color: var(--background); padding: 16px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s ease; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

/* Hero section alias */
.hero { padding: 60px 0 80px; background-color: var(--background); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); z-index: 0; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.hero h1 .highlight::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 6px; background-color: var(--primary-light); border-radius: 3px; z-index: -1; }
@media (max-width: 768px) { .hero h1 { font-size: 36px; } }

/* Trusted bar alias */
.trusted-bar { padding: 32px 0; background-color: var(--background); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

/* How big section alias */
.how-big-section { padding: 80px 0; background-color: var(--background); position: relative; overflow: hidden; }
.how-big-section .container { position: relative; z-index: 1; }
.how-big-section .paw-prints { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

/* Why section alias */
.why-section { padding: 80px 0; background-color: var(--secondary); }

/* Popular breeds alias */
.popular-breeds { padding: 80px 0; background-color: var(--background); }

/* Articles section alias */
.articles-section { padding: 80px 0; background-color: var(--secondary); }

/* All breeds section alias */
.all-breeds { padding: 80px 0; background-color: var(--background); }

/* Footer alias */
.footer { background-color: var(--primary-darker); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }

/* ===== ARCHIVE PAGE STYLES ===== */
.breadcrumb-bar { background-color: var(--secondary); padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); font-weight: 500; transition: color 0.2s; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

.page-header { padding: 50px 0 30px; text-align: center; }
.page-header h1 { font-size: 44px; font-weight: 900; color: var(--text); margin-bottom: 12px; letter-spacing: -0.5px; }
.page-header h1 .highlight { color: var(--primary); }
.page-header p { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto 8px; line-height: 1.7; }
.breed-count-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background-color: var(--secondary); border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 12px; }
.search-wrapper { position: relative; max-width: 500px; margin: 28px auto 0; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; pointer-events: none; }
.search-input { width: 100%; padding: 16px 50px 16px 50px; border: 2px solid var(--border); border-radius: 50px; font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color 0.2s; outline: none; }
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.search-clear { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; display: none; transition: color 0.1s ease; }
.search-clear.show { display: block; }
.search-clear:hover { color: var(--text); }

.filter-section { padding: 30px 0 10px; text-align: center; }
.filter-pills { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.filter-pill { padding: 10px 22px; border: 2px solid var(--primary); border-radius: 30px; background-color: transparent; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.1s cubic-bezier(0.175,0.885,0.32,1.275); font-family: inherit; }
.filter-pill:hover { background-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,138,123,0.15); }
.filter-pill.active { background-color: var(--primary); color: #FFFFFF; box-shadow: 0 4px 15px rgba(10,138,123,0.3); }
.filter-pill.active:hover { background-color: var(--primary-hover); }
.results-info { text-align: center; padding: 16px 0 8px; font-size: 14px; color: var(--text-muted); }
.results-info strong { color: var(--primary); }

.breeds-section { padding: 20px 0 60px; background-color: var(--background); }
.breeds-section .breeds-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.breeds-section .breed-card { display: block; overflow: hidden; text-align: center; position: relative; background: var(--background); border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275); cursor: pointer; text-decoration: none; color: inherit; }
.breeds-section .breed-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(10,138,123,0.12); transform: translateY(-6px); }
.breed-card-img { width: 100%; height: 160px; background-color: #f9fafb; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.breed-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; padding: 10px; }
.breeds-section .breed-card:hover .breed-card-img img { transform: scale(1.08); }
.breed-card-img .paw-placeholder { font-size: 48px; opacity: 0.4; }
.breed-card-name { padding: 14px 12px 16px; font-size: 14px; font-weight: 600; color: var(--text); transition: color 0.2s ease; line-height: 1.3; display: block; }
.breeds-section .breed-card:hover .breed-card-name { color: var(--primary); }
.size-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0; transition: opacity 0.2s ease; }
.breeds-section .breed-card:hover .size-badge { opacity: 1; }
.size-badge.toy { background-color: #F3E5F5; color: #7B1FA2; }
.size-badge.small { background-color: #E8F5E9; color: #2E7D32; }
.size-badge.medium { background-color: #E3F2FD; color: #1565C0; }
.size-badge.large { background-color: #FFF3E0; color: #E65100; }
.size-badge.giant { background-color: #FCE4EC; color: #C62828; }
.alphabet-header { display: flex; align-items: center; gap: 14px; margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); }
.alphabet-letter { width: 44px; height: 44px; border-radius: 50%; background-color: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; transition: all 0.2s ease; }
.alphabet-header:hover .alphabet-letter { transform: scale(1.1) rotate(5deg); background-color: var(--accent); }
.alphabet-count { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.no-results { display: none; text-align: center; padding: 60px 20px; }
.no-results-emoji { font-size: 64px; margin-bottom: 16px; }
.no-results h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); margin-bottom: 20px; }
.btn-reset { padding: 12px 28px; background: var(--primary); color: #fff; border: none; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.btn-reset:hover { background: var(--primary-hover); }

/* ===== SINGLE BREED PAGE STYLES ===== */

/* Two-column layout: main content + sidebar */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-areas: "main sidebar";
    gap: 30px;
    align-items: start;
}
@media (max-width: 900px) {
    .page-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "sidebar";
    }
    .ds-blog-layout, .ds-post-layout, .ds-page-layout { grid-template-columns: 1fr; }
    .ds-sidebar { position: static; }
}

/* Main column and sidebar column */
#primary   { grid-area: main;    min-width: 0; }
#secondary {
    grid-area: sidebar;
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 90px; /* match your navbar height */
}

/* ---- Sidebar widgets ---- */
.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.sidebar-widget:hover { box-shadow: var(--shadow-md); }
.sidebar-widget h4 {
    font-family: 'Rockwell','Georgia',serif;
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

/* Pet Insurance Widget */
.pet-insurance-box { text-align: center; padding: 20px 15px; }
.pet-insurance-box h2 { font-size: 17px; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.pet-insurance-box p  { font-size: 14px; color: var(--text-light); line-height: 1.5; margin-bottom: 15px; }
.pet-btn { display: inline-block; padding: 11px 20px; background: var(--primary); color: #fff; text-decoration: none; border-radius: 30px; font-size: 14px; font-weight: bold; transition: background 0.3s ease; }
.pet-btn:hover { background: var(--primary-hover); color: #fff; }
.affiliate-note { margin-top: 10px; font-size: 12px; color: #777; }
.tooltip { position: relative; cursor: help; border-bottom: 1px dotted #999; }
.tooltip .tooltip-text { visibility: hidden; width: 220px; background: #333; color: #fff; text-align: center; border-radius: 6px; padding: 8px; position: absolute; z-index: 9999; bottom: 125%; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s; font-size: 11px; }
.tooltip:hover .tooltip-text { visibility: visible; opacity: 1; }

/* ---- Hero ---- */
.hero-section { background: var(--background); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-subtle); margin-bottom: 30px; border: 1px solid var(--border-light); transition: box-shadow 0.3s ease; }
.hero-section:hover { box-shadow: var(--shadow-hover); }
.hero-section h1 { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 14px; line-height: 1.3; }
.hero-section p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.interaction-bar { background-color: var(--secondary); padding: 20px; border-radius: var(--radius-md); margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; position: relative; border: 1px solid rgba(10,138,123,0.1); }

/* ---- Calculator ---- */
.calculator-section { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); }

/* ---- Breed Info Card (image + stats side by side) ---- */
.breed-info-card {
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.breed-info-card:hover { box-shadow: var(--shadow-hover); }

.breed-img-col {
    flex: 0 0 240px;
    max-width: 240px;
    overflow: hidden;
}
.breed-img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }

.breed-stats-col {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.breed-stats-col h3 {
    font-family: 'Rockwell','Georgia',serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-darker);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(10,138,123,0.15);
}
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(10,138,123,0.08);
    font-size: 14px;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text-muted); font-weight: 500; }
.stat-value { color: var(--text); font-weight: 700; }

@media (max-width: 600px) {
    .breed-info-card { flex-direction: column; }
    .breed-img-col { flex: none; max-width: 100%; height: 200px; }
}

/* ---- Growth Chart ---- */
.growth-chart-section { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }
.growth-chart-section .section-heading { font-family: 'Rockwell','Georgia',serif; font-weight: 700; color: var(--primary-darker); margin-bottom: 20px; font-size: 22px; }
.chart-placeholder { width: 100%; overflow: hidden; }
.chart-placeholder svg { width: 100%; height: auto; }
.ds-chart-wrapper { position: relative; width: 100%; height: 300px; margin-bottom: 20px; }
.ds-chart-wrapper canvas { width: 100% !important; height: 100% !important; }

/* ---- Traits ---- */
.traits-container { background-color: var(--secondary); padding: 30px; border-radius: var(--radius-lg); margin-bottom: 30px; border: 1px solid rgba(10,138,123,0.1); }
.traits-container .section-heading { font-family: 'Rockwell','Georgia',serif; font-weight: 700; color: var(--primary-darker); text-align: center; margin-bottom: 25px; font-size: 22px; }

.trait-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 600px) { .trait-grid { grid-template-columns: 1fr; } }

.trait-item {
    background: var(--background);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}
.trait-label { font-size: 13px; font-weight: 600; color: var(--text); }
.rating-circles { display: flex; gap: 5px; flex-shrink: 0; }
.rating-circles .circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    transition: background 0.2s;
}
.rating-circles .circle.filled { background: var(--primary); }

/* ---- Recommendation Card ---- */
.recommendation-card { background: white; border: 3px solid var(--primary); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; position: relative; display: flex; align-items: center; gap: 25px; transition: all 0.3s ease; }
.recommendation-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.recommendation-card .rec-image { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }
.recommendation-card .rec-content { flex: 1; min-width: 0; }
.recommendation-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.rec-bullets { list-style: disc; padding-left: 18px; margin-bottom: 16px; }
.rec-bullets li { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 4px; }
.badge-ribbon {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.recommendation-card .cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    text-align: center;
}
.recommendation-card .cta-btn:hover { background-color: var(--accent-hover); transform: translateY(-2px); color: white; }
@media (max-width: 600px) {
    .recommendation-card { flex-direction: column; text-align: center; }
    .recommendation-card .cta-btn { width: 100%; }
}

/* ---- Accordion section wrapper only — item/header/content/toggle
   are already defined in the theme (~line 474) and driven by theme JS ---- */
.accordion-section { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }

/* "What's it like" header */
.whats-it-like-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.speech-bubble {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    position: relative;
    flex-shrink: 0;
}
.speech-bubble::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}
.speech-bubble-text { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; font-weight: 700; }
.caring-title { font-family: 'Rockwell','Georgia',serif; font-size: 20px; font-weight: 700; color: var(--primary-darker); }

/* ---- Keep Reading / Related Breeds ---- */
.keep-reading-section { background: var(--background); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); }
.keep-reading-header { margin-bottom: 20px; }
.keep-reading-title { font-family: 'Rockwell','Georgia',serif; font-size: 22px; font-weight: 700; color: var(--primary-darker); }

.related-breeds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 700px) { .related-breeds-grid { grid-template-columns: repeat(2, 1fr); } }

.breed-card-mini {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--background);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.breed-card-mini:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }
.breed-card-mini .mini-img { width: 100%; height: 120px; object-fit: cover; display: block; }
.mini-info { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--text); }
.breed-card-mini:hover .mini-info { color: var(--primary); }

/* Single page breadcrumb (non-wrapper) */
.breadcrumb:not(nav) { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb:not(nav) a { color: var(--primary); font-weight: 500; }
.breadcrumb:not(nav) span { color: #ccc; }

/* Articles section header */
.articles-section .articles-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.articles-section .articles-header .btn { white-space: nowrap; }

/* Popular breeds on homepage: show 8 with hidden class */
.popular-breeds .breed-card.hidden { display: none; }

/* All breeds section: 4 cols on desktop */
.all-breeds .all-breeds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .breeds-section .breeds-grid { grid-template-columns: repeat(4, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-image { display: none; }
}
@media (max-width: 768px) {
  .breeds-section .breeds-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .breed-card-img { height: 120px; }
  .breed-card-name { font-size: 12px; padding: 10px 8px 12px; }
  .breed-info-card { flex-direction: column; }
  .recommendation-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .hero h1 { font-size: 34px; }
  .page-header h1 { font-size: 36px; }
  .interaction-bar { flex-direction: column; align-items: flex-start; }
  .all-breeds .all-breeds-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .breeds-section .breeds-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-pills { gap: 6px; }
  .filter-pill { padding: 8px 14px; font-size: 13px; }
}