/* ==========================================================================
   Leopold Netzwerke - Main Stylesheet
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #223a4f;
    --secondary: #32b4a2;
    --tertiary: #004270;
    --dark: #2f2f2f;
    --dark-bg: #223a4f;
    --light: #fdfeff;
    --gradient: linear-gradient(273deg, #32B4A2 14.05%, #004270 99.79%);
    --border-radius: 15px;
    --border-radius-sm: 5px;
    --transition: 0.3s ease;
    --font-family: 'CocogooseProNarrow', 'CocogoosePro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--light);
    background: #32b4a2;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    hyphens: auto;
}

body.menu-open {
    overflow: hidden;
}

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

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

a:hover {
    color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 162px;
    z-index: 99;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), height var(--transition);
    padding: 0;
}

.site-header.is-scrolled {
    background: rgba(34, 58, 79, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    height: auto;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 50px 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header.is-scrolled .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    height: 55px;
    width: auto;
}

.site-header.is-scrolled .site-logo {
    height: 40px;
}

/* ---------- NAVIGATION ---------- */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav .nav-list li {
    position: relative;
}

.main-nav .nav-list li a {
    display: block;
    padding: 10px 20px;
    color: var(--light);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li.current-menu-item > a,
.main-nav .nav-list li.current-page-ancestor > a {
    background: var(--primary);
    color: var(--light);
}

/* Dropdown */
.main-nav .nav-list li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--dark-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all var(--transition);
    padding: 8px 0;
    z-index: 100;
}

.main-nav .nav-list li:hover > .sub-menu,
.main-nav .nav-list li.is-hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .nav-list li .sub-menu li a {
    text-transform: none;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 0;
    letter-spacing: 0;
}

.main-nav .nav-list li .sub-menu li a:hover {
    background: var(--primary);
}

/* Sub-sub menu */
.main-nav .nav-list li .sub-menu li .sub-menu {
    top: 0;
    left: 100%;
    border-radius: var(--border-radius);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ---------- GRADIENT SECTION (Hero + Leistungen) ---------- */
.gradient-section {
    background: var(--gradient);
    position: relative;
}

.gradient-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #32b4a2);
    z-index: 1;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(34, 58, 79, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 0 50px;
    padding-left: 80px;
}

.hero-content h1,
.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--light);
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(253, 254, 255, 0.9);
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary);
    color: var(--light);
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    transition: all var(--transition);
    border: 2px solid var(--secondary);
}

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

.hero-circle {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--light);
    border-color: var(--light);
}

/* ---------- SECTIONS GENERAL ---------- */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: var(--light);
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    font-weight: 300;
    color: rgba(253, 254, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* ---------- SERVICE GRID ---------- */
.section-leistungen {
    padding: 80px 0;
    position: relative;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.service-card-image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(35, 37, 39, 0.1) 0%, rgba(11, 11, 11, 0.6) 100%);
}

.service-card-image h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 600;
    color: var(--light);
}

.service-card-body {
    padding: 20px;
}

.service-links {
    margin-bottom: 15px;
}

.service-links li {
    margin-bottom: 6px;
}

.service-links li a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-links li a::before {
    content: '\203A';
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.service-links li a:hover {
    color: var(--secondary);
}

.service-text {
    color: var(--primary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-more {
    display: inline-block;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition);
}

.service-more:hover {
    color: var(--primary);
}

.service-more::after {
    content: ' \2192';
}

/* ---------- PARTNER ---------- */
.section-partner {
    padding: 60px 0;
    background: transparent;
}

.partner-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
}

.partner-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all var(--transition);
}

.partner-logo:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* ---------- KARRIERE ---------- */
.section-karriere {
    padding: 80px 0;
    background: transparent;
}

.section-karriere .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.karriere-content {
    flex: 1;
}

.karriere-content h2 {
    text-align: left;
    margin-bottom: 15px;
}

.karriere-content .section-subtitle {
    text-align: left;
    margin: 0 0 30px;
}

.karriere-image {
    flex: 1;
    max-width: 500px;
}

.karriere-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- CTA ---------- */
.section-cta {
    background: transparent;
    text-align: center;
    padding: 80px 0;
}

.section-cta h2 {
    margin-bottom: 15px;
}

.section-cta p {
    font-size: 17px;
    font-weight: 300;
    color: rgba(253, 254, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary);
    color: var(--light);
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    transition: all var(--transition);
    border: 2px solid var(--secondary);
}

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

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--light);
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    border: 2px solid var(--light);
    transition: all var(--transition);
}

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

/* ---------- BLOG SECTION ---------- */
.section-blog {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-card {
    display: block;
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--primary);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: var(--primary);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.blog-card-content {
    padding: 20px;
}

.blog-date {
    display: block;
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.blog-card-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #223a4f;
    color: var(--light);
    padding-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(253, 254, 255, 0.8);
}

.footer-col p a {
    color: rgba(253, 254, 255, 0.8);
    transition: color var(--transition);
}

.footer-col p a:hover {
    color: var(--secondary);
}

.teamviewer-img {
    max-width: 150px;
    margin: 15px 0 10px;
}

.footer-download-link {
    font-size: 14px;
    font-style: italic;
    color: var(--secondary);
    transition: color var(--transition);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(253, 254, 255, 0.8);
    font-size: 14px;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '\203A';
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

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

.cert-badge {
    max-width: 120px;
    margin-top: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom span {
    font-size: 13px;
    color: rgba(253, 254, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(253, 254, 255, 0.6);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary);
}

/* ---------- PAGE CONTENT ---------- */
.page-content,
.single-post,
.single-job,
.archive-page,
.index-page {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.page-article h1,
.post-article h1,
.job-article h1,
.archive-header h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--light);
}

.entry-content {
    color: rgba(253, 254, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 28px;
    text-align: left;
    margin: 40px 0 15px;
}

.entry-content h3 {
    font-size: 22px;
    margin: 30px 0 12px;
}

.entry-content h4 {
    font-size: 18px;
    margin: 25px 0 10px;
}

.entry-content p {
    margin-bottom: 18px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 18px 25px;
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 6px;
}

.entry-content a {
    color: var(--secondary);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--light);
}

.entry-content img {
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 15px 25px;
    margin: 25px 0;
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ---------- POST SPECIFICS ---------- */
.post-hero-image,
.job-hero-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-hero-image img,
.job-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    margin: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.post-date {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.post-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--light);
    padding: 2px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ---------- JOB SPECIFICS ---------- */
.job-header {
    margin-bottom: 30px;
}

.job-meta {
    margin-top: 10px;
}

.job-date {
    font-size: 14px;
    color: rgba(253, 254, 255, 0.6);
}

.job-cta {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    text-align: center;
}

.job-cta h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.job-cta p {
    margin-bottom: 20px;
    color: rgba(253, 254, 255, 0.8);
}

.job-cta a.btn-primary {
    margin-top: 10px;
}

/* ---------- ARCHIVE ---------- */
.archive-header {
    margin-bottom: 40px;
    text-align: center;
}

.archive-description {
    color: rgba(253, 254, 255, 0.7);
    font-size: 17px;
    margin-top: 10px;
}

.no-posts {
    text-align: center;
    font-size: 18px;
    color: rgba(253, 254, 255, 0.6);
    padding: 40px 0;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 14px;
    transition: all var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--secondary);
    color: var(--light);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-circle {
        width: 300px;
        height: 300px;
        right: 5%;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 38px;
    }

    .section-karriere .container {
        flex-direction: column;
    }

    .karriere-content h2 {
        text-align: center;
    }

    .karriere-content .section-subtitle {
        text-align: center;
    }

    .karriere-image {
        max-width: 100%;
    }
}

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

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark-bg);
        padding: 80px 30px 30px;
        transition: right var(--transition);
        overflow-y: auto;
        z-index: 10000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .main-nav .nav-list li a {
        padding: 12px 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav .nav-list li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        padding: 0;
    }

    .main-nav .nav-list li .sub-menu li a {
        padding-left: 30px;
    }

    /* Header */
    .site-header {
        height: auto;
    }

    .header-inner {
        padding: 12px 20px;
    }

    .site-logo {
        height: 40px;
    }

    /* Hero */
    .hero-slider {
        height: auto;
        min-height: 500px;
    }

    .hero-slide {
        flex-direction: column;
        justify-content: center;
        padding: 100px 0 80px;
    }

    .hero-content {
        padding: 0 30px;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-overlay {
        width: 100%;
        background: linear-gradient(180deg, rgba(34, 58, 79, 0.7) 0%, transparent 100%);
    }

    .hero-circle {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 220px;
        height: 220px;
        margin: 30px auto 0;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Service grid */
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Blog grid */
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .teamviewer-img {
        margin-left: auto;
        margin-right: auto;
    }

    .cert-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Page */
    .page-content,
    .single-post,
    .single-job,
    .archive-page,
    .index-page {
        padding: 90px 0 50px;
    }

    .page-article h1,
    .post-article h1,
    .job-article h1 {
        font-size: 30px;
    }
}

@media (max-width: 479px) {
    .hero-content h1,
    .hero-content h2 {
        font-size: 26px;
    }

    .hero-circle {
        width: 180px;
        height: 180px;
    }

    .hero-btn,
    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    section h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 20px;
    }
}

/* ---------- WP SPECIFIC OVERRIDES ---------- */
.wp-block-image {
    margin: 20px 0;
}

.wp-block-image img {
    border-radius: var(--border-radius);
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption-text {
    font-size: 13px;
    color: rgba(253, 254, 255, 0.6);
    text-align: center;
    margin-top: 8px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
