:root {
    --primary-01: #2D3485;
    --primary-02: #439754;
    --primary-03: #F9DA2D;
    --secondary-01: #D03832;
    --secondary-02: #216699;
    --secondary-03: #518FCC;
    --secondary-04: #7BF507;
    --secondary-05: #E1E8EC;
    --secondary-06: #FFFFFF;
    --gray-01: #0C111D;
    --gray-02: #101828;
    --gray-03: #182230;
    --gray-04: #344054;
    --gray-05: #475467;
    --gray-06: #667085;
    --gray-07: #98A2B3;
    --gray-08: #D0D5DD;
    --gray-09: #EAECF0;
    --gray-10: #F2F4F7;
    --gray-11: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    background-color: var(--gray-11);
    color: var(--gray-06);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background-color: var(--secondary-06);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-09);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.header__nav-link {
    color: var(--gray-02);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.header__nav-link:hover {
    color: var(--primary-01);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__divider {
    width: 1px;
    height: 32px;
    background-color: var(--gray-09);
}

.header__cta {
    background-color: transparent;
    color: var(--primary-01);
    padding: 10px 28px;
    border: 1px solid var(--primary-01);
    border-radius: 64px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.header__cta:hover {
    background-color: var(--primary-01);
    color: var(--secondary-06);
    transform: translateY(-1px);
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 7.4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.header__hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--gray-02);
    transition: all 0.3s;
    border-radius: 2px;
}

.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-06);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
}

.header__mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
}

.header__mobile-menu-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 100vh;
}

.header__mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-09);
}

.header__mobile-logo {
    height: 32px;
    width: auto;
}

.header__close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gray-02);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.header__close-btn:hover {
    color: var(--primary-01);
}

.header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header__mobile-link {
    color: var(--gray-02);
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-09);
    transition: color 0.2s;
}

.header__mobile-link:hover {
    color: var(--primary-01);
}

.header__mobile-cta {
    background-color: var(--primary-01);
    color: var(--secondary-06);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    text-align: center;
}

.header__mobile-cta:hover {
    transform: translateY(-2px);
}

.hero {
    background-color: var(--primary-01);
    padding: 80px 0 100px;
    text-align: center;
    color: var(--secondary-06);
    position: relative;
    background-repeat: repeat;
}

.hero__mascot {
    width: 100%;
    max-width: 310px;
    height: auto;
    object-fit: contain;
}

.hero__title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-03);
    line-height: 112%;
}

.hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--secondary-06);
    margin: 0 auto 48px;
}

.hero__search-wrapper {
    max-width: 732px;
    margin: 0 auto;
}

.hero__search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.hero__search-input {
    width: 100%;
    padding: 18px 60px 18px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    background-color: var(--secondary-06);
    color: var(--gray-02);
}

.hero__search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: color 0.2s, transform 0.2s;
    border-radius: 50%;
}

.hero__search-btn:hover {
    color: var(--primary-01);
    transform: scale(1.1);
}

.hero__search-btn:active {
    transform: scale(0.95);
}

.posts {
    padding: 64px 0;
}

.posts__top-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 40px;
}

.posts__featured {
    background-color: var(--secondary-06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.posts__featured:hover {
    transform: translateY(-4px);
}

.posts__featured-image {
    height: 360px;
    overflow: hidden;
}

.posts__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.posts__featured-content {
    padding: 28px;
}

.posts__category {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-02);
    margin-bottom: 12px;
}

.posts__featured-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-01);
    line-height: 1.3;
    margin-bottom: 12px;
}

.posts__featured-excerpt {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--gray-06);
}

.posts__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-06);
}

.posts__duration,
.posts__date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.posts__duration svg,
.posts__date svg {
    flex-shrink: 0;
}

.posts__latest {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.posts__list-item {
    padding: 20px;
    padding: 24px 32px;
    border-radius: 16px;
    background-color: var(--secondary-06);
    transition: transform 0.3s;
}

.posts__list-item:hover {
    transform: translateY(-4px);
}

.posts__list-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-01);
    line-height: 1.4;
    margin-bottom: 8px;
}

.posts__list-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 8px;
    color: var(--gray-06);
}

.posts__list-meta time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.posts__list-meta svg {
    flex-shrink: 0;
}

.posts__list-divide {
    width: 1px;
    height: 15px;
    border: 0;
    background-color: var(--gray-08);
}

.posts__list-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-02);
}

.posts__bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.list-item__date::before {
    content: '•';
    margin-right: 8px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.banner-section {
    padding: 40px 0;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.posts-section {
    padding: 60px 0;
}

.posts-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.posts-section__info {
    flex: 1;
}

.posts-section__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 112%;
    color: var(--primary-02);
    margin-bottom: 8px;
}

.posts-section__desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}

.posts-section__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--gray-06);
}

.posts-section__link svg {
    width: 18px;
    height: 18px;
}

.posts-section__link:hover,
.posts-section__link:hover svg path {
    color: var(--primary-01);
    stroke: var(--primary-01);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 40px;
}

.post-card {
    background-color: var(--secondary-06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card__image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card__content {
    padding: 24px;
}

.post-card__category {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-02);
    margin-bottom: 12px;
}

.post-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-01);
    line-height: 112%;
    margin-bottom: 16px;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-06);
}

.post-card__duration,
.post-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.footer {
    background-color: var(--secondary-06);
    padding: 64px 0 40px;
}

.footer__top-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr 0.9fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer__brand-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__logo-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer__logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.footer__description {
    font-size: 14px;
    line-height: 1.65;
}

.footer__info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__column-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    color: var(--primary-01);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.footer__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__icon {
    min-width: 24px;
    min-height: 24px;
}

.footer__info-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.footer__small-text {
    font-size: 12px;
}

.footer__text-line {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
}

.footer__middle-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__social-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__social-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-01);
}

.footer__social-icons {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-03);
    border-radius: 50%;
    transition: transform 0.2s, opacity 0.2s;
}

.footer__social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer__partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.footer__apps {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer__app-badge {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer__legal {
    margin-top: 48px;
}

.footer__divider {
    height: 1px;
    background-color: var(--gray-09);
    margin-bottom: 32px;
}

.footer__disclaimer {
    font-size: 11px;
    line-height: 1.75;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 20px;
}

.footer__copyright {
    font-size: 12px;
    text-align: center;
}

.single {
    min-height: 100vh;
    padding: 40px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.single__container {
    max-width: 900px;
    margin: 0 auto;
}

.single__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.single__breadcrumb-link {
    text-decoration: none;
    transition: color 0.2s;
}

.single__breadcrumb-link:hover {
    color: var(--primary-01);
}

.single__breadcrumb-separator,
.single__breadcrumb-current,
.single__breadcrumb-link {
    color: var(--gray-06);
}

.single__header {
    margin-bottom: 40px;
}

.single__category {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-02);
    margin-bottom: 12px;
}

.single__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary-01);
    margin: 0 0 24px 0;
}

.single__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.single__hero {
    margin: 0 0 40px 0;
}

.single__hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.single__content {
    max-width: 100%;
    color: var(--gray-05);
    margin-bottom: 25px;
}

.single__subtitle {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-01);
    margin: 0 0 32px 0;
}

@media (max-width: 1024px) {
    .footer__top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer__middle-row {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 16px 0;
    }

    .header__content {
        justify-content: space-between;
        gap: 16px;
    }

    .header__logo-img {
        height: 32px;
    }

    .header__nav {
        display: none;
    }

    .header__actions {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero__title {
        font-size: 42px;
        margin-bottom: 16px;
        padding: 0 20px;
    }

    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 24px;
    }

    .hero__search-wrapper {
        padding: 0 20px;
    }

    .hero__search-input {
        padding: 16px 56px 16px 24px;
        font-size: 15px;
    }

    .banner-section {
        padding: 20px 0;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .posts {
        padding: 48px 0;
    }

    .posts__top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .posts__featured-image {
        height: 240px;
    }

    .posts__featured-content {
        padding: 20px;
    }

    .posts__featured-title {
        font-size: 22px;
    }

    .posts__featured-excerpt {
        font-size: 15px;
    }

    .posts__list-title {
        font-size: 15px;
    }

    .posts__list-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .posts__bottom-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .posts-section {
        padding: 40px 0;
    }

    .posts-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .posts-section__title {
        font-size: 28px;
    }

    .posts-section__desc {
        font-size: 15px;
    }

    .posts-section__link {
        align-self: flex-start;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .post-card__image {
        height: 200px;
    }

    .post-card__content {
        padding: 20px;
    }

    .post-card__title {
        font-size: 18px;
    }

    .footer {
        padding: 48px 0 32px;
    }

    .footer__brand-col {
        text-align: center;
        align-items: center;
    }

    .footer__logo-section {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer__logo {
        height: 40px;
    }

    .footer__description {
        text-align: center;
        font-size: 13px;
    }

    .footer__info-col {
        text-align: center;
    }

    .footer__column-title {
        font-size: 14px;
        text-align: center;
    }

    .footer__info-item {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .footer__info-text {
        text-align: center;
        font-size: 13px;
    }

    .footer__text-line {
        text-align: center;
        font-size: 13px;
    }


    .footer__social-section {
        align-items: center;
        order: 1;
    }

    .footer__social-title {
        text-align: center;
        font-size: 14px;
    }

    .footer__social-icons {
        justify-content: center;
    }

    .footer__apps {
        justify-content: center;
        order: 2;
        gap: 8px;
    }

    .footer__app-badge {
        height: 36px;
    }

    .footer__partners {
        flex-wrap: wrap;
        gap: 24px;
        order: 3;
    }

    .footer__legal {
        margin-top: 40px;
    }

    .footer__divider {
        margin-bottom: 24px;
    }

    .footer__disclaimer {
        font-size: 10px;
        line-height: 1.7;
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .footer__copyright {
        font-size: 11px;
    }

    .single {
        padding: 24px 16px;
    }

    .single__breadcrumb {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .single__category {
        font-size: 15px;
    }

    .single__title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .single__meta {
        gap: 16px;
    }

    .single__hero {
        margin-bottom: 32px;
    }

    .single__subtitle {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

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

    .featured__grid {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 480px) {
    .single {
        padding: 20px 16px;
    }

    .single__breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .single__category {
        font-size: 14px;
    }

    .single__title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .single__meta {
        gap: 12px;
    }

    .single__hero {
        margin-bottom: 24px;
    }

    .single__hero-image {
        border-radius: 12px;
    }

    .single__subtitle {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
}

.single__content p {
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.single__content p:last-child {
  margin-bottom: 0;
}

.single__content br {
  display: block;
  content: "";
  margin-top: 0.5em;
}

.single__content > * + * {
  margin-top: 1.5em;
}