:root {
    --wpd-primary: #0d4f8a;
    --wpd-accent: #f48a1f;
    --wpd-dark: #1f2a37;
    --wpd-soft: #f4f7fb;
    --wpd-border: #dde5ef;
}

.wpd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--wpd-primary);
    background: var(--wpd-primary);
    color: #fff;
    font-weight: 600;
    transition: all .25s ease;
}

.wpd-btn:hover {
    background: #0a3c69;
    color: #fff;
}

.wpd-btn--ghost {
    background: transparent;
    border-color: #fff;
}

.wpd-link-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--wpd-primary);
}

.wpd-link-more:hover {
    color: var(--wpd-accent);
}

.wpd-page-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wpd-border);
}

.wpd-page-head .title {
    margin: 0;
}

.wpd-page-head__desc {
    margin: 8px 0 0;
    color: #5f6f85;
}

.wpd-home-hero {
    position: relative;
    margin-bottom: 24px;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(135deg, #0d4f8a 0%, #0a2e52 100%);
    background-size: cover;
    background-position: center;
}

.wpd-home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(9, 28, 49, .86) 0%, rgba(9, 28, 49, .54) 44%, rgba(9, 28, 49, .2) 100%);
}

.wpd-home-hero__inner {
    position: relative;
    z-index: 2;
    padding: 44px 28px;
    max-width: 760px;
    color: #fff;
}

.wpd-home-hero__eyebrow {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
}

.wpd-home-hero__title {
    margin: 6px 0 10px;
    font-size: 36px;
    line-height: 1.2;
}

.wpd-home-hero__summary {
    margin: 0 0 16px;
    opacity: .92;
}

.wpd-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.wpd-home-layout__main,
.wpd-home-layout__side .wpd-side-card,
.wpd-section,
.wpd-news-featured,
.wpd-news-card,
.wpd-related-item {
    border: 1px solid var(--wpd-border);
    border-radius: 14px;
    background: #fff;
}

.wpd-home-layout__main {
    padding: 20px;
}

.wpd-home-article {
    line-height: 1.7;
    color: #2b3645;
}

.wpd-home-layout__side {
    display: grid;
    gap: 14px;
}

.wpd-side-card {
    padding: 16px;
}

.wpd-side-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.wpd-side-card ul {
    margin: 0;
    padding-left: 16px;
}

.wpd-side-card li {
    margin-bottom: 8px;
}

.wpd-section {
    margin-bottom: 24px;
    padding: 20px;
}

.wpd-section-head h2 {
    margin: 0;
    font-size: 28px;
}

.wpd-section-head p {
    margin: 6px 0 0;
    color: #5f6f85;
}

.wpd-service-grid,
.wpd-news-grid,
.wpd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.wpd-service-card,
.wpd-news-card,
.wpd-related-item {
    padding: 16px;
}

.wpd-service-card h3,
.wpd-news-card h3,
.wpd-related-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
}

.wpd-news-card__thumb,
.wpd-news-featured__thumb,
.wpd-slider-item__thumb {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.wpd-news-card__thumb img,
.wpd-news-featured__thumb img,
.wpd-slider-item__thumb img,
.wpd-slider-fallback img {
    width: 100%;
    height: auto;
    display: block;
}

.wpd-news-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    margin-bottom: 18px;
}

.wpd-news-featured__body h2 {
    margin: 8px 0;
    font-size: 26px;
}

.wpd-news-meta,
.wpd-article-meta {
    color: #66768f;
    font-size: 13px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.wpd-news-detail-page .main_news {
    margin: 8px 0;
    font-size: 22px;
    line-height: 1.3;
}

.wpd-article-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
}

.wpd-article-layout__toc {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.wpd-article-layout__content,
.wpd-static-content,
.wpd-page-intro,
.wpd-news-list-content {
    padding: 16px;
    border: 1px solid var(--wpd-border);
    border-radius: 14px;
    background: #fff;
}

.wpd-article-layout__content {
    line-height: 1.75;
}

.wpd-article-layout__content img,
.wpd-static-content img,
.wpd-home-article img,
.wpd-page-intro__content img {
    max-width: 100%;
    height: auto;
}

.wpd-share-box {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--wpd-border);
    border-radius: 12px;
    background: #fff;
}

.wpd-related-news {
    margin-top: 20px;
}

.wpd-related-news h2 {
    margin-bottom: 12px;
}

.wpd-pagination {
    margin-top: 18px;
}

.wpd-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #f48a1f, #0d4f8a);
    z-index: 9999;
    transition: width .1s linear;
}

.wpd-slideshow {
    position: relative;
}

.wpd-slider-item {
    position: relative;
}

.wpd-slider-item__info {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    max-width: 560px;
    background: rgba(18, 35, 56, .68);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    padding: 16px;
    color: #fff;
}

.wpd-slider-item__label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
}

.wpd-slider-fallback {
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
}

.wpd-menu-shell .wpd-menu-topline {
    gap: 12px;
}

.wpd-menu-topline__contact,
.wpd-menu-topline__meta,
.wpd-mobile-contact {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.wpd-mobile-top {
    padding: 10px 0;
}

@media (max-width: 1199px) {
    .wpd-service-grid,
    .wpd-news-grid,
    .wpd-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wpd-article-layout {
        grid-template-columns: 1fr;
    }

    .wpd-article-layout__toc {
        position: static;
    }
}

@media (max-width: 991px) {
    .wpd-home-layout,
    .wpd-news-featured {
        grid-template-columns: 1fr;
    }

    .wpd-home-hero__title,
    .wpd-news-detail-page .main_news {
        font-size: 28px;
    }

    .wpd-slider-item__info {
        left: 12px;
        right: 12px;
        bottom: 10px;
    }
}

@media (max-width: 767px) {
    .wpd-home-hero {
        min-height: 270px;
    }

    .wpd-home-hero__inner,
    .wpd-section,
    .wpd-home-layout__main,
    .wpd-news-card,
    .wpd-service-card,
    .wpd-article-layout__content,
    .wpd-static-content {
        padding: 14px;
    }

    .wpd-service-grid,
    .wpd-news-grid,
    .wpd-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wpd-menu-topline__meta {
        display: none;
    }

    .wpd-page-head__desc {
        font-size: 14px;
    }
}

#menu_top.wpd-menu-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(20, 40, 70, .14);
}

.tam-home {
    font-family: "Roboto", Arial, sans-serif;
    color: #222;
}

.tam-hero {
    position: relative;
    min-height: 520px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tam-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 91, 150, .56);
}

.tam-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 20px;
    color: #fff;
}

.tam-hero__inner h1 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.tam-hero__inner p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 auto 30px;
}

.tam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 24px;
    border: 1px solid #fff;
    color: #0f5d96;
    background: #fff;
    font-weight: 600;
}

.tam-title-bar {
    background: #ac1d24;
    color: #fff;
    text-align: center;
    padding: 18px 10px;
}

.tam-title-bar h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
}

.tam-service-highlight {
    padding: 94px 10px 36px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tam-service-highlight:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .3);
}

.tam-service-card {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    background: rgba(168, 20, 28, .82);
    border-radius:18px;
    min-height: 210px;
    padding: 30px 100px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tam-service-card__content {
    text-align: center;
}

.tam-service-card__content h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
    text-transform: none;
}

.tam-service-card__content p {
    margin: 0 auto;
    max-width: 840px;
    font-size: 16px;
}

.tam-arrow {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.tam-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.tam-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d9d9d9;
}

.tam-dots .is-active {
    background: #b71f25;
}

.tam-why {
    background: #f4f4f4;
    padding: 58px 0 60px;
}

.tam-why__head {
    text-align: center;
    position: relative;
    margin-bottom: 34px;
}

.tam-why__head p {
    font-size: 20px;
    font-weight: 700;
    color: #767676;
    margin: 0;
}

.tam-why__head h2 {
    font-size: 24px;
    color: #b51d24;
    margin: 0;
    font-weight: 600;
}

.tam-why__head span {
    font-size: 61px;
    position: absolute;
    top: -7px;
    font-weight: 600;
}

.tam-why__grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 0 10px;
}

.tam-why-card {
    border: 1px solid #be2a2f;
    border-radius: 14px;
    background: #fff;
    padding: 30px 20px 20px;
    position: relative;
}

.tam-why-card img {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
}

.tam-why-card h3 {
    margin: 16px 0 12px;
    font-size: 22px;
    color: #b61d24;
    text-align: center;
}

.tam-why-card p {
    margin: 0;
    line-height: 1.7;
    font-size: 15px;
    text-align: justify;
}

.tam-partner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 32px 10px 42px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 28px;
    align-items: center;
}

.tam-partner__text h3 {
    font-size: 18px;
    color: #b61d24;
    margin-bottom: 18px;
    font-weight: 600;
}

.tam-partner__row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.tam-partner__row p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.tam-partner__image img {
    width: 100%;
}

.tam-home-footer__main {
    background-size: cover;
    background-position: center;
    padding: 48px 0 34px;
    color: #fff;
    background: #a22227;
}

.tam-home-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 24px;
}

.tam-home-footer__col h3,
.tam-home-footer__col h4,
.tam-home-footer__socials h5 {
    margin: 0 0 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
}

.tam-home-footer__col p,
.tam-home-footer__col li a {
    color: #fff;
    font-size: 16px;
    line-height: 2;
}

.tam-home-footer__col ul {
    margin: 0;
}

.tam-home-footer__socials div {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.tam-home-footer__socials img {
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.tam-home-footer__bottom {
    background: #5b0f16;
    color: #fff;
    text-align: center;
    padding: 12px 0 10px;
}

.tam-home-footer__bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1199px) {
    .tam-hero__inner h1 {
        font-size: 38px;
    }

    .tam-hero__inner p,
    .tam-service-card__content p,
    .tam-why-card p,
    .tam-home-footer__col p,
    .tam-home-footer__col li a,
    .tam-partner__row p,
    .tam-home-footer__bottom p {
        font-size: 14px;
    }

    .tam-title-bar h2,
    .tam-service-card__content h3,
    .tam-why__head p,
    .tam-why__head h2,
    .tam-why-card h3,
    .tam-partner__text h3,
    .tam-home-footer__col h3,
    .tam-home-footer__col h4,
    .tam-home-footer__socials h5 {
        font-size: 22px;
    }

    .tam-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tam-hero {
        min-height: 360px;
    }

    .tam-title-bar h2 {
        font-size: 22px;
    }

    .tam-service-card {
        padding: 20px 14px;
    }

    .tam-service-card__content h3,
    .tam-why__head h2,
    .tam-why__head p,
    .tam-partner__text h3,
    .tam-home-footer__col h3,
    .tam-home-footer__col h4,
    .tam-home-footer__socials h5 {
        font-size: 20px;
    }

    .tam-why__head span {
        font-size: 34px;
    }

    .tam-why__grid,
    .tam-partner,
    .tam-partner__row,
    .tam-home-footer__grid {
        grid-template-columns: 1fr;
    }
}
