﻿@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #FAF7F4;
    color: #123C42;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #D97D4C;
    text-decoration: none;
}

    a:hover {
        color: #C06A3B;
    }

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 48px;
}

.container-wide {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 48px;
}

.btn-coral {
    background: #E08A5C;
    color: #123C42;
    border: 1px solid #E08A5C;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .btn-coral:hover {
        background: #D97D4C;
        border-color: #D97D4C;
    }

.btn-outline {
    background: transparent;
    color: #123C42;
    border: 1px solid #123C42;
    transition: background 0.15s ease;
}

    .btn-outline:hover {
        background: rgba(18,60,66,0.06);
    }

.nav-link {
    color: #EDEDE6;
    transition: color 0.15s ease;
}

    .nav-link:hover {
        color: #FFFFFF;
    }

.lang-chip {
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    font-size: 12.5px;
    font-weight: 600;
    color: #DDE9E7;
}


.toc-link {
    color: #4B4540;
    font-size: 13.5px;
    font-weight: 600;
}

    .toc-link:hover {
        color: #D97D4C;
    }

h2.legal-h2 {
    font-size: 20px;
    font-weight: 800;
    color: #123C42;
    margin: 0 0 14px 0;
    letter-spacing: -0.005em;
    scroll-margin-top: 24px;
}

p.legal-p {
    font-size: 15px;
    line-height: 1.7;
    color: #4B4540;
    margin: 0 0 16px 0;
}

.legal-section {
    padding: 34px 0;
    border-bottom: 1px solid #EFE3DB;
}

    .legal-section:last-of-type {
        border-bottom: none;
    }

ul.legal-list {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

    ul.legal-list li {
        font-size: 15px;
        line-height: 1.7;
        color: #4B4540;
        margin-bottom: 10px;
    }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    min-height: 84px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    row-gap: 8px;
}

.obj-card {
    background: #FFFFFF;
    border: 1px solid #EFE3DB;
    border-radius: 8px;
    padding: 22px;
}



.cat-pill a{
    padding: 7px 14px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #EFE3DB;
    font-size: 12.5px;
    font-weight: 600;
    color: #4B4540;
    cursor: pointer;
}

.cat-pill .count {
    color: #9AA3B5;
}
.cat-pill.active {
    background: #123C42;
    border-color: #123C42;
    color: #FFFFFF;
}

.post-card {
    background: #FFFFFF;
    border: 1px solid #EFE3DB;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .post-card.placeholder {
        border-style: dashed;
        align-items: flex-start;
        justify-content: center;
        color: #8A8378;
    }

.post-card1 {
    background: #FFFFFF;
    border: 1px solid #EFE3DB;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.post-thumb {
    height: 140px;
    background: linear-gradient(135deg, #123C42 0%, #0F2E33 100%);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.post-card1.placeholder {
    border-style: dashed;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #8A8378;
}
    

@media (max-width: 900px) {
    h1.page-h1 {
        font-size: 32px !important;
    }

    .obj-grid {
        grid-template-columns: 1fr !important;
    }

    .post-grid {
        grid-template-columns: 1fr !important;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
    .toc-grid {
        grid-template-columns: 1fr !important;
    }

}

@media (max-width: 520px) {
    .nav-links {
        gap: 16px;
    }

    .grid-4 {
        grid-template-columns: 1fr !important;
    }
}


.sealsBlockPresent img {
    max-width: 400px;
}


.seals-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

    .seals-marquee .sealsBlockPresent {
        display: inline-flex;
        list-style: none;
        padding: 0;
        margin: 0;
        animation: scrollLeft 20s linear infinite;
    }

        .seals-marquee .sealsBlockPresent li {
            flex: 0 0 auto;
            margin-right: 20px;
        }

        .seals-marquee .sealsBlockPresent img {
            max-width: 175px;
            display: block;
        }
/* Animation */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-183%);
    }
}

.container1 {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 48px;
}

.sealsBlockPresent img {
    max-width: 400px;
}

.horizontal-align {
    justify-content: center;
}

a:focus {
    outline: none !important;
}

.page-newRoundedBtn {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 25px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif !important;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

    .page-newRoundedBtn:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #003771;
        border-radius: 10px;
        z-index: -2;
    }

    .page-newRoundedBtn:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: #f7941c;
        transition: all .3s;
        border-radius: 10px;
        z-index: -1;
    }

    .page-newRoundedBtn:hover {
        color: #fff;
        text-decoration: none;
    }

        .page-newRoundedBtn:hover:before {
            width: 100%;
        }

    .page-newRoundedBtn .linkInner {
        transition: all .4s;
    }

.logoNeedBlock img {
    max-width: 175px;
}

.page-newRoundedBtn:hover .linkInner {
    color: #000 !important;
}


.blog-pagination {
    text-align: center;
    margin: 20px 0;
}

/* Dropdown submenu styling for nested menus */
.nav-dropdown .dropdown-menu {
    min-width: 100px;
    background: #0F1B33;
    border: none;
    padding: 8px 0;
}

    .nav-dropdown .dropdown-menu li {
        list-style: none;
    }

        .nav-dropdown .dropdown-menu li a {
            color: #AEB6C8;
            padding: 8px 16px;
            display: block;
            white-space: nowrap;
        }

            .nav-dropdown .dropdown-menu li a:hover {
                color: #FFFFFF;
                background: rgba(255,255,255,0.06);
            }

.nav-dropdown .dropdown-submenu {
    position: relative;
}

    .nav-dropdown .dropdown-submenu > .dropdown-menu {
        display: none;
        position: absolute;
        left: -80%;
        top: 0;
        margin-top: -6px;
        z-index: 1050;
        background: #0F1B33;
        border: none;
    }

    .nav-dropdown .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }

/* Show dropdowns on hover for non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown > .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1040;
        background: #0F1B33;
        border: none;
        padding: 8px 0;
        min-width: 100px;
    }

    .nav-dropdown:hover > .dropdown-menu,
    .nav-dropdown.open > .dropdown-menu {
        display: block;
    }

    .nav-dropdown .dropdown-submenu:hover > .dropdown-menu,
    .nav-dropdown .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }
}