/* ===== GLOBAL ===== */
.nsr-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 10px;

    color: #333;
}

h1 {
    margin-bottom: 10px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer a:hover {
    text-decoration: underline;
}

/* BREADCRUMBS */
.breadcrumb-nav {
    font-size: 0.9rem;
    margin: 10px 0 20px;
}

.breadcrumb-nav a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #333;
}

/* ============================
   HEADER (logo + hamburger)
   ============================ */

.site-header {
    background-color: #ffffff;
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* RESPONISVE LOGO */
/* Desktop: full size */
.nsr-logo {
    height: auto;
    width: auto;
    max-width: 487px;
    display: block;
    margin: 0;
}

/* Large tablets */
@media (max-width: 1199px) {
    .nsr-logo {
        max-width: 420px;
    }
}

/* Small tablets */
@media (max-width: 991px) {
    .nsr-logo {
        max-width: 360px;
    }
}

/* Large phones */
@media (max-width: 767px) {
    .nsr-logo {
        max-width: 300px;
    }
}

/* Small phones */
@media (max-width: 575px) {
    .nsr-logo {
        max-width: 240px;
    }
}


/* ============================
   NAV BAR (blue bar below logo)
   ============================ */

.nsr-nav {
    background-color: #0d6efd;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* Nav links */
.nsr-nav .nav-link {
    color: #ffffff !important;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    margin: 0 0.35rem;
    line-height: 1.3;
}

.nsr-nav .nav-link:hover {
    color: #ff3b3b !important;
    text-decoration: none !important;
}

/* ============================
   HAMBURGER (blue lines)
   ============================ */

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: none; /* remove Bootstrap default */
    position: relative;
    border-top: 4px solid #0d6efd;    /* thicker blue */
    border-bottom: 4px solid #0d6efd;
}

.navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 4px solid #0d6efd;    /* middle line */
    transform: translateY(-50%);
}

.site-header {
    background-color: #ffffff;
    padding: 0.25rem 0;
}

.site-header .navbar-brand {
    margin-bottom: 0;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

/* Blue hamburger icon on white background */
.navbar-toggler {
    border: none;              /* optional: remove button border */
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: none;    /* kill Bootstrap's default icon */
    position: relative;
    border-top: 4px solid #0d6efd;    /* top line. #0d6efd; is red. */
    border-bottom: 4px solid #0d6efd; /* bottom line */
}

.navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 4px solid #0d6efd;    /* middle line */
    transform: translateY(-50%);
}



/* MOBILE OPTIMIZED ARTICLE.PHP LAYOUT */
@media (max-width: 600px) {
	.container-fluid.news-wrapper {
        --bs-gutter-x: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
	.article-wrapper {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    /* Match news.php readability */
    .article-content,
    .event-content {
        font-size: 18px;
        line-height: 1.55;
    }
	
.news-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Larger mobile article title */
    .news-card .card-title {
        font-size: 30px;
        line-height: 1.25;
    }

    .card-title,
    .article-content h1,
    .article-content h2,
    .event-content h1,
    .event-content h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .text-muted,
    .meta,
    dl.row dd,
    dl.row dt {
        font-size: 15px;
        line-height: 1.4;
    }

    /* Reduce container padding */
    .container {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    /* Tighten image spacing */
    .article-content img,
    .event-content img {
        margin: 0.75rem auto;
    }
	
	.news-card {
        border-radius: 6px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-shadow: none; /* optional: removes visual padding */
    }

    .card-body {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Base Desktop and default Full-width wrapper */
/* ===== NEWS CARD CONTAINER ===== */

.news-card {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f7f9fc 30%,
        #eef1f5 100%
    );
    border: 1px solid #e3e6e8;
    border-radius: 6px;
    transition: box-shadow 0.2s ease-in-out;
    padding: 1.25rem;

    margin-bottom: 1.25rem; /* NEW SPACING */
}

.news-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.news-wrapper {
    width: 100%;
    max-width: 100%;
}

.news-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Title */
.news-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Summary */
.news-summary {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

/* Meta info */
.news-meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Desktop enhancements */
@media (min-width: 992px) {
    body {
        font-size: 17px;
    }

    .news-title {
        font-size: 26px;
    }

    .news-summary {
        font-size: 18px;
    }

}

/* TAG BADGES */

.tag-badge {
    background-color: #0d6efd;       /* Bootstrap primary blue */
    color: #fff;                     /* White text */
    border: 1px solid #0a58ca;       /* Slightly darker blue border */
    border-radius: 0 !important;     /* Square corners */
    padding: 4px 8px;                /* Tight padding */
    font-size: 0.75rem;      /* smaller text */
    padding: 2px 6px;        /* tighter padding */
    font-weight: 500;        /* slightly less bold */
    letter-spacing: 0.3px;   /* softer spacing */
}

.tag-badge:hover {
    background-color: #0a58ca;       /* Darker blue on hover */
    border-color: #084298;
    text-decoration: none;           /* No underline */
    transform: translateY(-1px);
    transition: transform 0.1s ease-in-out;}

/* Images have square corners */
img.img-fluid {
    border-radius: 0 !important;
}

/* Add a hover effect to show the image is clickable */
.news-image-link img {
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.news-image-link:hover img {
    opacity: 0.85;
    transform: translateY(-2px);
}

.news-image-link:hover img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* COLUMNS FOR EVENT DETAIL */
.card-title {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .event-meta dt {
        flex: 0 0 140px;   /* tighter label column */
        max-width: 140px;
    }
    .event-meta dd {
        flex: 1;
    }
}

/* TABLE FORMATING */
.ski-trails-table tr:hover {
    background-color: #e9eef5;
}

.venue-section .row {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.venue-section .row:last-child {
    border-bottom: none;
}



/* ===== AD CONTAINERS ===== */

.small-ad-group,
.large-ad-group {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f7f9fc 40%,
        #eef1f5 100%
    );
    border: 1px solid #e3e6e8;
    border-radius: 6px;
}

.small-ad-group .ad-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e3e6e8; /* subtle divider */
}

.small-ad-group .ad-item:last-child {
    border-bottom: none; /* no divider after last ad */
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ===== AD SIDEBAR BACKGROUND (Right Column) ===== */
.sidebar-ads {
    background: #e9eaed; /* #d0d0d0;   /* darker grey */
    padding: 20px;
    border-radius: 6px;    /* optional: matches your card style */
}

/* Sidebar ad images should display at actual size and be centered */
.sidebar-ad-img {
    width: auto;        /* actual size */
    max-width: none;    /* disable Bootstrap responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;   /* center horizontally + bottom spacing */
}

.sidebar-ads img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* ===== FORM CONTAINER ===== */

.venue-form {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;

    /* HARD OVERRIDE: no flex, no grid */
    display: block !important;
}

/* ===== FORM SECTIONS ===== */

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;

    /* HARD OVERRIDE */
    display: block !important;
}

/* ===== LABELS ===== */

label {
    display: block !important;   /* forces new line */
    clear: both !important;      /* prevents float overlap */
    margin-top: 12px;
    font-weight: bold;
}

/* ===== INPUTS & TEXTAREAS ===== */

input[type="text"],
textarea {
    display: block !important;   /* prevents inline or side-by-side */
    width: 100% !important;      /* full width */
    float: none !important;      /* kills float-based layouts */
    margin-top: 5px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
}

.honeypot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* ===== LARGE DESCRIPTION BOX ===== */

textarea.big-text {
    height: 300px;
    resize: vertical;
}

/* ===== SUBMIT BUTTON ===== */

.submit-btn {
    background: #2e8b57;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #256f46;
}

/* ============================
   Public Site – Trail Reports
   ============================ */

.review-box {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #fafafa;
}

.review-header {
    font-size: 18px;
    font-weight: bold;
}

.rating {
    color: gold;
    font-size: 20px;
}

.success {
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* Thumbnail for trail report photos on index.php */
.trail-thumb {
    max-width: 150px;
    border-radius: 6px;
    cursor: zoom-in;
    transition: transform 0.15s ease;
}

.trail-thumb:hover {
    transform: scale(1.05);
}


/* ============================
   Public Site – Add Review
   ============================ */

.star-select {
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
}

.star-select.selected {
    color: gold;
}

form {
    max-width: 600px;
}

label {
    font-weight: bold;
}

/* ============================
   Public Site – Venue Page
   ============================ */

.venue-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.venue-header img {
    max-width: 300px;
    margin-right: 20px;
    border-radius: 8px;
}

.venue-section {
    margin-bottom: 30px;
}

.venue-section h2 {
    margin-bottom: 10px;
}

/* Venue page table styling */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.share-icons a {
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.share-icons a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}



/* ============================
   Admin – Venue Management
   ============================ */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.admin-table th {
    background: #f0f0f0;
    text-align: left;
}

.admin-links {
    margin-top: 20px;
}

.admin-button {
    display: inline-block;
    padding: 10px 16px;
    background: #005bbb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 10px;
}

.admin-button:hover {
    background: #004999;
}


.event-details img {
    max-width: 100%;
    height: auto;
}

.event-details iframe {
    max-width: 100%;
}

.latest-articles {
    margin-top: 30px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
}

.article-card {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.article-thumb {
    width: 200px;
    height: auto;
    float: right;
    margin-left: 15px;
    border-radius: 6px;
}

.meta {
    color: #666;
    font-size: 14px;
}

.btn.btn-primary {
    display: inline-block;
    padding: 8px 14px;
    background: #005bbb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.btn.btn-primary:hover {
    background: #004999;
}

/* FOOTER */
.footer-dark {
    background: #333;
    color: #ddd;
}

/* Section headings */
.footer-heading {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Event detail page image formatting */
.event-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}


/* SOCIAL ICONS — always in their own row */
.footer-social {
    display: flex;
    flex-direction: row;      /* icons in a row */
    justify-content: center;  /* centered horizontally */
    gap: 20px;                /* spacing between icons */
    margin-bottom: 1.2rem;    /* ensures menu appears below */
}

/* Icon styling */
.footer-social a.footer-icon {
    color: #ddd;
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social a.footer-icon:hover {
    color: #fff;
}

.social-icon-link {
    font-size: 2rem;
    color: #1877f2; /* Facebook blue */
    margin-right: 10px;
    text-decoration: none;
}

.social-icon-link:hover {
    color: #0d5ec7;
}

/* Instagram gradient-style color */
.social-icon-link .bi-instagram {
    color: #E1306C;
}

.social-icon-link .bi-instagram:hover {
    color: #C2185B;
}

/* FOOTER MENU — always in its own row below icons */
.footer-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;                /* spacing between menu items */
    margin-bottom: 1.2rem;    /* spacing before copyright */
}

/* Menu link styling */
.footer-menu a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;        /* stronger */
	font-size: 1.05rem;
    letter-spacing: 0.5px;   /* subtle polish */
	position: relative;
    padding: 0 10px;
}

.footer-admin a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 0 10px;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-menu a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    color: #777;
}

/* COPYRIGHT */
.footer-copy {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-separator {
    width: 100%;
    height: 2px;
    background: #555;   /* subtle line */
    margin: 1rem 0;     /* spacing above/below */
}

/* VENUE PHOTO */
.venue-photo {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.venue-photo {
    cursor: zoom-in;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-notice a {
    color: #9cf;
    text-decoration: underline;
}

.cookie-notice button {
    background: #fff;
    color: #333;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}

