@charset "UTF-8";
/* CSS Document */

/* ==========================================================================================
   GLFL SOCIAL WIDGET
========================================================================================== */

.social-widget {
    background-color: var(--bright-white);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    box-sizing: border-box;
}

/* HEADER */

.social-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.social-header h2 {
    margin: 0;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    background-color: var(--soft-gray);
    padding: 3px 8px;
    border-radius: 4px;
}

.social-header span {
    margin-left: 10px;
    font-size: 0.72rem;
    color: var(--industrial-gray);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* SCROLLING FEED WINDOW */

#glfl-social-feed {
    max-height: 895px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
}

/* Match the existing site scrollbars */

#glfl-social-feed::-webkit-scrollbar {
    width: 5px;
}

#glfl-social-feed::-webkit-scrollbar-thumb {
    background: var(--industrial-gray);
    border-radius: 3px;
}

#glfl-social-feed::-webkit-scrollbar-track {
    background: transparent;
}

/* POSTS */

.social-post {
    padding: 11px 10px;
    border-bottom: 1px solid #eeeeee;
}

.social-post:first-child {
    padding-top: 5px;
}

.social-post:last-child {
    border-bottom: none;
}

.social-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.social-post-header strong {
    font-size: 0.82rem;
    color: var(--navy);
}

.social-post-header span {
    font-size: 0.68rem;
    color: var(--industrial-gray);
    white-space: nowrap;
}

.social-bureau {
    margin-top: 1px;
    font-size: 0.62rem;
    color: var(--industrial-gray);
}

.social-type {
    margin-top: 3px;
    font-size: 0.62rem;
    font-weight: bold;
    letter-spacing: 0.4px;
    color: var(--lake-blue);
    text-transform: uppercase;
}

.social-post p {
    margin: 5px 0 4px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--industrial-gray);
}

.social-time {
    font-size: 0.62rem;
    color: #999;
}

/* MORE LINK */

.social-more {
    display: block;
    margin: 5px -15px -10px;
    padding: 10px 15px;
    background-color: var(--soft-gray);
    color: var(--navy);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.social-more:hover {
    background-color: #e5e5e5;
}

/* ==========================================================================================
   GLFL SOCIAL - MOBILE
========================================================================================== */

@media (max-width: 768px) {

    .social-widget {
        width: 100%;
        margin: 15px 0 0;
    }

    .social-header {
        margin-bottom: 8px;
    }

    .social-header h2 {
        font-size: 0.72rem;
    }

    .social-header span {
        font-size: 0.65rem;
    }

    #glfl-social-feed {
        max-height: 300px;
    }

    .social-post {
        padding: 11px 8px;
    }

    .social-post-header strong {
        font-size: 0.78rem;
    }

    .social-post-header span {
        font-size: 0.64rem;
    }

    .social-post p {
        font-size: 0.75rem;
    }

    .social-more {
        margin-left: -15px;
        margin-right: -15px;
    }
}


/* ========================================================================================== CHAMPION BANNER ================== */
.banner {
position: relative;
	max-width: 1200px; /* Constrains width to match scoreboard, feed, and quick links */
	margin: 20px auto 15px auto;
	height: 100px;
	background-image: url("https://media.istockphoto.com/id/1429959735/vector/yellow-gold-glitter-confetti-with-glow-lights-on-black-background-vector.jpg?s=612x612&w=0&k=20&c=aDtgwRyO_SO7jBCTV-EN8pPpXJy5xsVypTq2kgx0jig="); /* banner background */
	background-size: contain;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.scroll-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.scroll-content {
	display: flex;
	gap: 40px;
	animation: scroll-left 20s linear infinite;
}

.scroll-content img {
	height: 80px; /* adjust size of images */
	flex-shrink: 0;
	transition: transform 0.3s;
}

.scroll-content img:hover {
	transform: scale(1.1);
}

@keyframes scroll-left {
	0% {
	transform: translateX(0);
	}
	100% {
	transform: translateX(-50%);
	}
}

/* ==========================================================================================
HOMEPAGE CONTENT LAYOUT
========================================================================================== */

.homepage-content-layout {
    max-width: 1200px;
    margin: 15px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.homepage-main-column {
    min-width: 0;
}

.homepage-main-column .league-feed-container {
    max-width: none;
    margin: 0;
}

.homepage-main-column .standings-widget {
    margin-top: 15px;
}

.homepage-content-layout .social-widget {
    max-width: none;
    margin: 0;
    top: 15px;
}

/* ========================================================================================== LEAGUE FEED & STANDINGS ================== */
.league-feed-container {
  max-width: 1200px;
  margin: 15px auto;
  padding: 20px;
  background-color: var(--bright-white);
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

.news-section {
  flex: 2.2; /* Takes up main space */
}

.feed-title {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Flexbox Layout for Main + Sidebar */
.feed-layout {
  display: flex;
  gap: 15px;
}

.feed-layout a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Featured Left Post */
.featured-post {
  flex: 1.2;
  background-color: var(--bright-white);
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: background 0.2s;
}

.featured-post:hover {
  background-color: #f0f0f0 !important;
}

.featured-post .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.post-meta-main {
  padding: 15px;
}

.author-tag {
  background-color: var(--lake-blue);
  color: var(--bright-white);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.featured-post h2 {
  margin: 10px 0 5px 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.author-info {
  font-size: 0.8rem;
  color: var(--industrial-gray);
  margin: 0;
}

/* Sidebar Middle Stack */
.sidebar-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: thin;
}

.sidebar-feed::-webkit-scrollbar,
.standings-scroll::-webkit-scrollbar {
  width: 5px;
}

.sidebar-feed::-webkit-scrollbar-thumb,
.standings-scroll::-webkit-scrollbar-thumb {
  background: var(--industrial-gray);
  border-radius: 3px;
}

.sidebar-item {
  display: flex !important;
  flex-direction: row !important; 
  align-items: center;
  gap: 10px;
  background-color: var(--bright-white);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: background 0.2s;
}

.sidebar-feed .sidebar-item:hover,
a.sidebar-item:hover {
  background-color: #f0f0f0 !important;
}

.sidebar-item .thumb {
  width: 65px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
}

.item-content h4 {
  margin: 0 0 3px 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.item-content p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--industrial-gray);
}

/* ========================================================================================== STANDINGS WIDGET ================== */
.standings-widget {
  flex: 1;
  border-left: 1px solid #eee;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
}

.standings-scroll {
  max-height: 580px;
  overflow-y: auto;
  padding-right: 5px;
}

.standings-widget h5 {
  margin: 2px 0 6px;
  font-size: 0.85rem;
  color: var(--navy);
  border-bottom: 2px solid var(--lake-blue);
  padding-bottom: 2px;
}

.standings-widget h5:first-child {
  margin-top: 0;
}

/* Compact Table Formatting */
.mini-table {
    width: 100%;
    font-size: 0.8rem;
    margin-bottom: 5px;
    border-collapse: collapse;
    table-layout: fixed;
}

.mini-table th,
.mini-table td {
    padding: 2px 2px;
    text-align: left;
}

.mini-table th:first-child,
.mini-table td:first-child {
    width: 35px;
}

.mini-table th:nth-child(2),
.mini-table td:nth-child(2) {
    width: auto;
}

.mini-table th:nth-child(3),
.mini-table td:nth-child(3),
.mini-table th:nth-child(4),
.mini-table td:nth-child(4) {
    width: 40px;
    text-align: left;
}

/* ========================================================================================== SCOREBOARD BAR ================== */
.scoreboard-container {
  max-width: 1200px;
  margin: 20px auto 15px auto;
  background-color: var(--bright-white);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  box-sizing: border-box;
}

.scoreboard-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.scoreboard-title {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  background-color: var(--soft-gray);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Horizontal Scrolling Container for 6 games */
.scoreboard-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.scoreboard-scroll::-webkit-scrollbar {
  height: 5px;
}

.scoreboard-scroll::-webkit-scrollbar-thumb {
  background: var(--industrial-gray);
  border-radius: 3px;
}

/* Individual Matchup Card */
.matchup-card {
  flex: 0 0 162px;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--industrial-gray);
  font-weight: 500;
}

/* Highlight Winning Team in Navy & Bold */
.team-row.winner {
  color: var(--navy);
  font-weight: 700;
}

.team-circle-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
  border: 1px solid #ddd;
}

.team-abbr {
  flex-grow: 1;
}

.score {
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

/* Winner Arrow Indicator */
.win-indicator {
  font-size: 0.65rem;
  color: #22c55e; /* Bright green arrow */
  width: 8px;
  text-align: right;
}
	
/* ========================================================================================== AWARDS STRIP ================== */
.awards-container {
  max-width: 1200px;
  margin: 15px auto 0;
  background-color: var(--bright-white);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  box-sizing: border-box;
}

.awards-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.awards-title {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  background-color: var(--soft-gray);
  padding: 3px 8px;
  border-radius: 4px;
}

.awards-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.awards-scroll::-webkit-scrollbar {
  height: 5px;
}

.awards-scroll::-webkit-scrollbar-thumb {
  background: var(--industrial-gray);
  border-radius: 3px;
}

/* Compact Horizontal Card */
.award-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
}

.good-award {
  border-left: 3px solid #22c55e;
}

.bad-award {
  border-left: 3px solid #ef4444;
}

.award-badge {
  font-size: 0.65rem;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #dcfce7;
  color: #15803d;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.award-badge.bad {
  background-color: #fee2e2;
  color: #b91c1c;
}

.award-team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.award-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.award-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-highlight {
  font-size: 0.72rem;
  font-weight: bold;
}

.stat-highlight.positive {
  color: #16a34a;
}

.stat-highlight.negative {
  color: #dc2626;
}


/* ========================================================================================== QUICK LINKS BAR ================== */
.quick-links-container {
  max-width: 1200px;
  margin: 20px auto 30px auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-link-btn {
  flex: 1;
  min-width: 180px;
  background-color: var(--navy);
  color: var(--bright-white) !important;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.2s;
}

.quick-link-btn:hover {
  background-color: var(--lake-blue);
  transform: translateY(-2px);
}



/* ==========================================================================================
RESPONSIVE
========================================================================================== */

@media (max-width: 992px) {

    .league-feed-container {
        flex-direction: column;
    }

    .standings-widget {
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    .awards-scroll {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 768px) {

    /* Homepage main content + social sidebar stack vertically */

    .homepage-content-layout {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 15px auto;
    }

    .homepage-content-layout .social-widget {
        position: static;
        margin: 0;
    }

    .banner {
        height: 100px;
    }

    .scroll-content {
        gap: 20px;
    }

    .scroll-content img {
        height: 80px;
    }

    .social-header {
        margin-bottom: 8px;
    }

    .social-header h2 {
        font-size: 0.72rem;
    }

    .social-header span {
        font-size: 0.65rem;
    }

    #glfl-social-feed {
        max-height: 300px;
    }

    .social-post {
        padding: 11px 8px;
    }

    .social-post-header strong {
        font-size: 0.78rem;
    }

    .social-post-header span {
        font-size: 0.64rem;
    }

    .social-post p {
        font-size: 0.75rem;
    }

    .social-more {
        margin-left: -15px;
        margin-right: -15px;
    }

}


@media (max-width: 600px) {

    .feed-layout {
        flex-direction: column;
    }

    .awards-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

}
