﻿/* Google Font Import for Newsletter Headline */
/* MUST BE AT LINE 1 OF STYLE.CSS - Imports Oswald font weights 400 (normal) and 700 (bold) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

/* Header Background & Logo Styling */
.header-bg {
    background-color: #333333;
}

/* 1. Header Logo Size on Home Page */
.header-logo {
    width: 164px;
    height: 164px;
    object-fit: contain;
}

/* 2. QR Code Size in Announcement Section */
.qr-img {
    width: 164px;
    height: 164px;
    object-fit: contain;
}

/* Compact Inner Header Typography in Oswald Normal */
.header-logo-inner {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.inner-title-main {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important; /* Normal weight */
    font-size: 1.25rem !important;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.inner-title-sub {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important; /* Normal weight */
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
}

/* Newsletters Oswald Normal Headline */
.newsletter-heading {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important; /* Normal weight */
    font-size: 3.75rem !important; /* 60 pt equivalent */
    letter-spacing: 2px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

@media (max-width: 768px) {
    .inner-title-main {
        white-space: normal;
        font-size: 1rem !important;
    }
    .newsletter-heading {
        font-size: 2.5rem !important;
    }
}

/* Sidebar Navigation Items */
.newsletter-list .list-group-item {
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}

.newsletter-list .list-group-item.active {
    background-color: #eaf4fc;
    color: #1155CC;
    font-weight: bold;
    border-left-color: #1155CC;
}

.newsletter-list .list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
    color: #1155CC;
}

/* PDF Viewer Container */
.pdf-container {
    position: relative;
    width: 100%;
    height: 750px;
    background-color: #2b2b2b;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pdf-container object,
.pdf-container embed,
.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Google Font Import for Newsletter Headline */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

/* Compact Inner Header Typography & Sizing */
.header-logo-inner {
    width: 82px;  /* Half of 164px */
    height: 82px;
    object-fit: contain;
}

.inner-title-main {
    font-size: 1.1rem !important; /* Half size of display-6, rendered on a single line */
    white-space: nowrap;
}

.inner-title-sub {
    font-size: 0.85rem !important; /* Half size of h5 */
}

/* Newsletters 60 pt Oswald Headline */
.newsletter-heading {
    font-family: 'Oswald', 'Arial Black', sans-serif !important;
    font-size: 3.75rem !important; /* 60 pt equivalent in web rems */
    letter-spacing: 2px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

@media (max-width: 768px) {
    .inner-title-main {
        white-space: normal; /* Wrap text on mobile screens */
        font-size: 0.95rem !important;
    }
    .newsletter-heading {
        font-size: 2.5rem !important; /* Responsive scaling for small mobile screens */
    }
}
/* Sidebar Events List Styling */
.gallery-event-list .list-group-item {
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}

.gallery-event-list .list-group-item.active {
    background-color: #eaf4fc;
    color: #1155CC;
    font-weight: bold;
    border-left-color: #1155CC;
}

.gallery-event-list .list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
    color: #1155CC;
}

/* Gallery Viewer Container */
.gallery-viewer-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.main-gallery-image {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.main-gallery-image:hover {
    opacity: 0.95;
}

/* Overlay Navigation Arrows */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: rgba(17, 85, 204, 0.9);
}

.gallery-nav-prev { left: 15px; }
.gallery-nav-next { right: 15px; }

/* Thumbnail Strip below Main Viewer */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumb-img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumb-img:hover, .thumb-img.active-thumb {
    opacity: 1;
    border-color: #1155CC;
}

/* Poster Image Styling */
.poster-container img {
    max-height: 720px;
    width: auto;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Conference QR Code Box */
.conference-qr-img {
    width: 164px;
    height: 164px;
    object-fit: contain;
}

/* PDF Viewer Container */
.pdf-viewer-box {
    width: 100%;
    height: 650px;
    background-color: #2b2b2b;
    border-radius: 6px;
    overflow: hidden;
}

/* Members Corner Card Styling */
.member-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.member-card-img-wrapper {
    height: 220px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-card-img {
    transform: scale(1.04);
}