/* assets/css/style.css */
/* CSS GLOBAL COMPLET - couleurs adaptées au logo CH-Jobs */

:root {
    /* ── Couleurs brand CH-Jobs ── */
    --primary: #D32F2F;          /* Rouge logo "ch-"          */
    --primary-dark: #B71C1C;     /* Rouge foncé au survol     */
    --primary-light: #FFEBEE;    /* Rouge très clair (fonds)  */
    --secondary: #1A1A1A;        /* Noir logo "-jobs."        */
    --secondary-soft: #2C2C2C;   /* Variante sombre           */

    /* ── Neutres ── */
    --text: #1A1A1A;
    --text-light: #5C5C5C;
    --background: #F9F9F9;
    --white: #ffffff;
    --gray-100: #F4F4F4;
    --gray-200: #E0E0E0;

    /* ── États ── */
    --success: #2E7D32;
    --warning: #F57C00;
    --danger: #C62828;

    /* ── UI ── */
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

/* ===== HEADER ===== */

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary); /* trait rouge signature */
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo image */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* Menu burger */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li.active a {
    color: var(--primary);
}

.btn-outline {
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    color: var(--primary);
    font-weight: 600;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}

/* Main Content */
main {
    margin-top: 83px; /* header height + border-bottom 3px */
    min-height: calc(100vh - 83px);
}

/* ===== HERO SECTION ===== */

.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== BOUTONS ===== */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

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

/* ===== SECTIONS ===== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== GRILLES GÉNÉRALES ===== */

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

/* ===== CARTES SERVICES ===== */

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ===== JOBS SECTION ===== */

.jobs-page {
    background: var(--background);
}

.jobs-page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.jobs-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.jobs-page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Jobs wrapper */
.jobs-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .jobs-wrapper {
        grid-template-columns: 1fr;
    }
}

.jobs-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Jobs filters */
.jobs-filters {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Job cards */
.job-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border-left: 4px solid transparent;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary);
}

.job-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.job-company {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.job-salary {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== BLOG SECTION ===== */

.blog-page {
    background: var(--background);
}

.blog-page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 0;
}

.blog-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Blog categories */
.blog-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.category-link:hover,
.category-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Blog wrapper */
.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Blog controls */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.blog-controls label {
    font-weight: 600;
    color: var(--text);
}

.blog-controls select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
}

.blog-controls select:hover,
.blog-controls select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Blog cards */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.blog-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--gray-200));
    font-size: 3rem;
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-card-date,
.blog-card-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card h3 {
    margin: 0 0 1rem 0;
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-card h3:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    margin: 0 0 1rem 0;
    flex: 1;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

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

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

.blog-card-actions {
    display: flex;
    gap: 0.5rem;
}

.blog-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
}

.blog-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== SIDEBARS ===== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-widget-header {
    padding: 1.2rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    user-select: none;
    border-left: 4px solid var(--primary);
}

.sidebar-widget-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
}

.sidebar-widget-content {
    padding: 1.2rem;
}

/* Categories widget */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.category-list-item:hover {
    background: var(--primary-light);
    border-left-color: var(--primary);
    padding-left: 1.2rem;
    color: var(--primary-dark);
}

.category-list-item.active {
    background: var(--primary);
    color: var(--white);
    border-left-color: var(--primary-dark);
}

.category-count {
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-list-item.active .category-count {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* Popular items */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.popular-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.popular-item:hover {
    background: var(--primary-light);
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.popular-content h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.3;
}

.popular-views {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Newsletter widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.newsletter-widget .sidebar-widget-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
}

.newsletter-widget .sidebar-widget-header h3 {
    color: var(--white);
}

.newsletter-widget .sidebar-widget-content {
    text-align: center;
}

.newsletter-widget p {
    margin: 0 0 1rem 0;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--white);
    color: var(--primary);
}

/* CTA widget */
.cta-widget {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-soft));
    color: var(--white);
}

.cta-widget .sidebar-widget-header {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--primary);
}

.cta-widget .sidebar-widget-header h3 {
    color: var(--white);
}

.cta-widget p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.cta-widget .btn {
    width: 100%;
    display: block;
    padding: 0.8rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-widget .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ===== PAGINATION ===== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.6rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

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

.pagination .dots {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

/* ===== PREFOOTER ===== */

.prefooter {
    background: linear-gradient(135deg, var(--secondary), #0d0d0d);
    color: var(--white);
    padding: 4rem 2rem;
}

.prefooter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.prefooter-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.7rem;
}

.prefooter-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.prefooter-section ul {
    list-style: none;
}

.prefooter-section ul li {
    margin-bottom: 0.5rem;
}

.prefooter-section ul li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.prefooter-section ul li a:hover {
    color: var(--white);
}

/* ===== FOOTER ===== */

footer {
    background: #111111;
    color: #888888;
    padding: 2rem;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== PAGE GÉNÉRALES ===== */

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

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

/* ===== FORMULAIRES ===== */

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* ===== ALERTES ===== */

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert.success {
    background: #E8F5E9;
    color: #1B5E20;
    border: 1px solid #A5D6A7;
}

.alert.error {
    background: #FFEBEE;
    color: #B71C1C;
    border: 1px solid #FFCDD2;
}

/* ===== LOADING SPINNER ===== */

.spinner {
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* ===== EMPTY STATE ===== */

.blog-empty,
.jobs-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.blog-empty-icon,
.jobs-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.blog-empty h2,
.jobs-empty h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .jobs-wrapper,
    .blog-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-categories {
        justify-content: flex-start;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .blog-page-header h1,
    .jobs-page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-page-header h1,
    .jobs-page-header h1 {
        font-size: 1.5rem;
    }

    .blog-page-header,
    .jobs-page-header {
        padding: 2rem 1rem;
    }

    .blog-wrapper,
    .jobs-wrapper {
        padding: 2rem 1rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-controls {
        padding: 1rem;
    }
}