/*
 * layout.css
 * 全ページ共通パーツ: header / footer / breadcrumb / page-title / cta-section / btn / section-title / news-item
 */

/* ---------- Header ---------- */
/* 常時固定ヘッダー。トップページはメインビジュアルに重ねる透明な--light状態で
   始まり、main.js がメインビジュアルを通過したタイミングで--darkに切り替える
   (下層ページと同じ見た目になる)。下層ページは最初から--dark。 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    /* padding: 24px 0 0; */
    transition: background-color 0.2s ease;
}

.site-header--dark {
    padding: 0;
    background: var(--color-white);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.5vw, var(--spacing-lg));
    padding: 40px clamp(12px, 3vw, var(--container-padding));
    /* margin-top: 12px; */
}

.site-header__logo {
    display: block;
    background: var(--color-white);
    padding: var(--spacing-xs);
}

.site-header__logo a,
.custom-logo-link {
    display: block;
}

.site-header__logo-img,
.custom-logo {
    display: block;
    height: 24px;
    width: auto;
    max-width: none;
}

/* 言語ボタン+ナビ+お問い合わせボタンの合計幅が収まらない場合(Google翻訳で
   英語化され各ラベルが日本語より長くなった時など)、決め打ちの縮小だけでは
   お問い合わせボタンが画面外へ押し出されてしまう。flex-wrapで2行目に折り返す
   ことで、要素が見切れず必ず画面内に収まるようにする。 */
.site-header__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 3vw, 48px);
    row-gap: 12px;
}

/* Google Website Translatorウィジェット。
   デフォルトだと翻訳時にページ上部へ帯(banner)が挿入されbodyがずれ、訳文に
   黄色いハイライトが付くため、見た目を崩さないよう非表示にする。
   ウィジェット本体(セレクトボックス)の内部スタイルはGoogleが動的に生成する
   iframe/要素のため、枠線と文字サイズ程度の最小限の調整に留める。
   実体のDOM要素(.site-header__lang-group、ウィジェット本体+「原文に戻す」
   ボタンをまとめたもの)は1つのみで、SPではmain.jsが.site-mobile-nav__lang側へ
   付け替える(付け替え理由はmain.jsのコメント参照)。 */
.site-header__lang-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: clamp(11px, 0.3vw + 8.5px, 13px);
    white-space: nowrap;
}

.site-header__lang {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* 「原文(日本語)に戻す」ボタン。翻訳中(Googleが<html>に付与する
   translated-ltr/-rtlクラスがある間)のみ表示する。ウィジェット自身のプルダウンで
   日本語に選び直すと再翻訳がかかってしまう(main.jsのコメント参照)問題を避ける
   ための独自の復元導線なので、Google生成部分とは切り離した見た目にする。 */
.site-header__lang-restore {
    display: none;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-white);
    font: inherit;
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}

/* ヘッダーのlight/dark(トップページのヒーロー上/下層ページ白背景)で
   .site-header__menuと同じ配色ルールに揃える。モバイルナビ内へ付け替えた
   場合は常に紺背景なので、上記のデフォルト(白文字)のままでよい。 */
.site-header--dark .site-header__lang-restore {
    color: var(--color-black);
}

html.translated-ltr .site-header__lang-restore,
html.translated-rtl .site-header__lang-restore {
    display: inline;
}

/* ウィジェット内部(Googleが動的生成)を1行のコンパクトな表示に矯正する。
   通常のflexアイテムはこの幅で縮もうとして中の日本語テキストが折り返され
   縦長のボックスになるため、幅は縮めずテキストも折り返さない。
   Gアイコン画像は幅を取るだけで視認性に寄与しないため非表示にする。 */
.site-header__lang .goog-te-gadget-simple {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

.site-header__lang a {
    white-space: nowrap;
}

.site-header__lang .goog-te-gadget-icon {
    display: none;
}

/* base.cssの `img { display: block }` リセットがウィジェット内部の1x1スペーサー
   画像にも適用され、インラインの流れが強制改行されて縦長になっていたため上書きする。 */
.site-header__lang img {
    display: inline;
}

.goog-te-banner-frame,
/* 現行のGoogle Translateウィジェットはバナーiframeに上記の固定クラス名ではなく
   セッションごとに再生成されるが実質固定の難読化クラス名を使うため両方指定する。 */
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* PCデザインを保ったまま、幅が狭まるにつれ間隔をなめらかに詰める
   (決め打ちのブレークポイントで一気に切り替えるのではなく、1280px手前で
   文字が折り返っていた分をclamp()で吸収する)。ラベル自体はwhite-space:nowrap
   で折り返し禁止にし、間隔だけが可変になるようにする。 */
.site-header__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 2.7vw, 48px);
    row-gap: 8px;
    font-size: clamp(12px, 0.4vw + 9.3px, 15px);
    letter-spacing: 0.075em;
    color: var(--color-white);
}

.site-header__menu a {
    white-space: nowrap;
}

.site-header--dark .site-header__menu {
    color: var(--color-black);
}

.site-header__contact-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: clamp(4px, 0.75vw, var(--spacing-sm));
    padding: 4px clamp(8px, 0.75vw, 12px);
    border: 1px solid var(--color-white);
    border-radius: 4px;
    color: var(--color-white);
    font-size: clamp(12px, 0.3vw + 9.5px, 14px);
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.site-header--dark .site-header__contact-btn {
    border-color: var(--color-black);
    color: var(--color-black);
}

.site-header__contact-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/icon-mail-white.svg") center / contain no-repeat;
}

.site-header--dark .site-header__contact-icon {
    filter: invert(1);
}

/* ---------- Header (SP) ----------
   1000px以下ではPC用ナビ/CTAボタンを隠し、メールアイコン+ハンバーガーボタンに
   差し替える。ハンバーガー押下でFigma: TOP_SP_NAV_OPEN(node 240:287)通りの
   全画面オーバーレイナビ(.site-mobile-nav)を表示する(main.jsで開閉制御)。
   オーバーレイは常に青背景+白文字の単一デザインなので、light/dark切り替えは
   不要(ロゴ・ハンバーガー/メールアイコンのみ .site-header--dark でPC同様に反転)。
   このブレークポイントだけ他コンポーネントの600px基準とは別扱い:
   PCヘッダー(ナビ+お問い合わせボタンをフル表示)が実際に収まる下限が
   ちょうど1000px前後だったため、そこでハンバーガーに切り替える
   (600〜1000pxをPCヘッダーが窮屈なまま表示する中途半端な帯にしない)。
   ページ本文側の各コンポーネントは引き続き600px基準のまま。 */
.site-header__mobile-mail,
.site-header__hamburger {
    display: none;
}

.site-mobile-nav {
    display: none;
}

@media (max-width: 1000px) {
    .site-header__inner {
        padding: 24px;
    }

    .site-header--dark .site-header__inner {
        padding: 16px;
    }

    .site-header__right {
        gap: 16px;
    }

    .site-header__nav,
    .site-header__contact-btn {
        display: none;
    }

    /* この幅では言語ボタン+メールアイコン+ハンバーガーが同時に収まらず
       アイコンが画面外へ押し出されてしまうため、main.jsが要素自体を
       ハンバーガーの全画面ナビ内(.site-mobile-nav__lang)へ付け替える。
       JS実行前/無効時のフォールバックとして、まだヘッダー側の子である間だけ
       非表示にする(付け替え後は.site-header__rightの子でなくなるため
       このルールは効かなくなり、通常表示に戻る)。 */
    .site-header__right > .site-header__lang-group {
        display: none;
    }

    .site-header__mobile-mail,
    .site-header__hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .site-header__mobile-mail-icon {
        display: block;
        width: 30px;
        height: 23px;
        background: url("../images/icon-mail-outline-white.svg") center / contain no-repeat;
    }

    .site-header__hamburger-icon {
        display: block;
        width: 32px;
        height: 32px;
        background: url("../images/icon-menu-white.svg") center / contain no-repeat;
    }

    .site-header--dark .site-header__mobile-mail-icon,
    .site-header--dark .site-header__hamburger-icon {
        filter: invert(1);
    }

    /* header-darkのbody paddingはPC計測値(132px)なので、SP実測ヘッダー高さに補正する
       (light/hero版のtopページはヘッダーを画像に重ねる仕様のためpadding補正自体が無い)。 */
    body.header-dark {
        padding-top: 72px;
    }

    .site-mobile-nav:not([hidden]) {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 300;
        overflow-y: auto;
        background: var(--color-blue);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    /* main.js adds this a frame after removing [hidden], and removes it
       (then waits for the transition to finish) before restoring [hidden] -
       see openMobileNav/closeMobileNav. */
    .site-mobile-nav.is-open {
        transform: translateX(0);
    }

    .site-mobile-nav__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px;
    }

    /* main.jsが.site-header__lang(言語ウィジェット本体)をここへ移してくる
       受け皿。要素自体は付け替えられるまで空で高さを持たない。 */
    .site-mobile-nav__lang {
        display: flex;
        justify-content: flex-end;
        padding: 0 24px;
        color: var(--color-white);
    }

    .site-mobile-nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .site-mobile-nav__close-icon {
        display: block;
        width: 32px;
        height: 32px;
        background: url("../images/icon-close-circle-white.svg") center / contain no-repeat;
    }

    .site-mobile-nav__list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 40px 0;
    }

    .site-mobile-nav__item a {
        display: flex;
        flex-direction: column;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .site-mobile-nav__label {
        font-family: var(--font-en);
        font-weight: 700;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0.1em;
        color: var(--color-lightblue);
        /* opacity: 0.6; */
    }

    .site-mobile-nav__ja {
        font-family: var(--font-ja);
        font-weight: 700;
        font-size: 24px;
        color: var(--color-white);
    }

    .site-mobile-nav__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 32px 40px 40px;
        height: 80px;
        border: 1px solid var(--color-white);
        border-radius: 8px;
        color: var(--color-white);
        font-family: var(--font-ja);
        font-weight: 700;
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .site-mobile-nav__cta-icon {
        display: block;
        width: 32px;
        height: 32px;
        background: url("../images/icon-mail-outline-white.svg") center / contain no-repeat;
    }
}

body.nav-open {
    overflow: hidden;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: var(--color-blue);
    padding: var(--spacing-sm) var(--container-padding);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 14px;
    font-weight: var(--font-weight-strong);
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.breadcrumb__list a {
    text-decoration: underline;
}

.breadcrumb__item,
.breadcrumb__sep {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 現在のページ名(記事タイトルなど、最後の項目)だけは折り返さず、
   1行に収まらない分を "..." で省略する。ホーム/お知らせ等の前の
   項目は縮まずそのまま表示する。 */
.breadcrumb__item:last-child {
    flex-shrink: 1;
    min-width: 0;
}

.breadcrumb__item:last-child span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Page Title (下層ページ ヒーロー) ---------- */
.page-title {
    position: relative;
    height: 280px;
    background: var(--color-black) center / cover no-repeat;
    overflow: hidden;
}

.page-title__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 48, 140, 0.5);
}

.page-title__inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    width: fit-content;
    max-width: calc(100% - (var(--container-padding) * 2));
    padding: 100px var(--container-padding) 0;
}

.page-title__row {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
}

.page-title__en {
    font-family: var(--font-en);
    font-weight: var(--font-weight-strong);
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.page-title__line {
    flex: 1 0 0;
    height: 1px;
    background: var(--color-lightblue);
}

.page-title__ja {
    font-weight: var(--font-weight-strong);
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* ---------- Breadcrumb / Page Title (SP) ----------
   全ページ共通コンポーネントなので、ここで直せば下層ページすべてに効く。
   Figma: 採用情報_SP の breadcrumb(node 492:1433)/ page-title(node 552:1256)。 */
@media (max-width: 600px) {
    .breadcrumb {
        padding: 8px 16px;
    }

    .breadcrumb__list {
        font-size: 12px;
        gap: 16px;
    }

    .page-title {
        height: 210px;
    }

    .page-title__inner {
        max-width: calc(100% - 32px);
        padding: 133px 16px 0;
        gap: 4px;
    }

    .page-title__en {
        font-size: 14px;
    }

    .page-title__ja {
        font-size: 28px;
    }
}

/* ---------- Section Title (各セクション共通見出し) ---------- */
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-left: 5px solid var(--color-blue);
    padding: 10px var(--spacing-md);
    isolation: isolate;
}

.section-title__label {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: clamp(48px, 6vw, 88px);
    color: var(--color-lightblue);
    opacity: 0.3;
    letter-spacing: 0.1em;
    white-space: nowrap;
    z-index: 0;
}

.section-title__ja {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: var(--font-size-heading);
    letter-spacing: 0.05em;
    color: var(--color-black);
}

@media (max-width: 600px) {
    .section-title {
        padding: 10px 16px;
    }

    .section-title__label {
        font-size: 44px;
    }

    .section-title__ja {
        font-size: 20px;
    }
}

/* ---------- Button ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 16px 32px 20px;
    font-weight: 700;
    line-height: 1.25;
    font-size: 16px;
    letter-spacing: 0.05em;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(8, 48, 140, 0.25);
}

.btn:active {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--color-blue);
    color: var(--color-white);
    border-bottom: 5px solid var(--color-lightblue);
}

.btn--secondary {
    background: var(--color-white);
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
    border-bottom: 5px solid var(--color-blue);
}

.btn__icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(calc(-50% + 2px));
    width: 32px;
    height: 32px;
    background: url("../images/icon-arrow-right-white.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}

.btn:hover .btn__icon {
    transform: translateY(calc(-50% + 2px)) translateX(4px);
}

.btn--secondary .btn__icon {
    background-image: url("../images/icon-arrow-right-blue.svg");
}

@media (max-width: 600px) {
    .btn {
        padding: 20px 24px 16px;
    }
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    padding: 120px var(--container-padding);
    background: var(--color-white);
    overflow: hidden;
    text-align: center;
}

.cta-section__decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    /* border-radius: 891px; */
    opacity: 0.1;
    background: radial-gradient(43.08% 43.08% at 50% 50%, var(--blue, #08308C) 0%, rgba(8, 48, 140, 0.00) 100%);
}

.cta-section__decoration--1 {
    width: 891px;
    height: 891px;
    left: -226px;
    top: -446px;
}

.cta-section__decoration--2 {
    width: 728px;
    height: 728px;
    right: -170px;
    bottom: -300px;
}

.cta-section__heading {
    position: relative;
}

.cta-section__title {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: var(--font-size-heading);
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-top: -1.25em;
}

.cta-section__label {
    font-family: var(--font-en);
    font-weight: 700;
    line-height: 1;
    font-size: clamp(48px, 6vw, 88px);
    color: var(--color-blue);
    opacity: 0.2;
    letter-spacing: 0.1em;
}

.cta-section__text p {
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 2.5;
}

.cta-section__buttons {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

/* ---------- Footer ---------- */
.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-xl);
    padding: 80px var(--container-padding);
    background: var(--color-black);
    border-top: 16px solid var(--color-blue);
    color: var(--color-white);
    flex-wrap: wrap;
}

.site-footer__logo {
    display: inline-flex;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.site-footer__logo-img {
    display: block;
    height: 29px;
    width: auto;
}

.site-footer__info-row {
    display: flex;
    gap: var(--spacing-md);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.site-footer__info-label {
    font-weight: var(--font-weight-strong);
    white-space: nowrap;
}

.site-footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.site-footer__menu {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    font-size: 16px;
}

.site-footer__menu-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    min-width: 140px;
}

.site-footer__menu-col--product {
    gap: var(--spacing-sm);
}

.site-footer__menu-col>a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.site-footer__menu-sub {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.site-footer__menu-arrow {
    width: 0;
    height: 0;
    flex-shrink: 0;
    border-style: solid;
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent var(--color-lightblue);
}

.site-footer__menu-dash {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.site-footer__menu-dash::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--color-white);
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-sm);
}

.site-footer__privacy-link {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-decoration: underline;
    opacity: 0.8;
}

.site-footer__copyright {
    font-size: 12px;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* ---------- CTA section / Footer (SP) ----------
   全ページ共通コンポーネントなので、ここで一度直せば下層ページにもすべて効く。
   Figma: TOP_SP の cta-section(node 600:1367)/ footer(node 574:1187)。 */
@media (max-width: 600px) {
    .cta-section {
        padding: 80px 16px;
        gap: var(--spacing-xl);
    }

    .cta-section__decoration--1 {
        width: 648px;
        height: 648px;
        left: -348px;
        top: -310px;
    }

    .cta-section__decoration--2 {
        width: 608px;
        height: 608px;
        left: 57px;
        top: 252px;
        right: auto;
        bottom: auto;
    }

    .cta-section__title {
        font-size: 20px;
    }

    .cta-section__text p {
        font-size: 15px;
    }

    .cta-section__buttons {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
        padding: 48px 16px;
        text-align: center;
    }

    .site-footer__left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .site-footer__logo {
        align-self: center;
    }

    .site-footer__info {
        text-align: left;
    }

    .site-footer__bottom {
        align-items: center;
    }

    .site-footer__right {
        align-items: center;
        width: 100%;
    }

    .site-footer__menu {
        flex-direction: column;
        gap: var(--spacing-xl);
        width: 100%;
        font-size: 18px;
    }

    .site-footer__menu-col {
        display: contents;
    }

    .site-footer__menu-arrow {
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-width: 8px 0 8px 10px;
    }
}

/* ---------- News item (トップ/一覧共通) ---------- */
.news-item {
    display: block;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: var(--spacing-lg);
    transition: opacity 0.25s ease;
}

/* .reveal-item と同じ要素にホバー用transformを足すと、表示済み状態
   (.reveal-group.is-in-view .reveal-item{transform:translateY(0)})の方が
   詳細度で勝ってホバーが効かなくなるため、.reveal-itemを含めて詳細度を揃える。 */
.news-item.reveal-item:hover {
    opacity: 0.65;
}

.news-item.reveal-item:hover .news-item__title {
    color: var(--color-blue);
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.news-item__date {
    font-size: 14px;
    letter-spacing: 0.05em;
    font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
}

.news-item__cat {
    display: inline-block;
    min-width: 100px;
    padding: 4px var(--spacing-md);
    background: var(--color-gray);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.05em;
}

.news-item__title {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

/* ---------- Pagination ---------- */
.pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: 48px;
}

.pagination__item a,
.pagination__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    font-size: 14px;
    font-weight: 900;
}

.pagination__item.is-current span,
.pagination__item.is-current a {
    background: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
}

.pagination__item--arrow a,
.pagination__item--arrow span {
    border: none;
    font-size: 20px;
}