/* --- TURISTIČKI ADRESAR SRBIJE - PREMIUM STIL --- */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-red: #c92c3b;
    --primary-blue: #0c407c;
    --accent-green: #2e6f40;
    --accent-brown: #7a5230;
    --bg-light: #faf8f6;       /* Topla prljavo bela */
    --bg-surface: #ffffff;
    --text-primary: #1e2530;   /* Tamno siva/crna */
    --text-secondary: #4a5468; /* Srednje tamna siva */
    --text-muted: #7d899c;     /* Svetlo siva */
    --border-color: #ebdcd3;   /* Topla krem-siva ivica */
    --border-light: #f3eae5;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(122, 82, 48, 0.05);
    --shadow-md: 0 10px 25px rgba(12, 64, 124, 0.06);
    --shadow-lg: 0 15px 35px rgba(122, 82, 48, 0.1);
    
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.8px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red) 50%, var(--primary-blue) 50%);
}

h3 {
    font-size: 1.45rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.3rem;
    color: var(--text-secondary);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

/* --- HEADER & NAVIGATION --- */
.header-flag-strip {
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red) 33.3%, var(--primary-blue) 33.3%, var(--primary-blue) 66.6%, #ffffff 66.6%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-morph-container {
    position: relative;
    width: 36px;
    height: 36px;
}

.logo-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--primary-red);
    opacity: 0;
    transform: scale(0.7) rotate(-20deg);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-svg.active {
    opacity: 1;
    color: var(--primary-red);
    transform: scale(1) rotate(0deg);
}

/* Specific colors for specific logo states in cycling */
#logo-wine.active { color: #c8102e; }   /* Wine / Drink */
#logo-food.active { color: #e67e22; }   /* Food */
#logo-bike.active { color: #2ecc71; }   /* Bicycle */
#logo-car.active { color: #3498db; }    /* Automobile */
#logo-music.active { color: #9b59b6; }  /* Music */
#logo-mountain.active { color: #27ae60; }   /* Nature (Mountain) */


.logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

.site-nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.2rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background-color: #121824;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 64, 124, 0.85) 0%, rgba(18, 24, 36, 0.9) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* --- SEARCH BAR --- */
.search-wrapper {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.2rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    background-color: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    box-shadow: 0 4px 25px rgba(201, 44, 59, 0.25);
}

.search-icon {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* --- CONTENT LAYOUT WITH SIDEBAR --- */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 3rem 0;
}

.main-content {
    background-color: var(--bg-surface);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden; /* Prevent child elements from breaking border radius or spilling */
}

.article-banner-img {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-light);
}

.article-body-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body-text ul, .article-body-text ol {
    margin-top: 1rem;
    margin-bottom: 1.8rem;
    padding-left: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body-text li {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.article-body-text ul {
    list-style-type: disc;
}

.article-body-text ol {
    list-style-type: decimal;
}

.article-body-text li strong:first-child {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}


/* --- SIDEBAR --- */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-link-item a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    transition: var(--transition);
}

.sidebar-link-item a:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

.sidebar-link-item a i {
    color: var(--primary-blue);
    font-size: 0.85rem;
}

/* --- DIRECTORY BOXES (CTA BOXES) --- */
.directory-section-box {
    background-color: #f7fafc;
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.directory-box-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.directory-box-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.directory-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
}

.directory-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.directory-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.directory-btn span.badge {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-weight: 700;
}

.directory-btn:hover span.badge {
    background-color: var(--primary-red);
}

/* --- ARTICLES LIST / GRID (HOME & CATEGORIES) --- */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.6rem;
}

.section-title {
    font-size: 2.1rem;
    border: none;
    padding: 0;
    margin: 0;
}

.section-title::after {
    display: none;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.articles-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


.article-card {
    background-color: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 64, 124, 0.2);
}

.card-header-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    gap: 1rem;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.card-title a {
    color: var(--text-primary);
}

.card-title a:hover {
    color: var(--primary-red);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.read-more-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.read-more-btn:hover {
    color: var(--primary-red);
}

/* --- STATS BOX (SIDEBAR) --- */
.stats-box-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.stats-box-item:last-child {
    border-bottom: none;
}

.stats-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.stats-value {
    color: var(--text-primary);
    font-weight: 700;
}

/* --- ALERTS & BLOCKQUOTES --- */
blockquote {
    border-left: 4px solid var(--primary-blue);
    background-color: #f7fafc;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

.alert-box {
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 4px solid;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.alert-box.note-alert {
    background-color: #f0f7ff;
    border-left-color: #2b6cb0;
}

.alert-box.note-alert .alert-title {
    color: #2b6cb0;
    font-weight: 700;
    font-family: var(--font-heading);
}

.alert-box.tip-alert {
    background-color: #f0fff4;
    border-left-color: #2f855a;
}

.alert-box.tip-alert .alert-title {
    color: #2f855a;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* --- TABLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

th, td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: #f7fafc;
    font-weight: 700;
    color: var(--primary-blue);
}

tr:nth-child(even) {
    background-color: #fafbfc;
}

/* --- SMART CHARTS (STATISTICS) --- */
.smart-chart-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.chart-title {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--primary-blue);
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bar-chart-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
}

.bar-track {
    background-color: #edf2f7;
    height: 16px;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: var(--transition);
}

.bar-fill-blue {
    background-color: var(--primary-blue);
}

.bar-fill-red {
    background-color: var(--primary-red);
}

.bar-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* --- WALLPAPERS GRID PAGE --- */
.wallpapers-page-desc {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.wallpapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.wallpaper-card {
    background-color: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.wallpaper-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 44, 59, 0.2);
}

.wallpaper-img-box {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.wallpaper-location-badge {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.wallpaper-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wallpaper-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.wallpaper-title a {
    color: var(--text-primary);
}

.wallpaper-title a:hover {
    color: var(--primary-red);
}

.wallpaper-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wallpaper-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.wp-dl-btn {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.wp-dl-btn-desktop {
    background-color: #edf2f7;
    color: var(--text-primary);
}

.wp-dl-btn-desktop:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.wp-dl-btn-mobile {
    background-color: #fff5f5;
    color: var(--primary-red);
}

.wp-dl-btn-mobile:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

/* --- WALLPAPER SINGLE PAGE --- */
.wallpaper-single-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 3rem 0;
}

.wallpaper-preview-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wallpaper-preview-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background-color: #eaeaea;
}

.wallpaper-preview-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.wallpaper-details-panel {
    background-color: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.wp-location-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wallpaper-single-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.wp-section-header {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.wp-desc-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-actions-block {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 2px solid var(--border-light);
    padding-top: 1.8rem;
}

.action-dl-button {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.action-dl-desktop {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.action-dl-desktop:hover {
    background-color: #082d5a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-dl-mobile {
    background-color: var(--primary-red);
    color: #ffffff;
}

.action-dl-mobile:hover {
    background-color: #a8202d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.site-footer {
    background-color: #121824;
    color: #edf2f7;
    padding: 4.5rem 0 2rem 0;
    border-top: 4px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-about-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.footer-about-logo span {
    color: var(--primary-red);
}

.footer-about-desc {
    color: #a0aec0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-section-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-item a {
    color: #cbd5e0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link-item a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.88rem;
    color: #a0aec0;
}

.footer-motto {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e0;
    letter-spacing: 0.5px;
}

/* --- FAQ ACCORDION --- */
.faq-header-title {
    margin-top: 3rem;
}

.faq-accordion {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.1rem 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: var(--transition);
    color: var(--text-primary);
}

.faq-item summary:hover {
    color: var(--primary-blue);
    background-color: #fafbfc;
}

.faq-answer {
    padding: 0 1.5rem 1.1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .wallpaper-grid-details {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .articles-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-banner-img {
        height: 220px;
        margin-bottom: 1.5rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .articles-grid-3col {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
    }
    
    .site-nav.open {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.6rem 0;
    }
    
    .nav-link.active::after {
        bottom: 0;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .wallpapers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- FOOTER WIDGETS SECTION --- */
.footer-widgets-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
}

.widgets-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-blue);
    border-bottom: none;
    padding-bottom: 0;
}

.widgets-section-title::after {
    display: none;
}

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

.widget-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12, 64, 124, 0.15);
}

.widget-icon {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.widget-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.widget-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    transition: var(--transition);
}

.widget-card:hover .widget-action {
    color: var(--primary-red);
}

/* --- RESPONSIVE TABLES & METADATA --- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-surface);
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Prevent text squishing by defining minimum width, causing clean scroll on mobile */
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.article-meta-info .meta-category {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta-info .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta-info .meta-separator {
    color: var(--border-color);
}

@media (max-width: 576px) {
    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    
    .article-meta-info .meta-separator {
        display: none;
    }
}


