/*
Theme Name: Ulica Inwestuje Theme
Theme URI: https://ulicainwestuje.pl/
Author: Antigravity AI
Description: Nowoczesny, niezwykle szybki, czysty i przyciągający uwagę szablon do WordPress, zaprojektowany z myślą o blogu o oszczędzaniu i inwestowaniu dla początkujących.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ulica-inwestuje
Tags: blog, custom-menu, featured-images, one-column, two-columns, translation-ready

========================================================================
   STYLE.CSS - Ulica Inwestuje Wordpress Template
   Brand Color: #ffc731 (Vibrant gold/yellow)
   Fonts: Outfit (Headings), Inter (Body)
======================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #ffc731;
    --primary-rgb: 255, 199, 49;
    --primary-hover: #e0ae27;
    --primary-light: #fffcf0;
    --dark: #0f172a;
    --dark-rgb: 15, 23, 42;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    /* Layout Details */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* ========================================================================
   1. Global Reset & Base Styles
   ======================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.625;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.25em;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================================================
   2. Header & Navigation (Floating / Glassmorphism)
   ======================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    transition: var(--transition);
}

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

/* Logo Design */
.logo-area a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 22px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    text-transform: tracking;
}

.logo-area img {
    height: 42px;
    width: auto;
}

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

.logo-badge {
    background: var(--primary);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 4px;
    position: relative;
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--dark);
}

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

.nav-links li.active a {
    color: var(--dark);
}

/* Call to Action Button */
.btn-cta {
    background-color: var(--primary);
    color: var(--dark) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(255, 199, 49, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 199, 49, 0.3);
}

/* Mobile Menu Toggle button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
}

/* ========================================================================
   3. Hero Section (Spotlight Featured Post)
   ======================================================================== */
.hero-section {
    padding: 48px 0;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 480px;
    position: relative;
    transition: var(--transition);
}

.hero-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.hero-image-area {
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 199, 49, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
    background: var(--primary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-content-area {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 100%);
}

.post-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    align-items: center;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-category {
    color: var(--primary-hover);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 800;
}

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

.hero-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

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

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.read-more-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more-link svg {
    transition: var(--transition);
}

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

.read-more-link:hover svg {
    transform: translateX(4px);
}

/* ========================================================================
   4. Blog Layout (Main Content Grid + Sidebar)
   ======================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

/* Post Cards Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--dark);
}

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

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

.post-card-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.post-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.post-card-title a {
    color: var(--dark);
}

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

.post-card-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    font-size: 13px;
}

/* Pagination */
.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-numbers {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.page-numbers:hover,
.page-numbers.current,
.pagination .page-numbers.current {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* ========================================================================
   5. Sidebar Widget System
   ======================================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

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

/* Author / About Widget */
.widget-about {
    text-align: center;
}

.widget-about-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.widget-about-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.widget-about-role {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.widget-about-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.widget-about-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.social-circle:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Donate / Support Widget ("Wesprzyj") */
.widget-donate {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
}

.widget-donate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 199, 49, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.widget-donate .widget-title {
    color: #ffffff;
    border-bottom-color: #334155;
}

.donate-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-donate {
    display: flex;
    width: 100%;
    background-color: var(--primary);
    color: var(--dark) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    padding: 12px;
    border-radius: var(--radius-sm);
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 199, 49, 0.25);
    border: none;
    cursor: pointer;
}

.btn-donate:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 199, 49, 0.35);
}

/* Newsletter Widget */
.widget-newsletter {
    background: var(--primary-light);
    border-color: rgba(255, 199, 49, 0.3);
}

.newsletter-desc {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 199, 49, 0.15);
}

.newsletter-submit {
    background-color: var(--dark);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.newsletter-submit:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
}

/* Categories Widget */
.widget-categories ul {
    list-style: none;
}

.widget-categories li {
    margin-bottom: 12px;
}

.widget-categories li:last-child {
    margin-bottom: 0;
}

.widget-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-main);
    padding: 4px 0;
}

.widget-categories a:hover {
    color: var(--primary-hover);
    padding-left: 4px;
}

.category-count {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    transition: var(--transition);
}

.widget-categories a:hover .category-count {
    background: var(--primary);
    color: var(--dark);
}

/* ========================================================================
   6. Single Post Specific Page Styles
   ======================================================================== */
.single-post-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

.post-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.post-breadcrumbs a {
    color: var(--text-muted);
}

.post-breadcrumbs a:hover {
    color: var(--primary-hover);
}

.post-breadcrumbs span {
    font-size: 10px;
    color: var(--text-light);
}

/* Editorial Content Card */
.single-article {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 48px;
}

.single-article-header {
    margin-bottom: 32px;
}

.single-article-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.single-article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.single-article-image {
    margin: 0 -48px 36px;
    max-height: 480px;
    overflow: hidden;
}

.single-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Editorial typography standard */
.article-content {
    font-size: 17px;
    line-height: 1.75;
    color: #1e293b;
}

.article-content .lead {
    font-size: 20px;
    line-height: 1.65;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-content blockquote {
    background-color: var(--bg-body);
    border-left: 4px solid var(--primary);
    padding: 24px 32px;
    margin: 32px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 18px;
    color: var(--dark);
    font-weight: 500;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

/* Social Share Block */
.share-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.share-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.share-btn.fb { background-color: #3b5998; }
.share-btn.tw { background-color: #1da1f2; }
.share-btn.ln { background-color: #0077b5; }

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Author Box Below Article */
.author-box {
    margin-top: 48px;
    padding: 32px;
    background-color: var(--bg-body);
    border-radius: var(--radius-md);
    display: flex;
    gap: 24px;
    align-items: center;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-box-content {
    flex-grow: 1;
}

.author-box-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-box-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Comments Section Layout */
.comments-area {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 32px;
}

.comment-list {
    list-style: none;
    margin-bottom: 48px;
}

.comment {
    margin-bottom: 24px;
}

.comment-body {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-meta-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.comment-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
}

.comment-metadata {
    font-size: 12px;
    color: var(--text-light);
}

.comment-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

.comment-reply-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--primary-hover);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Reply indentation */
.children {
    list-style: none;
    padding-left: 48px;
    margin-top: 16px;
}

/* Comment Respond Form */
.comment-respond {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.comment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-submit {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--dark);
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.comment-form input:focus, .comment-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 199, 49, 0.15);
}

.submit-btn {
    background-color: var(--primary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 199, 49, 0.2);
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 199, 49, 0.3);
}

/* Layout Toggle Switcher */
.layout-toggle {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(255, 199, 49, 0.2);
}

/* Posts Horizontal List View Layout */
.posts-grid.view-list {
    grid-template-columns: 1fr !important;
    gap: 24px;
}

.posts-grid.view-list .post-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 220px;
}

.posts-grid.view-list .post-card-image {
    width: 280px;
    height: 100%;
    min-height: 220px;
    flex-shrink: 0;
}

.posts-grid.view-list .post-card-content {
    flex-grow: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.posts-grid.view-list .post-card-excerpt {
    margin-bottom: 16px;
    flex-grow: 1;
}

.posts-grid.view-list .post-card-footer {
    margin-top: auto;
}

/* List view mobile responsive collapse */
@media (max-width: 768px) {
    .posts-grid.view-list .post-card {
        flex-direction: column;
    }
    .posts-grid.view-list .post-card-image {
        width: 100%;
        height: 200px;
        min-height: auto;
    }
}

/* ========================================================================
   7. Site Footer Layout
   ======================================================================== */
.site-footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 64px 0 32px;
    font-size: 14px;
    border-top: 5px solid var(--primary);
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1e293b;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.copyright {
    color: var(--text-muted);
}

.copyright a {
    color: var(--text-light);
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ========================================================================
   8. Responsive Media Queries
   ======================================================================== */
@media (max-width: 1024px) {
    .blog-layout, .single-post-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 20px;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-content-area {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; 
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-article {
        padding: 24px;
    }
    
    .single-article-image {
        margin: 0 -24px 24px;
    }
    
    .single-article-title {
        font-size: 28px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}
