/* ===== CSS Variables ===== */
:root {
    --color-primary: #DB4C30;      /* Red-orange from logo */
    --color-secondary: #2A736F;    /* Teal from logo */
    --color-accent: #F1C203;       /* Yellow from logo */
    --color-sage: #8E9581;         /* Sage green from logo */
    --color-cream: #F4EFDD;        /* Cream from logo */
    --color-dark: #2c3e50;
    --color-light: #ffffff;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-cream);
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(42, 115, 111, 0.02) 2px, rgba(42, 115, 111, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(219, 76, 48, 0.02) 2px, rgba(219, 76, 48, 0.02) 4px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Header ===== */
.header {
    background-color: var(--color-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--color-cream);
    color: var(--color-primary);
}

.nav-link.active {
    background-color: var(--color-primary);
}

/* ===== Main Content ===== */
main {
    min-height: calc(100vh - 200px);
    padding: 1.25rem 0;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fdfcf7 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(219, 76, 48, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(241, 194, 3, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(42, 115, 111, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #fdfcf7 100%);
    color: var(--color-dark);
    padding: 2rem 2rem 2rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(142, 149, 129, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(142, 149, 129, 0.03) 20px, rgba(142, 149, 129, 0.03) 40px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(219, 76, 48, 0.02) 20px, rgba(219, 76, 48, 0.02) 40px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    border-radius: 0 0 12px 12px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 250px;
    height: auto;
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===== Directory Header ===== */
.directory-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

/* ===== Search & Filter ===== */
.search-filter {
    background-color: var(--color-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
}

.category-select,
.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-cream);
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
    min-width: 180px;
}
.category-select:hover,
.sort-select:hover {
    border-color: var(--color-primary);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.results-count {
    color: var(--color-gray);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
}

.pagination-top {
    display: flex;
    justify-content: center;
}

.pagination-top .pagination-controls {
    gap: 0.25rem;
}

.pagination-top .pagination-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
}

.pagination-top .pagination-number {
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
    min-width: 35px;
}

.pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: var(--color-secondary);
    color: white;
    border: 2px solid var(--color-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.pagination-btn:hover {
    background: #c44536;
    border-color: #c44536;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.pagination-number {
    padding: 0.5rem 0.75rem;
    background: var(--color-light);
    color: var(--color-dark);
    border: 2px solid var(--color-cream);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 40px;
}

.pagination-number:hover {
    background: var(--color-cream);
    border-color: var(--color-primary);
}

.pagination-number.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--color-gray);
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background-color: var(--color-gray-light);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-tag:hover {
    background-color: var(--color-sage);
    color: var(--color-light);
}

.filter-tag.active {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

/* ===== Grid Layouts ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

/* ===== Cards ===== */
.card {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    border-radius: 0 0 8px 8px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.blog-card .card-image {
    height: 180px;
}

/* Channel card accent - Teal gradient */
.channel-card::after {
    background: linear-gradient(90deg, var(--color-secondary) 0%, rgba(42, 115, 111, 0.6) 100%);
}

/* Blog card accent - Red to Yellow gradient */
.blog-card::after {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.card-content {
    padding: 1.25rem;
}

.single-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin: 0 0 0 0;
    padding: 0;
    line-height: 1.1;
}

.single-meta {
    display: flex;
    gap: 2rem;
    color: var(--color-gray);
    font-size: 1.25rem;
    margin: 0;
    padding: 0;
    margin-top: 0.1rem;
}

.card-excerpt {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--color-primary);
    font-style: italic;
    text-decoration: underline;
    cursor: pointer;
}

.last-updated-tiny {
    font-size: 0.65rem;
    font-style: italic;
    color: #999;
    font-weight: normal;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: #e8d5b7;
    color: #2c2c2c;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Channel Card Specific ===== */
.channel-header-new {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.channel-logo-new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.channel-info-new {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.channel-hosts {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
}

.channel-links-compact {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.channel-external-link:hover {
    background: var(--color-secondary);
}

.channel-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-cream);
    margin: 0.75rem 0;
}

.channel-bio {
    color: var(--color-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.channel-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

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

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-secondary:hover {
    background-color: #1f5854;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Channel Page Header */
.channel-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-cream);
}

.channel-page-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.channel-page-subs {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.channel-page-host {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin: 0;
    font-weight: 600;
}

/* Channel Logo Display */
.channel-logo-display-box {
    display: inline-block;
    padding: 1rem;
    border: 3px solid var(--color-cream);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.channel-logo-full {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Channel Detail Header - Side by Side Layout */
.channel-detail-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-cream);
}

.channel-header-info {
    flex: 1;
}

.channel-detail-header .channel-page-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.channel-detail-header .channel-page-subs {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin: 0.25rem 0;
}

.channel-detail-header .channel-page-host {
    font-size: 1rem;
    color: #666;
    margin: 0.25rem 0 1rem 0;
}

.channel-detail-header .channel-actions {
    margin-top: 1rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .channel-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .channel-detail-header .channel-logo-display-box {
        margin-bottom: 1rem;
    }
}

.single-header-flex {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.single-meta {
    display: flex;
    gap: 2rem;
    color: var(--color-gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.post-header-image {
    width: 145px;
    height: 145px;
    object-fit: contain;
    flex-shrink: 0;
    align-self: stretch;
}

.post-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.single-image {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .single-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .post-header-image {
        width: 100px;
        height: 100px;
    }
}

.single-content {
    background-color: var(--color-light);
    padding: 2rem 6rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .single-content {
        padding: 2rem;
    }
}

.single-content h2 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul li a {
    color: #FF4500;
    text-decoration: underline;
    font-weight: bold;
}

.post-content ul li a:hover {
    color: #CC3700;
    text-decoration: underline;
}

.single-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.post-content {
    text-align: justify;
}

.post-content ul,
.post-content ol {
    text-align: justify;
}

.post-content ul li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-secondary);
}

.post-content ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ===== Blog Specific ===== */
.featured-posts {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-accent);
}

.latest-posts {
    margin-top: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Blog Feed (scrolling preview format) */
.blog-feed {
    max-width: 900px;
    margin: 0 auto;
}

.blog-preview {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.blog-preview:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.blog-preview-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.blog-preview-content {
    padding: 2rem;
}

.blog-preview-title {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.blog-preview-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.blog-author {
    font-weight: 600;
}

.blog-date {
    font-style: italic;
}

.blog-preview-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.blog-preview-more {
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.blog-preview-content .blog-preview-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.directory-controls {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    padding-bottom: 1.5rem;
    background: var(--color-light);
    border-radius: 8px;
    gap: 1.5rem;
    border-bottom: 3px solid var(--color-accent);
}

.blog-controls .search-box {
    margin-bottom: 1rem;
}

.blog-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.clickable-tag {
    cursor: pointer;
    transition: all 0.2s;
}

.clickable-tag:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* Share Buttons */
.share-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--color-light);
    border-radius: 8px;
}

.share-section h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.share-btn span {
    font-size: 1.25rem;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.twitter:hover {
    background: #333333;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #145dbf;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #005885;
}

.share-btn.copy {
    background: var(--color-secondary);
}

.share-btn.copy:hover {
    background: #c44536;
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-cream);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.loading-text {
    color: var(--color-gray);
    font-size: 1.1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding: 0.75rem 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}
/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .logo {
        height: 50px;
        margin-bottom: 0.25rem;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero-text {
        text-align: center;
    }

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

    .directory-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .directory-header .btn {
        width: 100%;
    }

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

    .hero p {
        font-size: 1rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-filter {
        padding: 1.5rem;
    }

    .directory-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
    }

    .control-group {
        width: 100%;
    }

    .category-select,
    .sort-select {
        flex: 1;
        min-width: 0;
    }

    .results-count {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .pagination-top {
        width: 100%;
        order: 2;
    }

    .pagination-controls {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

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

/* ===== Form Pages ===== */
.form-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.form-intro {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.form-intro-box {
    background: var(--color-light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary);
}

.form-intro-text {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.contact-form {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-cream);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-page h2 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-page p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.text-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

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

.success-page {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

/* ===== Loading State ===== */
.loading {
    text-align: center;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--color-cream);
    border-top: 4px solid var(--color-primary);
    border-right: 4px solid var(--color-secondary);
    border-bottom: 4px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--color-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Video Cards ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.video-single {
    max-width: 600px;
    margin-top: 1.5rem;
}

.video-card {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.video-thumbnail-link:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.25rem;
}

.video-label {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin: 0;
}
