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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul,
li {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d4a7a 0%, #1a365d 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.btn-secondary {
    background: #edf2f7;
    color: #1a365d;
    border: 1px solid #cbd5e0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #1a365d;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {

    color: #1a202c;
    margin-bottom: 0.75em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.25em;
    color: #4a5568;
    line-height: 1.7;
}


.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: #e2e8f0;
}

.site-header.transparent {
    background-color: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a365d;
    position: relative;
    z-index: 1001;
}

.logo span {
    color: #d69e2e;
}

.main-nav {
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: #4a5568;
    padding: 5px 0;
    position: relative;
    font-size: 1rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a365d;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d69e2e;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}


.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1001;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #4a5568;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f7fafc;
    color: #1a365d;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.search-form {
    display: flex;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.search-form input {
    padding: 8px 12px;
    border: none;
    width: 180px;
    font-size: 0.95rem;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    background: #edf2f7;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: #4a5568;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #e2e8f0;
    color: #1a365d;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
    padding: 5px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #1a365d;
}

.page-intro {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.intro-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 700px;
    margin: 20px auto 40px;
    line-height: 1.6;
}

.category-quicknav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.category-chip {
    padding: 10px 22px;
    background-color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-chip:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
    border-color: #1a365d;
}


section {
    padding: 60px 0;
}

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


.view-all {
    font-weight: 600;
    color: #1a365d;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #d69e2e;
    transform: translateX(5px);
}


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

.featured-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid #e2e8f0;
}

.featured-card.large {
    grid-column: span 2;
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #d69e2e;
}

.card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-card.large .card-image {
    height: 300px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover .card-image img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.featured-card.large .card-content {
    height: calc(100% - 300px);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 40px;
}

.card-excerpt {
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 36px;
}

.card-meta {
    font-size: 0.9rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    flex-wrap: wrap;
}

.card-meta time {
    font-weight: 500;
}


.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.category-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #d69e2e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #d69e2e;
}

.category-card:hover:before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
}

.category-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.category-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #718096;
    line-height: 1.5;
}

.category-count {
    display: inline-block;
    background: #f7fafc;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.category-card:hover .category-count {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
}

.card-flex {
    display: flex;
}

.flex-img {
    width: 200px;
    height: 100%;
}

.flex-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid #e2e8f0;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #d69e2e;
}

.article-card .card-image {
    height: 200px;
}

.article-card.compact {
    display: flex;
    align-items: center;
}

.article-card.compact .card-image {
    height: auto;
    width: 120px;
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
}

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

.article-card.compact h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}


.tag-cloud-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.tag {
    padding: 10px 25px;
    background-color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tag:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
    border-color: #1a365d;
}

.category-listing-page {
    padding-top: 78px;
    background-color: #f9fafc;
}


.category-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.category-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 L1000,0 L1000,100 Q500,80 0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.category-header .container {
    position: relative;
    z-index: 1;
}


.breadcrumb-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

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

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.breadcrumb-link:hover {
    color: white;
}

.breadcrumb-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #d69e2e;
    transition: width 0.3s ease;
}

.breadcrumb-link:hover:after {
    width: 100%;
}

.breadcrumb-item.active .breadcrumb-link {
    color: white;
    font-weight: 600;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
    font-size: 0.9rem;
}

.breadcrumb-actions {
    display: flex;
    gap: 15px;
}

.breadcrumb-action {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.breadcrumb-action:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.category-title {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 0;
}

.category-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 30px;
}


.category-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.1) 0%, rgba(26, 54, 93, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item:hover:before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}




.listing-controls {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.controls-heading {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.filters-section {
    flex: 1;
    min-width: 300px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    padding: 10px 22px;
    background-color: #f8fafc;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e2e8f0;
}

.filter-tag:hover {
    background-color: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-tag.active {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    border-color: #1a365d;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.custom-select-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.select-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    appearance: none;
    padding: 12px 45px 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4a5568;
}

.custom-select select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #718096;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.custom-select:focus-within .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #1a365d;
}

.filter-clear {
    color: #718096;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.filter-clear:hover {
    color: #e53e3e;
    transform: translateX(3px);
}


.sort-section {
    min-width: 250px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.view-btn {
    padding: 12px 18px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #a0aec0;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: #f7fafc;
    color: #4a5568;
}

.view-btn.active {
    background: #1a365d;
    color: white;
}


.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.active-filters-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    color: #234e52;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #81e6d9;
    transition: all 0.3s ease;
}

.active-filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 230, 217, 0.2);
}

.remove-filter {
    background: none;
    border: none;
    color: #234e52;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}


.listing-main-content,
.article-main-content {
    padding-bottom: 80px;
}

.listing-layout {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 50px;
}

.listing-primary {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.listing-results-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
}

.results-title {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 10px;
}

.results-count {
    font-size: 1rem;
    color: #718096;
    font-weight: normal;
}

.results-summary {
    color: #718096;
    font-size: 1.05rem;
    line-height: 1.6;
}


.listing-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.listing-article-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.listing-article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: #d69e2e;
}

.article-card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.article-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-article-card:hover .article-card-image img {
    transform: scale(1.1);
}

.article-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.article-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.article-card-excerpt {
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #a0aec0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.meta-icon {
    font-size: 1rem;
}

.article-card-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a365d;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.listing-article-card:hover .read-more {
    color: #d69e2e;
    transform: translateX(8px);
}


.listing-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.pagination-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pagination-total {
    font-size: 0.9rem;
    color: #718096;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination-item {
    display: inline-block;
}

.pagination-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
    background: white;
}

.pagination-link:hover:not(.active) {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-link.active {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    border-color: #1a365d;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.pagination-link.prev,
.pagination-link.next {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.pagination-arrow {
    font-weight: bold;
    transition: transform 0.3s ease;
}

.pagination-link.prev:hover .pagination-arrow {
    transform: translateX(-3px);
}

.pagination-link.next:hover .pagination-arrow {
    transform: translateX(3px);
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-jump label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}


.listing-sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}


.listing-sidebar::-webkit-scrollbar {
    width: 6px;
}

.listing-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.listing-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.listing-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sidebar-widget-title {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.sidebar-widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1a365d, #d69e2e);
}


.sidebar-recommendations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.sidebar-article {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

.sidebar-article:hover {
    transform: translateX(5px);
}

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

.sidebar-article-link {
    display: flex;
    gap: 15px;
    color: inherit;
    align-items: flex-start;
}

.sidebar-article-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.sidebar-article-link:hover .sidebar-article-image {
    border-color: #d69e2e;
    transform: scale(1.05);
}

.sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sidebar-article-link:hover .sidebar-article-image img {
    transform: scale(1.1);
}

.sidebar-article-content {
    flex: 1;
}

.sidebar-article-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article-meta {
    font-size: 0.8rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a365d;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.sidebar-widget-link:hover {
    color: #d69e2e;
    transform: translateX(5px);
}


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

.sidebar-tag {
    padding: 8px 18px;
    background-color: #f8fafc;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e2e8f0;
    font-weight: 500;
}

.sidebar-tag:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    transform: translateY(-3px);
    border-color: #1a365d;
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}


.sidebar-newsletter {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-newsletter:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.sidebar-newsletter:hover:before {
    opacity: 1;
}

.sidebar-newsletter .sidebar-widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-newsletter .sidebar-widget-title:after {
    background: linear-gradient(90deg, #d69e2e, #f6ad55);
}

.sidebar-newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.sidebar-subscribe-form input {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sidebar-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-subscribe-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.sidebar-subscribe-form .btn-primary {
    background: white;
    color: #1a365d;
    font-weight: 700;
}

.sidebar-subscribe-form .btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.sidebar-newsletter .form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    text-align: center;
}


.sidebar-tips .tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
    color: #2d3748;
}

.tip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tip-item strong {
    color: #1a365d;
    font-weight: 700;
}


.sidebar-print {
    text-align: center;
}

.print-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}


.article-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    padding: 40px 0 30px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.article-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 L1000,0 L1000,100 Q500,70 0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.article-header .container {
    position: relative;
    z-index: 1;
}


.article-title-section {
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
}

.article-category-badge {
    display: inline-block;
    background: rgba(214, 158, 46, 0.9);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.article-title {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.article-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.article-meta-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.article-author:hover .author-avatar {
    transform: scale(1.05);
    border-color: #d69e2e;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    color: white;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.article-stats {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 120px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 1.8rem;
    opacity: 0.9;
}

.stat-content {
    display: flex;
    align-items: center;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0px;
}

.stat-value {
    font-size: 0.85rem;
    color: white;
}


.article-featured-image-section {
    padding: 0;
    background: white;
}

.featured-image-container {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 20px;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.featured-image:hover {
    transform: scale(1.01);
}

.image-caption {
    text-align: center;
    font-size: 0.95rem;
    color: #718096;
    margin-top: 15px;
    padding: 0 20px;
    font-style: italic;
    line-height: 1.5;
}


.article-intro-section {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    position: relative;
    top: -30px;
    z-index: 2;
}

.article-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-quick-info {
    border-top: 2px solid #f1f5f9;
    padding-top: 40px;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.info-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(214, 158, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #d69e2e;
}

.info-card:hover:before {
    opacity: 1;
}

.info-icon {
    font-size: 2.2rem;
    color: #1a365d;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.info-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.info-label {
    font-size: 0.9rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
}

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

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

.author-mini span {
    font-weight: 500;
    color: #fff;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.share-btn {
    background: none;
    border: 1px solid #b9cfec;
    padding: 8px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
}

.share-btn:hover {
    background: #e2ecf9;
}

.author-card {
    text-align: center;
    background: #f7fafd;
    padding: 28px 20px;
    border: 1px solid #e1eaf2;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 20, 40, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h3 {
    border-bottom: none;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.author-bio {
    color: #365773;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.author-block {
    display: flex;
    gap: 24px;
    background: #f5faff;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid #d5e3f0;
    align-items: center;
}

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

.author-info h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.author-info p {
    color: #2d4b68;
    margin-bottom: 10px;
}

.author-page-main {
    padding: 40px 0;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    background: #f8fbfe;
    padding: 40px;
    border: 1px solid #e1eaf2;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    background: #f8fbfe;
    padding: 40px;
    border: 1px solid #e1eaf2;
}

.author-header-img {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 30, 50, 0.1);
}

.author-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header-info h1 {
    font-size: 2.8rem;
    font-weight: 350;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.author-title {
    font-size: 1.2rem;
    color: #2d577b;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-header-info .author-bio {
    font-size: 1.1rem;
    color: #1e3b50;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.author-social a {
    color: #1d4e7c;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #b9cfec;
    padding: 6px 18px;
    transition: background 0.2s;
}

.author-social a:hover {
    background: #e2ecf9;
}

.author-detailed-bio {
    background: #ffffff;
    padding: 40px 0 20px;
    border-bottom: 1px solid #dae4ee;
}

.author-detailed-bio h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 24px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.author-detailed-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1f3343;
    margin-bottom: 1.5em;
    max-width: 900px;
}

.author-articles {
    margin: 48px 0;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 32px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.article-grid-4col {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
}

.author-article-card {
    background: white;
    border: 1px solid #e6eef7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.author-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -8px rgba(20, 50, 80, 0.15);
}

.author-article-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.author-article-card .card-content {
    padding: 16px;
}

.author-article-card .card-category {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.author-article-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.author-article-card h3 a {
    text-decoration: none;
    color: #112b40;
}

.author-article-card .card-meta {
    font-size: 0.8rem;
    color: #57758e;
}

.article-body {
    background: white;
    padding: 15px 10px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
}

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


.article-toc {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    border-left: 5px solid #d69e2e;
    border-right: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.toc-title {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title:before {
    content: '📑';
    font-size: 1.2rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    display: block;
    padding: 15px 20px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.toc-list a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #d69e2e;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.toc-list a:hover {
    background: white;
    color: #1a365d;
    border-color: #e2e8f0;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.toc-list a:hover:before {
    transform: scaleY(1);
}


.article-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f1f5f9;
}

.article-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1a365d, #d69e2e);
}

.article-body h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}


.article-tip {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f0fff4;
    border-radius: 12px;
    border-left: 5px solid #38a169;
    margin: 30px 0;
    align-items: flex-start;
    box-shadow: 0 5px 20px rgba(56, 161, 105, 0.1);
    transition: all 0.3s ease;
}

.article-tip:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(56, 161, 105, 0.15);
}

.article-tip.warning {
    background: #fffaf0;
    border-left-color: #dd6b20;
    box-shadow: 0 5px 20px rgba(221, 107, 32, 0.1);
}

.article-tip.warning:hover {
    box-shadow: 0 10px 30px rgba(221, 107, 32, 0.15);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.tip-content {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3748;
}

.tip-content strong {
    color: #1a365d;
    font-weight: 700;
}


.article-quote {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 5px solid #d69e2e;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.article-quote:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(214, 158, 46, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.article-quote blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #2d3748;
    font-style: italic;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.article-quote cite {
    display: block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #718096;
    font-style: normal;
    font-weight: 700;
    text-align: right;
    position: relative;
    z-index: 1;
}

.article-quote cite:before {
    content: '— ';
}


.article-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px;
}

.article-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 10px;
}

.article-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: #d69e2e;
    font-size: 1.2rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    background: rgba(214, 158, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.article-image:hover img {
    transform: scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.article-image figcaption {
    text-align: center;
    font-size: 1rem;
    color: #718096;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.6;
    padding: 0 20px;
}


.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.food-item {
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.food-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(214, 158, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.food-item:hover {
    transform: translateY(-8px);
    border-color: #d69e2e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.food-item:hover:before {
    opacity: 1;
}

.food-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.food-desc {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


.accommodation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.accommodation-card {
    padding: 30px;
    background: white;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.accommodation-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(214, 158, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.accommodation-card:hover {
    border-color: #d69e2e;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.accommodation-card:hover:before {
    opacity: 1;
}

.accommodation-card h4 {
    font-size: 1.4rem;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.accommodation-card p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.accommodation-card strong {
    color: #2d3748;
    font-weight: 700;
}


.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tip-card {
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #d69e2e;
}

.tip-header {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.tip-body {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}


.itinerary {
    margin: 40px 0;
}

.itinerary-day {
    display: flex;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
}

.itinerary-day:hover {
    border-color: #d69e2e;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.day-number {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    padding: 25px 30px;
    font-size: 1.5rem;
    font-weight: 800;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.day-content {
    padding: 25px 30px;
    flex: 1;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

.day-content strong {
    color: #1a202c;
    font-weight: 700;
}


.article-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 3px solid #f1f5f9;
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-label {
    font-weight: 700;
    color: #4a5568;
    margin-right: 15px;
    font-size: 1.1rem;
}

.article-tag {
    display: inline-block;
    padding: 10px 22px;
    background: #f8fafc;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e2e8f0;
    font-weight: 600;
}

.article-tag:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    transform: translateY(-3px);
    border-color: #1a365d;
    box-shadow: 0 5px 20px rgba(26, 54, 93, 0.2);
}

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

.share-label {
    font-weight: 700;
    color: #4a5568;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-button {
    border-radius: 10px;
    padding: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-button.facebook {
    background: #3b5998;
    color: white;
}

.share-button.twitter {
    background: #000;
    color: white;
}

.share-button.pinterest {
    background: #bd081c;
    color: white;
}

.share-button.email {
    background: #4a5568;
    color: white;
}

.share-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}


.author-bio {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.author-bio:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Q50,80 0,100 Z" fill="rgba(214,158,46,0.05)"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.author-bio-container {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-bio-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.author-bio:hover .author-bio-image {
    transform: scale(1.05);
    border-color: #d69e2e;
}

.author-bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content {
    flex: 1;
}

.author-bio-title {
    font-size: 1.6rem;
    color: #1a202c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.author-bio-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a365d, #d69e2e);
}

.author-bio-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}

.author-links {
    margin-top: 25px;
}

.author-link {
    color: #1a365d;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.author-link:hover {
    color: #d69e2e;
    transform: translateX(10px);
    border-color: #d69e2e;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


.article-comments {
    background: white;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.comments-header {
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid #f1f5f9;
}

.comments-title {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.comments-count {
    font-size: 1.1rem;
    color: #718096;
    font-weight: normal;
}

.comments-subtitle {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}


.comments-list {
    margin-bottom: 60px;
}

.comment {
    padding: 30px 0;
    border-bottom: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.comment:hover {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 0 -30px;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
}

.comment:hover .comment-avatar {
    border-color: #d69e2e;
    transform: scale(1.05);
}

.comment-author-info {
    display: flex;
    flex-direction: column;
}

.comment-author-name {
    font-size: 1.2rem;
    color: #1a202c;
    font-weight: 700;
}

.comment-author-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e6fffa;
    color: #234e52;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 5px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-author-badge.author {
    background: #ebf8ff;
    color: #2c5282;
}

.comment-date {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-top: 5px;
}

.comment-content {
    margin-bottom: 20px;
}

.comment-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 20px;
}

.comment-like,
.comment-reply {
    background: none;
    border: none;
    font-size: 0.95rem;
    color: #718096;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.comment-like:hover,
.comment-reply:hover {
    color: #1a365d;
    transform: translateY(-2px);
}

.comment-like:before {
    content: '👍';
}

.comment-reply:before {
    content: '↪️';
}


.comment-replies {
    margin-left: 80px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.comment.reply {
    padding: 25px 0;
    border-bottom: none;
}

.comment.reply .comment-avatar {
    width: 50px;
    height: 50px;
}


.comment-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comment-form-title {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.comment-form-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #1a365d, #d69e2e);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #718096;
    font-weight: normal;
    cursor: pointer;
    transition: color 0.2s ease;
}

.checkbox-label:hover {
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #cbd5e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #1a365d;
    border-color: #1a365d;
}


.related-articles {
    background: white;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.related-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-title {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.related-subtitle {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.related-article-card {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.related-article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #d69e2e;
}

.related-article-link {
    display: block;
    color: inherit;
}

.related-article-image {
    height: 220px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.1);
}

.related-article-content {
    padding: 30px;
}

.related-article-category {
    display: inline-block;
    padding: 8px 20px;
    background: #f8fafc;
    color: #1a365d;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-article-card:hover .related-article-category {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
}

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

.related-article-excerpt {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.related-article-meta {
    font-size: 0.9rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-footer {
    text-align: center;
    margin-top: 40px;
}


.site-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #cbd5e0;

    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 L1000,0 L1000,100 Q500,50 0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #d69e2e, #f6ad55);
}

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

.footer-col a {
    color: #cbd5e0;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-col a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-logo {
    color: white;
    display: block;
    margin-bottom: 20px;
    font-size: 2rem;
}

.footer-logo span {
    color: #d69e2e;
}

.footer-col p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 16px;
    border: 2px solid rgba(203, 213, 224, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-form input::placeholder {
    color: rgba(203, 213, 224, 0.7);
}

.subscribe-form input:focus {
    outline: none;
    border-color: #d69e2e;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.1);
}

.subscribe-form .btn-primary {
    background: #d69e2e;
    color: #1a202c;
    font-weight: 700;
}

.subscribe-form .btn-primary:hover {
    background: #f6ad55;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.3);
}

.form-note {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.95rem;
}

.footer-links a {
    margin-left: 25px;
    color: #a0aec0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}


#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(26, 54, 93, 0.3);
    transform: translateY(20px);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: linear-gradient(135deg, #2d4a7a 0%, #1a365d 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.4);
}


@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

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

    .featured-card.large {
        grid-column: span 2;
    }
}

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

    .listing-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .article-meta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-stats {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

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

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

    .featured-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 5px 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 100px 30px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        /* overflow-y: auto; */
    }

    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        margin-bottom: 40px;
    }

    .main-nav .header-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 30px;
        align-items: stretch;
        gap: 20px;
    }

    .search-form input {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: none;
        padding-left: 30px;
        margin-top: 15px;
        border: none;
        background: #f8fafc;
        border-radius: 10px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .main-nav.active .header-actions {
        display: flex;
    }

    .featured-section {
        padding-top: 78px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 10px;
    }

    .section-header h2 {
        margin: 0;
    }


    .articles-grid,
    .listing-articles-grid {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .category-stats {
        justify-content: center;
        margin-top: 10px;
    }

    .stat-item {
        min-width: 110px;
        padding: 15px 20px;
    }

    .controls-container {
        flex-direction: column;
        gap: 25px;
    }

    .sort-options {
        width: 100%;
        justify-content: space-between;
    }

    .filter-dropdowns {
        flex-direction: column;
        width: 100%;
    }

    .custom-select-wrapper {
        width: 100%;
    }

    .listing-primary,
    .article-body,
    .article-intro-section,
    .article-comments,
    .related-articles,
    .author-bio {
        padding: 30px;
    }

    .article-meta-grid {
        text-align: center;
    }

    .article-author {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin-bottom: 15px;
    }

    .quick-info-grid,
    .accommodation-options,
    .tips-grid,
    .food-grid {
        grid-template-columns: 1fr;
    }

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

    .card-flex {
        display: block;
    }

    .flex-img {
        width: 100%;
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .category-listing-page,
    .article-detail-page {
        padding-top: 53px;
    }

    .article-title-section {
        margin: 0;
    }



    .article-footer-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-share {
        width: 100%;
        flex-wrap: wrap;

    }

    .share-buttons {
        flex-wrap: wrap;
    }

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

    .author-bio-image {
        margin-bottom: 25px;
    }

    .comment-replies {
        margin-left: 30px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-links a {
        margin: 0 15px 0 0;
    }

    #backToTop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    .breadcrumb-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .breadcrumb-actions {
        align-self: flex-end;
    }

    .pagination-list {
        display: block;
    }

    .pagination-list li {
        float: left;
        margin: 5px;
    }

    .article-body {
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
    }
}

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

    .page-intro {
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .page-intro h1 {
        font-size: 1.5rem;
    }

    .intro-subtitle {
        font-size: 1rem;
    }

    .category-quicknav {
        margin-top: 0;
    }

    section {
        padding: 15px 0;
    }

    .category-header {
        padding: 20px 0 30px;
        margin-bottom: 20px;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .article-header {
        padding: 20px 0;
    }

    .article-title {
        font-size: 1.4rem;
        margin: 0;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-category-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .article-meta-grid {
        margin-top: 20px;
        padding-top: 15px;
    }

    .author-mini img {
        display: none;
    }

    .article-stats {
        gap: 0.5rem;
    }

    .stat-item:before {
        content: none;
    }

    .stat-item {
        padding: 0;
        border: none;
        background: none;
        min-width: auto;
    }
    .stat-icon, .stat-value,.stat-label,.author-mini span{
        font-size: 0.8rem;
    }
    

    .stat-number {
        font-size: 1.4rem;
    }

    .author-header-info h1{
        text-align: center;
    }

    .filter-tags {
        justify-content: center;
    }

    .pagination-link.prev,
    .pagination-link.next {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .pagination-link {
        padding: 10px 15px;
        min-width: 40px;
    }

    .article-footer-actions {
        gap: 15px;
    }

    .article-tags {
        justify-content: center;
    }

    .tags-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .share-button {
        font-size: 1.2rem;
    }

    .listing-primary,
    .article-body,
    .article-intro-section,
    .article-comments,
    .related-articles,
    .author-bio,
    .sidebar-widget {
        padding: 25px;
    }

    .article-toc {
        padding: 25px;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .comment-form-section {
        padding: 25px;
    }

    .listing-primary {
        padding: 0;
        border: none;
        box-shadow: none;
        background: none;
    }

    .article-body,
    .related-articles {
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
    }
}


@media print {

    .site-header,
    .hamburger,
    .header-actions,
    .listing-controls,
    .sidebar-widget,
    .article-share,
    .comment-form-section,
    .site-footer,
    #backToTop {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: white;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .page-intro,
    .category-header,
    .article-header {
        padding: 20px 0;
        background: white !important;
        color: #000 !important;
    }

    .category-title,
    .article-title {
        color: #000 !important;
    }

    .category-description,
    .article-subtitle {
        color: #666 !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .article-body {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .article-tip,
    .article-quote {
        border: 1px solid #ddd !important;
        background: #f9f9f9 !important;
    }

    .article-footer-actions {
        border-top: 1px solid #ddd;
    }

    @page {
        margin: 2cm;
    }
}