.mySlides {display:none;}
.dots-container {
    text-align: center;
    position: relative;
    top: 10px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #fff;
}
            .custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropbtn {
    /*background-color: #4CAF50;*/
    /*color: white;*/
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.custom-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.custom-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

/* Blog home */
.blog-home {
    background: #f7f8fa;
    padding: 0 0 64px;
    font-family: 'NimbusSanL', sans-serif;
}

/* Hero carousel */
.blog-hero {
    position: relative;
    width: 100%;
    margin: 0 0 36px;
    background: #0b1c33;
    overflow: hidden;
}

.blog-hero-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1822 / 689;
    max-height: min(62vh, 560px);
    min-height: 280px;
}

.blog-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    pointer-events: none;
}

.blog-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.blog-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(24px, 5vw, 56px) clamp(20px, 6vw, 72px);
    background:
        linear-gradient(90deg, rgba(8, 18, 34, 0.82) 0%, rgba(8, 18, 34, 0.45) 48%, rgba(8, 18, 34, 0.12) 100%),
        linear-gradient(0deg, rgba(8, 18, 34, 0.55) 0%, rgba(8, 18, 34, 0.05) 55%);
}

.blog-hero-copy {
    max-width: 560px;
    color: #f8fafc;
}

.blog-hero-brand {
    margin: 0 0 10px;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-family: 'Rubik', 'NimbusSanL', sans-serif;
    color: #fff;
}

.blog-hero-title {
    margin: 0 0 10px;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 600;
    line-height: 1.25;
    font-family: 'Rubik', 'NimbusSanL', sans-serif;
    color: #e8eef7;
}

.blog-hero-text {
    margin: 0 0 18px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
    color: #c9d4e3;
    max-width: 42ch;
}

.blog-hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffc248;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.blog-hero-cta:hover {
    background: #ffd06a;
    transform: translateY(-1px);
}

.blog-hero-controls {
    position: absolute;
    right: clamp(16px, 4vw, 40px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-hero-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.blog-hero-nav:hover,
.blog-hero-nav:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    border-color: #fff;
    outline: none;
}

.blog-hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.blog-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.blog-hero-dot.is-active {
    width: 28px;
    background: #ffc248;
    border-color: #ffc248;
}

.blog-home-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.blog-home-header {
    margin-bottom: 40px;
}

.blog-home-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.blog-home-title {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Rubik', 'NimbusSanL', sans-serif;
}

.blog-home-lead {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #4b5563;
    max-width: 640px;
}

.blog-home-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-home-cats a {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1e3a5f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.blog-home-cats a:hover {
    background: #ffc248;
    border-color: #ffc248;
    color: #111;
}

.blog-cat-section {
    margin-bottom: 48px;
    scroll-margin-top: 24px;
}

.blog-cat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.blog-cat-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Rubik', 'NimbusSanL', sans-serif;
}

.blog-cat-more {
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
}

.blog-cat-more:hover {
    text-decoration: underline;
}

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

.blog-entry {
    display: block;
    margin: 0;
}

.blog-entry > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-entry time.blog-entry-date {
    display: block;
}

.blog-entry-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Rubik', 'NimbusSanL', sans-serif;
    min-height: calc(1.25em * 3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-entry-date {
    margin: 0 0 10px;
    font-size: 14px;
    color: #9ca3af;
}

.blog-entry .btn_yell {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    background-color: #ffc248;
    border-radius: 5px;
    color: #111;
    font-weight: 500;
    pointer-events: none;
}

.blog-entry img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    background: #e5e7eb;
}

.blog-entry:hover .blog-entry-title {
    color: #0b5cab;
}

@media (max-width: 900px) {
    .blog-cat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .blog-entry-title {
        font-size: 18px;
    }

    .blog-entry img {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .blog-home {
        padding: 0 0 48px;
    }

    .blog-hero {
        margin-bottom: 24px;
    }

    .blog-hero-viewport {
        max-height: none;
        min-height: 300px;
        aspect-ratio: 16 / 10;
    }

    .blog-hero-overlay {
        align-items: flex-end;
        padding: 72px 16px 72px;
        background:
            linear-gradient(180deg, rgba(8, 18, 34, 0.2) 0%, rgba(8, 18, 34, 0.78) 55%, rgba(8, 18, 34, 0.92) 100%);
    }

    .blog-hero-controls {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 14px;
    }

    .blog-hero-nav {
        width: 36px;
        height: 36px;
    }

    .blog-home-inner {
        padding: 0 16px;
    }

    .blog-home-title {
        font-size: 28px;
    }

    .blog-cat-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .blog-entry img {
        height: 200px;
    }

    .blog-cat-head h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero-slide {
        transition: none;
    }
}
