/*
Theme Name: VPNVeilv2
Theme URI: https://vpnveil.com/
Author: Your Name
Description: A custom WordPress theme for VPNVeil.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vpnveil
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1f33;
    color: white;
    text-align: center;
}

body.home nav {
    display: none !important;
}

.hero {
    width: 100%;
    height: 50vh;
    background: url('<?php echo get_template_directory_uri(); ?>/images/vpnveil_hero_image.png') 
        no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.vpn-pros-cons .card {
    width: 60%;
    margin: 5px auto;
}

.vpn-security img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 3;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    color: black;
}

.sidebar {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    color: black;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-item {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-item img {
    width: 100%;
    border-radius: 5px;
}

.blog-item h3 {
    margin: 10px 0;
    font-size: 18px;
}

.blog-item a {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
}

.featured-image img {
    width: 100%;
    border-radius: 5px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; /* Pushes the footer down */
}

.footer {
    width: 100%;
    background: #111;
    color: white;
    padding: 0;
    margin: 0;
    text-align: center;
}
