/* Additional custom styles */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dropdown Menu Styles */
.menu-item-has-children > a {
    position: relative;
}

/* Mobile submenu animation */
.submenu-items {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.submenu-items.hidden {
    max-height: 0;
}

.submenu-items:not(.hidden) {
    max-height: 500px;
}

/* Submenu toggle icon animation */
.submenu-toggle .material-symbols-outlined {
    transition: transform 0.3s ease;
}

/* Smooth dropdown animation for desktop */
nav .group > div[class*="absolute"] {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

nav .group:hover > div[class*="absolute"] {
    animation: none; /* Remove the slide animation, use opacity only */
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination a {
    background: #f1f5f9;
    color: #0c1d14;
}

.pagination a:hover {
    background: #008040;
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: #008040;
    color: white;
}

/* Dark mode pagination */
.dark .pagination a {
    background: #262626;
    color: #f8fcfa;
}

.dark .pagination a:hover {
    background: #008040;
}

/* Prose styling for content */
.prose {
    max-width: 65ch;
}

.prose img {
    border-radius: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose h2 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose h3 {
    margin-top: 1.6em;
    margin-bottom: 0.8em;
}

/* Enhanced Paragraph Spacing & Readability */
.prose p {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #334155;
}

.dark .prose p {
    color: #cbd5e1;
}

/* First paragraph - make it stand out */
.prose > p:first-of-type {
    font-size: 1.125em;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2em;
}

.dark .prose > p:first-of-type {
    color: #94a3b8;
}

/* Better heading spacing */
.prose h2 {
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #008040;
}

.prose h3 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-size: 1.4em;
}

.prose h4 {
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

/* Strong/bold text in lists and paragraphs */
.prose strong {
    color: #0c1d14;
    font-weight: 700;
}

.dark .prose strong {
    color: #f8fcfa;
}

/* Better list spacing */
.prose ul,
.prose ol {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose li {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    line-height: 1.8;
}

/* Add space after list items that contain strong text (like "Day:", "Time:") */
.prose li + li {
    margin-top: 0.5em;
}

/* Specific styling for definition-style lists (Day: Monday, Time: 18:00) */
.prose p strong {
    /* display: inline-block;
    min-width: 100px; */
    color: #008040;
}

.dark .prose p strong {
    color: #34d399;
}

/* Email links */
.prose a[href^="mailto:"] {
    color: #008040;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 128, 64, 0.3);
    transition: all 0.2s;
}

.prose a[href^="mailto:"]:hover {
    color: #006633;
    border-bottom-color: #008040;
}

.dark .prose a[href^="mailto:"] {
    color: #34d399;
    border-bottom-color: rgba(52, 211, 153, 0.3);
}

.dark .prose a[href^="mailto:"]:hover {
    color: #6ee7b7;
    border-bottom-color: #34d399;
}

/* Section breaks - add more visual separation */
.prose h2 + p,
.prose h3 + p {
    margin-top: 0.75em;
}

/* Contact/info sections */
.prose > p:last-of-type {
    margin-bottom: 0;
}

/* ============================================
   MEMBERSHIP PAGE CUSTOM STYLES
   ============================================ */

/* Membership pricing cards - use WordPress columns block */
.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Individual membership card styling */
.membership-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.dark .membership-card {
    background: #262626;
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Featured/Primary card */
.membership-card.featured {
    border-color: #008040;
    position: relative;
}

.membership-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #008040;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Card icon */
.membership-card .icon {
    width: 4rem;
    height: 4rem;
    background: rgba(0, 128, 64, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Card title */
.membership-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0c1d14;
}

.dark .membership-card h3 {
    color: #f8fcfa;
}

/* Price display */
.membership-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #008040;
    margin: 1rem 0;
}

.membership-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.dark .membership-price .period {
    color: #94a3b8;
}

/* Gold tier pricing */
.membership-card.gold .membership-price {
    color: #DDBB5C;
}

.membership-card.gold .icon {
    background: rgba(221, 187, 92, 0.1);
}

/* Features list inside cards */
.membership-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.membership-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.membership-card li::before {
    content: "✓";
    color: #008040;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.membership-card.gold li::before {
    color: #DDBB5C;
}

/* CTA Button in cards */
.membership-card .button {
    display: block;
    width: 100%;
    background: #008040;
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 1.5rem;
}

.membership-card .button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 128, 64, 0.3);
}

.membership-card.gold .button {
    background: #DDBB5C;
}

/* Benefits grid - 4 columns */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    text-align: center;
}

.benefit-item .icon {
    width: 5rem;
    height: 5rem;
    background: rgba(0, 128, 64, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.875rem;
}

.dark .benefit-item p {
    color: #94a3b8;
}

/* FAQ Accordion styling */
.faq-section {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-item a {
    color: #0000EE;
}

.dark .faq-item {
    background: #262626;
}

.faq-question {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #0c1d14;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .faq-question {
    color: #f8fcfa;
}

.faq-question::before {
    content: "Q:";
    color: #008040;
    font-size: 1.25rem;
}

.faq-answer {
    color: #64748b;
    line-height: 1.7;
    margin-left: 2rem;
}

.dark .faq-answer {
    color: #94a3b8;
}

/* Section backgrounds */
.section-gray {
    background: #f8faf9;
    padding: 4rem 2rem;
    margin: 3rem -2rem;
    border-radius: 1rem;
}

.dark .section-gray {
    background: #1a1a1a;
}

/* Callout boxes */
.callout {
    background: rgba(0, 128, 64, 0.05);
    border-left: 4px solid #008040;
    padding: 1.5rem 2rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 2rem 0;
}

.dark .callout {
    background: rgba(52, 211, 153, 0.1);
    border-left-color: #34d399;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Price comparison table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dark .price-table th,
.dark .price-table td {
    border-bottom-color: #334155;
}

.price-table th {
    background: #f8faf9;
    font-weight: 700;
    color: #0c1d14;
}

.dark .price-table th {
    background: #1a1a1a;
    color: #f8fcfa;
}

.price-table .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #008040;
}

/* ============================================
   SPONSOR LOGOS STYLING - SIMPLE
   ============================================ */

/* Sponsor section heading */
footer h4 {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Sponsor logo grid container */
.sponsor-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    min-height: 100px;
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sponsor logo image */
.sponsor-logo {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* Handle different logo aspect ratios */
.sponsor-logo-container img {
    display: block;
}

/* Responsive grid - adapts to screen size */
footer .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    footer .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    footer .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sponsor-logo {
        max-height: 80px;
    }
    
    .sponsor-logo-container {
        min-width: 160px;
    }
}

@media (min-width: 1280px) {
    footer .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive min-width adjustments */
@media (max-width: 640px) {
    .sponsor-logo-container {
        min-width: 120px;
    }
}

/* Link styling for clickable sponsors */
.sponsor-logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}