/* ==========================================================================
   The Ethical Breeder - Main Stylesheet
   Site ID: 3004 | CSS Prefix: pg-3004
   Anti-footprint obfuscation enabled
   ========================================================================== */

/* CSS Variables */
:root {
    --teb-primary: #5d4e37;
    --teb-secondary: #8b7355;
    --teb-accent: #c9a86c;
    --teb-dark: #2d2416;
    --teb-light: #faf8f5;
    --teb-cream: #f5f0e8;
    --teb-text: #3d3425;
    --teb-text-light: #6b5d4d;
    --teb-border: #e0d8cc;
    --teb-success: #5a7c47;
    --teb-warning: #c4923a;
    --teb-danger: #9c4141;
    --teb-font-primary: 'Georgia', 'Cambria', 'Times New Roman', serif;
    --teb-font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --teb-max-width: 1140px;
    --teb-content-width: 760px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

.teb-body {
    margin: 0;
    padding: 0;
    font-family: var(--teb-font-secondary);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--teb-text);
    background-color: var(--teb-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--teb-font-primary);
    font-weight: 600;
    line-height: 1.35;
    color: var(--teb-dark);
    margin-top: 0;
}

p {
    margin-bottom: 1.25rem;
}

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

a:hover {
    color: var(--teb-secondary);
}

/* Header */
.teb-header {
    background: white;
    border-bottom: 1px solid var(--teb-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.teb-header-container {
    max-width: var(--teb-max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.teb-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.teb-logo-img {
    height: 42px;
    width: auto;
}

.teb-logo-text {
    font-family: var(--teb-font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--teb-dark);
}

.teb-logo:hover .teb-logo-text {
    color: var(--teb-primary);
}

.teb-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.teb-nav-link {
    color: var(--teb-text);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.teb-nav-link:hover,
.teb-nav-active {
    color: var(--teb-primary);
    border-bottom-color: var(--teb-accent);
}

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

.teb-menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teb-dark);
    position: relative;
}

.teb-menu-icon::before,
.teb-menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--teb-dark);
    left: 0;
}

.teb-menu-icon::before {
    top: -7px;
}

.teb-menu-icon::after {
    top: 7px;
}

/* Main Content */
.teb-main {
    min-height: calc(100vh - 200px);
}

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

/* Breadcrumb */
.teb-breadcrumb {
    background: var(--teb-cream);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--teb-border);
}

.teb-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: var(--teb-max-width);
    margin: 0 auto;
    font-size: 0.875rem;
}

.teb-breadcrumb-item {
    display: flex;
    align-items: center;
}

.teb-breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--teb-text-light);
}

.teb-breadcrumb-link {
    color: var(--teb-primary);
}

.teb-breadcrumb-link:hover {
    color: var(--teb-secondary);
    text-decoration: underline;
}

.teb-breadcrumb-current {
    color: var(--teb-text-light);
}

/* Hero Section */
.teb-hero {
    background: linear-gradient(135deg, var(--teb-dark) 0%, var(--teb-primary) 100%);
    color: white;
    padding: 4.5rem 1.5rem;
    text-align: center;
}

.teb-hero-content {
    max-width: var(--teb-content-width);
    margin: 0 auto;
}

.teb-title {
    font-size: 2.75rem;
    color: white;
    margin-bottom: 1rem;
}

.teb-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* Sections */
.teb-intro,
.teb-featured,
.teb-about-preview {
    padding: 4rem 1.5rem;
}

.teb-intro {
    background: white;
}

.teb-featured {
    background: var(--teb-cream);
}

.teb-about-preview {
    background: white;
}

.teb-section-title {
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 2rem;
}

.teb-text {
    max-width: var(--teb-content-width);
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* Grid & Cards */
.teb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--teb-max-width);
    margin: 0 auto;
}

.teb-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(45, 36, 22, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--teb-border);
}

.teb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 36, 22, 0.12);
}

.teb-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.teb-card-text {
    color: var(--teb-text-light);
    margin-bottom: 1rem;
}

.teb-link {
    color: var(--teb-primary);
    font-weight: 500;
}

.teb-button {
    display: inline-block;
    background: var(--teb-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.teb-button:hover {
    background: var(--teb-secondary);
    color: white;
}

/* Article Styles */
.teb-article {
    padding: 3rem 1.5rem;
}

.teb-article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--teb-border);
}

.teb-article-title {
    font-size: 2.35rem;
    max-width: var(--teb-content-width);
    margin: 0 auto 1rem;
}

.teb-article-meta {
    color: var(--teb-text-light);
}

.teb-author {
    margin-right: 1.5rem;
}

.teb-article-content {
    max-width: var(--teb-content-width);
    margin: 0 auto;
}

.teb-lead {
    font-size: 1.2rem;
    color: var(--teb-text);
    line-height: 1.85;
    margin-bottom: 2rem;
    font-style: italic;
}

.teb-article-content h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--teb-border);
}

.teb-article-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.teb-article-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Lists */
.teb-list {
    padding: 3rem 1.5rem;
}

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

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

.teb-numbered-list,
.teb-article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.teb-numbered-list li,
.teb-article-content ol li {
    margin-bottom: 0.75rem;
}

/* Callout Boxes */
.teb-callout {
    background: var(--teb-cream);
    border-left: 4px solid var(--teb-accent);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.teb-callout h4 {
    color: var(--teb-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.teb-callout p:last-child {
    margin-bottom: 0;
}

.teb-warning {
    background: #fdf6e9;
    border-left: 4px solid var(--teb-warning);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.teb-warning h4 {
    color: #8a6914;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.teb-warning p {
    margin: 0;
    color: #6b5410;
}

.teb-note {
    background: #eef5eb;
    border-left: 4px solid var(--teb-success);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.teb-note h4 {
    color: #3d5a2d;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.teb-note p {
    margin: 0;
    color: #3d5a2d;
}

/* Quote Boxes */
.teb-quote {
    background: var(--teb-cream);
    border-left: 4px solid var(--teb-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-family: var(--teb-font-primary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.teb-quote-attribution {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--teb-text-light);
}

/* Story Box */
.teb-story-box {
    background: white;
    border: 1px solid var(--teb-border);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(45, 36, 22, 0.06);
}

.teb-story-box h4 {
    margin-top: 0;
    color: var(--teb-primary);
    margin-bottom: 1rem;
}

/* Page Styles */
.teb-page-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2rem;
}

.teb-date {
    color: var(--teb-text-light);
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

/* Articles List */
.teb-articles-index {
    padding: 3rem 1.5rem;
}

.teb-intro-text {
    max-width: var(--teb-content-width);
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--teb-text-light);
}

.teb-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.teb-article-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(45, 36, 22, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--teb-border);
}

.teb-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 36, 22, 0.12);
}

.teb-card-link {
    color: var(--teb-dark);
}

.teb-card-link:hover {
    color: var(--teb-primary);
}

.teb-card-description {
    color: var(--teb-text-light);
    margin-bottom: 1rem;
}

.teb-card-meta {
    font-size: 0.875rem;
    color: var(--teb-text-light);
}

/* Single Article */
.teb-single {
    padding-bottom: 4rem;
}

.teb-single .teb-article-content {
    max-width: var(--teb-content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer */
.teb-footer {
    background: var(--teb-dark);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

.teb-footer-container {
    max-width: var(--teb-max-width);
    margin: 0 auto;
}

.teb-footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.teb-footer-logo {
    font-family: var(--teb-font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.teb-footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.teb-footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.teb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.teb-footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.teb-footer-link:hover {
    color: white;
}

.teb-footer-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.teb-footer-bottom {
    text-align: center;
}

.teb-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.teb-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* About Page */
.teb-about {
    padding: 3rem 1.5rem;
}

.teb-credentials {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--teb-border);
}

.teb-role {
    font-size: 1.25rem;
    color: var(--teb-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.teb-specialty {
    color: var(--teb-text-light);
    margin-bottom: 0.25rem;
}

.teb-location {
    color: var(--teb-text-light);
}

.teb-bio-full {
    max-width: var(--teb-content-width);
    margin: 0 auto;
}

/* Contact Page */
.teb-contact {
    padding: 3rem 1.5rem;
}

.teb-contact-intro {
    max-width: var(--teb-content-width);
    margin: 0 auto 2rem;
    text-align: center;
}

.teb-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: var(--teb-content-width);
    margin: 0 auto;
}

.teb-contact-item {
    background: var(--teb-cream);
    padding: 1.5rem;
    border-radius: 8px;
}

.teb-contact-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--teb-primary);
}

.teb-contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Legal Pages */
.teb-legal {
    padding: 3rem 1.5rem;
}

.teb-legal-content {
    max-width: var(--teb-content-width);
    margin: 0 auto;
}

.teb-legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--teb-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .teb-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--teb-border);
        box-shadow: var(--teb-shadow, 0 4px 12px rgba(0, 0, 0, 0.1));
        padding: 1rem;
    }

    .teb-nav.teb-nav-open {
        display: block;
    }

    .teb-nav-list {
        flex-direction: column;
        gap: 0;
    }

    .teb-nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--teb-border);
    }

    .teb-nav-item:last-child .teb-nav-link {
        border-bottom: none;
    }

    .teb-menu-toggle {
        display: block;
    }

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

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

    .teb-hero {
        padding: 3rem 1.5rem;
    }

    .teb-footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teb-logo-text {
        font-size: 1.15rem;
    }
}
