/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .top-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .main-sidebar {
        padding: 1.5rem;
    }
    
    .suggested-thumbnail {
        width: 90px;
        height: 90px;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .feature-card {
        min-height: 120px;
        max-height: 150px;
    }
    
    .podcast-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .privacy-banner {
        width: 180px;
        height: 180px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container, .container-fluid {
        padding: 0 16px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Tool Cards Mobile */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tool-card .tool-icon,
    .tools-logo {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 0.875rem;
    }

    .tool-title {
        font-size: 1rem;
    }

    .tool-platform {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .tool-features {
        padding: 1.5rem;
    }

    .tool-download-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .tool-details-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .tool-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Modal Mobile */
    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
        margin: 0 1rem;
    }

    .modal-close {
        top: 0.75rem;
        left: 0.75rem;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .modal-header .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-features h3 {
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .top-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
        order: 1;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: right !important;
        min-height: 130px;
        max-height: 150px;
        gap: 0.75rem;
        padding: 1rem;
        overflow: visible;
    }
    
    .feature-card .card-content {
        text-align: right !important;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        text-align: right !important;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        text-align: right !important;
    }
    
    /* Mobile Menu Grid */
    .mobile-menu-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .mobile-menu-card {
        background: rgba(157, 9, 19, 0.15);
        border: 1px solid rgba(157, 9, 19, 0.3);
        border-radius: 0;
        padding: 1.25rem 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        color: #ff4444;
        transition: all 0.3s ease;
        min-height: 95px;
        justify-content: center;
    }
    
    .mobile-menu-card:hover {
        background: rgba(157, 9, 19, 0.25);
        border-color: rgba(157, 9, 19, 0.5);
        transform: translateY(-2px);
    }
    
    .mobile-menu-card svg {
        stroke: #ff4444;
    }
    
    .mobile-menu-card span {
        font-size: 0.9rem;
        font-weight: 700;
        text-align: center;
    }
    
    /* Mobile Menu Section Title */
    .mobile-menu-section-title {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.25rem;
        font-weight: 700;
        padding: 1.5rem 1rem 1rem;
        text-align: right;
    }
    
    /* Mobile Menu Links */
    .mobile-menu-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-menu-link {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem 1rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 700;
        transition: all 0.3s ease;
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        min-height: 120px;
    }
    
    .mobile-menu-link:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }
    
    /* Mobile Search Box */
    .mobile-search-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        padding: 1rem 1.25rem;
        width: calc(100% - 2rem);
        margin: 0 1rem 1.5rem;
        color: rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
    }
    
    .mobile-search-box:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-search-box span {
        font-size: 0.95rem;
    }
    
    .mobile-search-box svg {
        stroke: rgba(255, 255, 255, 0.5);
    }
    
    /* Mobile Tools Section */
    .mobile-tools-section {
        display: block !important;
        width: 100%;
        padding: 0 1rem 1.5rem;
    }
    
    .mobile-tools-title {
        color: var(--primary-color);
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.75rem;
        padding: 0 0.25rem;
    }
    
    .mobile-tools-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .mobile-tool-card {
        background: rgba(30, 30, 30, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        padding: 1.25rem 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.2s ease;
        min-height: 120px;
        text-align: center;
    }
    
    .mobile-tool-card:hover {
        background: rgba(157, 9, 19, 0.2);
        border-color: rgba(157, 9, 19, 0.4);
        color: var(--primary-color);
    }
    
    .mobile-tool-card svg {
        flex-shrink: 0;
        stroke: currentColor;
        opacity: 0.8;
    }
    
    .mobile-tool-card:hover svg {
        opacity: 1;
    }
    
    .mobile-tool-card span {
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.3;
    }
    
    /* Color variants for mobile tool cards */
    .mobile-tool-card.bpb-item {
        background: rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.2);
    }
    
    .mobile-tool-card.bpb-item:hover {
        background: rgba(34, 197, 94, 0.2);
        border-color: rgba(34, 197, 94, 0.4);
        color: #22c55e;
    }
    
    .mobile-tool-card.iran-off-item {
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.2);
    }
    
    .mobile-tool-card.iran-off-item:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
        color: #3b82f6;
    }
    
    .mobile-tool-card.toolkit-item {
        background: rgba(139, 69, 19, 0.1);
        border-color: rgba(139, 69, 19, 0.2);
    }
    
    .mobile-tool-card.toolkit-item:hover {
        background: rgba(139, 69, 19, 0.2);
        border-color: rgba(139, 69, 19, 0.4);
        color: #D2691E;
    }
    
    /* Hide desktop nav items on mobile */
    .desktop-only {
        display: none !important;
    }
    
    /* Fix podcast card for mobile */
    .feature-card.podcast-card {
        padding: 1.25rem;
        min-height: 130px;
        max-height: 150px;
    }
    
    .podcast-icon-wrapper {
        position: absolute;
        left: -20px;
        bottom: -30px;
        width: 100px;
        height: 100px;
    }
    
    .podcast-icon-bg {
        width: 100%;
        height: 100%;
    }
    
    .podcast-icon {
        width: 80%;
        height: 80%;
        object-fit: contain;
    }
    
    /* Fix privacy card for mobile */
    .feature-card.privacy-card {
        padding: 1.25rem;
        min-height: 130px;
        max-height: 150px;
    }
    
    /* Cloudflare card for mobile */
    .feature-card.cloudflare-card {
        padding: 1.25rem;
        min-height: 130px;
        max-height: 150px;
    }
    
    .cloudflare-bg-icon {
        width: 150px;
        height: 150px;
        left: -20px;
        top: -20px;
        opacity: 0.25;
    }
    
    .privacy-banner {
        position: absolute;
        left: -30px;
        bottom: -60px;
        width: 180px;
        height: 180px;
    }
    
    .privacy-banner-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .main-sidebar {
        order: 2;
        margin-bottom: 1.5rem;
        margin-left: -16px;
        margin-right: -16px;
        padding: 1.5rem 16px;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .sidebar-header {
        border-bottom: none !important;
        padding-bottom: 1rem;
    }

    .sidebar-header h3 {
        font-size: 1.15rem;
    }
    
    .suggested-item {
        flex-direction: row;
        padding: 1rem 0;
        gap: 1rem;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none !important;
        transform: none !important;
    }

    .suggested-item:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
    }

    .suggested-item:last-child {
        border-bottom: none;
    }
    
    .suggested-thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        border-radius: 8px;
    }
    
    .suggested-content h4 {
        font-size: 0.9rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .card-btn {
        margin: 0 auto;
    }
    
    .main-article-section {
        order: 3;
    }
    
    .main-article-section .article-hero {
        min-height: 400px;
    }
    
    .main-article-section .article-content {
        position: relative;
        z-index: 2;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.65) 70%, transparent 100%);
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .main-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .article-summary {
        font-size: 1rem;
    }
    

    /* Ensure header is sticky in mobile */
    .top-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        background: #000000 !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
    }

    /* Mobile Navigation */
    .header-right .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(44, 44, 57, 0.98), rgba(38, 38, 50, 0.98));
        backdrop-filter: blur(40px);
        flex-direction: row;
        flex-wrap: wrap;
        padding: 6rem 1.5rem 2rem;
        border: none;
        border-radius: 0;
        gap: 1.25rem;
        z-index: 9998;
        box-shadow: none;
        animation: slideDownFull 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform-origin: top center;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
        align-content: flex-start;
    }

    @keyframes slideDownFull {
        0% {
            opacity: 0;
            transform: translateY(-100%);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-right .main-nav::-webkit-scrollbar {
        width: 4px;
    }

    .header-right .main-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .header-right .main-nav::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .header-right .main-nav::-webkit-scrollbar-thumb:hover {
        background: #c70812;
    }

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

    .header-right .main-nav .nav-item {
        width: calc(33.333% - 0.75rem);
        min-width: 95px;
        height: 110px;
        padding: 0;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(224, 47, 58, 0.08), rgba(224, 47, 58, 0.12));
        border: 1.5px solid rgba(224, 47, 58, 0.25);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.95);
        z-index: 1;
        letter-spacing: -0.01em;
    }
    
    .header-right .main-nav .nav-item > *,
    .header-right .main-nav .nav-item {
        position: relative;
    }
    
    /* متن زیر آیکون */
    .header-right .main-nav .nav-item {
        padding-top: 52px;
    }
    
    /* آیکون‌های منو */
    .header-right .main-nav .nav-item[href*="index"]::before,
    .header-right .main-nav .nav-item[href*="tools"]::before,
    .header-right .main-nav .nav-item[href*="articles"]::before,
    .header-right .main-nav .nav-item[href*="podcasts"]::before,
    .header-right .main-nav .nav-item[href*="about"]::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(-10px);
        width: 36px;
        height: 36px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 3;
        filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(3024%) hue-rotate(346deg) brightness(93%) contrast(96%);
        transition: all 0.3s ease;
    }
    
    .header-right .main-nav .nav-item[href*="index"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    }
    
    .header-right .main-nav .nav-item[href*="tools"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'%3E%3C/path%3E%3C/svg%3E");
    }
    
    .header-right .main-nav .nav-item[href*="articles"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'%3E%3C/path%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'%3E%3C/path%3E%3C/svg%3E");
    }
    
    .header-right .main-nav .nav-item[href*="podcasts"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'%3E%3C/path%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'%3E%3C/path%3E%3Cline x1='12' y1='19' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='8' y1='23' x2='16' y2='23'%3E%3C/line%3E%3C/svg%3E");
    }
    
    .header-right .main-nav .nav-item[href*="about"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    }

    .header-right .main-nav .nav-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(224, 47, 58, 0.1), rgba(224, 47, 58, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .header-right .main-nav .nav-item:hover::after {
        opacity: 1;
    }

    .header-right .main-nav .nav-item:hover {
        background: linear-gradient(135deg, rgba(224, 47, 58, 0.18), rgba(224, 47, 58, 0.25));
        border-color: rgba(224, 47, 58, 0.6);
        color: white;
        box-shadow: 0 8px 24px rgba(224, 47, 58, 0.4), 0 0 0 1px rgba(224, 47, 58, 0.3);
        transform: translateY(-4px) scale(1.02);
    }
    
    .header-right .main-nav .nav-item:hover::before {
        transform: translate(-50%, -50%) translateY(-10px) scale(1.1);
        filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(3024%) hue-rotate(346deg) brightness(110%) contrast(96%);
    }

    .header-right .main-nav .nav-item:active {
        transform: translateY(-2px) scale(0.98);
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative !important;
        z-index: 10001 !important;
    }

    /* Article Page Mobile */
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem 2rem;
    }
    
    .article-sidebar {
        order: 2;
        position: relative;
        top: auto;
    }
    
    .article-main {
        order: 1;
    }
    
    .article-hero {
        height: 300px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-header,
    .article-content,
    .article-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Articles Grid - Remove card borders on mobile */
    .articles-grid {
        gap: 0;
        margin-left: -16px;
        margin-right: -16px;
    }

    .article-card {
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: var(--card-bg);
        box-shadow: none !important;
        transform: none !important;
    }

    .article-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .article-card:last-child {
        border-bottom: none;
    }

    .article-card-image {
        border-radius: 0 !important;
        height: 140px;
    }

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

    /* Fix homepage hero overlay on mobile */
    .main-article-section .article-content {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
        padding: 2.5rem 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container, .container-fluid {
        padding: 0 12px;
    }
    
    .main-wrapper {
        padding: 0.75rem 0;
    }

    /* Header */
    .top-header {
        padding: 0.75rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .logo-icon {
        width: 26px;
        height: 26px;
    }

    /* Main Content */
    .main-content {
        padding: 1rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Articles Grid - Remove card borders on mobile */
    .articles-grid {
        gap: 0;
        margin-left: -12px;
        margin-right: -12px;
    }

    .article-card {
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none !important;
        transform: none !important;
    }

    .article-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .article-card:last-child {
        border-bottom: none;
    }

    .article-card-image {
        border-radius: 0 !important;
        height: 120px;
    }

    .article-card-content {
        padding: 1.25rem 12px;
    }

    /* Cyber Threats Section */
    .cyber-threats-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .cyber-header h3 {
        font-size: 1.25rem;
    }

    .cyber-main-card {
        flex-direction: column;
        padding: 1rem;
    }

    .cyber-image {
        width: 100%;
        height: 180px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .cyber-content {
        padding: 1rem;
    }

    .cyber-content h4 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .cyber-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .cyber-meta {
        font-size: 0.8rem;
        gap: 0.75rem;
    }

    .cyber-list {
        gap: 0.75rem;
    }

    .cyber-item {
        padding: 0.875rem;
    }

    .cyber-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .cyber-item h5 {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .cyber-date {
        font-size: 0.75rem;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-links li a,
    .contact-link {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .install-pwa-btn {
        width: 100%;
        justify-content: center;
    }

    /* Tool Cards Small Mobile */
    .tools-grid {
        gap: 1rem;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tool-card .tool-icon,
    .tools-logo {
        width: 55px;
        height: 55px;
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }

    .tool-title {
        font-size: 0.95rem;
    }

    .tool-description {
        font-size: 0.8rem;
    }

    .tool-platform {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }

    .tool-platform svg {
        width: 12px;
        height: 12px;
    }

    .tool-features {
        padding: 1rem;
    }

    .tool-features h4 {
        font-size: 1rem;
    }

    .feature-item strong {
        font-size: 0.9rem;
    }

    .tool-features li {
        font-size: 0.85rem;
    }

    /* Modal Small Mobile */
    .modal-content {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .modal-header {
        padding-bottom: 1rem;
    }

    .modal-header .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-header p {
        font-size: 0.85rem;
    }

    .modal-features h3 {
        font-size: 1rem;
    }

    .feature-item strong {
        font-size: 0.85rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .article-item {
        padding: 0.75rem;
    }
    
    .article-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .article-title-small {
        font-size: 0.8rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .date-badge {
        padding: 0.75rem 1rem;
    }
    
    .date-day {
        font-size: 1.2rem;
    }
    
    .tools-banner {
        padding: 1.5rem;
    }
    
    .banner-text h3 {
        font-size: 1.2rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }

    /* Suggested Articles Sidebar */
    .main-sidebar {
        margin-left: -12px;
        margin-right: -12px;
        padding: 1.25rem 12px;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .sidebar-header {
        border-bottom: none !important;
        padding-bottom: 0.75rem;
    }

    .sidebar-header h3 {
        font-size: 1.1rem;
    }

    .suggested-item {
        padding: 0.875rem 0;
        gap: 0.75rem;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none !important;
        transform: none !important;
    }

    .suggested-item:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
    }

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

    .suggested-thumbnail {
        width: 55px;
        height: 55px;
        border-radius: 6px;
    }

    .suggested-content h4 {
        font-size: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .suggested-date {
        font-size: 0.7rem;
    }

    /* Article Hero Section */
    .main-article-section .article-hero {
        min-height: 350px;
    }

    .article-visual {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

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

    .main-article-section .article-content {
        position: relative;
        z-index: 2;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 35%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.3) 85%, transparent 100%);
        padding: 2rem 1.25rem;
        width: 100%;
    }

    .main-title {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .article-summary {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .read-time,
    .bookmark-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .read-more-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* Privacy Card */
    .feature-card.privacy-card {
        padding: 1.25rem;
        min-height: 130px;
        max-height: 150px;
    }

    .privacy-banner {
        position: absolute;
        left: -30px;
        bottom: -60px;
        width: 180px;
        height: 180px;
    }
    
    .privacy-banner-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .privacy-card h3 {
        font-size: 1.05rem;
    }

    .privacy-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Podcast Card */
    .feature-card.podcast-card {
        padding: 1.25rem;
        min-height: 130px;
        max-height: 150px;
    }

    .podcast-icon-wrapper {
        position: absolute;
        left: -20px;
        bottom: -30px;
        width: 100px;
        height: 100px;
    }

    .podcast-icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .podcast-card h3 {
        font-size: 1.05rem;
    }

    .podcast-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .card-content {
        text-align: center;
    }
}
