/*
Theme Name: NWC Theme New
Theme URI: https://nearlywildcamping.org/
Author: lay3d
Author URI: https://lay3d.com/
Description: A custom theme for member-based content.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nwc-theme
*/

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/*Generics*/
:root {
    /* Typography 'Open Sans','Arial', sans-serif; Georgia,Times,Times New Roman,serif;*/
    --font-primary: 'Open Sans','Arial', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
  
    /* Colors */
    --color-green-dark: #005230;
    --color-green-light: #27882A;
    --color-orange: #E17113;
    --color-orange-hover: #ed8c3a;
    --color-yellow: #ffd700;
    --color-brown: #623E21;
    --color-white: #FFFFFF;
    /* Neutrals for consistency */
    --color-text: #333;
    --color-background: #f9f9f9;
    --color-border: #ddd;
    --color-error: #F44336;
 }

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: var(--line-height-base);
}

a {
    color: var(--color-green-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-green-dark);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-white);
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.75em;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.25em;
}

h6 {
    font-size: 1em;
}

/* Paragraphs and Lists */
p {
    margin-bottom: 15px;
}

ul, ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 5px;
}

/* Containers */
.container {
    width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
button, .button {
    display: inline-block;
    padding: 10px 20px;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-green-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: var(--color-green-dark);
    color: var(--color-white);
}

button:disabled, .button:disabled {
    background-color: var(--color-border);
    cursor: not-allowed;
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 10px;
    font-size: var(--font-size-base);
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--color-green-light);
    outline: none;
}

/* Member login form (shortcode [member_login_form]) */
.member-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.member-login-form .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
}

.member-login-form .login-remember input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid var(--color-border);
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}


/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 1.5em;
    }

    .container {
        padding: 0 10px;
    }

    .flex {
        flex-direction: column;
    }
}
/* Header Styles */
.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
}

/* Top Row: Primary Menu */
.site-header .top-row {
    display: flex;
    justify-content: flex-end; /* Align menu to the right */
    align-items: center;
    padding: 10px 20px;
    background-color: var(--color-green-dark);
    border-bottom: 1px solid var(--color-border);
    height: 60px;
}

/* Logo Row: Logo and Secondary Menu */
.site-header .logo-row {
    display: flex;
    justify-content: space-between; /* Logo on the left, menu on the right */
    align-items: center;
    padding: 20px;
    /*max-width: 1200px;*/
    margin: 0 auto; /* Center the content */
    width: 100%;
}

/* Logo Styling */
.site-header .logo {
    max-height: 100px;
}

.site-header .logo img {
    height: 100%;
    max-height: 80px; /* Ensure logo scales appropriately */
    width: auto;
}

/* Navigation Menu Styling */
.site-header .main-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.site-header .main-nav .nav-menu li {
    position: relative;
    margin: 0 15px;
}

/* Primary Menu (Top Row) */
.site-header .top-row .main-nav .nav-menu li a {
    display: block;
    padding: 10px 0;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-header .top-row .main-nav .nav-menu li:hover > a {
    color: var(--color-orange);
}

/* Secondary Menu (Logo Row) */
.site-header .logo-row .main-nav .nav-menu li a {
    display: block;
    padding: 10px 0;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-header .logo-row .main-nav .nav-menu li:hover > a {
    color: var(--color-orange);
}

/* Submenu Styles */
.site-header .main-nav .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 200px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.site-header .main-nav .nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header .main-nav .nav-menu .sub-menu li {
    /*margin: 0;*/
    border-bottom: 1px solid #eee;
}

.site-header .main-nav .nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.site-header .main-nav .nav-menu .sub-menu a {
    color: var(--color-text);
    padding: 10px 20px;
    margin: 0 10px;
    white-space: nowrap;
}

.site-header .main-nav .nav-menu .sub-menu a:hover {
    background-color: #f5f5f5;
    color: var(--color-orange);
}

/* Add dropdown indicator */
.site-header .main-nav .nav-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

/* Primary Menu Styling (Top Row) */
.site-header .top-row .nav-menu a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color-white);
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.site-header .top-row .nav-menu a:hover {
    color: var(--color-orange);
}

/* Secondary Menu Styling (Second Row) */
.site-header .logo-row .nav-menu a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color-text);
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.site-header .logo-row .nav-menu a:hover {
    color: var(--color-orange);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    z-index: 1000;
    position: relative;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-white);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-container.active {
    right: 0;
}

/* Mobile Menu Styles */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
    color: var(--color-orange);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .site-header .main-nav {
        display: none;
    }

    .site-header .top-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        position: relative;
    }

    .site-header .logo-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .site-header .logo img {
        max-height: 60px;
    }

    /* Mobile menu button animation */
    .mobile-menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Footer Styles */
.footer-newsletter {
    background-color: var(--color-orange);
    padding: 60px 0;
    text-align: center;
}

.footer-newsletter .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-newsletter h2 {
    color: var(--color-white);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.footer-newsletter p {
    color: var(--color-white);
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Gravity Form in Newsletter */
/* Gravity Form in Newsletter */
.footer-newsletter .gform_wrapper {
    margin: 0 auto;
    max-width: 100%;
}

.footer-newsletter .gform_wrapper .gform-body {
    width: 100%;
}

.footer-newsletter .gform_wrapper .gform_fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Desktop: side by side */
@media (min-width: 768px) {
    .footer-newsletter .gform_wrapper .gform_fields {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.footer-newsletter .gform_wrapper .gfield {
    margin: 0 !important;
}

/* Hide the honeypot field */
.footer-newsletter .gform_wrapper .gform_validation_container {
    display: none !important;
}

/* Hide the CAPTCHA field from the grid */
.footer-newsletter .gform_wrapper .gfield--type-captcha {
    display: none !important;
}

/* Hide the required legend */
.footer-newsletter .gform_wrapper .gform_required_legend {
    display: none;
}

.footer-newsletter .gform_wrapper input[type="text"],
.footer-newsletter .gform_wrapper input[type="email"] {
    width: 100% !important;
    padding: 12px !important;
    border: none;
    border-radius: 4px;
    font-size: 16px !important;
}

.footer-newsletter .gform_wrapper .gform-footer {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
    padding: 0 !important;
}

.footer-newsletter .gform_wrapper .gform_button {
    background-color: var(--color-green-dark) !important;
    color: var(--color-white) !important;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.footer-newsletter .gform_wrapper .gform_button:hover {
    background-color: var(--color-green-dark) !important;
}

.footer-newsletter .gform_wrapper .gfield_label {
    display: none;
}


/* Main Footer */
.site-footer {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-orange);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-links a {
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-orange);
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Contact Column */
.footer-column p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-column a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-orange);
}

/* Payment Methods */
.payment-methods {
    margin-top: 15px;
}

.payment-methods img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--color-green-dark);
    padding: 20px 0;
    margin-top: 20px;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .copyright {
    margin: 0;
    font-size: 14px;
}

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

.footer-bottom .footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Footer Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-newsletter h2 {
        font-size: 2em;
    }

    .footer-newsletter .gform_wrapper .gform_fields {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .payment-methods img {
        margin: 0 auto;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/*Blog*/
/* Blog Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.blog-main-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-white);
}

.blog-subtitle {
    font-size: 18px;
    margin-top: 10px;
}

/* Category Filter Section */
.blog-category-filter {
    text-align: center;
    background: var(--color-brown);
    padding: 40px;
    color: var(--color-white);
}

.category-heading {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-button {
    background: var(--color-orange);
    border: none;
    padding: 10px 15px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.filter-button.active, .filter-button:hover {
    background: var(--color-green-light);
}

/* Blog Grid */
#blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Blog Card */
.blog-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.blog-card:hover {
    transform: scale(1.02);
}

/* Image Wrapper */
.blog-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Overlay on Image */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

/* Category Badge */
.blog-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-green-light);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
}

/* Blog Content */
.blog-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: var(--color-white);
}

.blog-title {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
    color: var(--color-white);
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.pagination-info p {
    margin: 0;
    font-weight: 500;
}

.pagination a {
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background: #c55f0f;
}

.pagination .current {
    background: var(--color-green-dark);
    color: var(--color-white);
    padding: 10px 15px;
    margin: 5px;
    border-radius: 4px;
}

.pagination-links {
    display: inline-block;
}

.pagination-links a {
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.pagination-links a:hover {
    background: #c55f0f;
}

.pagination-links .current {
    background: var(--color-green-dark);
    color: var(--color-white);
    padding: 10px 15px;
    margin: 5px;
    border-radius: 4px;
    display: inline-block;
}

/* Blog Loading Indicator */
#blog-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

#blog-loading p {
    margin: 0;
    font-weight: 500;
}

/* Single Post Hero Section */
.single-post-hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.single-post-title {
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-orange);
}

.breadcrumbs a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: bold;
}

.breadcrumbs a:hover {
    color: #b35412;
}

/* Single Post Wrapper */
.single-post-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: var(--color-white);
    position: relative;
}

/* Left Decorative Sidebar */
.decorative-sidebar {
    background: url('images/Mud.png');
    background-position: 28% 3%;
    background-repeat: no-repeat;
}

/* Post Content */
.single-post-content {
    flex: 1;
    padding: 40px;
    background: #fffdf5; /* Light background color */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
    .single-post-hero {
        height: 350px;
    }

    .single-post-title {
        font-size: 28px;
    }

    .single-post-wrapper {
        flex-direction: column;
    }

    .decorative-sidebar {
        display: none;
    }

    .single-post-content {
        padding: 20px;
    }
}

/*Custom NWC Elementor Tweaks*/
#dashboard-panel-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1; 
    margin: 0 auto;
}

/* Social Media Icons */
.footer-column .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.footer-column .social-links li {
    margin: 0;
    line-height: 1;
}

.footer-column .social-links a {
    color: var(--color-white);
    font-size: 24px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

.footer-column .social-links a:hover {
    color: var(--color-orange);
    transform: translateY(-2px);
}

.footer-column .social-links svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-column .social-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .footer-column .social-links a {
        font-size: 20px;
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
}

/*FONTS TEST*/
.elementor-widget,
.elementor-widget p,
.elementor-widget span,
.elementor-widget a,
.elementor-widget li {
  font-family: inherit;
}

/* Headings widget */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-primary);
}

/* Text editor widget */
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--font-primary);
}

/* Button widget */
.elementor-button {
  font-family: var(--font-primary);
}

/* Icon list, nav menu etc */
.elementor-icon-list-item,
.elementor-nav-menu {
  font-family: var(--font-primary);
}

/* Wildness info popover */
.wildness-info-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.wildness-info-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: underline dotted;
    opacity: 0.8;
}

.wildness-info-btn:hover{
    background: none;
}

.wildness-info-popover {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    left: auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 14px 16px;
    width: 220px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
    text-transform: none;
    letter-spacing: 0;
    z-index: 200;
    text-align: left;
}

.wildness-info-popover a {
    display: inline-block;
    margin-top: 6px;
    color: var(--color-green-dark);
    font-weight: 600;
    text-decoration: underline;
}

.wildness-info-wrap.is-open .wildness-info-popover {
    display: block;
}
