﻿*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    background: #f4f4f4;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f4f4f4;
}

/* IMPORTANT: form is the real layout container in WebForms */
form {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
}

/* your page wrapper */
.main-content {
    flex: 0 0 auto;
}

/* footer fix */
.main-footer {
    margin-top: auto;
}
.ticker{
    display:flex;
    align-items:center;
    background:#c00;
    color:#fff;
    overflow:hidden;
    width:100%;
}

.ticker .title{
    padding:12px 20px;
    font-weight:700;
    white-space:nowrap;
    z-index:2;
}

.ticker-content{
    flex:1;
    overflow:hidden;
    position:relative;
    white-space:nowrap;
}

.ticker-content p{
    display:inline-block;
    padding-left:100%;
    animation:tickerMove 25s linear infinite;
    margin:0;
}

@keyframes tickerMove{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}

@media (max-width:768px){

    .main-sections-wrapper,
    .trending-panel-container,
    .ticker-wrapper,
    .broadcast-container,
    .news-grid-layout{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        overflow:hidden;
    }

    .ticker .title{
        padding:10px 12px;
        font-size:13px;
    }

    .ticker-content p{
        font-size:13px;
    }
}

/* TOP BAR */
.topbar {
    width: 100%;
    background: #012761;
    padding: 8px 40px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-logo {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.channel-name {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

.top-right a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: 0.3s;
}

.top-right a:hover {
    color: #e91e63;
}
/* ==========================================
   RESPONSIVE MEDIA QUERY (2 ROW FIX)
=========================================== */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column; /* Stack left section and right section vertically */
        gap: 0px;              /* Sets clean space between row 1 and row 2 */
        padding: 12px 20px;     /* Comfortable screen-edge spacing */
        align-items: center;
    }

    /* ROW 1: Forces Logo and Channel Name to stay side-by-side */
    .top-left {
        display: flex;
        flex-direction: row;    /* Explicitly forces horizontal row */
        align-items: center;
        justify-content: center;
        gap: 10px;              /* Keeps standard gap between logo and text */
        width: 100%;
    }

    .channel-name {
        font-size: 10px;        /* Optimized mobile typography scale */
        white-space: nowrap;    /* Prevents the name from breaking into a second line */
    }

    /* ROW 2: Groups all social link items horizontally below the brand */
    .top-right {
        display: flex;
        flex-direction: row;    /* Horizontal line for social icons */
        justify-content: center;
        align-items: center;
        gap: 5px;              /* Equal tap margins for touch screens */
        width: 100%;
    }

    .top-right a {
        margin-left: 0;         /* Removes desktop specific spacing quirks */
        font-size: 10px;        /* Clean interactive size for mobile taps */
    }
}







/* MAIN HEADER */
.header {
    background: #fff;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
}



/* NAVIGATION */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #111;   /* fixed color for visibility */
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #e91e63;
}


/* ==========================================
   DESKTOP DEFAULT / SAFETY HIDDEN CONTROLS 
=========================================== */
.nav-toggle-checkbox {
    display: none;
}

.hamburger-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: 10px 0;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #111;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* ==========================================
   MOBILE HAMBURGER MEDIA QUERY (max-width: 768px)
=========================================== */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        position: relative; /* Anchor alignment context for dropdown menu */
    }

    /* Reveal hamburger button shape */
    .hamburger-btn {
        display: flex;
        z-index: 100;
    }

    /* Dropdown structural container */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 2px solid #ddd;
        max-height: 0;          /* Hidden by default */
        overflow: hidden;       /* Clip overflow links while collapsed */
        transition: max-height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 99;
    }

    /* Layout override to arrange links vertically on mobile */
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 25px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* DYNAMIC ACTIONS ON CHECKBOX TOGGLE CLICK */
    
    /* 1. Expand menu height to show options smoothly */
    .nav-toggle-checkbox:checked ~ .nav-menu {
        max-height: 500px; /* Adapts nicely to long vertical lists */
    }

    /* 2. Optional: Animate the '=' icon into an 'X' close indicator when open */
    .nav-toggle-checkbox:checked + .hamburger-btn span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle-checkbox:checked + .hamburger-btn span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle-checkbox:checked + .hamburger-btn span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}





/* TICKER */
.ticker {
    background: red;
    padding: 8px 10px;
    display: flex;
    align-items: center; 
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

/* TITLE */
.title {
    white-space: nowrap;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
}
.ticker .title{
    font-weight: bold;
    margin-right: 10px;
}


/* NEW: Flex Grid Wrapper to split Slider Left and Stories Right */
        .news-grid-layout {
            display: flex;
            max-width: 1200px;
            margin: 20px auto;
            gap: 20px;
            align-items: flex-start;
        }

        /* 3D Elevated Slider Container (Shifted Left via Flex) */
        .slider-container {
            flex: 1; /* Takes up the remaining space dynamically */
            background: #ffffff;
            padding: 12px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 
                        0 4px 10px rgba(0, 0, 0, 0.05);
        }

        /* Main Display Window */
        .main-slider {
            position: relative;
            width: 100%;
            height: 450px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
        }

        .slide-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Caption Overlay */
        .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.7);
            color: #ffffff;
            padding: 15px 20px;
            font-size: 1.1rem;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Static Thumbnails Grid */
        .thumbnail-container {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
            margin-top: 15px;
        }

        .thumb {
            aspect-ratio: 4/3;
            overflow: hidden;
            border-radius: 4px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        }

        .thumb:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .thumb.active {
            border-color: #00a2ed;
            transform: scale(1.02);
        }

        .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ==========================================
           NEW RIGHT SIDEBAR DESIGNS (TOP STORIES)
        =========================================== */
        .top-stories-sidebar {
            width: 360px; /* Exact proportional size matching your screenshot */
            background: #ffffff;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 
                        0 4px 10px rgba(0, 0, 0, 0.04);
        }

        .sidebar-header {
            font-size: 1.1rem;
            font-weight: bold;
            color: #012761;
            text-transform: uppercase;
            border-bottom: 2px solid #012761;
            padding-bottom: 6px;
            margin-bottom: 15px;
        }

        .news-item-row {
            display: flex;
            gap: 12px;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px dashed #dcdcdc;
            align-items: center;
        }

        .news-item-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        /* 3D Look for mini news thumbnails */
        .news-item-thumb {
            width: 90px;
            height: 65px;
            flex-shrink: 0;
            border-radius: 6px;
            overflow: hidden;
            border: 2px solid #222222;
            box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
        }

        .news-item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .news-item-content {
            flex: 1;
            overflow: hidden;
        }

        .news-item-title {
            font-size: 1.2rem;
            color: #012761;
            font-weight: bold;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .news-item-desc {
            font-size: 0.85rem;
            color: #444444;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Responsive Breakdowns */
        @media (max-width: 900px) {
            .news-grid-layout {
                flex-direction: column;
            }
            .top-stories-sidebar {
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            .main-slider {
                height: 250px;
            }
            .caption {
                font-size: 0.9rem;
                padding: 10px;
            }
            .thumbnail-container {
                gap: 5px;
            }
        }


/* ==========================================
   BROADCAST CHANNEL STYLING SPECS
=========================================== */

/* Breaking News Ticker Line */
.ticker-wrapper {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    background: #012761;
    color: #ffffff;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ticker-title {
    background: #e50914;
    color: white;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content p {
    display: inline-block;
    padding-left: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    animation: broadcastTicker 25s linear infinite;
}

@keyframes broadcastTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Base Flex-Grid Infrastructure */
.broadcast-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}

.channel-feed {
    flex: 2.8;
    display: flex;
    flex-direction: column;
    gap: 24px;
}



/* Premium Glass & 3D Interactive Cards */
.channel-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Live Badge Media Wrapper */
.video-preview-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
}

.video-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(229, 9, 20, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Card Content Details */
.channel-card-body {
    padding: 20px;
}

.channel-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 12px;
}
.channel-badge.global { background: #111; }
.channel-badge.business { background: #00a2ed; }
.channel-badge.tech { background: #8e44ad; }

.feature-block h2 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-block p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.meta-footer {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

/* Secondary Video Grid Modifiers */
.img-container {
    position: relative;
    height: 160px;
}
.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s;
}
.channel-card:hover .play-btn-overlay {
    background: #e50914;
}

.media-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #111;
}
.media-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* RIGHT COLUMN BROADCAST SIDEBAR */
.broadcast-sidebar {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.block-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    color: #111;
    border-bottom: 2px solid #e50914;
    padding-bottom: 8px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Schedule List Elements */
.schedule-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.schedule-item:last-child { border-bottom: none; }

.time-slot {
    font-weight: 700;
    font-size: 0.9rem;
    color: #666;
}
.schedule-item.active .time-slot {
    color: #e50914;
}
.schedule-item.active h4 {
    color: #e50914;
}

.show-details h4 {
    font-size: 0.9rem;
    color: #222;
    margin-bottom: 3px;
}
.show-details p {
    font-size: 0.8rem;
    color: #666;
}

/* Opinion Desk Wire Elements */
.wire-links {
    list-style: none;
}
.wire-links li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.wire-links li:last-child { border-bottom: none; }

.wire-links a {
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 4px;
}
.wire-links a:hover { color: #e50914; }
.wire-author {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

/* Tablet and Smartphone Layout Compressing rules */
@media (max-width: 950px) {
    .broadcast-container { flex-direction: column; }
    .video-preview-wrapper { height: 280px; }
}
@media (max-width: 650px) {
    .sub-channel-grid { grid-template-columns: 1fr; }
}








/* ==========================================
   NEW PARENT CONTAINER WRAPPER STYLE
=========================================== */
.main-sections-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    /* Clean unified 3D shadow matching your slider layout */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 
                0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================
   REGIONAL TWO-COLUMN INTERNAL GRID
=========================================== */
.regional-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

/* Individual Section Blocks */
.news-column-block {
    background: #ffffff;
    padding: 10px;
}

/* Header Bars with Modern Accent Line */
.column-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #012761;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #00a2ed;
    letter-spacing: 0.5px;
}

/* News List Card Row */
.news-list-card {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
    align-items: center;
    transition: transform 0.2s ease;
}

.news-list-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Lift Row Slightly on Hover */
.news-list-card:hover {
    transform: translateX(4px);
}

/* 3D Elevated Image Frame */
.card-thumb-3d {
    width: 110px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #1a1a1a;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-thumb-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Interaction feedback on Thumbnail frame */
.news-list-card:hover .card-thumb-3d {
    transform: scale(1.03) translateY(-1px);
    box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.22);
}

/* Typography Layout Rules */
.card-text-content {
    flex: 1;
    overflow: hidden;
}

.card-heading {
    font-size: 1.25rem;
    color: #012761;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.news-list-card:hover .card-heading {
    color: #0077b3;
}

.card-snippet {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Fluid Adjustments */
@media (max-width: 850px) {
    .regional-sections-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .news-list-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .card-thumb-3d {
        width: 100%;
        height: 160px;
    }
    .card-heading {
        white-space: normal;
    }
}














/* ==========================================
   HORIZONTAL TRENDING DESIGN PROPERTIES
=========================================== */

/* Unified Main Outer Container Wrap */
.trending-panel-container {
    max-width: 1200px;
    margin: 35px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Redesigned Section Bar Layout */
.panel-main-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.panel-title-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #012761;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.panel-navigation-lines {
    flex-grow: 1;
    height: 4px;
    background: linear-gradient(to right, #012761, #012761 80%);
    border-radius: 2px;
}

/* Horizontal Card Row Architecture */
.trending-flex-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual Box Link Component */
.trending-box-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #012761;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px;
    text-decoration: none;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.2s ease, 
                box-shadow 0.2s ease;
}

/* Subtle physical 3D popup feedback on click/hover states */
.trending-box-card:hover {
    transform: translateY(-4px);
    border-color: #00a2ed;
    box-shadow: 0 8px 20px rgba(0, 162, 237, 0.12);
}

/* Exact Image 3D Frame Aspect Ratio Settings */
.thumbnail-frame-3d {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #1a1a1a;
    box-shadow: 3px 3px 0px #1a1a1a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbnail-frame-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dynamic shifting look inside the frame on interaction */
.trending-box-card:hover .thumbnail-frame-3d {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #00a2ed;
}

/* Typography Layout Rules */
.box-card-content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.box-card-title {
    font-size: 1.15rem;
    color: #012761;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.trending-box-card:hover .box-card-title {
    color: #0077b3;
}

.box-card-snippet {
    font-size: 0.85rem;
    color: #012761;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-card-date {
    font-size: 0.75rem;
    font-weight: bold;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Responsive Adaptive Fluid Breakpoints */
@media (max-width: 990px) {
    .trending-flex-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .trending-box-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .thumbnail-frame-3d {
        width: 100%;
        height: 150px;
        box-shadow: 4px 4px 0px #1a1a1a;
    }
    .box-card-title {
        white-space: normal;
    }
}













/* ==========================================
   INNER ARTICLE CONTENT DETAILED STYLING 
=========================================== */

/* Matches the elevated slider box styling perfectly */
.article-main-container {
    flex: 1;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 
                0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Image frame window */
.article-image-box {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.article-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reuses your home page layout caption aesthetics */
.article-main-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Inner News Typography Styles */
.article-body-content {
    padding: 20px 10px 10px 10px;
}

.article-meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: bold;
}

.article-inner-title {
    font-size: 1.6rem;
    color: #012761;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 800;
}

.content-divider {
    border: none;
    height: 3px;
    background: #012761;
    width: 60px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.article-paragraph {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

/* Responsive Scaling down for screens */
@media (max-width: 600px) {
    .article-image-box {
        height: 250px;
    }
    .article-main-caption {
        font-size: 0.9rem;
        padding: 10px;
    }
    .article-inner-title {
        font-size: 1.25rem;
    }
}









/* ==========================================
   PREMIUM FOOTER STYLING ARCHITECTURE
=========================================== */
.main-footer {
    background: #012761; /* Updated to your primary dark blue color */
    color: #ffffff;
    padding: 50px 40px 20px 40px;
    margin-top: 40px;
    border-top: 4px solid #ffffff; /* Contrast border line */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Typography Headings with Accent Lines */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff; /* Bright crisp white */
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F44336; /* Accent pink visual divider */
    display: inline-block;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: #e0e6ed; /* Soft light gray-blue for excellent readability */
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 3D Elevated Social Icon Round Clusters */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1); /* Elegant semi-transparent glass effect */
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-socials a:hover {
    background: #e91e63;
    color: #ffffff;
    border-color: #F44336;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(233, 30, 99, 0.4);
}

/* 2-Column Grid Layout for Compact Nav Links */
.footer-links-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
    padding: 0;
}

.footer-links-grid a {
    color: #e0e6ed; /* Readable secondary links color */
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-grid a:hover {
    color: #F44336; /* Hover accent color matching your system highlights */
    transform: translateX(4px); 
}

/* Contact List Block Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    color: #e0e6ed;
    font-size: 0.92rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list span {
    font-size: 1.1rem;
}

.footer-bottom-bar {
    background: #001a42; /* Slightly darker blue for contrast */
    text-align: center;
    padding: 15px 10px;
    color: #ffffff;
    font-size: 14px;
    border-top: 2px solid #ffffff44;
}
.footer-bottom-bar p {
    margin: 0;
}

/* ==========================================
   RESPONSIVE ADAPTIVE BREAKPOINTS FOR FOOTER
=========================================== */
@media (max-width: 850px) {
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    
    .main-footer {
        padding: 40px 20px 20px 20px;
    }
}















.post-form-container {
    max-width: 900px;
    background: #ffffff;
    margin: 40px auto;
    padding: 40px;
    border-radius: 16px;
    font-family: "Poppins", sans-serif;

    /* 3D card effect */
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

.post-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 700;
    color: #012761;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Row Structure */
.post-form .row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.post-form .row.full {
    flex-direction: column;
}

/* Form Group */
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    margin-bottom: 8px;
    color: #012761;
    font-weight: 600;
}

/* Inputs – Modern Style */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    font-size: 16px;
    border: 1.4px solid #012761;
    border-radius: 10px;
    outline: none;
    background: #fafafa;
    transition: all 0.3s ease;

    /* 3D inner shadow */
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}

/* On Hover */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: #ffffff;
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.08);
}

/* On Focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff4b4b;
    box-shadow: 
        0 0 10px rgba(255, 75, 75, 0.3),
        inset 0 3px 10px rgba(0,0,0,0.1);
    background: #fff;
}

/* Save Button */
.save-btn {
    width: 200px;
    padding: 15px;
    background: linear-gradient(135deg, #012761, #013f9a);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;

    display: block;
    margin: 25px auto 0;
    letter-spacing: 0.5px;

    /* Soft 3D button effect */
    box-shadow: 0 6px 18px rgba(0, 30, 90, 0.3);
}

.save-btn:hover {
    background: linear-gradient(135deg, #ff4b4b, #e00000);
    box-shadow: 0 8px 22px rgba(255,0,0,0.4);
    transform: translateY(-2px);
}

.save-btn:active {
    transform: scale(0.96);
}

/* Responsive for Mobile */
@media (max-width: 600px) {
    .post-form .row {
        flex-direction: column;
    }

    .save-btn {
        width: 100%;
        border-radius: 12px;
    }
}






/* Upload Image Section Only */
.form-group input[type="file"]{
    width:220px !important;
    padding:8px;
    border:1px solid #d5dce5;
    border-radius:8px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

/* Upload Button */
.btn-upload1{
    margin-left:10px;
    padding:12px 22px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg,#012761,#124a63) !important;
    color:#fff !important;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
    box-shadow:0 5px 15px rgba(1,39,97,.25);
    width: 100px;
}

.btn-upload1:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(1,39,97,.35);
}

/* View Button */
.btn-view{
    display:inline-block;
    margin-top:12px;
    padding:10px 20px;
    border-radius:10px;
    background:linear-gradient(135deg,#28a745,#1e7e34);
    color:#fff !important;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 5px 15px rgba(40,167,69,.25);
    transition:all .3s ease;
}

.btn-view:hover{
    transform:translateY(-2px);
    text-decoration:none;
    box-shadow:0 8px 20px rgba(40,167,69,.35);
}

/* Upload Image Section Only */
.form-group input[type="file"],
.form-group .btn-upload1,
.form-group .btn-view{
    display:inline-block;
    vertical-align:middle;
}

.form-group .btn-upload1{
    margin-left:10px;
}

.form-group .btn-view{
    margin-left:10px;
    margin-top:0 !important;
}
/* Description Full Row */
.form-group-full{
    display:flex;
    flex-direction:column;
    width:100%;
}

/* Label */
.form-group-full label{
    font-size:15px;
    margin-bottom:8px;
    color:#012761;
    font-weight:600;
}

/* TextArea (ASP.NET MultiLine TextBox) */
.form-group-full textarea,
.form-group-full input[type="text"]{
    width:100%;
    min-height:140px;
    padding:14px;
    font-size:16px;
    border:1.4px solid #012761;
    border-radius:10px;
    outline:none;
    background:#fafafa;
    transition:all 0.3s ease;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}

/* Hover */
.form-group-full textarea:hover{
    background:#fff;
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.08);
}

/* Focus */
.form-group-full textarea:focus{
    border-color:#ff4b4b;
    box-shadow:
        0 0 10px rgba(255,75,75,0.3),
        inset 0 3px 10px rgba(0,0,0,0.1);
    background:#fff;
}

/* Upload Row */
.upload-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
}

/* File Upload */
.upload-row input[type="file"]{
    width:220px !important;
}

/* Upload Button */
.btn-upload1{
    width:100px;
    margin:0 !important;
}

/* View Button */
.btn-view{
    margin:0 !important;
    display:inline-block;
}
















/* MAIN WRAPPER - 1400px WIDTH */
.main-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Poppins", sans-serif;
}

/* FILTER CARD */
.filter-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    margin-bottom: 35px;
    border: 1px solid #e5e9f2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filter-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #012761;
    margin-bottom: 25px;
    text-align: center;
}

/* GRID ROW */
.row {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
}

/* CENTER BUTTON */
.btn-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* FORM ELEMENTS */
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #012761;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group select {
    padding: 13px;
    border-radius: 8px;
    border: 1.4px solid #012761;
    background: #f3f6ff;
    transition: 0.3s ease;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #005eff;
    box-shadow: 0 0 8px rgba(0,94,255,0.35);
    background: #fff;
}

/* SEARCH BUTTON */
.search-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, #012761, #0140a0);
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    box-shadow: 0 6px 20px rgba(1, 40, 100, 0.25);
    transition: 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #ff4b4b, #e00000);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.45);
}

/* TABLE DESIGN */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.custom-table th {
    background: #012761;
    color: #fff;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.custom-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
}




/* ============================
   MOBILE VIEW (max-width: 768px)
   ============================ */
@media (max-width: 768px) {

    /* MAIN CONTAINER */
    .main-container {
        padding: 0 15px;
        margin: 20px auto;
    }

    /* FILTER CARD */
    .filter-card {
        padding: 20px;
        margin-bottom: 25px;
    }

    .filter-card h2 {
        font-size: 22px;
        text-align: center;
    }

    /* ROW STACKING */
    .row {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 18px;
    }

    /* FORM GROUPS */
    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 14px;
    }

    /* CENTER BUTTON */
    .btn-row {
        justify-content: center;
        margin-top: 15px;
    }

    .search-btn {
        width: 100%;
        font-size: 16px;
        padding: 14px 0;
    }

    /* TABLE */
    .custom-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .custom-table th,
    .custom-table td {
        font-size: 14px;
        padding: 12px;
    }
}





  .student-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.student-table th{
    background: #012761;
    color:#fff;
    padding:14px;
    text-align:center;
    font-weight:600;
        box-shadow: inset 0 0px 2px rgb(255 255 255);
}

.student-table td{
    padding:14px;
    text-align:center;
    border-bottom:1px solid #607D8B;
}

.student-table tr{
    transition:0.3s ease;
}

.student-table tr:hover{
    transform: scale(1.01);
    background:#f2f9ff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.student-table th a{
    color:#fff;
    text-decoration:none;
    padding:4px 8px;
    border-radius:4px;
    transition:0.3s;
}



.btn-submit{
    background: #012761;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(18, 74, 99, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;

    display: block;
    margin: 0 auto;   /* 👈 THIS CENTERS IT */
}
.btn-submit:hover{
    background: linear-gradient(135deg, #124a63, #0a3447);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 74, 99, 0.4);
}

.btn-submit:active{
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(18, 74, 99, 0.3);
}

.btn-submit:focus{
    outline: none;
}









.column-header-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

/* style for More link */
.header-more-link{
    margin-left: auto;
    color: #012761;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.header-more-link:hover{
    color: #ff6600;
    text-decoration: underline;
}














/* ===== MAIN CONTAINER ===== */
.regional-sections-container{
    display: flex;
    gap: 20px;
}

/* ===== EQUAL COLUMNS ===== */
.left-column,
.right-column{
    flex: 1;
    min-width: 0;
}

/* ===== CATEGORY BLOCK ===== */
.news-column-block{
    width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

/* ===== NEWS CARD ===== */
.news-list-card{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    overflow: hidden;
}

/* LEFT / RIGHT IMAGE DIRECTION */
.left-img{
    flex-direction: row;
}

.right-img{
    flex-direction: row-reverse;
}

/* ===== IMAGE ===== */
.card-thumb-3d{
    flex: 0 0 100px;
}

.card-thumb-3d img{
    width: 100px;
    height: 75px;
    object-fit: cover;
    display: block;
}

/* ===== TEXT AREA ===== */
.card-text-content{
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ===== TITLE (ELLIPSIS ONE LINE) ===== */
.card-text-content h4{
    font-size: 1.15rem;
    color: #0b2a5b;
    font-weight: 700;

   font-family: "Noto Sans Kannada", "Noto Sans Devanagari", "Nirmala UI", "Tunga", "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0.2px;

    margin-bottom: 4px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== DESCRIPTION ===== */
.card-text-content p{
    font-size: 13px;
    color: #000;

   font-family: "Noto Sans Kannada", "Noto Sans Devanagari", "Nirmala UI", "Tunga", "Segoe UI", Arial, sans-serif !important;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}









  