﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1e2a3a;
    background-color: #f9fbfd;
}

a {
    text-decoration: none;
    transition: color 0.3s;
    color: inherit;
}

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

ul,
li {
    list-style: none;
}

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


.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    border-bottom: 1px solid #eaeef2;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #0f1a2a;
}

.logo span {
    color: #20639B;
    font-weight: 300;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    color: #20639B;
    border-bottom-color: #20639B;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e2a3a;
    padding: 0 8px;
}

.breadcrumb-nav {
    margin: 20px 0 10px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #a0b3c9;
}

.breadcrumb-list a {
    color: #20639B;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list [aria-current="page"] {
    color: #4a5f73;
    font-weight: 500;
}


.breaking-ticker {
    background: #f0f4fa;
    padding: 10px 0;
    border-bottom: 1px solid #dde3e9;
    font-size: 0.95rem;
}

.ticker-label {
    background: #c44536;
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 15px;
    text-transform: uppercase;
}

.ticker-text {
    color: #1e2a3a;
    font-weight: 500;
}


.section {
    padding: 50px 0;
}

.alt-bg {
    background-color: #ffffff;
    border-top: 1px solid #eaeef2;
    border-bottom: 1px solid #eaeef2;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 35px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #152238;
}

.title-ornament {
    width: 50px;
    height: 4px;
    background: #20639B;
    border-radius: 4px;
}

.card-img{
    aspect-ratio: 4 / 3;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(32, 99, 155, 0.08);
    border-color: #d9e2ef;
}

.card-horizontal {
    grid-column: span 2;
    flex-direction: row;
}

.card-horizontal .card-img {
    flex: 0 0 40%;
    aspect-ratio: 4/3;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.03);
}

.card-content {
    padding: 20px;
    flex: 1;
}

.cat-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 30px;
    background: #e9ecf3;
    color: #2c3e50;
    letter-spacing: 0.5px;
    margin-right: 10px;
}


.cat-tag.world {
    background: #d4e3fd;
    color: #1a4c7a;
}

.cat-tag.health {
    background: #d9f0e5;
    color: #1f6e4a;
}

.cat-tag.tech {
    background: #e1d9f0;
    color: #4f2d7f;
}

.cat-tag.environment {
    background: #dbf0d9;
    color: #2e6b2e;
}

.cat-tag.travel {
    background: #fdeacb;
    color: #a6652c;
}

.cat-tag.business {
    background: #fdd9d9;
    color: #a12b2b;
}

.cat-tag.politics {
    background: #fee2d4;
    color: #b13e3e;
}

.cat-tag.europe {
    background: #d4e0fd;
    color: #1f4a7a;
}

.card-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 10px 0 8px;
    font-weight: 600;
}

.card-title a {
    text-decoration: none;
    color: #0f1a2a;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #20639B;
}

.card-excerpt {
    color: #475569;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #20639B;
    text-decoration: none;
}

.card-vertical .card-title {
    font-size: 1.6rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-accent {
    border-top: 4px solid #20639B;
}


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


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

.special-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.special-card:hover {
    box-shadow: 0 20px 30px -8px rgba(32, 99, 155, 0.12);
}

.special-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.special-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.special-card:hover .special-img img {
    transform: scale(1.05);
}

.special-content {
    padding: 20px;
}

.special-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f0f4fa;
    padding: 3px 8px;
    border-radius: 20px;
    color: #20639B;
    font-weight: 600;
}

.special-content h3 {
    margin: 10px 0 6px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.special-content p {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.special-meta {
    font-size: 0.8rem;
    color: #6f7d95;
}


.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic-item {
    background: #edf2f7;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e2a3a;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.topic-item:hover {
    background: #20639B;
    color: white;
    border-color: #20639B;
}


.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all {
    color: #20639B;
    font-weight: 600;
    text-decoration: none;
}

.latest-list {
    background: white;
    border-radius: 24px;
    padding: 10px 20px;
    border: 1px solid #eaeef2;
}

.latest-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
}

.latest-item .card-img {
    flex: 0 0 20%;
    aspect-ratio: 4/ 3;
}

.latest-item .card-img img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item:last-child {
    border: none;
}

.latest-time {
    font-size: 0.85rem;
    color: #6b7b8f;
    min-width: 90px;
}

.latest-item h3 {
    font-weight: 500;
    font-size: 1.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-item a {
    text-decoration: none;
    color: #1e2a3a;
}

.latest-item a:hover {
    color: #20639B;
}

.cat-tag.small {
    font-size: 0.65rem;
    padding: 2px 8px;
}

.category-two-col {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 40px;
    margin: 40px 0;
}

.category-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: fit-content;
}

.category-main-grid .card {
    flex-direction: inherit;
}

.category-main-grid .card .card-img {
    aspect-ratio: 4 / 3;
}


.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #edf2f7;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #20639B;
    display: inline-block;
}

.author-card {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin:0 auto 15px;
    border: 3px solid #eaeef2;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 18px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
}

.sidebar-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-list a {
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
    font-size: 1rem;
}

.sidebar-list a:hover {
    color: #20639B;
}

.post-meta {
    font-size: 0.8rem;
    color: #6f7d95;
    margin-top: 4px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-list a {
    background: #edf2f7;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #1e2a3a;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.category-list a:hover {
    background: #20639B;
    color: white;
    border-color: #20639B;
}


.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 50px 0 40px;
}

.page-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: white;
    border: 1px solid #dde3e9;
    color: #1e2a3a;
    text-decoration: none;
    font-weight: 500;
}

.page-link.active,
.page-link:hover {
    background: #20639B;
    color: white;
    border-color: #20639B;
}

.page-dots {
    padding: 8px 4px;
    color: #6f7d95;
}


.article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 40px 0;
}

.full-article h1 {
    font-size: clamp(20px, 5vw, 25px);
    line-height: 1.3;
    margin-bottom: 0.25em;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 15px 0 5px;
    font-weight: 400;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 20px 0 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeef2;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-mini span {
    font-weight: 600;
    color: #1e2a3a;
}

.post-stats {
    color: #6f7d95;
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-figure {
    margin: 30px 0;
}

.article-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 24px;
}

figcaption {
    font-size: 0.85rem;
    color: #5f6e84;
    margin-top: 8px;
    text-align: center;
}


.article-body {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
}

.article-body img {
    margin: 0 auto;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 1.8em 0 0.8em;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 1.5em 0 0.6em;
}

.article-categories {
    margin: 30px 0 20px;
}

.article-categories .cat-tag {
    margin-right: 10px;
}

.author-bio-card {
    display: flex;
    gap: 25px;
    background: #f8fafc;
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid #edf2f7;
}

.author-bio-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-bio-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.author-bio-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.share-bar {
    margin: 40px 0 30px;
    padding: 20px 0;
    border-top: 1px solid #eaeef2;
    border-bottom: 1px solid #eaeef2;
}

.share-btn {
    background: none;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 40px;
    margin-right: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: #20639B;
    color: white;
    border-color: #20639B;
}


.comments-section {
    margin-top: 50px;
    border-top: 2px solid #eaeef2;
    padding-top: 30px;
}

.comment {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
    border: 1px solid #eaeef2;
}

.comment strong {
    color: #0f1a2a;
}

.comment p {
    margin: 8px 0 4px;
    color: #334155;
}

.comment-date {
    font-size: 0.8rem;
    color: #6b7b8f;
}

.comment-form {
    margin-top: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dde3e9;
    border-radius: 16px;
    resize: vertical;
    font-family: inherit;
}

.comment-form button {
    background: #20639B;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form button:hover {
    background: #1a4c7a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0 30px;
}

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px -8px rgba(32, 99, 155, 0.1);
    border-color: #d9e2ef;
}

.related-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-content {
    padding: 12px 15px 18px;
}

.related-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-content h3 a {
    text-decoration: none;
    color: #1e2a3a;
}

.related-content h4 a:hover {
    color: #20639B;
}

.related-meta {
    font-size: 0.75rem;
    color: #6f7d95;
}


.author-profile {
    background: white;
    border-radius: 28px;
    padding: 40px;
    margin: 40px 0 30px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 40px;
    align-items: center;
}

.author-profile-avatar {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(32, 99, 155, 0.1);
}

.author-profile-info h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    color: #0f1a2a;
}

.author-profile-title {
    font-size: 1.1rem;
    color: #20639B;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.author-profile-bio {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    max-width: 600px;
}

.author-detailed {
    background: white;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #edf2f7;
}

.author-detailed h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: #0f1a2a;
}

.author-detailed h2:first-of-type {
    margin-top: 0;
}

.author-detailed p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3c4f;
    margin-bottom: 1.2rem;
}

.author-stats {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.stat-item {
    background: #f8fafc;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    color: #1e2a3a;
    border: 1px solid #e2e8f0;
}

.stat-item span {
    color: #20639B;
    font-weight: 700;
    margin-right: 5px;
}

.author-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0 20px;
}


.site-footer {
    background: #152238;
    color: #d0dbe8;
    padding: 50px 0 30px;
    margin-top: 30px;
}

.site-footer p {
    text-align: center;
    margin: 0;
}

.site-footer a {
    color: #d0dbe8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #7aa5c2;
    font-weight: 300;
}

.footer-col h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.footer-form {
    display: flex;
    margin-top: 15px;
    border: 1px solid #2e405b;
    border-radius: 60px;
    overflow: hidden;
}

.footer-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    outline: none;
}

.footer-form button {
    background: #20639B;
    border: none;
    color: white;
    padding: 0 18px;
    font-size: 1.2rem;
    cursor: pointer;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #20639B;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: opacity 0.3s;
    display: none;

}

@media (max-width: 1024px) {

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

    .card-horizontal {
        grid-column: span 2;
    }

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

@media (max-width: 900px) {

    .category-two-col,
    .article-container {
        grid-template-columns: 100%;
    }

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

    .author-bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .category-main-grid .card {
        flex-direction: column;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #eaeef2;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

    .main-nav.open {
        max-height: 400px;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .featured-grid,
    .special-grid,
    .category-main-grid {
        grid-template-columns: 1fr;
    }

    .card-horizontal {
        flex-direction: column;
    }

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

    .latest-item {
        flex-wrap: wrap;
        gap: 6px;
    }

    .category-header {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
}

@media (max-width: 600px) {

    .related-grid,
    .author-works-grid {
        grid-template-columns: 1fr;
    }

    .author-profile-avatar {
        width: 120px;
        height: 120px;
    }

    .author-profile-info h1 {
        font-size: 1.8rem;
    }

    .article-meta-bar {
        gap: 10px;
    }
    .full-article h1{
        font-size: 1.4rem;
    }
}