body {
            font-family: Arial, sans-serif;
        }

        .center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero {
            background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }

        .icon-motor > i::before {
            content: '\f21a'; /* Font Awesome motorboat icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-social > i::before {
            content: '\f79f'; /* Font Awesome social icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-sailing > i::before {
            content: '\e445'; /* Font Awesome sailboat icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-popup > i::before {
            content: '\f005'; /* Font Awesome star icon for pop-up */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-day > i::before {
            content: '\f185'; /* Font Awesome sun icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-overnight > i::before {
            content: '\f186'; /* Font Awesome moon icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-anchor > i::before {
            content: '\f13d'; /* Font Awesome anchor icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-marina > i::before {
            content: '\e50e'; /* Font Awesome anchor icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .icon-drive > i::before {
            content: '\f1b9'; /* Font Awesome anchor icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.0rem;
            margin-right: 0.25rem;
            color: #1e3a8a;
        }

        .table-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        th, td {
            border: 1px solid #e5e7eb;
            padding: 1rem;
            text-align: left;
        }

        th {
            background-color: #1e3a8a;
            color: white;
        }

        tr:nth-child(even) {
            background-color: #f9fafb;
        }

        td {
            font-size: small;
        }

        a {
            color: #3b82f6;
            text-decoration: none;
        }

            a:hover {
                text-decoration: underline;
            }

        .text-section {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .section {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .icon-container {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        /* Ensure the popup is centered and overlays the page */
        .popup-container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 50;
            justify-content: center;
            align-items: center;
        }

        .popup-content {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            width: auto;
            aspect-ratio: 2048 / 1877;
        }

        .popup-image {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .close-button {
            position: absolute;
            bottom: -2.5rem;
            left: 50%;
            transform: translateX(-50%);
        }

        .collapsible-header {
            cursor: pointer;
            background-color: #f0f0f0;
            padding: 0.5em;
            user-select: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .collapsible-header::after {
                content: '▼';
                transition: transform 0.2s;
            }

            .collapsible-header.collapsed::after {
                transform: rotate(-90deg);
            }

        .collapsible-content {
            display: none;
            padding: 1em;
        }

            .collapsible-content.expanded {
                display: block;
            }

        .my-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px; /* Adds breathing room on sides and top/bottom */
            background-color: #f8f9fa; /* Light gray background for a modern feel; adjust as needed */
            border-top: 1px solid #dee2e6; /* Subtle top border */
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Modern font stack */
            color: #6c757d; /* Muted text color */
            margin-top: auto; /* If using flex on the body, this sticks it to the bottom */
        }

        .footer-left p {
            margin: 0; /* Removes default paragraph margins */
            font-size: 14px;
        }

        .footer-right {
            display: flex;
            gap: 15px; /* Spaces the social icons evenly */
        }

            .footer-right a {
                color: #6c757d;
                font-size: 18px; /* Makes icons a bit larger */
                transition: color 0.2s ease; /* Smooth hover transition */
                text-decoration: none;
            }

                .footer-right a:hover {
                    color: #007bff; /* Blue hover color; customize to your brand */
                }

        /* Responsive: Stack on small screens */
        @media (max-width: 768px) {
            .my-footer {
                flex-direction: column;
                gap: 10px;
                text-align: center;
                padding: 20px;
            }

            .footer-right {
                justify-content: center;
            }
        }

        /* Calendar context (board, meetings, holidays, boat shows) */
        tr.row-context td {
            background-color: #eef2ff;
        }

        tr.row-context td:first-child {
            border-left: 4px solid #6366f1;
        }

        .filter-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .filter-chips button {
            font-size: 0.875rem;
            padding: 0.35rem 0.85rem;
            border-radius: 999px;
            border: 1px solid #1e3a8a;
            background: white;
            color: #1e3a8a;
            cursor: pointer;
        }

        .filter-chips button.active {
            background: #1e3a8a;
            color: white;
        }

        .context-type {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            padding: 0.15rem 0.45rem;
            border-radius: 3px;
            margin-right: 0.35rem;
            background: #e0e7ff;
            color: #3730a3;
        }

        .legend-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem 1.25rem;
            font-size: 0.875rem;
            color: #4b5563;
            margin-bottom: 1rem;
        }

        .legend-row span.swatch {
            display: inline-block;
            width: 0.85rem;
            height: 0.85rem;
            border-radius: 2px;
            vertical-align: middle;
            margin-right: 0.35rem;
        }

        .amenities {
            margin-top: 0.35rem;
            font-size: 0.9rem;
            color: #374151;
        }


        .pgi-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem 1.25rem;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.85rem 2rem;
            font-size: 0.9rem;
        }
        .pgi-nav a { color: #1e3a8a; font-weight: 600; }
        .pgi-nav .pgi-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
        .pgi-nav .quiet { color: #6b7280; font-weight: 500; }
        .status-pill {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            padding: 0.15rem 0.45rem;
            border-radius: 3px;
            margin-left: 0.35rem;
            background: #ecfccb;
            color: #3f6212;
        }
        .status-pill.proposed { background: #fef3c7; color: #92400e; }
        .status-pill.upcoming { background: #dbeafe; color: #1e3a8a; }
        .status-pill.invite, .status-pill.pending { background: #ffedd5; color: #9a3412; }
        .status-pill.captain { background: #e0e7ff; color: #3730a3; }
        .status-pill.complete { background: #e5e7eb; color: #374151; }
