/*
Theme Name: NWC Theme
Theme URI: https://nwc.com/
Author: Your Name
Author URI: https://example.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
*/

/*Generics*/
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

a {
    color: #00aa73;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00801c;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #858585;
}

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: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #00aa09;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: #008011;
}

button:disabled, .button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input:focus, textarea:focus, select:focus {
    border-color: #00aa0e;
    outline: none;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* Blocks */
.block {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Flexbox Utilities */
.flex {
    display: flex;
    gap: 20px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Spacing Utilities */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }

/* 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: #fff; /* Light gray background */
    border-bottom: 1px solid #ddd;
    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: #005230; /* White background */
    border-bottom: 1px solid #ddd; /* Divider between rows */
    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: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-header .top-row .main-nav .nav-menu li:hover > a {
    color: #e17113;
}

/* 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: #e17113;
}

/* Submenu Styles */
.site-header .main-nav .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    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: #333;
    padding: 10px 20px;
    margin: 0 10px;
    white-space: nowrap;
}

.site-header .main-nav .nav-menu .sub-menu a:hover {
    background-color: #f5f5f5;
    color: #e17113;
}

/* 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: #fff; /* White text for top row */
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.site-header .top-row .nav-menu a:hover {
    color: #e17113; /* Highlight color */
}

/* Secondary Menu Styling (Second Row) */
.site-header .logo-row .nav-menu a {
    text-decoration: none;
    text-transform: uppercase;
    color: #333; /* Dark text for second row */
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.site-header .logo-row .nav-menu a:hover {
    color: #e17113; /* Highlight color */
}

/* 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: #fff;
    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: #fff;
    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: #333;
    text-decoration: none;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
    color: #e17113;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 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: #e17113;
    padding: 60px 0;
    text-align: center;
}

.footer-newsletter .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-newsletter h2 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.footer-newsletter p {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 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: repeat(3, 1fr) !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-newsletter .gform_wrapper .gfield {
    margin: 0 !important;
}

.footer-newsletter .gform_wrapper input[type="text"],
.footer-newsletter .gform_wrapper input[type="email"],
.footer-newsletter .gform_wrapper input[type="tel"] {
    width: 100% !important;
    padding: 12px !important;
    border: none;
    border-radius: 4px;
    font-size: 16px !important;
}

.footer-newsletter .gform_wrapper .gform_footer {
    text-align: center;
    margin-top: 20px !important;
    padding: 0 !important;
}

.footer-newsletter .gform_wrapper .gform_button {
    background-color: #005230;
    color: #fff;
    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: #003920;
}

/* Main Footer */
.site-footer {
    background-color: #005230;
    color: #fff;
    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: #fff;
    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: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #e17113;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #e17113;
    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: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #e17113;
}

/* Payment Methods */
.payment-methods {
    margin-top: 15px;
}

.payment-methods img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #023722;
    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: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: #e17113;
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .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: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.blog-hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.blog-main-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.blog-subtitle {
    font-size: 18px;
    margin-top: 10px;
}

/* Category Filter Section */
.blog-category-filter {
    text-align: center;
    background: #5a3719;
    padding: 20px;
    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: #e17113;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.filter-button.active, .filter-button:hover {
    background: #2d7c2d;
}

/* 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: #2d7c2d;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
}

/* Blog Content */
.blog-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
}

.blog-title {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
    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: #e17113;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background: #c55f0f;
}

.pagination .current {
    background: #005230;
    color: #fff;
    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: #e17113;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.pagination-links a:hover {
    background: #c55f0f;
}

.pagination-links .current {
    background: #005230;
    color: #fff;
    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: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.single-post-hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 100%;
}

.single-post-title {
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 10px;
    color: #d06b1d; /* Match old site color */
}

.breadcrumbs a {
    color: #d06b1d;
    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: 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: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .single-post-hero {
        height: 250px;
    }

    .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: center;
}

.footer-column .social-links li {
    margin: 0;
    line-height: 1;
}

.footer-column .social-links a {
    color: #fff;
    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: #e17113;
    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;
    }

    .footer-column .social-links a {
        font-size: 20px;
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
}

/* Listing Form Styles */
.nwc-listing-form-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.nwc-listing-form-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.nwc-form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.nwc-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nwc-form-section h2 {
    color: #00aa73;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.nwc-form-group {
    margin-bottom: 20px;
}

.nwc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.nwc-form-group input[type="text"],
.nwc-form-group input[type="email"],
.nwc-form-group input[type="tel"],
.nwc-form-group input[type="url"],
.nwc-form-group textarea,
.nwc-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.nwc-form-group input:focus,
.nwc-form-group textarea:focus,
.nwc-form-group select:focus {
    border-color: #00aa73;
    outline: none;
}

.nwc-checkbox-group {
    margin-bottom: 15px;
}

.nwc-checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nwc-checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.nwc-form-submit {
    text-align: center;
    margin-top: 30px;
}

.nwc-form-submit .button {
    padding: 12px 30px;
    font-size: 16px;
    background-color: #00aa73;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nwc-form-submit .button:hover {
    background-color: #00801c;
}

.nwc-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.nwc-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.current-image {
    margin-top: 15px;
}

.current-image img {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Responsive styles for listing form */
@media (max-width: 768px) {
    .nwc-listing-form-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .nwc-listing-form-wrapper {
        padding: 20px;
    }
    
    .nwc-form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .nwc-form-section h2 {
        font-size: 1.3em;
    }
    
    .nwc-form-group input[type="text"],
    .nwc-form-group input[type="email"],
    .nwc-form-group input[type="tel"],
    .nwc-form-group input[type="url"],
    .nwc-form-group textarea,
    .nwc-form-group select {
        padding: 10px;
        font-size: 14px;
    }
    
    .current-image img {
        max-width: 100%;
    }
}

/* === Single Listing Template Styles === */
.single-listing-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.single-listing-hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
    width: 100%;
    padding: 32px 32px 24px 32px;
    border-radius: 0 0 24px 24px;
}
.breadcrumbs {
    font-size: 0.95em;
    color: #fff;
    margin-bottom: 10px;
}
.breadcrumbs a { color: #fff; text-decoration: underline; }
.single-listing-title {
    color: #fff;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.single-listing-meta {
    color: #fff;
    font-size: 1.1em;
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 0;
}
.listing-wildness {
    background: #e17113;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
}

.single-listing-wrapper {
    display: flex;
    gap: 32px;
    margin: 0 0 40px 0;
}
.decorative-sidebar {
    min-width: 24px;
    background: url('images/Mud.png') 28% 3% no-repeat;
}
.single-listing-content {
    flex: 2;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 32px 24px 32px;
}
.listing-main-columns {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}
.listing-gallery {
    flex: 1.2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.listing-featured-image {
    width: 100%;
    max-width: 540px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin-bottom: 0;
}
.listing-sidebar {
    flex: 1;
    background: #fffdf5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(225,113,19,0.08);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 260px;
    max-width: 320px;
}
.listing-cost {
    background: #e17113;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
}
.listing-details > div {
    margin-bottom: 6px;
    font-size: 1em;
    color: #333;
}
.listing-contact {
    margin-top: 10px;
    font-size: 1em;
}
.listing-contact .dashicons {
    color: #e17113;
    margin-right: 6px;
    vertical-align: middle;
}
.button.button-primary {
    background: #e17113;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 16px;
    transition: background 0.2s;
}
.button.button-primary:hover {
    background: #b95a0f;
}

.listing-sections {
    margin-top: 24px;
}
.listing-sections section {
    margin-bottom: 28px;
}
.listing-sections h2 {
    color: #e17113;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}
.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.facilities-list li {
    background: #1a5c2e;
    color: #fff;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 1em;
    font-weight: 500;
}

.listing-help-sidebar {
    flex: 0 0 260px;
    margin-left: 0;
}
.help-box {
    background: #1a5c2e;
    color: #fff;
    border-radius: 12px;
    padding: 24px 18px;
    margin-top: 32px;
    text-align: center;
}
.help-box h3 {
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
}
.button.button-secondary {
    background: #fff;
    color: #1a5c2e;
    border: 2px solid #1a5c2e;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1em;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s, color 0.2s;
}
.button.button-secondary:hover {
    background: #1a5c2e;
    color: #fff;
}

@media (max-width: 1024px) {
    .single-listing-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .listing-main-columns {
        flex-direction: column;
        gap: 18px;
    }
    .listing-sidebar, .listing-help-sidebar {
        max-width: 100%;
        min-width: 0;
    }
}
@media (max-width: 600px) {
    .single-listing-hero-overlay {
        padding: 18px 10px 12px 10px;
    }
    .single-listing-title {
        font-size: 1.5em;
    }
    .single-listing-content {
        padding: 12px 6px 10px 6px;
    }
    .listing-sidebar, .help-box {
        padding: 12px 8px;
    }
}
/* === End Single Listing Template Styles === */
