/* 
 Theme Name:   expert-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     expert-finance-manager
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --primary: #29579d;
    --secondary: #52e5b0;
}

.blog-area {
    padding: 0;
}

section {
    padding: 20px 0;
    margin: 20px 0;
}

.post-items p,
.post-items h2,
.post-items h3,
.post-items ul {
    margin-bottom: 1rem;
}

.post-items ul {
    padding-left: 2rem !important;
}

.post-items ul li {
    list-style: circle;
}

@media screen and (min-width: 1700px) and (max-width: 1900px) {
    .container {
        max-width: 1320px !important;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1320px !important;
    }
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-area p {
    color: #fff !important;
}

.footer-area a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-area a:hover {
    opacity: 1;
}

.footer-bottom {
    line-height: 1.6;
}

.footer-area img {
    filter: brightness(0) invert(1);
}

.main-section-style-h3-list .box {
    height: 100%;
    padding: 1.75rem 2rem;
    border: 1px solid color-mix(in srgb, var(--primary) 14%, #fff);
    border-radius: 16px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--secondary) 10%, #fff) 0%,
            var(--box-color, #fff) 48%,
            color-mix(in srgb, var(--primary) 7%, #fff) 100%);
    box-shadow:
        0 2px 5px rgba(41, 87, 157, 0.04),
        0 14px 30px rgba(41, 87, 157, 0.09);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.main-section-style-h3-list .box h3 {
    margin-bottom: 0.9rem;
    color: var(--primary);
}

.main-section-style-h3-list .box:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(41, 87, 157, 0.05),
        0 20px 38px rgba(41, 87, 157, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .main-section-style-h3-list .box {
        transition: none;
    }

    .main-section-style-h3-list .box:hover {
        transform: none;
    }
}

.main-section-style-h3-grid .box {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 2rem;
    border: 0;
    border-radius: 18px 4px 18px 4px;
    background:
        linear-gradient(128deg,
            transparent 0 42%,
            rgba(41, 87, 157, 0.18) 42% 44%,
            transparent 44%),
        linear-gradient(128deg,
            #52e5b0 0 43%,
            #35c994 43% 100%);
    color: #123660;
    box-shadow: 0 14px 30px rgba(20, 53, 105, 0.18);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.main-section-style-h3-grid .box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 76px;
    height: 76px;
    background: var(--primary);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.main-section-style-h3-grid .box h3 {
    display: inline-block;
    max-width: calc(100% - 2rem);
    margin: 0 0 1.25rem;
    padding: 0.55rem 0.9rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 5px 5px 0 rgba(9, 31, 68, 0.2);
}

.main-section-style-h3-grid .box p,
.main-section-style-h3-grid .box li {
    color: #000;
}

.main-section-style-h3-grid .box a {
    color: var(--primary);
}

.main-section-style-contrast {
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: 16px;
    color: #fff;
    background:
        linear-gradient(120deg,
            transparent 0 68%,
            rgba(82, 229, 176, 0.16) 68% 82%,
            transparent 82%),
        linear-gradient(155deg,
            #29579d 0%,
            #193d77 55%,
            #102d5c 100%);
    box-shadow: 0 16px 36px rgba(16, 45, 92, 0.2);
}

.main-section-style-contrast h2,
.main-section-style-contrast h3,
.main-section-style-contrast p,
.main-section-style-contrast li {
    color: inherit;
}

.main-section-style-contrast a {
    color: var(--secondary);
}

section h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    padding: 0 0.75rem 1rem;
    color: var(--primary);
    text-align: center;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(100%, 140px);
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg,
            var(--secondary) 0 35%,
            var(--primary) 35% 100%);
    transform: translateX(-50%);
}

.main-section-style-contrast h2 {
    color: #fff;
}

.main-section-style-contrast h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(100%, 140px);
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg,
            var(--secondary) 0 35%,
            #fff 35% 100%);
    transform: translateX(-50%);
}

.main-navigation ul,
.main-navigation .menu ul {
    display: flex;
    gap: 20px 10px;
    flex-wrap: wrap;
    justify-content: center;
}