/* ==================================
   HOME PAGE – PDF + MARQUEE (75 : 25)
   ================================== */

.club-home {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* PDF AREA – 75% */
.club-gallery {
    flex: 3;
    background: #f4f6f8;
    padding: 18px;
    border-radius: 14px;
}

/* MARQUEE AREA – 25% */
.club-news {
    flex: 1;
    background: #f4f6f8;
    padding: 18px;
    border-radius: 14px;
}

/* PDF VIEWER */
.pdf-container {
    width: 100%;
    height: 520px;              /* dominant PDF view */
    background: #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dcdcdc;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* MARQUEE BEHAVIOUR */
.news-scroll {
    height: 520px;
    overflow: hidden;
    position: relative;
}

.news-scroll ul {
    position: absolute;
    animation: scrollUp 15s linear infinite;
}

.news-scroll:hover ul {
    animation-play-state: paused;
}

.news-scroll li {
    margin-bottom: 12px;
}

.news-scroll a {
    display: block;
    padding: 6px 8px;
    text-decoration: none;
    color: #003366;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

.news-scroll a:hover {
    background: var(--club-theme);
    color: #fff;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .club-home {
        flex-direction: column;
    }

    .pdf-container {
        height: 420px;
    }

    .news-scroll {
        height: auto;
    }
}
/* =========================================
   FORCE LEFT MENU VISIBILITY
   ========================================= */

.club-page {
    display: flex !important;
    gap: 20px;
    width: 100%;
}

.club-sidebar {
    display: block !important;
    width: 220px;
    min-height: 100%;
}

/* =========================================
   HOME PAGE 75 : 25 LAYOUT
   ========================================= */

.club-home {
    display: flex;
    gap: 20px;
}

/* PDF AREA */
.club-gallery {
    flex: 3;
}

/* MARQUEE AREA */
.club-news {
    flex: 1;
}

/* =========================================
   PDF VIEW
   ========================================= */

.pdf-container {
    height: 520px;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   MARQUEE – BOTTOM TO TOP
   ========================================= */

.news-scroll {
    height: 520px;
    overflow: hidden;
    position: relative;
}

.news-scroll ul {
    position: absolute;
    bottom: -100%;
    animation: marqueeUp 15s linear infinite;
}

.news-scroll:hover ul {
    animation-play-state: paused;
}

@keyframes marqueeUp {
    from {
        bottom: -100%;
    }
    to {
        bottom: 100%;
    }
}

.news-scroll li {
    margin-bottom: 14px;
}

.news-scroll a {
    display: block;
    padding: 6px 10px;
    color: #003366;
    text-decoration: none;
    border-radius: 6px;
}

.news-scroll a:hover {
    background: var(--club-theme);
    color: #fff;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
    .club-page,
    .club-home {
        flex-direction: column;
    }

    .pdf-container,
    .news-scroll {
        height: 420px;
    }
}

/* ==========================================
   PROFESSIONAL LEFT SIDEBAR – FINAL VERSION
   ========================================== */

.club-sidebar {
    width: 230px;
    padding: 14px 10px;
    background: linear-gradient(180deg, #0b2a55, #071b36);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* MENU ITEM */
.club-sidebar a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #dbe7ff;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ICON */
.club-sidebar a i {
    font-size: 18px;
    min-width: 22px;
    color: #a8c7ff;
    transition: transform 0.35s ease, color 0.35s ease;
}

/* HOVER EFFECT */
.club-sidebar a:hover {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.05)
    );
    color: #ffffff;
    transform: translateX(6px);
}

/* ICON HOVER */
.club-sidebar a:hover i {
    transform: scale(1.15);
    color: #ffffff;
}

/* ACTIVE MENU ITEM */
.club-sidebar a.active {
    background: linear-gradient(90deg, var(--club-theme), #1e90ff);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(30,144,255,0.45);
}

.club-sidebar a.active i {
    color: #ffffff;
}

/* SUBTLE LEFT INDICATOR */
.club-sidebar a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    width: 4px;
    height: 70%;
    background: var(--club-theme);
    opacity: 0;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.club-sidebar a:hover::before,
.club-sidebar a.active::before {
    opacity: 1;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .club-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .club-sidebar a {
        justify-content: center;
        padding: 12px;
        margin-bottom: 0;
        transform: none;
    }

    .club-sidebar a span {
        font-size: 14px;
    }
}



/* =================================================
   FIX EMPTY SPACE – FORCE RIGHT PANEL FULL WIDTH
   ================================================= */

/* Ensure main content takes all remaining space */
.club-content {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure home container fills right panel */
.club-home {
    width: 100% !important;
}

/* PDF + MARQUEE MUST FILL 100% OF RIGHT AREA */
.club-gallery,
.club-news {
    box-sizing: border-box;
}

/* OPTIONAL: visual confirmation (remove later)
.club-gallery { background: #f4f6f8; }
.club-news { background: #f4f6f8; }
*/
/* =========================================
   BREADCRUMBS
   ========================================= */

.club-breadcrumbs {
    font-size: 13px;
    margin-bottom: 10px;
    color: #666;
}

.club-breadcrumbs a {
    color: #1a4fa3;
    text-decoration: none;
}

.club-breadcrumbs a:hover {
    text-decoration: underline;
}

.club-breadcrumbs span {
    margin: 0 6px;
    color: #999;
}

/* =========================================
   PAGE TITLE
   ========================================= */

.club-page-title {
    margin-bottom: 18px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #f5f8ff, #ffffff);
    border-left: 6px solid var(--club-theme);
    border-radius: 10px;
}

.club-page-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #1a2a4f;
}

.club-page-title p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
}
/* =========================================
   FORCE CLUB PAGE TITLE VISIBILITY
   ========================================= */

.club-page-header {
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.club-page-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent section content from overlapping title */
.club-page-body {
    position: relative;
    z-index: 1;
}
