 /* ================= GLOBAL RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    font-family:'Poppins', Arial, sans-serif;
    line-height:1.6;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
}

a{
    color:inherit;
    text-decoration:none;
    transition:.3s ease;
}

a:hover,
a:focus{
    text-decoration:none;
}

img{
    display:block;
    width:100%;
}

.main-content{
    flex:1;
    min-width:0;
}


/* ================= HOME NEWS LAYOUT ================= */

.home-news{
    max-width:1600px;
    margin:35px auto;
    padding:0 24px;
    display:grid;
    grid-template-columns:2.3fr 1fr;
    gap:28px;
    align-items:start;
}


/* ================= FEATURED ================= */

.news-featured{
    background:#fff;
    padding:24px;
    border-radius:14px;
    box-shadow:0 4px 14px rgba(0,0,0,.06);
    transition:.3s;
    position:relative;
}

.news-featured:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.news-featured::after{
    content:"";
    position:absolute;
    left:24px;
    right:24px;
    bottom:0;
    height:1px;
    background:#ececec;
}

/* FEATURED CONTENT */

.featured-body{
    display:grid;
    grid-template-columns:1.1fr 1.4fr;
    gap:28px;
    align-items:center;
}

.news-featured img{
    height:300px;
    object-fit:cover;
    border-radius:10px;
    transition:.4s;
}

.news-featured:hover img{
    transform:scale(1.03);
}

/* CONTENT */

.news-featured .overlay{
    position:static;
    background:none;
    color:inherit;
    padding:0;
}

.news-featured h1{
    font-size:28px;
    font-weight:700;
    line-height:1.35;
    color:#222;
    margin-bottom:14px;
}

.news-featured p{
    font-size:15px;
    color:#666;
    line-height:1.8;
    margin-bottom:18px;
}

.news-featured time{
    display:block;
    font-size:13px;
    color:#888;
    font-weight:500;
}


/* ================= TOP NEWS ================= */

.news-top{
    background:#fff;
    padding:22px;
    border-radius:14px;
    box-shadow:0 4px 14px rgba(0,0,0,.06);
    transition:.3s;
}

.news-top:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.news-top img{
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:16px;
    transition:.4s;
}

.news-top:hover img{
    transform:scale(1.03);
}

.news-top .badge.subtle{
    display:inline-block;
    border:2px solid #8b1e1a;
    color:#8b1e1a;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
    padding:6px 14px;
    margin-bottom:14px;
    text-transform:uppercase;
}

.news-top h2{
    font-size:21px;
    line-height:1.4;
    font-weight:700;
    color:#222;
    margin-bottom:12px;
}

.news-top p{
    font-size:14px;
    line-height:1.7;
    color:#666;
    margin-bottom:14px;
}

.news-top time{
    display:block;
    font-size:13px;
    color:#888;
    font-weight:500;
}

.news-top a:hover h2{
    color:#8b1e1a;
}

/* ================= BELOW 4 NEWS ================= */

.news-grid{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-top:40px;
}

.news-grid article{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    transition:.3s ease;
}

.news-grid article:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 28px rgba(0,0,0,.12);
}

.news-grid img{
    width:100%;
    height:180px;
    object-fit:cover;
    transition:.35s;
}

.news-grid article:hover img{
    transform:scale(1.05);
}

.news-grid article .content{
    padding:18px;
}
.home-news .news-grid article h3 {
    margin-top: 12px;
}
.news-grid h3{
    font-size:18px;
    line-height:1.4;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}

.news-grid h3:hover{
    color:#8b1e1a;
}

.news-grid p{
    font-size:14px;
    line-height:1.7;
    color:#666;
    margin-bottom:14px;
}

.news-grid time{
    display:block;
    font-size:13px;
    color:#888;
}


/* ================= MORE NEWS ================= */

.news-grid.two-per-row{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:26px;
    margin-top:40px;
}

.news-box{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    transition:.3s ease;
}

.news-box:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(0,0,0,.12);
}

.news-box-header{
    font-size:15px;
    font-weight:700;
    color:#8b1e1a;
    padding:16px 18px;
    border-bottom:1px solid #ececec;
    text-transform:uppercase;
    letter-spacing:.4px;
}

.news-box-content{
    display:flex;
    gap:18px;
    padding:18px;
    align-items:flex-start;
}

.news-img{
    width:240px;
    height:150px;
    flex-shrink:0;
    overflow:hidden;
    border-radius:8px;
    position:relative;
}

.news-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.news-box:hover .news-img img{
    transform:scale(1.05);
}

.news-text{
    flex:1;
}

.news-text h3{
    font-size:18px;
    line-height:1.4;
    color:#222;
    margin-bottom:10px;
}

.news-text h3:hover{
    color:#8b1e1a;
}

.news-text p{
    font-size:14px;
    color:#666;
    line-height:1.7;
    margin-bottom:12px;
}

.news-text time{
    display:block;
    font-size:13px;
    color:#888;
}


/* ================= BADGE ================= */

.more-news-badge{
    position:absolute;
    left:10px;
    bottom:10px;
    background:#8b1e1a;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:5px 10px;
    border-radius:4px;
    text-transform:uppercase;
}


/* ================= MORE NEWS BUTTON ================= */

.more-news-btn{
    grid-column:1/-1;
    display:flex;
    justify-content:center;
    margin:45px 0;
}

.more-news-btn .btn-maroon{
    padding:12px 32px;
    border:2px solid #bf3b35;
    background:#fff;
    color:#8b1e1a;
    font-size:15px;
    font-weight:600;
    transition:.3s;
    cursor:pointer;
}

.more-news-btn .btn-maroon:hover{
    background:#bf3b35;
    color:#fff;
}
/* ================= LEGEND FM WIDGET ================= */

.legendfm-widget {
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  padding: 25px 12px;
}

.legendfm-channel {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Channel Themes */
.channel-yumifm {
  background: linear-gradient(135deg, #eef8ff, #ffffff);
  border: 2px solid #008cff;
}

.channel-legendfm {
  background: linear-gradient(135deg, #fff0f8, #ffffff);
  border: 2px solid #e60073;
}

.channel-naufm {
  background: linear-gradient(135deg, #f4fff0, #ffffff);
  border: 2px solid #39a84c;
}

.legendfm-channel-title {
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: .5px;
}

.legendfm-channel-title a {
  text-decoration: none;
  color: #111;
}

.legendfm-videos {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: center;
}

.legendfm-card {
  flex: 1 1 280px;
  max-width: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}

.legendfm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.legendfm-card img {
  width: 100%;
  height: auto;
  display: block;
}

.legendfm-card .info {
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  flex-grow: 1;
}

.legendfm-card a {
  color: inherit;
  text-decoration: none;
}

.legendfm-card a:hover {
  color: #0077cc;
}

.legendfm-nav {
  text-align: center;
  margin-top: 18px;
}

.legendfm-nav button {
  background: linear-gradient(135deg,#222,#444);
  color:white;
  border:none;
  padding:10px 22px;
  margin:0 6px;
  cursor:pointer;
  font-weight:bold;
  font-size:14px;
  border-radius:25px;
  transition:.3s;
}

.legendfm-nav button:hover {
  background:#8b1e1a;
}

.legendfm-nav button:disabled {
  background:#aaa;
  cursor:not-allowed;
}

.error-message {
  text-align:center;
  color:#d0003a;
  font-weight:600;
  font-size:16px;
  margin-top:20px;
}

@media(max-width:900px){
  .legendfm-videos{
    flex-wrap:wrap;
  }
}

@media(max-width:600px){
  .legendfm-videos{
    flex-direction:column;
    gap:24px;
  }

  .legendfm-card{
    max-width:100%;
  }
}


/* ================= YU STORI ================= */


.yu-stori-widget-wrap {
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
  font-family:Arial,sans-serif;
}


.yu-stori-header-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
  flex-wrap:wrap;
  gap:10px;
}


.yu-stori-subtitle {
  font-size:1.3rem;
  font-weight:800;
  color:#222;
}


.yu-stori-subscribe-btn {
  background:linear-gradient(135deg,#ff0000,#b90000);
  color:white;
  padding:10px 20px;
  text-decoration:none;
  border-radius:30px;
  font-weight:bold;
  font-size:.95rem;
  transition:.3s;
}

.yu-stori-subscribe-btn:hover {
  text-decoration:none;
  color:white;
  transform:scale(1.05);
}


.yu-stori-video-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}


.yu-stori-video-card {
  border:none;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,.12);
  background:#fff;
  display:flex;
  flex-direction:column;
  transition:.3s;
}


.yu-stori-video-card:hover{
  transform:translateY(-5px);
}


.yu-stori-video-card iframe {
  width:100%;
  height:200px;
  border:none;
}


.yu-stori-card-info {
  padding:12px;
  font-size:.95rem;
  font-weight:600;
  color:#333;
}


.yu-stori-pagination {
  text-align:center;
  margin-top:22px;
}


.yu-stori-pagination button {
  background:#222;
  color:white;
  padding:10px 20px;
  margin:0 8px;
  font-size:14px;
  border:none;
  border-radius:25px;
  cursor:pointer;
  font-weight:bold;
}


.yu-stori-pagination button:hover{
  background:#0077cc;
}


.yu-stori-pagination button:disabled {
  background:#ccc;
}


#yu-stori-prev-btn,
#yu-stori-next-btn{
  color:white;
}


@media(max-width:1024px){

.yu-stori-video-grid{
 grid-template-columns:repeat(2,1fr);
}

}


@media(max-width:600px){

.yu-stori-header-box{
 flex-direction:column;
 align-items:flex-start;
}


.yu-stori-subscribe-btn{
 width:100%;
 text-align:center;
}


.yu-stori-video-grid{
 grid-template-columns:1fr;
}

}


/* ================= SCOREBOARD ================= */


.scoreboard {
 max-width:1000px;
 margin:25px auto;
 border-top:4px solid #002147;
 background:#fff;
 border-radius:12px;
 overflow:hidden;
 box-shadow:0 5px 18px rgba(0,0,0,.1);
}


.scoreboard h2 {
 font-size:26px;
 font-weight:800;
 padding:18px 0;
 text-align:center;
}


/* Tabs */

.tabs {
 display:grid;
 grid-template-columns:repeat(6,1fr);
 gap:5px;
 background:#fff;
 padding:5px;
}


.tab {
 padding:14px;
 text-align:center;
 font-weight:700;
 font-size:14px;
 border:none;
 border-radius:8px;
 cursor:pointer;
 background:#f5f5f5;
 transition:.3s;
}


.tab:hover{
 background:#ffe4b3;
}


.tab.active {
 background:linear-gradient(135deg,#ff9800,#ffb74d);
 color:#4b2600;
}


/* Table */


table {
 width:100%;
 border-collapse:collapse;
 background:#fff;
 margin-top:12px;
}


th,td {
 padding:13px;
 text-align:center;
 border-bottom:1px solid #ddd;
}


th {
 background:#f3f3f3;
 font-weight:bold;
}


tr:hover td{
 background:#fafafa;
}


@media(max-width:992px){

.tabs{
 grid-template-columns:repeat(3,1fr);
}

}


@media(max-width:600px){

.tabs{
 grid-template-columns:1fr;
}

.tab{
 font-size:13px;
 padding:11px;
}

th,td{
 font-size:12px;
 padding:10px;
}

.scoreboard h2{
 font-size:20px;
}

}
/* =====================================================
   TABLET (991px and below)
===================================================== */

@media (max-width:991px){

.home-news{
    grid-template-columns:1fr;
    gap:32px;
}

.featured-body{
    grid-template-columns:1fr;
}

.news-featured img{
    height:340px;
}

.news-top img{
    height:280px;
}

.news-grid{
    grid-template-columns:repeat(2,1fr);
}

.news-grid.two-per-row{
    grid-template-columns:1fr;
}

.news-box-content{
    flex-direction:column;
}

.news-img{
    width:100%;
    height:240px;
}

.news-top-tablet{
    display:none;
}

}


/* =====================================================
   MOBILE (768px and below)
===================================================== */

@media (max-width:768px){

html,
body{
    overflow-x:hidden;
    padding:0;
}

.home-news{
    margin:0;
    padding:16px;
    gap:24px;
}

.featured-body{
    display:flex;
    flex-direction:column;
}

.news-featured,
.news-top,
.news-grid article{
    padding:18px;
    border-radius:10px;
}

.news-featured img{
    width:100%;
    height:240px;
    order:1;
}

.news-featured .overlay{
    order:2;
    margin-top:18px;
}

.news-featured h1{
    font-size:22px;
}

.news-featured p{
    font-size:14px;
}

.news-top img{
    height:220px;
}

.news-top h2{
    font-size:20px;
}

.news-grid{
    grid-template-columns:1fr;
    gap:24px;
}

.news-grid img{
    height:220px;
}

.news-grid h3{
    font-size:18px;
}

/* Keep news box edge-to-edge internally */
.news-box{
    padding:0;
}

.news-box-header{
    padding:16px;
}

.news-box-content{
    flex-direction:column;
    padding:16px;
}

.news-img{
    height:220px;
}

.news-text{
    padding:0;
}

.more-news-btn{
    margin:32px 0;
}

.more-news-btn .btn-maroon{
    width:100%;
    max-width:260px;
}

}


/* =====================================================
   SMALL PHONES (480px and below)
===================================================== */

@media (max-width:480px){

.home-news{
    padding:12px;
}

.news-featured,
.news-top,
.news-grid article{
    border-radius:8px;
}

.news-featured img{
    height:200px;
}

.news-top img{
    height:190px;
}

.news-grid img,
.news-img{
    height:190px;
}

.news-featured h1{
    font-size:20px;
}

.news-top h2{
    font-size:18px;
}

.news-grid h3,
.news-text h3{
    font-size:17px;
}

.news-featured p,
.news-top p,
.news-grid p,
.news-text p{
    font-size:13px;
}

.more-news-btn .btn-maroon{
    padding:12px 20px;
    font-size:14px;
}

}