/*
Theme Name: MyBlog Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A modern, clean blog theme with featured post carousel and optimized layouts
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myblog-theme
*/

/* ===============================================
   CSS RESET & BASE STYLES
   =============================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #1D1D1F;
    background-color: #FFFFFF;
    font-size: 15px;
}

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

a {
    color: #1A73E8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1557b0;
}

ul {
    list-style: none;
}

/* ===============================================
   CONTAINER & LAYOUT
   =============================================== */

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

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding: 40px 0;
}

/* ===============================================
   HEADER STYLES
   =============================================== */

.site-header {
    background: linear-gradient(135deg, #F8FBFF 0%, #F0F7FF 100%);
    border-bottom: 1px solid #E3F0FF;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.08);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0;
    box-shadow: 0 2px 20px rgba(26, 115, 232, 0.12);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-container {
    padding: 5px 20px;
}

/* Adjust body padding for fixed header */
body {
    padding-top: 75px;
}

body.scrolled {
    padding-top: 60px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-navigation {
    flex: 1;
    margin: 0 30px 0 50px;
}

.main-navigation ul {
    display: flex;
    gap: 29px;
    align-items: center;
}

.main-navigation a {
    color: #1D1D1F;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: #1A73E8;
}

.main-navigation a::after {
    display: none;
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    z-index: 9999;
    margin-top: 0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #F0F0F0;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul ul a::after {
    display: none;
}

.main-navigation ul ul a:hover {
    background: #F9F9F9;
    padding-left: 25px;
}

/* Submenu indicator */
.main-navigation li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-navigation li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    transition: transform 0.3s ease;
    position: relative;
    display: inline-block;
}

.main-navigation li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.main-navigation ul ul li.menu-item-has-children > a::after {
    content: '\f105';
    position: relative;
}

.header-search {
    flex-shrink: 0;
    position: relative;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.header-search-form input[type="search"] {
    width: 0;
    padding: 0;
    border: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.header-search-form.active input[type="search"] {
    width: 220px;
    padding: 8px 15px;
    border: 2px solid #1A73E8;
    border-radius: 25px 0 0 25px;
    opacity: 1;
    font-size: 14px;
    outline: none;
}

.search-toggle {
    background: #1A73E8;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-form.active .search-toggle {
    border-radius: 0 25px 25px 0;
    background: #1557b0;
}

.search-toggle:hover {
    background: #1557b0;
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1D1D1F;
    padding: 8px;
}

/* Remove old search modal */
.search-modal {
    display: none !important;
}

/* ===============================================
   FEATURED POSTS CAROUSEL
   =============================================== */

.featured-carousel {
    background: #F8F8F8;
    padding: 60px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000000;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #000000;
    align-items: stretch;
}

.carousel-image {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease-out;
}

.carousel-item:hover .carousel-image img {
    transform: scale(1.05);
}

.carousel-content {
    position: relative;
    padding: 60px;
    background: #000000;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #1A73E8;
    color: #FFFFFF;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    align-self: flex-start;
}

.carousel-category::before {
    content: '●';
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.carousel-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.carousel-title a {
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.carousel-title a:hover {
    color: #1A73E8;
}

.carousel-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
}

.carousel-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.carousel-meta i {
    color: #1A73E8;
    font-size: 16px;
}

.carousel-excerpt {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
}

.carousel-read-more {
    display: none;
}

.carousel-controls {
    display: none;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    padding: 30px 0 0;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D0D0D0;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-dot:hover {
    background: #1A73E8;
    transform: scale(1.3);
}

.carousel-dot.active {
    background: #1A73E8;
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.5);
}

/* ===============================================
   MAIN CONTENT AREA
   =============================================== */

.content-area {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===============================================
   POST CARD STYLES
   =============================================== */

.post-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #E3F0FF;
    box-shadow: 0 2px 10px rgba(26, 115, 232, 0.05);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 115, 232, 0.12);
    border-color: #1A73E8;
}

.post-thumbnail {
    flex-shrink: 0;
    width: 330px;
    height: 186px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

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

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: #E8F0FE;
    color: #1A73E8;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-title a {
    color: #1D1D1F;
}

.post-title a:hover {
    color: #1A73E8;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-top: auto;
}

/* ===============================================
   SIDEBAR STYLES
   =============================================== */

.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.widget {
    padding: 25px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    border-radius: 16px;
    border: 1px solid #E3F0FF;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1D1D1F;
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1A73E8 0%, #1557b0 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1A73E8 0%, transparent 100%);
    border-radius: 2px;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #E8E8E8;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.search-form button {
    padding: 12px 20px;
    background: #1A73E8;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts-widget .post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
}

.recent-posts-widget .post-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1);
    border-color: #1A73E8;
}

.recent-posts-widget .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-widget .post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.recent-posts-widget .post-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recent-posts-widget .post-item:hover .post-thumb::after {
    opacity: 1;
}

.recent-posts-widget .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-posts-widget .post-item:hover .post-thumb img {
    transform: scale(1.1);
}

.recent-posts-widget .post-info {
    flex: 1;
}

.recent-posts-widget .post-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-posts-widget .post-info h4 a {
    color: #1D1D1F;
}

.recent-posts-widget .post-info h4 a:hover {
    color: #1A73E8;
}

.recent-posts-widget .post-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-posts-widget .post-date i {
    color: #1A73E8;
}

/* Categories Widget */
.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    border-radius: 8px;
    color: #1D1D1F;
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
}

.categories-list a:hover {
    background: linear-gradient(135deg, #1A73E8 0%, #1557b0 100%);
    color: #FFFFFF;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    border-color: #1A73E8;
}

.categories-list .count {
    color: #999;
    background: rgba(26, 115, 232, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.categories-list a:hover .count {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.25);
}

/* Tags Widget */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    border: 2px solid #E3F0FF;
    border-radius: 20px;
    font-size: 13px;
    color: #1D1D1F;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tags-list a:hover {
    background: linear-gradient(135deg, #1A73E8 0%, #1557b0 100%);
    color: #FFFFFF;
    border-color: #1A73E8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* ===============================================
   SINGLE POST STYLES
   =============================================== */

.single-post {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1D1D1F;
}

.single-post-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    padding-bottom: 20px;
    border-bottom: 2px solid #F0F0F0;
}

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

.single-post-meta .author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.single-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

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

.single-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    margin: 30px 0 20px;
    font-weight: 700;
    color: #1D1D1F;
    line-height: 1.3;
}

.single-post-content h2 { font-size: 28px; }
.single-post-content h3 { font-size: 24px; }
.single-post-content h4 { font-size: 20px; }

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.single-post-content ol li {
    list-style: decimal;
}

.single-post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #F9F9F9;
    border-left: 4px solid #1A73E8;
    font-style: italic;
    font-size: 20px;
}

.single-post-content img {
    margin: 30px 0;
    border-radius: 8px;
}

.single-post-content a {
    color: #1A73E8;
    text-decoration: underline;
}

.post-tags {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 2px solid #F0F0F0;
    border-bottom: 2px solid #F0F0F0;
}

.post-tags h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1D1D1F;
}

/* ===============================================
   PAGINATION STYLES
   =============================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    color: #1D1D1F;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
    background: #1A73E8;
    color: #FFFFFF;
    border-color: #1A73E8;
    transform: translateY(-2px);
}

.pagination .dots {
    border: none;
}

/* ===============================================
   FOOTER STYLES
   =============================================== */

.site-footer {
    background: #1D1D1F;
    color: #FFFFFF;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-widget p {
    line-height: 1.8;
    color: #B8B8B8;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1A73E8;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #B8B8B8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #1A73E8;
    padding-left: 5px;
}

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

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.newsletter-form input[type="email"]::placeholder {
    color: #B8B8B8;
}

.newsletter-form button {
    padding: 12px 20px;
    background: #1A73E8;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B8B8B8;
    font-size: 14px;
}

/* ===============================================
   RESPONSIVE STYLES
   =============================================== */

@media (max-width: 1024px) {
    .carousel-item {
        grid-template-columns: 1fr;
    }
    
    .carousel-content {
        padding: 40px 30px;
    }
    
    .carousel-title {
        font-size: 36px;
    }
    
    .content-area {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #FFFFFF;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #F0F0F0;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
    }
    
    /* Mobile Dropdown Menu */
    .main-navigation ul ul {
        position: static;
        display: none;
        box-shadow: none;
        background: #F9F9F9;
        border-radius: 0;
        margin-top: 0;
        padding-left: 20px;
    }
    
    .main-navigation li.menu-item-has-children.active > ul {
        display: block;
    }
    
    .main-navigation li.menu-item-has-children > a::after {
        position: static;
        transform: none;
        margin-left: 8px;
    }
    
    .main-navigation li.menu-item-has-children:hover > a::after {
        transform: none;
    }
    
    .post-card {
        flex-direction: column;
    }
    
    .post-thumbnail {
        width: 100%;
        height: 220px;
    }
    
    .single-post {
        padding: 25px 20px;
    }
    
    .single-post-title {
        font-size: 24px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .carousel-title {
        font-size: 28px;
    }
    
    .carousel-content {
        padding: 30px 25px;
    }
    
    .carousel-excerpt {
        font-size: 15px;
    }
    
    .featured-carousel {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .widget {
        padding: 20px;
    }
}
    
    .carousel-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Mobile inline search */
    .header-search-form.active input[type="search"] {
        width: 150px;
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .search-toggle {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .single-post-title {
        font-size: 20px;
    }
    
    .single-post {
        padding: 20px 15px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .header-container {
        padding: 12px 15px;
    }
    
    .site-logo img {
        height: 35px;
    }
    
    .carousel-title {
        font-size: 24px;
    }
    
    .carousel-content {
        padding: 25px 20px;
    }
    
    .carousel-excerpt {
        font-size: 14px;
    }
    
    .carousel-category {
        font-size: 10px;
        padding: 6px 15px;
    }
    
    .post-card {
        padding: 20px;
    }
    
    .featured-carousel {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    
    .widget {
        padding: 18px;
    }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

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

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
