/* ==========================================================================
   Gatospedia Main Styles
   Warm, friendly, trustworthy cat encyclopedia theme
   ========================================================================== */

/* Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gp-text);
    background-color: var(--gp-cream);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gp-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #c5630f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gp-dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

/* Container
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Screen reader text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header
   ========================================================================== */

.site-header {
    background: var(--gp-white);
    border-bottom: 1px solid var(--gp-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.site-branding .site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gp-dark);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gp-dark);
}

.logo-text:hover {
    color: var(--gp-orange);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.main-navigation ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gp-text);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.main-navigation ul li a:hover {
    color: var(--gp-orange);
    background: var(--gp-orange-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gp-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Search */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--gp-text);
    display: flex;
    align-items: center;
}

.search-toggle:hover {
    color: var(--gp-orange);
}

.search-overlay {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--gp-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    display: none;
    min-width: 300px;
    z-index: 100;
}

.search-overlay.active {
    display: block;
}

.search-overlay .search-form {
    display: flex;
    gap: 0.5rem;
}

.search-overlay input[type="search"] {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 2px solid var(--gp-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-overlay input[type="search"]:focus {
    border-color: var(--gp-orange);
}

.search-overlay .search-submit {
    padding: 0.625rem 1.25rem;
    background: var(--gp-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-overlay .search-submit:hover {
    background: #c5630f;
}

/* Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

.breadcrumbs a {
    color: var(--gp-text-light);
}

.breadcrumbs a:hover {
    color: var(--gp-orange);
}

.breadcrumb-sep {
    margin: 0 0.5rem;
    color: var(--gp-border);
}

/* Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gp-orange);
    color: white;
}

.btn-primary:hover {
    background: #c5630f;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--gp-orange);
    border-color: var(--gp-orange);
}

.btn-secondary:hover {
    background: var(--gp-orange);
    color: white;
}

/* Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--gp-dark) 0%, #2d2b55 100%);
    padding: 4rem 0;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    color: var(--gp-orange);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gp-orange);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers
   ========================================================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
}

.section-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gp-orange);
}

.section-link:hover {
    color: #c5630f;
}

/* Card Styles
   ========================================================================== */

.card-thumbnail {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-thumbnail:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: var(--gp-dark);
}

.card-title a:hover {
    color: var(--gp-orange);
}

.card-excerpt {
    font-size: 0.9375rem;
    color: var(--gp-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gp-text-light);
}

.card-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.tipo-alimentacion, .tipo-alimentaci-n { background: #fef3c7; color: #92400e; }
.tipo-salud { background: #dcfce7; color: #166534; }
.tipo-comportamiento { background: #ede9fe; color: #5b21b6; }
.tipo-cuidados { background: #e0f2fe; color: #075985; }
.tipo-curiosidades { background: #fce7f3; color: #9d174d; }
.badge-raza { background: var(--gp-orange-light); color: var(--gp-orange); }
.badge-noticia { background: var(--gp-teal-light); color: var(--gp-teal); }
.badge-guia { background: #f0fdf4; color: #15803d; }

/* Guides Grid
   ========================================================================== */

.latest-guides-section,
.latest-news-section,
.categories-section {
    padding: 3rem 0;
}

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

.guide-card, .news-card, .post-card {
    background: var(--gp-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-card:hover, .news-card:hover, .post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Posts Grid (archive) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Breeds Section
   ========================================================================== */

.breeds-section {
    padding: 3rem 0;
    background: var(--gp-white);
}

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

.breed-card {
    display: block;
    text-decoration: none;
    background: var(--gp-cream);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--gp-border);
}

.breed-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--gp-orange);
}

.breed-image {
    height: 200px;
    overflow: hidden;
}

.breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-orange-light);
    font-size: 3rem;
}

.breed-info {
    padding: 1rem;
}

.breed-info h3 {
    font-size: 1.0625rem;
    color: var(--gp-dark);
    margin-bottom: 0.25rem;
}

.breed-origin {
    font-size: 0.8125rem;
    color: var(--gp-text-light);
}

/* Categories Grid
   ========================================================================== */

.categories-section {
    background: var(--gp-white);
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    display: block;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--gp-border);
    transition: all 0.2s ease;
}

.category-card:hover {
    border-color: var(--gp-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.category-card h3 {
    font-size: 1.125rem;
    color: var(--gp-dark);
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

/* Archive Header
   ========================================================================== */

.archive-header {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.archive-header h1 {
    margin-bottom: 0.5rem;
}

.archive-header p {
    color: var(--gp-text-light);
    font-size: 1.0625rem;
}

/* Breed Archive - A-Z
   ========================================================================== */

.breed-letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gp-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gp-border);
}

.letter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gp-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.letter-link:hover {
    background: var(--gp-orange);
    color: white;
}

.letter-link.disabled {
    color: var(--gp-border);
    cursor: default;
}

.letter-link.disabled:hover {
    background: none;
    color: var(--gp-border);
}

.breed-letter-group {
    margin-bottom: 2rem;
}

.letter-heading {
    font-size: 1.5rem;
    color: var(--gp-orange);
    border-bottom: 2px solid var(--gp-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.breed-archive-card {
    margin-bottom: 1rem;
}

.breed-archive-link {
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--gp-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gp-border);
    text-decoration: none;
    transition: all 0.2s;
}

.breed-archive-link:hover {
    border-color: var(--gp-orange);
    box-shadow: var(--shadow-sm);
}

.breed-archive-card .breed-thumb {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.breed-archive-card .breed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breed-archive-info h3 {
    color: var(--gp-dark);
    margin-bottom: 0.25rem;
}

.breed-quick-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gp-text-light);
    margin-bottom: 0.5rem;
}

.breed-quick-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breed-excerpt {
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

/* Guide Filters
   ========================================================================== */

.guide-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gp-text);
    background: var(--gp-white);
    border: 1px solid var(--gp-border);
    text-decoration: none;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gp-orange);
    color: white;
    border-color: var(--gp-orange);
}

/* Single Article
   ========================================================================== */

.single-article,
.single-guia,
.single-page {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.article-header {
    padding: 1.5rem 0;
}

.article-title,
.page-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

.article-meta a {
    color: var(--gp-orange);
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.article-content h2 {
    margin: 2rem 0 1rem;
}

.article-content h3 {
    margin: 1.5rem 0 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--gp-orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--gp-orange-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content img {
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content th, .article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gp-border);
    text-align: left;
}

.article-content th {
    background: var(--gp-cream);
    font-weight: 600;
}

/* Article Footer */
.article-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gp-border);
}

/* Raza (Breed) Single
   ========================================================================== */

.single-raza {
    max-width: 100%;
    padding-bottom: 3rem;
}

.raza-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.raza-header-content {
    flex: 1;
}

.raza-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gp-orange-light);
    color: var(--gp-orange);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.raza-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.raza-temperamento {
    font-size: 1.125rem;
    color: var(--gp-text-light);
    margin-bottom: 1rem;
}

.raza-meta-inline {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

.raza-header-image {
    width: 400px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.raza-header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.raza-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.raza-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.raza-content h2 { margin: 2rem 0 1rem; }
.raza-content h3 { margin: 1.5rem 0 0.75rem; }
.raza-content p { margin-bottom: 1.25rem; }
.raza-content ul, .raza-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.raza-content li { margin-bottom: 0.5rem; }

/* Raza Meta Card (Sidebar) */
.raza-meta-card {
    background: var(--gp-white);
    border: 1px solid var(--gp-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.raza-meta-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gp-orange);
}

.raza-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0ebe4;
}

.raza-meta-row:last-child {
    border-bottom: none;
}

.raza-meta-label {
    font-size: 0.875rem;
    color: var(--gp-text-light);
}

.raza-meta-value {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gp-dark);
}

/* Guía Type Badge */
.guia-tipo-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.guia-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gp-text-light);
    align-items: center;
}

.meta-tipo {
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Badges and Tags
   ========================================================================== */

.categoria-badges, .etiqueta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.categoria-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gp-orange-light);
    color: var(--gp-orange);
    text-decoration: none;
    transition: all 0.2s;
}

.categoria-badge:hover {
    background: var(--gp-orange);
    color: white;
}

.etiqueta-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--gp-cream);
    color: var(--gp-text-light);
    border: 1px solid var(--gp-border);
    text-decoration: none;
    transition: all 0.2s;
}

.etiqueta-tag:hover {
    border-color: var(--gp-teal);
    color: var(--gp-teal);
}

/* Social Share
   ========================================================================== */

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gp-text);
}

.social-share a {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.social-share a:hover {
    opacity: 0.85;
    color: white;
}

.share-twitter { background: #1da1f2; }
.share-facebook { background: #1877f2; }
.share-whatsapp { background: #25d366; }
.share-pinterest { background: #e60023; }

/* Related Posts
   ========================================================================== */

.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gp-border);
}

.related-posts h2 {
    margin-bottom: 1.5rem;
}

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

.related-card {
    background: var(--gp-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gp-border);
    transition: all 0.2s;
}

.related-card:hover {
    border-color: var(--gp-orange);
    box-shadow: var(--shadow-sm);
}

.related-card .card-thumbnail img {
    height: 160px;
}

.related-card h3 {
    font-size: 1rem;
}

.related-card h3 a {
    color: var(--gp-dark);
}

.related-card h3 a:hover {
    color: var(--gp-orange);
}

/* Pagination
   ========================================================================== */

.pagination {
    margin: 2rem 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--gp-text);
    background: var(--gp-white);
    border: 1px solid var(--gp-border);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--gp-orange);
    color: white;
    border-color: var(--gp-orange);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 1rem;
}

/* Author Profile
   ========================================================================== */

.author-profile {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--gp-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gp-border);
    margin-bottom: 2rem;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gp-orange);
}

.author-info h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--gp-orange);
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--gp-text-light);
    line-height: 1.7;
}

.author-posts-section h2 {
    margin-bottom: 1.5rem;
}

/* 404 Error Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.error-404 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404 > p {
    color: var(--gp-text-light);
    margin-bottom: 2rem;
}

.error-search {
    margin-bottom: 2.5rem;
}

.error-search h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.error-links h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.error-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.error-link-card {
    display: block;
    padding: 1.5rem;
    background: var(--gp-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gp-border);
    text-decoration: none;
    transition: all 0.2s;
}

.error-link-card:hover {
    border-color: var(--gp-orange);
    box-shadow: var(--shadow-sm);
}

.error-link-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.error-link-card h3 {
    font-size: 0.9375rem;
    color: var(--gp-dark);
}

/* No Results
   ========================================================================== */

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results h2 {
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--gp-text-light);
}

.search-again {
    max-width: 400px;
    margin: 1.5rem auto 0;
}

/* Reading Time */
.reading-time {
    font-size: 0.8125rem;
    color: var(--gp-text-light);
}

/* Footer
   ========================================================================== */

.site-footer {
    background: var(--gp-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-widget p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--gp-orange);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* WP Block Styles */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: 8px; }

/* Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .guides-grid,
    .posts-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .raza-layout {
        grid-template-columns: 1fr;
    }

    .raza-meta-card {
        position: static;
    }

    .raza-header {
        flex-direction: column;
    }

    .raza-header-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 4;
        padding: 1rem 0;
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation ul li a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gp-border);
    }

    .header-search {
        order: 2;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .guides-grid,
    .posts-grid,
    .news-grid,
    .related-grid,
    .breeds-carousel {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .breed-archive-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .breed-quick-meta {
        justify-content: center;
    }

    .raza-title {
        font-size: 1.75rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .social-share {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .search-overlay {
        min-width: 250px;
        right: -1rem;
    }
}
