/*
Theme Name: Zstio Template
Theme URI: https://example.com/zstio
Author: Piotr Fijałkowski
Author URI: https://example.com
Description: Custom theme for ZSTIO, designed for Elementor.
Version: 1.0
Text Domain: zstio
*/

/* Basic Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #1A202C;
    background-color: #f7fbfe;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

/* --- Header & Navigation --- */
.site-header {
    background: transparent;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.container-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.site-logo {
    width: 110px;
    height: auto;
    border-radius: 0%;
}

.site-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #002D5B;
    line-height: 1.2;
    margin-bottom: 2px;
}

.site-description {
    display: block;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: #002D5B;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.menu-item-has-children:hover > a {
    color: #0070B3;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0070B3;
    transition: width 0.2s ease-in-out;
}

.nav-menu li:hover > a::before,
.nav-menu li.current-menu-item > a::before {
    width: 100%;
}

/* Submenu styling */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu li a {
    padding: 10px 25px;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #002D5B;
    text-align: left;
    transition: none;
}

.nav-menu .sub-menu li a::before {
    display: none;
}

.nav-menu .sub-menu li a:hover {
    background-color: #0070B3;
    color: #fff !important;
}

/* Submenu indicator */
.nav-menu li.menu-item-has-children > a::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 2px;
}

.header-actions {
    margin-left: 20px;
}

.btn-kontakt {
    background-color: #002D5B;
    color: #fff !important;
    padding: 12px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-kontakt:hover {
    background-color: #001f3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 45, 91, 0.2);
}

.menu-toggle, .mobile-dropdown-toggle {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .header-container { margin: 0 10px; padding: 10px 15px; }
    
    .nav-menu, .header-actions { display: none; }
    
    .menu-toggle { 
        display: block; 
        background: none; 
        border: none; 
        font-size: 1.4rem; 
        color: #002D5B; 
        cursor: pointer; 
        padding: 5px;
        z-index: 1001;
    }

    /* Toggled state */
    .main-navigation.toggled .nav-menu {
        display: block; /* Changed from flex for accordion flow */
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 75%; /* Slightly narrower */
        background: #fff;
        z-index: 1000;
        padding: 80px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        animation: slideIn 0.3s ease-out;
        overflow-y: auto;
    }

    .main-navigation.toggled .header-actions {
        display: block;
        position: static; /* In-flow for better stacking */
        margin-top: 30px;
        width: 100%;
    }

    .main-navigation.toggled .header-actions .btn-kontakt {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f8f9fa;
        position: relative;
    }

    .nav-menu li a {
        padding: 15px 0;
        font-size: 1rem;
        color: #1A202C !important;
        display: block;
    }

    .nav-menu li a::before {
        display: none;
    }

    /* Mobile Submenu Accordion Style */
    .nav-menu .sub-menu {
        position: static;
        display: none; /* Hidden by default */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: #fdfdfd;
        border-left: 2px solid #E8F3FF;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu li a {
        padding: 12px 0;
        font-size: 0.95rem;
        color: #718096 !important;
    }

    .nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }

    /* Submenu Toggle Arrow */
    .mobile-dropdown-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #0070B3;
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .mobile-dropdown-toggle.active {
        transform: rotate(180deg);
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    /* Hide standard desktop arrow on mobile */
    .nav-menu li.menu-item-has-children > a::after {
        display: none;
    }

    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .main-navigation.toggled + .menu-overlay {
        display: block;
    }
}

/* --- Hero Section --- */
.hero-section {
    padding: 0px 0;
    overflow: hidden;
    background: transparent;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8F3FF;
    color: #0070B3;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: #0070B3;
    border-radius: 50%;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #1A202C;
    line-height: 1.1;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-title span {
    color: #0070B3;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 45px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: #0070B3;
    color: #fff !important;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 112, 179, 0.3);
}

.btn-primary:hover {
    background: #005a91;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 112, 179, 0.4);
}

.btn-ghost {
    background: #fff;
    color: #1A202C !important;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
}

.btn-ghost:hover {
    border-color: #CBD5E0;
    background: #F8FAFC;
}

/* Hero Media & Image */
.hero-media {
    position: relative;
    padding: 20px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 112, 179, 0.15);
}

/* Recruitment Box */
.recruitment-box {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    min-width: 320px;
}

.rec-icon {
    width: 60px;
    height: 60px;
    background: #E8F3FF;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rec-icon img {
    max-width: 32px;
}

.rec-icon i {
    font-size: 1.5rem;
    color: #0070B3;
}

.rec-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1A202C;
    margin: 0 0 4px 0;
}

.rec-text {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

/* Repsonsive Hero */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .hero-grid { gap: 40px; }
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text { 
        margin-left: auto; 
        margin-right: auto; 
        max-width: 100%;
    }
    .hero-btns { 
        justify-content: center; 
        flex-direction: column;
        gap: 15px;
    }
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    .recruitment-box {
        position: static;
        margin: 40px auto 0;
        transform: none;
        max-width: 100%;
        min-width: 0;
    }
}

/* --- Hero Quick Links Bar --- */
.hero-quick-links {
    margin-top: 80px;
    background: #005a91;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 90, 145, 0.2);
}

.quick-link-item {
    flex: 1;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none;
    transition: background 0.2s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.quick-link-item:last-child {
    border-right: none;
}

.quick-link-item:hover {
    background: rgba(255,255,255,0.05);
}

.quick-link-item i {
    font-size: 1.5rem;
}

.quick-link-item span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Archiwum Lat (Shortcode) --- */
.archiwum-lata-nawigacja {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.przycisk-roku {
    padding: 10px 30px;
    background-color: #ffffff;
    color: #008CBA;
    border: 3px solid #008CBA;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    top: 0;
}

.przycisk-roku:hover {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
    top: 2px;
    background-color: #008CBA;
    color: white;
    border-color: white;
}

.przycisk-roku.aktywny-rok {
    background-color: #008CBA;
    color: white;
    border-color: #008CBA;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    top: 0;
    font-weight: 900;
}

.przycisk-roku.aktywny-rok:hover {
    top: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    cursor: default;
}

/* --- Gutenberg Gallery Enhancements --- */
.wp-block-gallery {
    margin-bottom: 2em;
}

.wp-block-gallery.has-nested-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    margin: 0;
    width: calc(33.333% - 10px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wp-block-gallery figure.wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wp-block-gallery figure.wp-block-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.wp-block-gallery figcaption {
    font-size: 0.85em;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* --- Global Typography & Base --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f7fbfe;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #002D5B;
}

/* --- Archiwum Lat (Shortcode) --- */
.archiwum-lata-nawigacja {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.przycisk-roku {
    padding: 10px 30px;
    background-color: #ffffff;
    color: #008CBA;
    border: 3px solid #008CBA;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    top: 0;
}

/* --- Single Post Layout --- */
.single-post-container {
    padding: 20px 0 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumbs a {
    color: #002D5B;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs i.fa-home {
    margin-right: 5px;
}

.breadcrumbs i.fa-chevron-right {
    font-size: 0.7rem;
    color: #CBD5E0;
}

/* Post Layout Grid */
.single-post-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.post-content-area {
    flex: 0 0 66%;
    max-width: 66%;
}

.post-sidebar {
    flex: 0 0 calc(34% - 40px);
    max-width: calc(34% - 40px);
}

/* Entry Header */
.entry-date {
    color: #E53E3E;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.entry-title {
    font-size: 3.5rem;
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.author-info {
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info i {
    font-size: 1.4rem;
    color: #CBD5E0;
}

.author-name {
    color: #4A5568;
    font-weight: 600;
}

.meta-pills {
    display: flex;
    gap: 10px;
}

.meta-pill {
    background: #E9D8FD;
    color: #6B46C1;
    padding: 6px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: capitalize;
}

/* Entry Content */
.featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: #E2E8F0;
    padding: 15px 25px;
    font-size: 0.9rem;
    color: #4A5568;
    font-style: italic;
    border-radius: 0 0 8px 8px;
}

.post-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2D3748;
    font-family: 'Montserrat', sans-serif;
}

.post-text p {
    margin-bottom: 25px;
}

/* Share Section */
.share-post {
    margin: 80px 0 40px;
    padding: 30px 0;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-post span {
    font-weight: 800;
    font-size: 0.8rem;
    color: #CBD5E0;
    letter-spacing: 1px;
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s;
}

.share-icons a.share-fb { background-color: #3182CE; }
.share-icons a.share-link { background-color: #4299E1; }
.share-icons a.share-pin { background-color: #E53E3E; }

.share-icons a:hover { transform: translateY(-3px); }

/* Navigation */
.post-navigation {
    padding: 30px 0;
    border-top: 1px solid #E2E8F0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-links a {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.nav-links a:hover { color: #2D3748; }

/* --- SIDEBAR WIDGETS --- */
.widget {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 30px;
    border: 1px solid #EDF2F7;
}

.widget-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.widget-icon-box {
    width: 44px;
    height: 44px;
    background: #E53E3E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.widget-title {
    font-size: 2rem;
    font-weight: 800;
    color: #002D5B;
    margin: 0;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    gap: 18px;
    line-height: 1.5;
}

.info-list li i {
    color: #CBD5E0;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Event Items */
.has-gradient-header {
    padding: 0;
}

.has-gradient-header .widget-header-row {
    background: linear-gradient(135deg, #1A365D 0%, #2A4365 100%);
    padding: 30px 35px;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
}

.has-gradient-header .widget-title {
    color: #fff;
    font-size: 1.8rem;
}

.has-gradient-header .event-items {
    padding: 30px 35px 10px;
}

.event-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.event-date {
    background: #1A365D;
    color: #fff;
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    min-width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month { font-size: 0.75rem; font-weight: 400; opacity: 0.9; }
.event-date .day { font-size: 1.6rem; font-weight: 900; }

.event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: #2D3748;
    font-weight: 800;
}

.event-info p {
    font-size: 0.85rem;
    color: #718096;
}

/* Document List */
.widget-documents .widget-header-row {
     margin-bottom: 35px;
}

.widget-documents .widget-title {
    font-size: 2.2rem;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    margin-bottom: 20px;
}

.doc-list a {
    text-decoration: none;
    color: #4A5568;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.2s;
}

.doc-icon-color {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.doc-red { background: #E53E3E; }
.doc-blue { background: #3182CE; }
.doc-green { background: #38A169; }

.doc-list a:hover { color: #002D5B; }

/* --- RELATED POSTS --- */
.related-posts {
    margin-top: 60px;
    padding-top: 80px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.related-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
}

.view-all {
    color: #4299E1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.related-thumb {
    position: relative;
    height: 180px;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #002D5B;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.related-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
    color: #E53E3E; /* Default Red */
}

/* Example category colors from screenshot */
.related-category-edukacja { color: #E53E3E; }
.related-category-projekty { color: #B7791F; }
.related-category-wolontariat { color: #3182CE; }
.related-category-kulinaria { color: #2C5282; }

.related-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #1a1a1a;
    font-weight: 800;
    font-family: 'Noto Serif', serif;
}

.related-excerpt {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #002D5B;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: auto;
}

.read-more:hover { color: #E53E3E; }

/* Responsiveness */
@media (max-width: 1024px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .single-post-layout { flex-direction: column; }
    .post-content-area, .post-sidebar { flex: 0 0 100%; max-width: 100%; }
    .entry-title { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
    .entry-title { font-size: 2.2rem; }
}

/* --- Newest Posts Section --- */
.newest-posts-section {
    padding: 100px 0;
    background: #fff;
}

.newest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .newest-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .newest-header .newest-view-all {
        order: 3; /* Move to bottom of header area */
        margin-top: 10px;
    }
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .newest-posts-section {
        padding: 60px 0;
    }
}

.newest-header-left span {
    color: #0070B3;
    font-family: 'Archivo Narrow', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
}

.newest-header-left h2 {
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 800;
    margin: 0;
    color: #1A202C;
}

.newest-view-all {
    color: #0070B3;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.newest-view-all:hover {
    gap: 12px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.post-card {
    background: #F8FAFC;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #F1F5F9;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 112, 179, 0.1);
}

.post-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover img {
    transform: scale(1.05);
}

.post-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1A202C;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    flex: 1;
}

.post-card-title a {
    color: #1A202C;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card:hover .post-card-title a {
    color: #0070B3;
}

.post-read-more {
    color: #0070B3;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 1200px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .posts-grid { grid-template-columns: 1fr; }
    .newest-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: linear-gradient(145deg, #0070B3 0%, #004A77 100%);
    color: #fff;
    text-align: center;
}

.services-header {
    margin-bottom: 70px;
}

.services-header span {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0;
}

.services-header h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: background 0.3s, transform 0.3s;
}

.service-item:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

@media (max-width: 991px) {
    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-item {
        flex: 0 0 45%;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .service-item {
        flex: 0 0 100%;
    }
    .service-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    .services-header h2 {
        font-size: 2.5rem;
    }
}

/* --- Directions Section --- */
.directions-section {
    padding: 120px 0;
    background: #fdfdfd;
}

.directions-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.directions-header span {
    color: #0070B3;
    font-family: 'Archivo Narrow', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
}

.directions-header h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.directions-header p {
    color: #718096;
    line-height: 1.6;
    font-size: 1.1rem;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.direction-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 112, 179, 0.08);
}

.direction-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.direction-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.direction-card:hover .direction-image-wrapper img {
    transform: scale(1.05);
}

.direction-icon-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0070B3;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.direction-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.direction-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1A202C;
    line-height: 1.3;
}

.direction-content p {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
}

.direction-link {
    color: #0070B3;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.direction-link:hover {
    gap: 12px;
}

@media (max-width: 1200px) {
    .directions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .directions-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .directions-section {
        padding: 60px 0;
    }
    .direction-content {
        padding: 20px;
    }
}

/* --- Maps Section --- */
.maps-section {
    padding: 100px 0 0 0;
    background: #fff;
}

.maps-header {
    text-align: center;
    margin-bottom: 60px;
}

.maps-header span {
    color: #0070B3;
    font-family: 'Archivo Narrow', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
}

.maps-header h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 800;
    margin: 0;
    color: #1A202C;
}

.map-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border: 1px solid #F1F5F9;
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(0.2) contrast(1.1);
}

.map-info-box {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    max-width: 400px;
}

.map-info-box .info-icon {
    width: 50px;
    height: 50px;
    background: #E8F3FF;
    color: #0070B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.map-info-box .info-text strong {
    display: block;
    font-size: 1rem;
    color: #1A202C;
    margin-bottom: 5px;
    line-height: 1.4;
}

.map-info-box .info-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

@media (max-width: 768px) {
    .map-info-box {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #F1F5F9;
        padding: 20px;
    }
    .map-info-box .info-text strong {
        font-size: 0.9rem;
    }
    .map-wrapper {
        border-radius: 20px 20px 0 0;
    }
    .maps-header h2 {
        font-size: 2.8rem;
    }
}

/* --- Footer Section --- */
.site-footer {
    background: #0B1321; /* Very dark navy */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Branding Col */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-wrapper img {
    width: 45px;
    height: auto;
    border-radius: 4px;
}

.footer-site-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #0070B3;
    transform: translateY(-3px);
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: #0070B3;
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

/* Links Col */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.footer-links a i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-links a:hover {
    color: #fff;
}

/* RODO Col */
.rodo-badge {
    background: #E53E3E;
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

.rodo-info {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rodo-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.iod-info {
    font-size: 0.85rem;
}

.iod-info a {
    color: inherit;
    text-decoration: none;
}

.iod-info a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-quick-links {
        flex-wrap: wrap;
    }
    .quick-link-item {
        flex: 1 1 50%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 10px;
    }
    .quick-link-item:nth-child(2n) {
        border-right: none !important;
    }
    .quick-link-item:nth-child(2n-1) {
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .quick-link-item:last-child {
        border-bottom: none;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col {
        text-align: center;
    }
    .footer-logo-wrapper, .footer-socials, .contact-list li, .footer-links a {
        justify-content: center;
    }
}

/* --- Page Banner --- */
.page-banner {
    background: #0070B3;
    padding: 160px 0 80px; /* Space for sticky navbar */
    text-align: center;
    color: #fff;
    margin-top: -120px; /* Pull up to the top of screen */
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #fff;
}

.banner-breadcrumbs, .breadcrumbs-nav {
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.breadcrumbs-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumbs-nav a:hover {
    opacity: 0.7;
}

/* --- Benefits Section --- */
.benefits-section {
    padding: 100px 0;
    background: #004A77; /* Deeper navy matching the Services section feel */
    color: #fff;
    text-align: center;
}

.benefits-header {
    margin-bottom: 70px;
}

.benefits-header span {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.benefits-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0 0 0;
    color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #0070B3;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner h1 { font-size: 2.2rem; }
    .benefits-header h2 { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: 1fr; }
}




/* --- Subpage Layout & Sidebar --- */
.subpage-content-wrapper {
    padding: 60px 0 100px;
    background-color: #f7fbfe;
}

.subpage-layout {
    display: grid;
    gap: 60px;
}

.subpage-layout.has-sidebar {
    grid-template-columns: 1fr 380px;
}

.subpage-layout.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}



.section-title-with-icon {
    font-size: 1.8rem;
    color: #1A202C;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title-with-icon i {
    color: #0070B3;
}

.section-title-simple {
    font-size: 1.8rem;
    color: #1A202C;
    margin-bottom: 30px;
    border-left: 5px solid #0070B3;
    padding-left: 15px;
}

/* Files Grid */
.files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.file-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
}

.file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #CBD5E0;
}

.file-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7FAFC;
    color: #4A5568;
    font-size: 1.5rem;
}

.file-icon-wrapper.pdf { background: #FFF5F5; color: #E53E3E; }
.file-icon-wrapper.doc, .file-icon-wrapper.docx { background: #EBF8FF; color: #3182CE; }

.file-info {
    display: flex;
    flex-direction: column;
}

.file-label {
    font-weight: 700;
    color: #2D3748;
    font-size: 1rem;
    margin-bottom: 4px;
}

.file-meta {
    font-size: 0.75rem;
    color: #A0AEC0;
    font-weight: 600;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.member-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #E2E8F0;
}

.member-initials {
    width: 60px;
    height: 60px;
    background: #EDF2F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #4A5568;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #2D3748;
}

.member-role {
    font-size: 0.9rem;
    color: #0070B3;
    margin: 0;
    font-weight: 600;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #E2E8F0;
}

/* Bank Info Card */
.bank-info-card {
    background: linear-gradient(135deg, #E6F6FF 0%, #F0F9FF 100%);
    border: 1px solid #BEE3F8;
    position: relative;
    overflow: hidden;
}

.bank-info-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bank-info-card .icon-box {
    width: 40px;
    height: 40px;
    background: #0070B3;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-info-card .card-title {
    font-size: 1.3rem;
    margin: 0;
    color: #1A202C;
}

.bank-info-card .card-description {
    font-size: 0.95rem;
    color: #4A5568;
    margin-bottom: 25px;
    line-height: 1.5;
}

.account-number-box {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.account-number-box .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #718096;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.account-number-box .number {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0070B3;
    word-break: break-all;
}

.transfer-details-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4A5568;
}

/* Contact Box Card */
.contact-box-card {
    padding: 40px 30px;
}

.contact-box-card .contact-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #1A202C;
}

.contact-email-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4A5568;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-email-link:hover {
    color: #0070B3;
}

.contact-email-link i {
    font-size: 1.2rem;
    color: #0070B3;
}

/* Responsive */
@media (max-width: 1024px) {
    .subpage-layout.has-sidebar {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 900px) {
    .subpage-layout.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-column {
        order: 2;
    }
    
    .files-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --- News Archive (Aktualno�ci) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.news-card {
    background: #fff;
    border: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

/* Hover effect handled slightly differently if desired, but user screenshot is static */
/* .news-card:hover { transform: translateY(-5px); } */

.news-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 25px;
    background: #F7FAFC; /* Placeholder color */
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.news-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1A202C;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #0070B3;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 25px;
}

.news-read-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0070B3;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto; /* Pushes button to bottom if cards vary height, though grid usually aligns */
}

.news-read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.news-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 5px; /* Or circle if preferred */
    background: transparent;
    color: #718096;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
    background: #0070B3;
    color: #fff;
    border-color: #0070B3;
}

/* --- Services Section --- */
.services-section {
    background-color: #004c8c;
    padding: 100px 0;
    width: 100%;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.services-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    justify-items: center;
}

.service-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-8px);
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-wrapper {
    background: #ffffff;
    color: #004c8c;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}



.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    width: auto;
    background: transparent !important;
    padding: 0 10px;
}

/* Responsive News */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .container-hero {
        padding: 0 20px;
    }
}

/* Archiwum - Filtrowanie lat */
.archiwum-lata-nawigacja {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.przycisk-roku {
    padding: 10px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 30px;
    color: #4A5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

.przycisk-roku:hover {
    border-color: #0070B3;
    color: #0070B3;
}

.przycisk-roku.aktywny-rok {
    background: #0070B3;
    border-color: #0070B3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 112, 179, 0.2);
}

/* FINAL PAGINATION STYLE OVERRIDE */
.news-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.news-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.news-pagination .page-numbers {
    color: #4A5568 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    transition: all 0.2s;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-width: auto !important;
    height: auto !important;
}

.news-pagination .page-numbers.current {
    color: #0070B3 !important;
}

.news-pagination .page-numbers:hover:not(.current) {
    color: #2D3748 !important;
}

.news-pagination ul.page-numbers {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
}

/* Hover buttons years - white text */
.przycisk-roku:hover {
    background: #0070B3 !important;
    color: #fff !important;
}

/* Text Editor Block */
.text-editor-block {
    padding: 60px 0;
}

.text-editor-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2D3748;
}

.text-editor-content p {
    margin-bottom: 25px;
}

.text-editor-content ul, 
.text-editor-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.text-editor-content li {
    margin-bottom: 10px;
}

.files-download-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.files-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: #1a202c;
}

.files-header i {
    font-size: 1.8rem;
    color: #0070b3;
}

.files-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: #1a202c;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 112, 179, 0.08);
    border-color: #0070b3;
}

.file-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.8rem;
}

.file-icon-wrapper.pdf {
    background: #fff5f5;
    color: #e53e3e;
}

.file-icon-wrapper.doc, 
.file-icon-wrapper.docx {
    background: #ebf8ff;
    color: #3182ce;
}

.file-label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
}

.file-meta {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    font-weight: 600;
}

@media (max-width: 768px) {
    .files-download-card {
        padding: 25px;
    }
    .files-grid {
        grid-template-columns: 1fr;
    }
}

/* Layout Fix: No Sidebar Content Center */
.main-content-no-sidebar {
    padding: 0px 0;
    background-color: #f7fbfe;
}

/* Working Hours Widget (Premium Look) */
.working-hours-card {
    background: #fff;
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
    padding: 35px 30px;
}

.working-hours-card .hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.working-hours-card .hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.working-hours-card .hours-row:last-child {
    border-bottom: none;
}

.working-hours-card .day-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
}

.working-hours-card .hours-value {
    font-size: 0.95rem;
    color: #1a202c;
    font-weight: 700;
}

.working-hours-footer {
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: center;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge.open {
    background: #f0fff4;
    color: #2f855a;
}

.status-badge.open i {
    font-size: 0.9rem;
}

/* Lesson Hours Table Widget */
.lesson-hours-card {
    padding: 0 !important;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.lesson-hours-title {
    padding: 20px 30px;
    background: #fff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    border-bottom: 1px solid #edf2f7;
}

.lesson-table-wrapper {
    width: 100%;
}

.lesson-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.lesson-hours-table thead th {
    background: #23293F;
    color: #fff;
    padding: 15px 10px;
    font-weight: 700;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lesson-hours-table tbody td {
    padding: 12px 10px;
    text-align: center;
    color: #4A5568;
    font-weight: 600;
}

.lesson-hours-table tbody tr:nth-child(even) {
    background: #fff;
}

.lesson-hours-table tbody tr:nth-child(odd) {
    background: #E6F7FF;
}

.lesson-hours-table tbody tr:hover {
    background: #DEEFFF;
}

.lesson-hours-table td.nr {
    color: #1a202c;
    font-weight: 800;
}

.lesson-hours-table td.time {
    font-family: 'Space Mono', monospace;
}

/* Lesson Hours Section Styling */
.lesson-hours-section {
    padding: 60px 0;
}

.lesson-hours-card.main-content-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.lesson-hours-card .lesson-hours-title {
    padding: 30px;
    background: #fff;
    text-align: center;
    font-size: 1.8rem;
    color: #1a202c;
    border-bottom: 2px solid #edf2f7;
}

.lesson-hours-section .lesson-hours-table thead th {
    padding: 20px 15px;
    font-size: 0.9rem;
}

.lesson-hours-section .lesson-hours-table tbody td {
    padding: 15px;
    font-size: 1rem;
}


    .menu-overlay { 
display: none;
    }

/* --- Profession Page Template --- */
.profession-page-template {
    background-color: #f8fafc;
    padding: 60px 0;
}

.profession-white-card {
    background: #fff;
    border-radius: 20px;
    padding: 80px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.profession-card-intro {
    margin-bottom: 60px;
}

.profession-intro-flex {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-item:first-child img {
    height: 240px;
}

.intro-eyebrow {
    color: #004c8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.intro-eyebrow span {
    color: #0070B3;
}

.intro-headline {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #1a202c;
    line-height: 1.1;
    text-transform: none;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 40px;
}

/* Subjects Grid */
.profession-subjects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
}

.subject-column h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1a202c;
}

.subject-column h5 i {
    color: #0070B3;
    font-size: 1.1rem;
}

.subject-column ul {
    list-style: none;
    padding: 0;
}

.subject-column ul li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
}

.subject-column ul li::before {
    content: "";
    width: 6px;
    height: 2px;
    background: #0070B3;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Card Sections */
.profession-card-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 50px 0;
}

.side-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    border-left: 4px solid #0070B3;
    padding-left: 20px;
    color: #1a202c;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Activities */
.activity-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item-simple {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 10px;
}

.activity-icon-square {
    width: 32px;
    height: 32px;
    background: #004c8c;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.activity-item-simple p {
    margin: 0;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 50px;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.skill-item i {
    color: #38a169;
    font-size: 1.1rem;
    margin-top: 4px;
}

.skill-item span {
    font-weight: 600;
    color: #2d3748;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Job Market Simple */
.jobs-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.job-card-simple {
    border: 1px solid #edf2f7;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.job-card-simple:hover {
    border-color: #0070B3;
    box-shadow: 0 10px 30px rgba(0, 112, 179, 0.05);
}

.job-icon-circle {
    width: 44px;
    height: 44px;
    background: #ebf8ff;
    color: #0070B3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-card-simple span {
    font-weight: 700;
    color: #1a202c;
    font-size: 1rem;
}

/* CTA Restore */
.profession-cta {
    padding: 40px 0 100px 0;
}

.cta-blue-box {
    background: #004c8c;
    background: linear-gradient(135deg, #004c8c 0%, #0070B3 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 76, 140, 0.2);
}

.cta-blue-box h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.cta-blue-box p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-cta {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta.bg-white {
    background: #fff !important;
    color: #004c8c !important;
}

.btn-cta.bg-white:hover {
    background: #f0f7ff !important;
    transform: translateY(-3px);
}

.btn-cta.outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    background: transparent !important;
}

.btn-cta.outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    transform: translateY(-3px);
}

/* --- Benefits Section (Original) --- */
.benefits-section {
    padding: 100px 0;
    background: #004A77; /* Deep navy used elsewhere */
    color: #fff;
    text-align: center;
}

.benefits-header {
    margin-bottom: 70px;
}

.benefits-header span {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.benefits-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0 0 0;
    color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s;
    text-align: center;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #0070B3;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* --- Maps Section (Original) --- */
.maps-section {
    padding: 100px 0 0 0;
    background: #fff;
}

.maps-header {
    text-align: center;
    margin-bottom: 60px;
}

.maps-header span {
    color: #0070B3;
    font-family: 'Archivo Narrow', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
}

.maps-header h2 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 800;
    margin: 0;
    color: #1A202C;
}

@media (max-width: 991px) {
    .profession-white-card {
        padding: 40px 30px;
    }
    .profession-intro-flex {
        gap: 40px;
    }
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background-color: #fcfdfe;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-boxes-list {
    margin-bottom: 50px;
}

.contact-box-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-box-icon {
    width: 50px;
    height: 50px;
    background: #ebf8ff;
    color: #0070B3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-box-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a202c;
}

.contact-box-content p, 
.contact-box-content a {
    color: #4a5568;
    line-height: 1.5;
    font-size: 1rem;
    text-decoration: none;
}

.extension-directory .section-title-small {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #1a202c;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

.extension-table {
    width: 100%;
    border-collapse: collapse;
}

.extension-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
}

.extension-table tr:last-child td {
    border-bottom: none;
}

.extension-table .ext-num {
    font-weight: 700;
    color: #0070B3;
    width: 80px;
}

.extension-table .ext-label {
    text-align: right;
    font-weight: 600;
}

/* Form Styles */
.contact-form-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
}

.form-card-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
    font-weight: 800;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-static-form .form-group input,
.contact-static-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: transparent;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-static-form .form-group input:focus,
.contact-static-form .form-group textarea:focus {
    border-bottom-color: #0070B3;
}

.contact-static-form .full-width {
    margin-top: 10px;
}

.form-footer {
    text-align: right;
    margin-top: 30px;
}

.submit-button {
    background: #fff;
    color: #1e293b;
    padding: 12px 40px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #0070B3;
    color: #fff;
    border-color: #0070B3;
    box-shadow: 0 5px 15px rgba(0, 112, 179, 0.2);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.menu-overlay { 
    display: none;
}

/* --- Responsive Fixes --- */
@media (max-width: 991px) {
    /* Benefits Grid - 2 columns on tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Global Heading Reductions for Mobile */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }

    /* Specific Section Headers Reduction - High Priority */
    .entry-title, 
    .benefits-header h2, 
    .maps-header h2,
    .cta-blue-box h3,
    .newest-header-left h2,
    .directions-header h2,
    .services-header h2,
    .related-header h2,
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    /* Hero Title adjustment handled in group above */
    
    /* Hero Quick Links - Stack on mobile */
    .hero-quick-links {
        flex-direction: column;
        margin-top: 40px;
        height: auto;
    }
    
    .quick-link-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .quick-link-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    /* Benefits Grid - 1 column on mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Further Hero adjustments */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .maps-section {
        padding-top: 60px;
    }
    
    .maps-header h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Single Post Styles */
.single-post-container {
    padding-top: 140px; /* Clear sticky header since banner is removed */
}

/* Profession Page Styles */

.profession-page-template {
    background-color: #f8fafc;
}

/* =========================================
   RECRUITMENT PAGE STYLES
   ========================================= */

.recruitment-page {
    padding: 60px 0;
}

.recruitment-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.intro-card-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.intro-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #0070B3;
}

.intro-card-link .icon-box {
    width: 60px;
    height: 60px;
    background: #E0F2FE;
    color: #0070B3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.intro-card-link .text-box h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.intro-card-link .text-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.intro-card-link .arrow-icon {
    margin-left: auto;
    color: #cbd5e1;
    transition: color 0.3s;
}

.intro-card-link:hover .arrow-icon {
    color: #0070B3;
}

/* Recruitment Sections */
.recruitment-section {
    margin-bottom: 80px;
}

.recruitment-section.bg-light-blue {
    background: #f0f9ff;
    padding: 50px;
    border-radius: 20px;
}

.section-header-simple {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-simple .sub-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0070B3;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header-simple h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-header-simple p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
}

/* Steps */
.steps-container {
    display: grid;
    gap: 20px;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2e8f0;
    font-family: 'Archivo Narrow', sans-serif;
    line-height: 1;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.step-content p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

/* Two Col Grid (Documents) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.documents-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.documents-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.documents-checklist li i {
    color: #10b981; /* Green check */
    background: #d1fae5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.documents-checklist li span {
    font-size: 1rem;
    color: #334155;
    line-height: 1.5;
}

.info-card-highlight {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 112, 179, 0.1);
    border-top: 4px solid #0070B3;
}

.info-card-highlight .big-icon {
    font-size: 3rem;
    color: #0070B3;
    margin-bottom: 20px;
    opacity: 0.2;
}

.info-card-highlight h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary-rect {
    display: inline-block;
    background: #0070B3;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary-rect:hover {
    background: #005a9e;
}

.btn-outline-rect {
    display: inline-block;
    border: 2px solid #0070B3;
    color: #0070B3;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-rect:hover {
    background: #0070B3;
    color: #fff;
}

/* Bursa Banner */
.bursa-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.bursa-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.bursa-content i {
    font-size: 2.5rem;
    color: #38bdf8;
}

.bursa-text h3 {
    margin: 0 0 5px;
    font-size: 1.4rem;
    color: #fff;
}

.bursa-text p {
    margin: 0;
    color: #94a3b8;
}

.btn-white {
    background: #fff;
    color: #0f172a;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: translateY(-2px);
}

/* Responsive Recruitment */
@media (max-width: 991px) {
    .recruitment-intro-grid { flex-direction: column; grid-template-columns: 1fr; }
    .two-col-grid { grid-template-columns: 1fr; gap: 30px; }
    .recruitment-section.bg-light-blue { padding: 30px; }
    .bursa-banner { flex-direction: column; text-align: center; gap: 30px; padding: 30px; }
    .bursa-content { flex-direction: column; }
}

@media (max-width: 600px) {
    .step-card { flex-direction: column; gap: 10px; }
    .step-number { font-size: 2rem; opacity: 0.5; }
}

.profession-main-section {
    padding: 60px 0;
}

.profession-white-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 50px;
    margin-bottom: 40px;
}

/* Intro Section */
.profession-intro-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.profession-intro-gallery {
    flex: 0 0 40%;
    max-width: 40%;
}

.gallery-grid {
    display: grid;
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profession-intro-content {
    flex: 1;
}

.intro-eyebrow {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.intro-eyebrow span {
    color: #0070B3;
}

.intro-headline {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

/* Subjects Grid */
.profession-subjects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    background: #f1f5f9;
    padding: 25px;
    border-radius: 12px;
}

.subject-column h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-column h5 i {
    color: #0070B3;
}

.subject-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-column ul li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 8px;
    position: relative;
    padding-left: 0;
}

/* Dividers & Titles */
.profession-card-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 50px 0;
}

.side-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
}

/* Activities */
.activity-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-item-simple {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.activity-item-simple:hover {
    transform: translateY(-5px);
}

.activity-icon-square {
    width: 60px;
    height: 60px;
    background: rgba(0, 112, 179, 0.1);
    color: #0070B3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.activity-item-simple p {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
}

.skill-item i {
    color: #10b981;
    margin-top: 4px;
}

.skill-item span {
    font-size: 1.05rem;
    color: #334155;
    font-weight: 500;
}

/* Jobs */
.jobs-grid-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.job-card-simple {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.job-card-simple:hover {
    border-color: #0070B3;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.job-icon-circle {
    width: 30px;
    height: 30px;
    background: #e0f2fe;
    color: #0070B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.job-card-simple span {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

/* CTA Section */
.profession-cta {
    padding-bottom: 60px;
}

.cta-blue-box {
    background: linear-gradient(135deg, #0070B3 0%, #005a9e 100%);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 112, 179, 0.2);
}

.cta-blue-box h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
}

.cta-blue-box p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.bg-white {
    background: #fff;
    color: #0070B3;
}

.btn-cta.outline-white {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Profession Page RESPONSIVE --- */

@media (max-width: 991px) {
    .profession-white-card {
        padding: 30px;
    }

    .profession-intro-flex {
        flex-direction: column;
        gap: 30px;
    }

    .profession-intro-gallery {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    /* Make gallery scrollable horizontally on smaller screens if items are too small, or just stack/grid */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
    }
    
    .profession-subjects-grid {
        grid-template-columns: 1fr;
    }

    .activity-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-headline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .profession-main-section {
        padding: 30px 0;
    }
    
    .profession-white-card {
        padding: 25px;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Stack images on very small screens? Or keep grid? Let's keep 1fr for cleaner look */
    }

    .activity-items {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid-simple {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-card-simple {
        justify-content: flex-start;
    }
    
    .cta-blue-box {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .btn-cta.outline-white {
        margin-top: 10px;
    }
    
    .side-title {
        font-size: 1.5rem;
    }
    
    .intro-headline {
        font-size: 1.8rem;
    }
}