:root {
    --color-ink: #1f2933;
    --color-muted: #667085;
    --color-navy: #15345b;
    --color-blue: #21638c;
    --color-red: #c54a3c;
    --color-teal: #187c70;
    --color-gold: #b3832f;
    --color-paper: #f6f7f4;
    --color-soft: #eef3f5;
    --color-line: #d8dee7;
    --color-white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(21, 52, 91, 0.12);
    --container: 1180px;
    --blog-hero-image: url("assets/images/blog-hero-practical-knowledge.svg");
    --article-sidebar-offset: 148px;
    --article-anchor-offset: 150px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--color-white);
    background: var(--color-navy);
}

.skip-link:focus {
    top: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(12px);
}

.header-top {
    color: var(--color-white);
    background: var(--color-navy);
    font-size: 13px;
}

.header-top-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-top p {
    margin: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.header-contact a {
    font-weight: 700;
}

.header-phone {
    color: var(--color-white);
    font-size: 15px;
}

.header-phone::before {
    content: "TEL ";
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.header-inquiry {
    padding: 7px 12px;
    color: var(--color-white);
    background: var(--color-red);
    border-radius: 3px;
    line-height: 1.3;
}

.header-main {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--color-white);
    background: var(--color-navy);
    border: 3px solid #d8c16e;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1;
}

.brand-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.brand-text strong {
    color: var(--color-navy);
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.brand-text small {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.2;
}

.global-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}

.global-nav a,
.nav-link {
    padding: 11px 10px;
    border-bottom: 2px solid transparent;
}

.global-nav a:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
    color: var(--color-red);
    border-bottom-color: var(--color-red);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    z-index: 80;
    min-width: 220px;
    display: grid;
    padding: 0;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    box-shadow: 0 16px 34px rgba(21, 52, 91, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown a {
    display: block;
    padding: 13px 18px;
    color: var(--color-ink);
    background: var(--color-white);
    border-bottom: 1px solid #edf0f3;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.nav-dropdown a:last-child {
    border-bottom: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
    color: var(--color-red);
    background: #f7f8f9;
    border-bottom-color: #edf0f3;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 360px;
    overflow: hidden;
    padding: clamp(58px, 7vh, 74px) 0 clamp(46px, 6vh, 56px);
    background:
        linear-gradient(90deg, rgba(9, 27, 48, 0.96) 0%, rgba(13, 36, 63, 0.92) 41%, rgba(21, 52, 91, 0.58) 68%, rgba(21, 52, 91, 0.24) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 29, 49, 0.18)),
        var(--blog-hero-image);
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid rgba(21, 52, 91, 0.18);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--color-white);
    font-size: 44px;
    line-height: 1.28;
    letter-spacing: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
    overflow-wrap: anywhere;
}

.hero-lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    overflow-wrap: anywhere;
}

.hero-lead span {
    display: block;
}

.hero-mobile-break {
    display: none;
}

.blog-hero .eyebrow {
    color: #e7c46b;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button::after {
    content: ">";
    font-weight: 700;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--color-white);
    background: var(--color-red);
    border-color: var(--color-red);
}

.button-primary:hover {
    color: var(--color-red);
    background: var(--color-white);
}

.button-secondary {
    color: var(--color-navy);
    background: var(--color-white);
    border-color: var(--color-line);
}

.button-secondary:hover {
    border-color: var(--color-navy);
}

.button-inline {
    color: var(--color-white);
    background: var(--color-navy);
    border-color: var(--color-navy);
}

.button-inline:hover {
    color: var(--color-navy);
    background: var(--color-white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red);
    font-weight: 700;
}

.text-link::after {
    content: ">";
    font-weight: 700;
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 46px 0 70px;
    align-items: start;
}

.main-column {
    display: grid;
    gap: 48px;
}

.section-block {
    scroll-margin-top: 170px;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: 30px;
    line-height: 1.35;
}

.row-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.archive-link {
    color: var(--color-red);
    font-weight: 700;
}

.archive-link::after {
    content: " >";
}

.featured-card {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.post-meta span,
.post-meta a {
    color: var(--color-teal);
}

.featured-content h3,
.article-card h3 {
    margin: 0;
    color: var(--color-navy);
    line-height: 1.45;
}

.featured-content h3 {
    font-size: 28px;
}

.featured-content p {
    margin: 16px 0 24px;
    color: #4c5966;
}

.featured-content .button {
    margin-top: 18px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
    border-color: rgba(197, 74, 60, 0.45);
    box-shadow: 0 16px 34px rgba(21, 52, 91, 0.1);
    transform: translateY(-2px);
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.article-body .post-meta {
    margin-bottom: 8px;
    font-size: 12px;
}

.article-card h3 {
    font-size: 19px;
    line-height: 1.42;
}

.article-card h3 a,
.featured-content h3 a {
    color: inherit;
}

.article-card p {
    display: -webkit-box;
    margin: 8px 0 14px;
    overflow: hidden;
    color: var(--color-muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-body .text-link {
    margin-top: auto;
    font-size: 14px;
}

.article-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
}

.article-card-tags a,
.article-tags a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    padding: 4px 9px;
    color: var(--color-blue);
    background: #eef5f8;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.article-card-tags a:hover,
.article-tags a:hover {
    color: var(--color-white);
    background: var(--color-blue);
}

.featured-card--link {
    display: block;
}

.featured-card-link,
.article-card-link,
.featured-visual-link,
.article-card-visual-link {
    display: grid;
    color: inherit;
    height: 100%;
}

.featured-card-link {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
}

.featured-visual-link {
    display: block;
    min-height: 100%;
}

.article-card-visual-link {
    display: block;
    height: auto;
}

.featured-visual,
.article-card-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 100%;
    padding: 24px;
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(21, 52, 91, 0.94), rgba(24, 124, 112, 0.86)),
        linear-gradient(45deg, rgba(197, 74, 60, 0.62), rgba(179, 131, 47, 0.34));
}

.featured-visual.has-image,
.article-card-visual.has-image {
    background: var(--color-navy);
}

.featured-visual img,
.article-card-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-visual::before,
.article-card-visual::before {
    content: "";
    position: absolute;
    inset: auto -16% 14% auto;
    width: 46%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
}

.featured-visual.has-image::before,
.article-card-visual.has-image::before {
    content: none;
}

.article-card-link {
    grid-template-rows: auto 1fr;
}

.article-card-visual {
    min-height: 138px;
    padding: 18px;
}

.article-page {
    background: var(--color-paper);
}

.article-detail-hero {
    border-bottom: 1px solid var(--color-line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
        linear-gradient(135deg, #f9faf7, #e9f2f1);
}

.article-detail-hero--image {
    background:
        linear-gradient(90deg, rgba(8, 23, 44, 0.96) 0%, rgba(8, 23, 44, 0.9) 38%, rgba(8, 23, 44, 0.46) 68%, rgba(8, 23, 44, 0.62) 100%),
        var(--article-hero-image),
        linear-gradient(135deg, #102b4c, #1a776f);
    background-position: center;
    background-size: cover;
}

.article-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 44px;
    padding: 54px 0 50px;
}

.article-hero-copy {
    min-width: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--color-blue);
}

.post-category {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 5px 11px;
    color: var(--color-red);
    background: #fff0ed;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.article-hero-copy h1 {
    max-width: 900px;
    margin: 0;
    color: var(--color-navy);
    font-size: 40px;
    line-height: 1.34;
    overflow-wrap: anywhere;
}

.article-detail-hero--image .breadcrumb,
.article-detail-hero--image .breadcrumb a,
.article-detail-hero--image .article-summary {
    color: rgba(255, 255, 255, 0.86);
}

.article-detail-hero--image .article-hero-copy h1 {
    color: var(--color-white);
}

.article-detail-hero--image .post-category,
.article-detail-hero--image .article-tags span,
.article-detail-hero--image .article-tags a {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.article-detail-hero--image .article-hero-panel {
    background: rgba(255, 255, 255, 0.94);
}

.article-summary {
    max-width: 840px;
    margin: 22px 0 0;
    color: #3f4b57;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.article-tags span {
    padding: 7px 10px;
    color: var(--color-blue);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.article-tags a {
    min-height: 30px;
    padding: 7px 10px;
    background: var(--color-white);
    border-color: var(--color-line);
    font-size: 13px;
}

.article-hero-panel {
    min-width: 0;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.article-facts {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
}

.article-facts div {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-line);
}

.article-facts dt {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.article-facts dd {
    margin: 0;
    color: var(--color-navy);
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
    padding: 48px 0 74px;
}

.article-main-column {
    min-width: 0;
    display: grid;
    gap: 30px;
}

.article-content-shell {
    min-width: 0;
    padding: 44px 48px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.article-content {
    color: #26323d;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.article-content h2 {
    margin: 46px 0 18px;
    padding-top: 18px;
    color: var(--color-navy);
    border-top: 1px solid var(--color-line);
    font-size: 28px;
    line-height: 1.45;
    scroll-margin-top: var(--article-anchor-offset);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.article-content h3 {
    margin: 30px 0 12px;
    color: var(--color-blue);
    font-size: 21px;
    line-height: 1.5;
    scroll-margin-top: var(--article-anchor-offset);
}

.article-content p {
    margin: 0 0 20px;
}

.article-content ul {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding-left: 1.3em;
}

.article-content li::marker {
    color: var(--color-red);
}

.article-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    color: var(--color-navy);
    background: #f8faf8;
    border-left: 4px solid var(--color-red);
}

.article-content a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content code {
    padding: 2px 5px;
    background: var(--color-soft);
    border-radius: 4px;
    font-size: 0.94em;
}

.article-content pre {
    overflow-x: auto;
    padding: 18px;
    color: var(--color-white);
    background: #102640;
    border-radius: 8px;
}

.table-scroll {
    overflow-x: auto;
    max-width: 100%;
    margin: 24px 0 30px;
}

.article-content table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: var(--color-white);
    border: 1px solid var(--color-line);
}

.article-content th,
.article-content td {
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.article-content th {
    color: var(--color-navy);
    background: #eef3f5;
}

.article-detail-sidebar {
    min-width: 0;
    position: sticky;
    top: var(--article-sidebar-offset);
    display: grid;
    gap: 18px;
    align-self: start;
}

.article-toc {
    font-size: 14px;
}

.article-toc ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc a {
    display: block;
    padding-left: 12px;
    color: var(--color-navy);
    border-left: 3px solid var(--color-line);
}

.article-toc a:hover {
    color: var(--color-red);
    border-left-color: var(--color-red);
}

.article-toc a.active {
    color: var(--color-red);
    background: #fff7f5;
    border-left-color: var(--color-red);
    font-weight: 700;
}

.article-end {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 18px;
}

.article-end-panel {
    min-width: 0;
    padding: 24px;
    background: #fbfcfb;
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.article-end-panel h2 {
    margin: 0 0 16px;
    color: var(--color-navy);
    font-size: 22px;
    line-height: 1.45;
}

.article-end-panel p {
    margin: 0 0 18px;
    color: #46545f;
}

.related-articles {
    display: grid;
    gap: 12px;
}

.related-article {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-line);
}

.related-article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.related-article span {
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 700;
}

.related-article strong {
    color: var(--color-navy);
    font-size: 14px;
    line-height: 1.55;
}

.article-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 26px;
    color: var(--color-muted);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.article-error {
    padding: 18px 20px;
    color: var(--color-red);
    background: #fff0ed;
    border-radius: 8px;
    font-weight: 700;
}

.notice-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    color: var(--color-white);
    background: var(--color-navy);
    border-radius: 8px;
}

.notice-band .eyebrow,
.notice-band h2,
.notice-band p {
    color: var(--color-white);
}

.notice-band h2,
.newsletter h2 {
    margin: 0;
    line-height: 1.35;
}

.notice-band p {
    margin: 8px 0 0;
}

.notice-link {
    flex: 0 0 auto;
    max-width: 320px;
    padding: 12px 16px;
    color: var(--color-navy);
    background: var(--color-white);
    border-radius: 4px;
    font-weight: 700;
}

.sidebar {
    position: sticky;
    top: 174px;
    display: grid;
    gap: 18px;
}

.side-panel {
    padding: 22px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.side-panel h2 {
    margin: 0 0 16px;
    color: var(--color-navy);
    font-size: 19px;
    line-height: 1.4;
}

.side-panel p {
    margin: 0 0 18px;
    color: var(--color-muted);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
}

.search-form button {
    color: var(--color-white);
    background: var(--color-navy);
    border: 1px solid var(--color-navy);
    border-radius: 4px;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.side-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}

.side-list a:hover,
.side-list a.active {
    color: var(--color-red);
}

.side-list li:last-child a {
    border-bottom: 0;
}

.side-list strong {
    color: var(--color-red);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 7px 10px;
    color: var(--color-blue);
    background: var(--color-soft);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.tag-cloud a:hover,
.tag-cloud a.active {
    color: var(--color-white);
    background: var(--color-blue);
}

.contact-panel {
    border-color: rgba(197, 74, 60, 0.35);
    background: #fffaf8;
}

.newsletter {
    padding: 48px 0;
    background: #e9f2f1;
    border-top: 1px solid var(--color-line);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.newsletter p {
    margin: 8px 0 0;
    color: #46545f;
}

.site-footer {
    color: var(--color-white);
    background: #102640;
}

.site-footer .footer-links {
    padding: 30px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 0 28px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
    color: var(--color-white);
}

.footer-company p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover {
    color: #f5c26b;
}

.footer-contact {
    display: grid;
    justify-items: end;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.footer-phone {
    color: var(--color-white);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-contact .button {
    margin-top: 6px;
    min-height: 40px;
}

.copyright {
    margin: 0;
    padding: 18px 20px 24px;
    color: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    font-size: 12px;
}

@media (max-width: 980px) {
    .header-main {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .global-nav {
        justify-content: flex-start;
    }

    .blog-hero {
        min-height: 340px;
        background-position: 58% center;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

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

    .article-hero-inner,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-detail-sidebar {
        position: static;
        grid-template-columns: 1fr;
    }

    .article-toc-panel {
        grid-column: 1 / -1;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-panel {
        grid-column: 1 / -1;
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-top-inner {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .header-contact {
        flex-wrap: wrap;
        gap: 8px;
        white-space: normal;
    }

    .global-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .global-nav a {
        flex: 0 0 auto;
        padding: 8px 2px;
        white-space: nowrap;
    }

    .nav-item {
        flex: 0 0 auto;
    }

    .nav-dropdown {
        left: 0;
        min-width: 200px;
        transform: translateY(8px);
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        transform: translateY(0);
    }

    .blog-hero {
        min-height: auto;
        padding: 46px 0 38px;
        background:
            linear-gradient(90deg, rgba(9, 27, 48, 0.98) 0%, rgba(13, 36, 63, 0.94) 62%, rgba(21, 52, 91, 0.72) 100%),
            var(--blog-hero-image);
        background-position: 58% center;
        background-size: cover;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-mobile-break {
        display: block;
    }

    .hero-actions {
        margin-top: 26px;
    }

    .featured-content,
    .side-panel {
        padding: 20px;
    }

    .article-body {
        padding: 18px;
    }

    .featured-card,
    .featured-card-link,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .featured-card img {
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }

    .featured-content h3 {
        font-size: 23px;
    }

    .article-card h3 {
        font-size: 19px;
    }

    .row-heading,
    .notice-band,
    .newsletter-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .notice-link {
        max-width: none;
        width: 100%;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .article-hero-copy h1 {
        font-size: 30px;
    }

    .article-content-shell {
        padding: 28px 22px;
    }

    .article-content h2 {
        font-size: 23px;
    }

    .article-content h3 {
        font-size: 19px;
    }

    .article-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .article-facts div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .article-facts dd {
        text-align: left;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-form button {
        min-height: 42px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
        gap: 10px 14px;
    }

    .footer-links a {
        overflow-wrap: anywhere;
    }

    .footer-contact {
        justify-items: start;
    }
}

@media (max-width: 420px) {
    .brand-text strong {
        font-size: 16px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .button {
        width: 100%;
    }
}
