/*
Theme Name: GeneratePress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.6.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2025 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2025 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/


:root{--primary:#0E5C8A;--accent:#E07A1F;--text:#1A1F26;--muted:#5C6773;--bg:#fff;--alt:#F4F7F9;--border:#E2E8ED;--dark:#13232D;--r:10px;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:17px;line-height:1.8}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(var(--max),calc(100% - 32px));margin:auto}
.header{height:74px;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:50}.header-in{height:100%;display:flex;align-items:center;gap:28px}.logo{font:700 25px Georgia,serif;color:var(--primary);white-space:nowrap}.logo b{color:var(--accent)}.nav{margin-left:auto;display:flex;gap:24px;font-size:14px;font-weight:700}.nav a:hover{color:var(--primary)}.search-icon,.menu{border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px 11px;font-size:18px}.menu{display:none}
.hero{background:var(--alt);border-bottom:1px solid var(--border)}.hero-in{min-height:570px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:70px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--primary);margin-bottom:12px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.15;margin:0 0 15px}h1{font-size:52px;max-width:620px}h2{font-size:33px}h3{font-size:22px}.hero p{color:var(--muted);max-width:610px}.hero-search{display:flex;background:#fff;border:1px solid var(--border);padding:5px;border-radius:9px;margin-top:25px;max-width:620px}.hero-search input{flex:1;border:0;outline:0;padding:12px 14px;font:inherit;min-width:0}.btn{border:0;border-radius:7px;background:var(--primary);color:#fff;padding:11px 19px;font-weight:800;cursor:pointer}.popular{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px;font-size:12px;color:var(--muted)}.popular a{border-bottom:1px solid var(--border)}
.map{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;min-height:350px;display:flex;align-items:center}.map svg{width:100%}.land{fill:#a9c5d3;stroke:#fff;stroke-width:2}.ocean{fill:#edf5f8}.maptext{font:700 14px Arial;fill:#607784}
.ad{height:280px;background:var(--alt);border:1px solid var(--border);border-radius:var(--r);display:flex;align-items:center;justify-content:center;margin:30px 0;color:var(--muted);font-size:10px;letter-spacing:.14em}
.section{padding:58px 0}.alt{background:var(--alt);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.section-head p{margin:0;color:var(--muted);font-size:14px}.all{font-size:14px;color:var(--primary);font-weight:800;white-space:nowrap}
.continents{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.continent{background:#fff;border:1px solid var(--border);border-top:4px solid var(--c);border-radius:var(--r);padding:19px}.continent strong{font:700 21px Georgia,serif;display:block}.continent span{font-size:13px;color:var(--muted)}
.editorial{display:grid;grid-template-columns:1.35fr .65fr;gap:22px}.featured,.mini{background:#fff;border:1px solid var(--border);border-radius:var(--r);overflow:hidden}.visual{height:310px;background:linear-gradient(135deg,#d7e8ee,#f2f6f7);display:flex;align-items:center;justify-content:center;color:var(--primary);font:700 28px Georgia,serif}.body{padding:20px}.cat{font-size:11px;color:var(--primary);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.body h3{margin-top:6px}.body p{font-size:15px;color:var(--muted);margin:7px 0 13px}.read{font-size:13px;color:var(--primary);font-weight:800}.mini-list{display:grid;gap:16px}.mini .visual{height:120px;font-size:20px}.mini .body{padding:15px}.mini h3{font-size:19px}
.countries{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.country{background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:16px;text-align:center}.flag{font-size:35px;line-height:1.1}.country strong{display:block;font:700 17px Georgia,serif;margin-top:7px}.country small{font-size:11px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--border);border-radius:var(--r);overflow:hidden}.card .visual{height:190px;font-size:24px}.card .body{padding:18px}
.number{font:700 32px Georgia,serif;color:var(--accent);margin-bottom:5px}.list-card{background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:20px}
.footer{background:var(--dark);color:#dce6eb;padding:52px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}.footer h3{font-size:18px;color:#fff}.footer p,.footer a{font-size:13px;color:#aebdc5}.footer a{display:block;margin:5px 0}.copy{border-top:1px solid #31424b;margin-top:30px;padding-top:16px;font-size:12px;color:#91a2ab}
@media(max-width:1024px){.nav{gap:13px}.hero-in{grid-template-columns:1fr .9fr;gap:28px}.continents{grid-template-columns:repeat(3,1fr)}.countries{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){body{font-size:16px}.header{height:66px}.nav,.search-icon{display:none}.menu{display:block;margin-left:auto}.hero-in{grid-template-columns:1fr;min-height:auto;padding:45px 0}.hero-in h1{font-size:36px}.hero-search{display:block}.hero-search input{width:100%}.hero-search .btn{width:100%;margin-top:5px}.map{min-height:240px}.section{padding:43px 0}.section-head{display:block}.section-head .all{display:inline-block;margin-top:8px}.continents{grid-template-columns:repeat(2,1fr);gap:11px}.countries{grid-template-columns:repeat(2,1fr)}.editorial{grid-template-columns:1fr}.visual{height:220px}.cards{grid-template-columns:1fr}.ad{height:250px}.footer-grid{grid-template-columns:1fr;gap:20px}}
@media(max-width:390px){.continents,.countries{grid-template-columns:1fr}}


/* Reset GeneratePress defaults for full-bleed atlas layout */
.home .entry-header,
.home h1.entry-title {
  display: none !important;
}
.home .site-header,
.home #masthead {
  display: none !important;
}
.home .site-footer {
  display: none !important;
}
.home #primary,
.home .content-area,
.home #main,
.home .site-main,
.home .inside-article {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.home .site-content {
  padding: 0 !important;
}

/* ===================================================
   WORLDATLASX ARTICLE HEADING & CONTENT STYLES
   =================================================== */
.single .entry-content h2,
.wxa-article-content h2,
h2.wxa-h2 {
    color: #0E5C8A !important;
    background: #EAF2F7 !important;
    padding: 14px 22px !important;
    border-radius: 8px !important;
    border-left: 6px solid #0E5C8A !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin: 38px 0 20px 0 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(14,92,138,0.06) !important;
}

.single .entry-content h3,
.wxa-article-content h3,
h3.wxa-h3 {
    color: #B45309 !important;
    background: #FEF3C7 !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    border-left: 5px solid #E07A1F !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin: 28px 0 16px 0 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(224,122,31,0.05) !important;
}

.wxa-callout {
    background: #F4F7F9;
    border-left: 4px solid #0E5C8A;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #1A1F26;
}
.wxa-callout strong {
    color: #0E5C8A;
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.wxa-table-wrap {
    overflow-x: auto;
    margin: 30px 0;
}
.wxa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border: 1px solid #E2E8ED;
    border-radius: 8px;
}
.wxa-table th {
    background: #0E5C8A;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}
.wxa-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8ED;
    color: #1A1F26;
}
.wxa-table tr:nth-child(even) td {
    background: #F8FAFC;
}

/* WORDPRESS ADMIN BAR COMPATIBILITY */
html.wp-toolbar { margin-top: 32px !important; }
@media screen and (max-width: 782px) {
    html.wp-toolbar { margin-top: 46px !important; }
}
body.admin-bar .header { top: 32px !important; }
@media screen and (max-width: 782px) {
    body.admin-bar .header { top: 46px !important; }
}

/* ==========================================================================
   GLOBAL HEADER & FOOTER OVERRIDES FOR ALL PAGES
   ========================================================================== */
.site-header,
#masthead,
.site-footer,
#site-navigation {
  display: none !important;
}

/* WorldAtlasX Collapsible Header Search Bar */
.header-search-bar {
  background: var(--alt);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: all 0.2s ease;
}
.header-search-form {
  display: flex;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}
.header-search-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 15px;
  outline: none;
}
.header-search-form input:focus {
  border-color: var(--primary);
}


/* HOMEPAGE FEATURED IMAGES STYLING */
.visual {
    overflow: hidden !important;
    position: relative !important;
    background: #edf5f8 !important;
}

.visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

article:hover .visual img,
.card:hover .visual img,
.featured:hover .visual img,
.mini:hover .visual img {
    transform: scale(1.05) !important;
}

/* HIDE SIDEBAR ON HOMEPAGE ONLY */
body.home #right-sidebar,
body.front-page #right-sidebar {
    display: none !important;
}
body.home #primary,
body.front-page #primary {
    width: 100% !important;
    float: none !important;
}

/* COUNTRY SPOTLIGHT BULLETPROOF GRID & CARD STYLES */
.countries {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;
}
.countries br, .continents br {
    display: none !important;
}
.countries p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}
.country {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r) !important;
    padding: 18px 10px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.country:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}
.country .flag, .flag {
    font-size: 38px !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    display: block !important;
}
.country strong {
    display: block !important;
    font: 700 16px Georgia, serif !important;
    color: #1a2a32 !important;
    margin: 0 0 4px 0 !important;
}
.country small {
    font-size: 11px !important;
    color: var(--muted) !important;
    display: block !important;
    margin: 0 !important;
}
@media (max-width: 1024px) {
    .countries {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .countries {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* MOBILE PERFECT RESPONSIVENESS & ZERO OVERFLOW */
html, body {
    overflow-x: hidden !important;
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .continents {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .continent {
        padding: 14px 12px !important;
    }
    .continent strong {
        font-size: 17px !important;
        word-break: break-word !important;
    }
    .countries {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .country {
        padding: 14px 6px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .country .flag {
        font-size: 32px !important;
        margin-bottom: 6px !important;
    }
    .country strong {
        font-size: 14px !important;
        word-break: break-word !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
    }
    .country small {
        font-size: 10px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
}

@media (max-width: 360px) {
    .countries, .continents {
        grid-template-columns: 1fr !important;
    }
}
