header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

header .navbar {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
}

header .navbar.scrolled {
    background-color: rgba(255,255,255, 0.95) !important;
}

/* Home page navigation styling */
.template-homepage header .navbar .nav-link {
    color: #ffffff !important;
}

.template-homepage header .navbar .nav-link:hover,
.template-homepage header .navbar .nav-link:focus {
    color: rgba(255, 255, 255, 0.8) !important;
}

.template-homepage header .navbar.scrolled .nav-link {
    color: #333 !important;
}

.template-homepage header .navbar.scrolled .nav-link:hover,
.template-homepage header .navbar.scrolled .nav-link:focus {
    color: #3f4f48 !important;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1; /* Behind header */
}

.carousel-image-container {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center center;
}

.carousel-image-container img {
    display: none;
}

.carousel-no-image {
    height: 100vh;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

/* Ensure content after carousel appears correctly */
.hero-carousel + section,
.hero-carousel ~ section:first-of-type {
    margin-top: 100vh;
}

/* Industry Challenges Section */
.challenges {
    background-color: #3f4f48 !important;
    color: white;
}

.challenges h2,
.challenges h3,
.challenges p {
    color: white !important;
}

.challenges .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.challenge-border {
    background-color: #fff;
    height: 2px;
    width: 50px;
}

.ico-primary {
    color: #3f4f48 !important;
}

/* Features Section Styling */
.features .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.features .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.features .card-body {
    padding: 2rem;
}

.features .card-title {
    color: #3f4f48;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features .card-text {
    color: #6c757d;
    line-height: 1.6;
}

.feature-icon {
    margin-bottom: 1.5rem !important;
}

.feature-icon i {
    height: 90px;
    width: 90px;
    border: 5px solid #ffffff;
    box-shadow: 3px 3px 3px 3px #f5f5f5;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.features .card:hover .feature-icon i,
.features .card.feature-raised .feature-icon i {
    transform: scale(1.05);
    box-shadow: 3px 3px 8px 3px #e9ecef;
}

/* Feature card raised animation */
.features .card.feature-raised {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Primary Button Styling */
.btn-primary {
    background-color: #3f4f48;
    border-color: #3f4f48;
    border-radius: 0.375rem;
}

.btn-primary:hover {
    background-color: #2f3f38;
    border-color: #2f3f38;
}

.btn-primary:focus, .btn-primary.focus {
    background-color: #2f3f38;
    border-color: #2f3f38;
    box-shadow: 0 0 0 0.2rem rgba(63, 79, 72, 0.5);
}

.btn-primary:active, .btn-primary.active {
    background-color: #2f3f38;
    border-color: #2f3f38;
}

.bg-primary, .bs-primary {
    background-color: #3f4f48 !important;
}


/* Sticky Footer Styles */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Account for fixed header height */
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Page Illustration - Corner positioned logo decorations */
.page-illustration {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    width: 220px;
    height: 220px;
}

.logo-illustration {
    position: absolute;
    pointer-events: none;
}

.logo-main {
    width: 130px;
    opacity: 0.45;
    right: 0;
    top: 0;
}

.logo-secondary {
    width: 85px;
    opacity: 0.15;
    right: 55px;
    top: 55px;
}

.logo-tertiary {
    width: 50px;
    opacity: 0.08;
    right: 20px;
    top: 95px;
}

/* Ensure content sits above the decoration */
.generic-content-wrapper,
.form-content-wrapper,
.work-content-wrapper,
.jobs-content-wrapper {
    position: relative;
    z-index: 1;
}

/* Container needs relative positioning for absolute child */
.generic-page,
.form-page,
.work-page,
.jobs-page {
    position: relative;
    overflow: hidden;
}

/* Add margin from edge on inner pages */
.generic-page .page-illustration,
.form-page .page-illustration,
.work-page .page-illustration,
.jobs-page .page-illustration {
    right: 30px !important;
    top: 30px !important;
}

/* Per-page bird opacities */
.generic-page .logo-main { opacity: 0.45; }
.generic-page .logo-secondary { opacity: 0.15; }
.generic-page .logo-tertiary { opacity: 0.08; }

.work-page .logo-main { opacity: 0.35; }
.work-page .logo-secondary { opacity: 0.20; }
.work-page .logo-tertiary { opacity: 0.12; }

.form-page .logo-main { opacity: 0.30; }
.form-page .logo-secondary { opacity: 0.18; }
.form-page .logo-tertiary { opacity: 0.10; }

.jobs-page .logo-main { opacity: 0.40; }
.jobs-page .logo-secondary { opacity: 0.25; }
.jobs-page .logo-tertiary { opacity: 0.08; }

.blog-page .logo-main { opacity: 0.38; }
.blog-page .logo-secondary { opacity: 0.12; }
.blog-page .logo-tertiary { opacity: 0.06; }

.blog-post-page .logo-main { opacity: 0.32; }
.blog-post-page .logo-secondary { opacity: 0.22; }
.blog-post-page .logo-tertiary { opacity: 0.14; }

@media (max-width: 992px) {
    .page-illustration {
        width: 160px;
        height: 160px;
    }
    .logo-main { width: 95px; opacity: 0.4; }
    .logo-secondary { width: 60px; opacity: 0.12; right: 40px; top: 40px; }
    .logo-tertiary { display: none; }
}

@media (max-width: 768px) {
    .page-illustration {
        width: 120px;
        height: 120px;
    }
    .logo-main { width: 75px; opacity: 0.35; }
    .logo-secondary { display: none; }
}

/* Generic Page Styling */
.generic-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.generic-content-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.generic-content-wrapper h1,
.generic-content-wrapper .rich-text {
    max-width: 80%;
}

.generic-page h1 {
    color: #3f4f48;
    font-weight: 700;
    border-bottom: 3px solid #3f4f48;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.generic-page .rich-text {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.generic-page .rich-text h2,
.generic-page .rich-text h3,
.generic-page .rich-text h4 {
    color: #3f4f48;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.generic-page .rich-text p {
    margin-bottom: 1.5rem;
}

.generic-page .rich-text blockquote {
    border-left: 4px solid #3f4f48;
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.generic-page .rich-text ul,
.generic-page .rich-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.generic-page .rich-text li {
    margin-bottom: 0.5rem;
}

/* Form Page Styling */
.form-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.form-content-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.form-content-wrapper h1,
.form-content-wrapper .form-intro,
.form-content-wrapper form {
    max-width: 80%;
}

.form-page h1 {
    color: #3f4f48;
    font-weight: 700;
    border-bottom: 3px solid #3f4f48;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.form-page .form-intro,
.form-page .thank-you-text {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
}

.form-page .form-intro h2,
.form-page .form-intro h3,
.form-page .thank-you-text h2,
.form-page .thank-you-text h3 {
    color: #3f4f48;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.form-page form {
    margin-top: 2rem;
}

.form-page .font-label {
    font-weight: 600;
    color: #3f4f48;
    margin-bottom: 0.5rem;
}

.form-page .form-control {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-page .form-control:focus {
    border-color: #3f4f48;
    box-shadow: 0 0 0 0.2rem rgba(63, 79, 72, 0.25);
}

.form-page .form-control.is-invalid {
    border-color: #dc3545;
}

.form-page .form-control.is-valid {
    border-color: #28a745;
}

.form-page .form-check-input {
    margin-top: 0.25rem;
}

.form-page .btn-primary {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.form-page .alert {
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.form-page .text-danger {
    font-weight: 500;
}

.form-page .thank-you-text {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3f4f48;
}

/* Services Section Styling */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.service-card:hover,
.service-card.service-raised {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.service-card .card-body {
    padding: 2rem;
    min-height: 200px;
}

.service-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
}

.service-title {
    color: #3f4f48;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.service-content {
    display: flex;
    align-items: flex-start;
    padding-top: 1rem;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-image-container,
    .carousel-no-image {
        height: 100vh;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .generic-page .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .generic-page h1 {
        font-size: 2rem;
    }
    
    .form-page .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .form-page h1 {
        font-size: 2rem;
    }
    
    .form-page .thank-you-text {
        padding: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .features .card-body {
        padding: 1.5rem;
    }
    
    .features .card-title {
        font-size: 1.1rem;
    }
    
    .features .card-text {
        font-size: 0.9rem;
    }
}

/* Work Page Styling */
.work-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.work-content-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.work-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Wide header - text spans ~80% width, left aligned */
.work-header--wide {
    max-width: none;
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.work-header--wide h1,
.work-header--wide .work-intro {
    max-width: 80%;
}

.work-header h1 {
    color: #3f4f48;
    font-weight: 700;
    border-bottom: 3px solid #3f4f48;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.work-intro {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.work-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.work-card-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #3f4f48 0%, #2f3f38 100%);
}

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

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

.work-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.work-card-body {
    padding: 1.5rem;
}

.work-card-title {
    color: #3f4f48;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.work-card-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.work-card .btn-outline-primary {
    border-color: #3f4f48;
    color: #3f4f48;
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.work-card .btn-outline-primary:hover {
    background-color: #3f4f48;
    border-color: #3f4f48;
    color: #fff;
}

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

.no-work-icon {
    margin-bottom: 1.5rem;
}

.no-work-icon i {
    font-size: 5rem;
    color: #ccc;
}

.no-work p {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Jobs Page Styling */
.jobs-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.jobs-content-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.jobs-header {
    max-width: 80%;
    margin-bottom: 3rem;
}

.jobs-header h1 {
    color: #3f4f48;
    font-weight: 700;
    border-bottom: 3px solid #3f4f48;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.jobs-intro {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.jobs-list {
    max-width: 80%;
}

.job-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3f4f48;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.job-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.job-title {
    color: #3f4f48;
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0;
}

.job-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-badge-location {
    background-color: #f8f9fa;
    color: #555;
    border: 1px solid #e9ecef;
}

.job-badge-type {
    background-color: #3f4f48;
    color: #fff;
}

.job-description {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.job-requirements {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.job-requirements h4 {
    color: #3f4f48;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-requirements .rich-text {
    color: #555;
    font-size: 0.95rem;
}

.job-actions {
    padding-top: 0.5rem;
}

.job-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

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

.no-jobs-icon {
    margin-bottom: 1.5rem;
}

.no-jobs-icon i {
    font-size: 5rem;
    color: #ccc;
}

.no-jobs .rich-text {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive adjustments for Work and Jobs pages */
@media (max-width: 768px) {
    .work-content-wrapper,
    .jobs-content-wrapper {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 2rem 1.5rem;
    }

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

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

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

    .work-card-body {
        padding: 1.25rem;
    }

    .job-card {
        padding: 1.5rem;
    }

    .job-card-header {
        flex-direction: column;
    }

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

    .job-meta {
        margin-top: 0;
    }
}

/* Blog Page Styling */
.blog-page,
.blog-post-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

.blog-content-wrapper,
.blog-post-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.blog-header {
    max-width: 80%;
    margin-bottom: 3rem;
}

.blog-header h1 {
    color: #3f4f48;
    font-weight: 700;
    border-bottom: 3px solid #3f4f48;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.blog-intro {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

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

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #3f4f48 0%, #2f3f38 100%);
}

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

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

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.blog-card-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: #3f4f48;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #2f3f38;
}

.blog-card-intro {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.blog-card .btn-outline-primary {
    border-color: #3f4f48;
    color: #3f4f48;
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .btn-outline-primary:hover {
    background-color: #3f4f48;
    border-color: #3f4f48;
    color: #fff;
}

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

.no-posts-icon {
    margin-bottom: 1.5rem;
}

.no-posts-icon i {
    font-size: 5rem;
    color: #ccc;
}

.no-posts p {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Blog Post Page */
.blog-post-header {
    max-width: 80%;
    margin-bottom: 2rem;
}

.blog-back-link {
    display: inline-block;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: #3f4f48;
}

.blog-post-header h1 {
    color: #3f4f48;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-post-meta {
    color: #6c757d;
    font-size: 0.95rem;
}

.blog-post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
}

.blog-post-content {
    max-width: 80%;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #3f4f48;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #3f4f48;
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.blog-post-footer {
    max-width: 80%;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Blog page illustration offset */
.blog-page .page-illustration,
.blog-post-page .page-illustration {
    right: 30px !important;
    top: 30px !important;
}

/* Responsive adjustments for Blog pages */
@media (max-width: 768px) {
    .blog-content-wrapper,
    .blog-post-wrapper {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 2rem 1.5rem;
    }

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

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

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

    .blog-card-body {
        padding: 1.25rem;
    }

    .blog-header,
    .blog-post-header,
    .blog-post-content,
    .blog-post-footer {
        max-width: 100%;
    }
}
