/* Articles and About Us pages. Colors follow the portal's blue and orange. */

/* Page header */
.content-hero {
    padding: 3rem 0;
    color: #ffffff;
    background: linear-gradient(120deg, #0b4f6c 0%, #0e7aa6 100%);
}

.content-hero h1 {
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.content-hero p {
    max-width: 640px;
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.content-hero a {
    color: #ffffff;
}

.content-hero-article h1 {
    max-width: 820px;
    margin: 0.75rem 0 0;
    font-size: 2.25rem;
    line-height: 1.2;
}

.content-back {
    margin-bottom: 1.25rem;
}

.content-back a {
    font-size: 0.95rem;
    text-decoration: none;
}

.content-back a:hover {
    text-decoration: underline;
}

.content-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.content-chips a {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
}

.content-chips a:hover {
    color: #0b4f6c;
    background: #ffffff;
}

.content-tag {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    color: #8a4300;
    background: #fff0e2;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sections */
.content-section {
    padding-top: 2.5rem;
    scroll-margin-top: 1rem;
}

.content-section h2,
.content-related h2 {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.content-section h2::after,
.content-related h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: #f5862d;
}

/* Article cards */
.content-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e3e6e8;
    border-radius: 18px;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.content-card:hover,
.content-card:focus-visible {
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(11, 79, 108, 0.16);
}

.content-card img {
    display: block;
    width: 100%;
    height: auto;
}

.content-card-body {
    display: block;
    padding: 1rem 1.25rem 1.25rem;
}

.content-card-title {
    display: block;
    margin: 0.6rem 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.35;
}

.content-card-text {
    display: block;
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Article body */
.article-body {
    max-width: 780px;
    padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.article-body h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.3;
}

.article-body a {
    color: #0b6f96;
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body li {
    margin-bottom: 0.25rem;
}

.article-body li > p {
    margin-bottom: 0.4rem;
}

.article-body .article-banner img {
    width: 100%;
    border-radius: 14px;
}

.article-body .table {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.article-body .table thead th {
    color: #ffffff;
    background: #0e7aa6;
    font-weight: 500;
}

.article-body .table tbody tr:nth-child(even) {
    background: #f4f8fa;
}

.article-body .table-responsive {
    margin-bottom: 1.25rem;
    border-radius: 10px;
}

.article-figure {
    margin: 1.5rem 0;
    padding: 0.5rem;
    border: 1px solid #e3e6e8;
    border-radius: 14px;
}

.article-figure figcaption {
    padding: 0.25rem 0;
    color: #555555;
    font-size: 0.875rem;
    text-align: center;
}

.article-board {
    margin-bottom: 1rem;
    border-spacing: 6px;
    border-collapse: separate;
    padding: 2px;
    border-radius: 10px;
    background: #e8eef1;
}

.article-board td {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #ffffff;
    font-weight: 500;
    text-align: center;
}

.content-related {
    margin-top: 2.5rem;
    padding: 2.5rem 0;
    background: #f4f8fa;
}

/* About Us */
.about-hero-art {
    display: grid;
    gap: 0.6rem;
}

.about-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: -1.5rem;
    padding: 1.25rem;
    position: relative;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(11, 79, 108, 0.14);
    text-align: center;
}

.about-stats strong {
    display: block;
    color: #0b6f96;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-stats span {
    color: #444444;
    font-size: 0.9rem;
}

.about-narrow {
    max-width: 760px;
}

.about-narrow,
.content-section > p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about-narrow a {
    color: #0b6f96;
    text-decoration: underline;
}

.about-feature {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #e3e6e8;
    border-radius: 16px;
}

.about-feature svg {
    width: 36px;
    height: 36px;
    margin-bottom: 0.75rem;
    padding: 6px;
    border-radius: 10px;
    fill: none;
    stroke: #c75f0c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: #fff0e2;
}

.about-feature h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.about-feature p {
    margin-bottom: 0;
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-category {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    color: #000000;
    background: #f5862d;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.about-category:hover,
.about-category:focus-visible {
    color: #000000;
    transform: translateY(-3px);
}

.about-category img {
    display: block;
    width: 100%;
    height: auto;
}

.about-category span {
    display: block;
    padding: 0.7rem 1rem;
}

.about-contact {
    margin-top: 3rem;
    padding: 2.5rem 0;
    color: #ffffff;
    background: linear-gradient(120deg, #0b4f6c 0%, #0e7aa6 100%);
}

.about-contact h2 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.about-contact p {
    max-width: 680px;
    font-size: 1.0625rem;
    line-height: 1.6;
}

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

.about-contact a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .content-hero {
        padding: 2rem 0;
    }

    .content-hero h1 {
        font-size: 2rem;
    }

    .content-hero-article h1 {
        font-size: 1.6rem;
    }

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