.tm-seo-page {
    background: #ffffff;
}

.tm-seo-page .tm-top-bar-bg {
    height: 119px;
}

.tm-seo-page .navbar-brand.tm-logo-brand {
    white-space: normal;
}

.tm-seo-hero {
    min-height: 420px;
    padding: 120px 0 70px;
    background-image: linear-gradient(rgba(31, 54, 70, 0.56), rgba(31, 54, 70, 0.46)), url('../img/hero_bg_2.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tm-seo-hero-content {
    max-width: 860px;
    color: #ffffff;
}

.tm-seo-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #f0d37b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-seo-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: 'Nunito Sans', 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.12;
}

.tm-seo-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    line-height: 1.8;
}

.tm-seo-content {
    padding: 74px 0;
}

.tm-seo-content h2,
.tm-seo-related h2 {
    color: #2f3338;
    font-family: 'Nunito Sans', 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.tm-seo-content h3 {
    color: #2f3338;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tm-seo-content p,
.tm-seo-content li {
    color: #5d6670;
    font-size: 0.96rem;
    line-height: 1.85;
}

.tm-seo-lead {
    max-width: 900px;
    margin-bottom: 34px;
}

.tm-seo-feature-grid {
    margin-top: 28px;
}

.tm-seo-feature {
    height: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(47, 51, 56, 0.1);
    border-left: 4px solid #d4ad47;
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(24, 28, 31, 0.05);
}

.tm-seo-feature p:last-child {
    margin-bottom: 0;
}

.tm-seo-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(24, 28, 31, 0.14);
}

.tm-seo-cta-band {
    padding: 58px 0;
    background: #2f3338;
}

.tm-seo-cta-band h2 {
    color: #ffffff;
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.tm-seo-cta-band p {
    color: #dbe1e6;
    margin-bottom: 22px;
}

.tm-seo-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tm-seo-cta-actions .tm-btn-primary,
.tm-seo-cta-actions .tm-btn-white-bordered {
    width: auto;
    min-width: 210px;
}

.tm-seo-related {
    padding: 58px 0;
    background: #f4f4f4;
}

.tm-seo-related-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-seo-related-list a {
    display: block;
    height: 100%;
    padding: 20px;
    color: #2f3338;
    background: #ffffff;
    border: 1px solid rgba(47, 51, 56, 0.1);
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.45;
}

.tm-seo-related-list a:hover,
.tm-seo-related-list a:focus {
    color: #1f2429;
    border-color: rgba(212, 173, 71, 0.6);
    box-shadow: 0 10px 24px rgba(24, 28, 31, 0.08);
}

.tm-seo-price-panel {
    margin-top: 28px;
}

.tm-seo-price-panel #tmPricingSectionContent .row:first-child {
    display: none;
}

.tm-seo-contact-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(47, 51, 56, 0.1);
    border-left: 4px solid #d4ad47;
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(24, 28, 31, 0.05);
}

.tm-seo-contact-card a {
    color: #2f3338;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-seo-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0 0;
}

.tm-seo-footer-links a {
    color: #d4ad47;
    font-weight: 600;
}

.tm-home-topic-links {
    padding: 68px 0;
    background: #ffffff;
}

.tm-home-topic-links h2 {
    color: #2f3338;
    font-family: 'Nunito Sans', 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.tm-home-topic-links p {
    max-width: 780px;
    margin: 0 auto 28px;
    color: #5d6670;
}

.tm-home-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tm-home-topic-card {
    display: block;
    height: 100%;
    padding: 22px;
    color: #2f3338;
    background: #f8f8f8;
    border: 1px solid rgba(47, 51, 56, 0.09);
    border-left: 4px solid #d4ad47;
    border-radius: 6px;
}

.tm-home-topic-card strong {
    display: block;
    margin-bottom: 8px;
    color: #2f3338;
    font-size: 1.08rem;
}

.tm-home-topic-card span {
    display: block;
    color: #5d6670;
    line-height: 1.7;
}

.tm-home-topic-card:hover,
.tm-home-topic-card:focus {
    color: #2f3338;
    background: #ffffff;
    border-color: rgba(212, 173, 71, 0.55);
    box-shadow: 0 12px 28px rgba(24, 28, 31, 0.08);
}

@media screen and (max-width: 991px) {
    .tm-seo-page .tm-top-bar-bg {
        height: 65px;
    }

    .tm-seo-hero {
        min-height: 360px;
        padding: 88px 0 58px;
    }

    .tm-seo-hero h1 {
        font-size: 2.35rem;
    }

    .tm-seo-related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-home-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .tm-seo-hero h1 {
        font-size: 2rem;
    }

    .tm-seo-content {
        padding: 54px 0;
    }

    .tm-seo-related-list {
        grid-template-columns: 1fr;
    }

    .tm-home-topic-grid {
        grid-template-columns: 1fr;
    }

    .tm-seo-cta-actions .tm-btn-primary,
    .tm-seo-cta-actions .tm-btn-white-bordered {
        width: 100%;
    }
}
