:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #ffffff;
    --background-color: #000000;
}

/* Element Selectors */
body {
    font-family: 'Public Sans', sans-serif;
    font-size: xx-large;
    background-color: #4da593;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 60px; /* Add padding to push content below the fixed header */
}

hr {
    border: none;
    border-top: 1px solid white;
    width: 100%;
    margin: 20px 0;
}

iframe {
    display: block;
    margin: 20px auto;
    width: 100%;
    height: 300px;
    border: none;
    background-color: #000;
}

/* Article Page Styling */
h1 {
    text-align: center; /* Center the article title */
    margin: 20px 0;
}

.article-content p {
    text-align: justify;
    max-width: 75%; /* Optional: Limits the width for better justification */
    margin: 0 auto; /* Centers the content block */
    padding: 20px;
}


.article-image {
    width: 75%; /* Constrain the image to 75% width */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image horizontally */
}

p {
    text-align: center; /* Center the article description */
    margin: 20px auto;
    max-width: 75%; /* Ensure the text doesn't stretch too wide */
}

/* Logo and Heading */
.logo-heading-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0; /* Remove left/right padding, keep top/bottom */
    box-sizing: border-box;
}

.logo-left, .logo-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ensure logo-left aligns to the left */
}

.logo-right {
    justify-content: flex-end; /* Ensure logo-right aligns to the right */
}

.logo-left img, .logo-right img {
    width: 100px;
    height: auto;
}

.logo-heading-center {
    flex: 2;
    text-align: center;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .logo-left img, .logo-right img {
        width: 80px;
    }
    .logo-heading-center {
        font-size: 1.2rem;
    }
}

/* Spotlight */
.spotlight {
    width: 99%;
    margin: 0 auto;
    padding: 1%;
    background-color: #333;
    color: white;
    box-sizing: border-box;
}

.spotlight-header {
    font-size: 0.5rem;
    text-align: left;
}

#datetime {
    font-size: 0.5rem;
}

/* Spotlight Heading */
.spotlight-heading {
    text-align: center; /* Center the heading */
    margin: 10px 0;
}

/* Style for spotlight image */
.spotlight-content img {
    width: 75%; /* Limit the image to 75% width */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image horizontally */
    transition: opacity 0.3s ease-in-out;
}

.spotlight-content img:hover {
    opacity: 0.8;
}

/* Spotlight Button (Weed Reviews) */
.spotlight-button {
    margin: 5px 0;
    padding: 5px 10px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

.spotlight-button a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.spotlight-button:hover {
    background-color: #45a049; /* Slightly darker green on hover */
}

/* Fallback for Weed Reviews link if class is missing */
.spotlight-content a[href*="weed-reviews"] {
    margin: 5px 0;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.spotlight-content a[href*="weed-reviews"]:hover {
    background-color: #45a049;
}

/* Spotlight Description */
.spotlight-description {
    text-align: center; /* Center all text within the description */
}

/* Spotlight Short Title */
.short-title {
    text-align: center !important; /* Center the short title, use !important to ensure it applies */
    margin: 10px 0; /* Add some vertical spacing */
}

/* Spotlight Short Title */
.spotlight-description .short-title {
    text-align: center !important; /* Center the text within the element */
    max-width: 100% !important; /* Override the max-width from the generic p rule */
    width: 100%; /* Ensure the p element spans the full width of the parent */
    margin: 10px 0; /* Add some vertical spacing */
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    opacity: 0.7;
}

th, td {
    border: 1px solid #000000;
    padding: 0;
    background-color: #000000;
    color: white;
}

th {
    text-align: center;
    font-size: 0.8em;
}

td {
    text-align: left;
}

tr:hover {
    background-color: #555;
}

.content-container, .tables-container, .table-wrapper {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.overflow-auto {
    overflow-x: auto;
}

.event-iframe {
    width: 100%;
    height: auto;
}

/* Footer */
small {
    color: white;
    font-size: 6pt;
    padding: 10px;
    display: block;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 1000;
    height: 60px; /* Explicitly set the header height */
}

.banner {
    max-width: 100%;
    width: 100%;
    max-height: 50px;
    overflow: hidden;
    z-index: 999;
}

.nav {
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    position: relative; /* Ensure positioning context for .menu */
}

/* Hamburger Menu (always visible) */
.header .nav .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    visibility: visible;
}

.header .nav .hamburger-menu .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    visibility: visible;
}

.header .nav .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.header .nav .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.header .nav .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu (hidden by default, toggled by hamburger menu) */
.header .nav .menu {
    display: none !important; /* Hidden by default on all viewport sizes */
    position: absolute;
    top: 100%;
    left: 10px;
    width: 200px;
    background-color: #333;
    border-radius: 5px;
    z-index: 1001;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.header .nav .menu.active {
    display: block !important; /* Show when active */
}

.header .nav .menu ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.header .nav .menu li {
    padding: 8px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.header .nav .menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.header .nav .menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Remove desktop-specific horizontal nav bar styles */
@media screen and (min-width: 769px) {
    /* No longer needed since we're using the hamburger menu for all viewport sizes */
}

/* Mobile styles (< 769px) */
@media screen and (max-width: 768px) {
    .header .nav .hamburger-menu {
        display: flex !important; /* Already set above, just for consistency */
    }
    .header .nav .menu {
        display: none !important; /* Already set above, just for consistency */
    }
    .header .nav .menu.active {
        display: block !important; /* Already set above, just for consistency */
    }
}