/* Public site polish. Header drawer rules stay in the page header. */

.hero-three-img img,
.lib-photo {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.hero-three-img .lib-tall {
    height: 460px;
}

.hero-three-img .lib-short {
    height: 220px;
    width: 100%;
}

.success-commitment .lib-photo,
.top-reason .lib-photo,
.compare-brokers .lib-photo,
.customer-success .lib-photo,
.empowering-investors .lib-photo,
.customer-feedback .lib-photo,
.download-apps .lib-photo,
.join-discussion .lib-photo {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.hero-breadcrumb {
    background-image: url("../images/library/reading.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(253, 173, 0, 0.16);
    color: #fdad00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-hero-ghost {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 999px;
}

.btn-hero-ghost:hover {
    background: #fff !important;
    color: #073226 !important;
}

@media (min-width: 1200px) {
    .header .menu .menu-link {
        position: relative;
    }

    .header .menu .menu-link:hover,
    .header .menu .menu-link.is-active {
        color: #fdad00 !important;
    }
}

.search-tool .tool-box.two {
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 22px 20px 24px;
    background: #fff;
    border: 1px solid #e5efe9;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(7, 50, 38, 0.06);
}

.search-tool .tool-box.two img {
    width: 52px;
    height: 52px;
    margin-bottom: 6px !important;
    object-fit: contain;
}

.search-tool .tool-box.two h5 {
    font-size: 1.05rem;
}

.section-tag,
.pricing-label {
    background: rgba(7, 50, 38, 0.08) !important;
    color: #073226 !important;
}

.section-title,
.pricing-heading,
.step-card h4,
.plan-title {
    color: #10261f !important;
}

.how-section {
    background: #f6faf8;
}

.step-card {
    border-color: #e5efe9 !important;
    box-shadow: 0 10px 28px rgba(7, 50, 38, 0.05);
}

.step-card.active,
.step-card:hover {
    border-color: #073226 !important;
    box-shadow: 0 16px 36px rgba(7, 50, 38, 0.1);
}

.step-number,
.step-icon {
    background: #073226 !important;
}

.step-icon i,
.step-number {
    color: #fdad00 !important;
}

.step-arrow {
    display: none !important;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5efe9 !important;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(7, 50, 38, 0.05);
}

.pricing-card .pricing-btn {
    margin-top: auto;
}

.pricing-section .price-box {
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;
}

.pricing-section .price-box h1 {
    font-size: 42px !important;
}

.pricing-section .price-box span {
    white-space: nowrap;
}

.pricing-card.is-popular {
    border: 2px solid #073226 !important;
}

.popular-badge {
    background: #fdad00 !important;
    color: #10261f !important;
}

.plan-features i {
    color: #0b7a45 !important;
}

.pricing-btn {
    border-color: #073226 !important;
    color: #073226 !important;
    border-radius: 999px !important;
}

.pricing-btn:hover,
.pricing-card.is-popular .pricing-btn {
    background: #073226 !important;
    border-color: #073226 !important;
    color: #fff !important;
}

.site-trust {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid #e8f0eb;
    border-bottom: 1px solid #e8f0eb;
}

.site-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.site-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f6faf8;
}

.site-trust-item i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #073226;
    color: #fdad00;
    font-size: 20px;
}

.site-trust-item strong {
    display: block;
    color: #10261f;
    font-size: 15px;
}

.site-trust-item span {
    color: #5d6b64;
    font-size: 13px;
}

.hero-breadcrumb {
    padding-top: 148px !important;
    padding-bottom: 56px !important;
}

.contact-form input,
.contact-form textarea,
#newsletterForm input {
    width: 100%;
    border: 1px solid #d7e4dc;
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
#newsletterForm input:focus {
    border-color: #073226;
}

.contact-us iframe {
    width: 100% !important;
    max-width: 100%;
    height: 420px;
}

.footer .footer-logo {
    max-width: 190px;
    height: auto;
}

.footer .menu-link:hover {
    color: #fdad00;
}

@media (max-width: 991.98px) {
    .site-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-breadcrumb {
        padding-top: 112px !important;
        padding-bottom: 36px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-three-img .lib-tall {
        height: 240px;
    }

    .hero-three-img .lib-short {
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .site-trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
