* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
    background: #ffffff;
    color: #000000;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-weight: bold;
    text-transform: uppercase;
margin-top:10px;
}

hr {
  border: 0;
  border-top: 2px solid #000;
  margin: 30px 0;
}

a {color:red;font-weight:bold;text-decoration: none;}

a:hover {
    text-decoration: underline;
}

p {padding:4px;}

.divider {
padding:20px 0px;
}

 ul {
  list-style: disc;
  padding-left: 1.5rem;
}

 ol {
  list-style: number;
  padding-left: 1.5rem;
}

 li {
  line-height: 1.5rem;
}

.divider {
padding:20px 0px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.logo-strip img {
  height: 50px;
  width: 50px;
  transition: transform 0.2s ease;
}

.logo-strip img:hover {
  transform: scale(1.08);
}

/* Legacy (Defunct) Logo Strip */
.legacy-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  flex-wrap: wrap;
  opacity: 0.7;        /* subtle faded look */
}

.legacy-logo-strip img {
  width: 50px;     /* fixed width */
  height: 50px;     /* fixed height */
  transition: transform 0.2s ease;
  filter: grayscale(40%);   /* historical feel */
}

.legacy-logo-strip img:hover {
  transform: scale(1.06);
  filter: grayscale(0%);     /* highlight on hover */
}

.cta {
  display: inline-block;
    margin: 10px auto 0 auto;
  padding: 12px 24px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
text-transform: uppercase;  
}

.cta-main {
  display: inline-block;
    margin: 10px auto 0 auto;
  padding: 12px 24px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
text-transform: uppercase;  
}

.content {
    margin: 0 auto;
    padding: 10px 20px;
    max-width: 850px;
}

.site-header {background: #000;
padding: 15px 20px;
border-bottom: 6px solid #003366}

.header-brand {display: flex;
align-items: center;
justify-content: center;
gap: 20px;
flex-wrap: wrap;}

.header-logo {height:100px; width: auto;}

.header-text {height:75px; width: auto;}

.hero {background: #02075D;
    color: #fff;
    padding: 30px;
    text-align: center;}
    
.quick-links {background: #f4f6f8;
padding: 30px;}      

.updates-section {
background: #f8f8ff;
padding: 20px;
color: #000;
} 

.updates-content {
    margin: 0 auto;
    padding: 10px 10px;
    max-width: 850px;
}

.hub-banner {
padding: 20px;
background-color: #000;    
text-align: center;
}

.hub-banner img {
    height: 80px;
    width: auto;
}

.league-banner.hub
{background-color: #000;
color: white;
font-size: 1.1rem;}

.hubheader
{background-color: #000080;
color: white;
text-align: center;
font-size: 1.5rem;
padding: 10px;
font-weight: bold;
text-transform: uppercase;}

.active-leagues {background: #1e3a5f;
padding: 30px;
color: #fff;
}  

.active-leagues h1 {text-align: center; padding:10px;}

.active-leagues h2 a {text-align: center; padding:10px;color:white; text-decoration:underline;}
.active-leagues h2 a:link {text-align: center; padding:10px;color:white; text-decoration:underline;}

.defunct-leagues {
    background: #eef2f6;
    padding: 40px 20px;
}

.defunct-leagues h1 {text-align: center; padding:10px;}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
color:black;
}

.portfolio-card {
  background: white;
color:black;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.portfolio-card img {
 padding:10px;
  display: block;
width:80px;
}

.portfolio-card h3 {
  margin: 10px;
}

.portfolio-card p {
  margin: 0 10px 20px;
  opacity: 0.8;
}

.league-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px;1fr));
gap:20px;
margin-top: 50px;}

.league-card {background: #C0C0C0;
border-radius: 8px;
padding: 20px}

.league-card img {width:50px;}

.community {background: #0047AB;
    color: #fff;
    padding: 30px;
    text-align: center;}

.community a {color:white;font-weight:bold;text-decoration: underline;}


.about {
background: #eef2f6; /* section background */
padding: 20px 0;
}

.about-gridiron {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #dbe7f5;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.about-image img {
    width: 350px;
    border-radius: 8px;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-top: 0;
    color: #0f172a;
}

.learn-more-btn {
    display: inline-block;
    margin-top: 15px;
    background: #c00;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.hero-block {
background: #0f172a;
    color: #fff;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin: 6px 0 18px 0;
  padding: 0;
}

.breadcrumb a {
  color: #444;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.section {
    margin: 10px 0;
    padding: 10px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  margin: 15px 0 15px 0;
  padding-bottom: 6px;
  border-bottom: 3px solid #000;
  letter-spacing: 0.5px;
text-align: left;
}

.section-title img {width:100px;}

.black-title {background:black;color:white;text-align: center;
    font-size: 24px;
padding: 25px;
text-transform: uppercase;
font-weight:bold;
}

.featured-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.featured-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.featured-content {
    padding: 20px;
}

.featured-content h3 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: #fff;
}

.featured-content p {
    color: #ccc;
    line-height: 1.5;
}

.update-date {
    color: #aaa;
    font-size: 0.75rem;
}

.main-nav {
    background: #414141;
display: flex;
justify-content: center;
flex-wrap: nowrap;
    border-top: 2px solid #d0d0d0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.main-nav a.current {
    background: #C0C0C0;
    color: black;
}

.main-nav a:hover {
    text-decoration: underline;
}

.contents-box {
background: #f3f3f3;
border-left: 4px solid #c00000;
padding: 14px;
margin: 20px 0;
}
 
.contents-box p {
margin: 8px 0;
line-height: 1.5;
}

.contents-box a {
margin: 8px 0;
line-height: 1.5;
color: #c00000;
}
 
.contents-box strong {
color: #c00000;
}

.contents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contents-list li {
margin: 10px 0;
}

.contents-list a {
color: #c00000;
text-decoration: none;
font-size: 1.1rem;
font-weight: 600;
}

.contents-list a:hover {
text-decoration: underline;
}

.contents-divider {
border-top: 1px solid #ccc;
margin: 16px 0;
}


.contents-flag {
display: block;
width: 50px;
height: auto;
margin: 0 0 10px 0;
}

.conference-champions {
margin: 1rem 0;
padding: 0.5rem 0;
gap: 1rem;
}

.conference-champions div {
  flex: 1;
  text-align: center;
}

/* Headings */

.conference-champions h3 {
margin: 0 0 0.4rem 0;
font-size: 1rem;
letter-spacing: 0.06em;
text-transform: uppercase;
}

/* Images */

.conference-champions img {
margin: 0.25rem 0;
}

/* Text below image */

.conference-champions p {
margin: 0.25rem 0;
}

.conference-champions p strong {
  font-weight: 600;
      text-align: center; 
}

/* Optional: subtle separation on larger screens */

.conference-champions .champions-left {
  border-right: 1px solid #e0e0e0;
  padding-left: 1rem;
    text-align: center; 
}

.conference-champions .champions-right {
padding-left: 1rem;
    text-align: center; 
}

/* Responsive: stack on narrow screens */

@media (max-width: 700px) {
  .conference-champions {
    flex-direction: column;
    align-items: stretch;
  }
  
    .conference-champions .champions-center {
text-align: center; 
  }

  .conference-champions .champions-left {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .conference-champions .champions-right {
    padding-left: 0;
  }
}

/* Scrollable container */
.table-scroll {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
    padding: 0 !important;
    margin: 0 !important;
}


.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 20px 0;
}

.amt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.amt-table th {
  background: #222;
  color: #fff;
  padding: 10px;
  text-align: left;
  font-weight: 600;
}

.amt-table td {
  padding: 6px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.updates-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.updates-table img {
  width: 30px;
}

.updates-table th {
  background: #000080;
  color: #fff;
  padding: 10px;
  text-align: left;
  font-weight: 600;
}

.updates-table td {
  background: #fff;  
  padding: 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.updates-table td:first-child,
.updates-table td:nth-child(2) {
text-align:center;
}


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: red;
}

#teams {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 16px;
    text-transform: uppercase;
    padding: 20px;
text-align:center;
}

#teams td, #teams th {border: 1px solid #ddd;width:50%;padding: 10px;text-align: center;}



#teams td:nth-child(1)
{width:20px;
}

#teams .font {
color : black;
font : normal normal 14px Arial, Helvetica, sans-serif;
text-align: center;
text-transform: uppercase;
}

.logo {
  height: 50px;
  vertical-align: middle;
  margin-right: 6px;
}

.stadium-img { height:100; width:130;padding:4px;}

.playoff-format-block {
    background: #f2f2f2;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #000;
}

.playoff-format-block h2,
.playoff-format-block h3 {
    margin-top: 0;
}

.legend-block {
    background: #f2f2f2;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #000080;
}

.legend-block h2,
.legend-block h3 {
    margin-top: 0;
}

#division-champions {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px;
text-align:center;
}

#division-champions th,
#division-champions td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}

#division-champions th:first-child,
#division-championstd:first-child {
    text-align: center !important;
width:20px;
}

#division-champions th:nth-child(2),
#division-champions td:nth-child(2) {
    text-align: center !important;
width:20px;
}

#division-champions th:last-child,
#division-champions td:last-child {
    text-align: left !important;
}

#standings {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 16px;
    text-transform: uppercase;
}

#standings th,
#standings td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}

#standings th:nth-child(2) {
text-align: left !important;
}

/* Columns 1, 3, 4, 5, 6 */
#standings th:nth-child(1),
#standings td:nth-child(1),
#standings th:nth-child(n+3):nth-child(-n+6),
#standings td:nth-child(n+3):nth-child(-n+6) {
    width: 20px;
    text-align: center;
    white-space: nowrap;
}

/* Team name column */
#standings td:nth-child(2) {
    text-align: left;
    width: auto;
}





.logo-set {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* consistent width for all logos */
}

.logo-item img {
    width:100px;
    height: 100px;
    display: block;
}

.helmet-set {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.helmet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* consistent width for all logos */
}

.helmet-item img {
    width:150px;
    height: auto;
    display: block;
}

.helmet-item .year {
    margin-top: 6px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
}

.logo-item .year {
    margin-top: 6px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
}

/* RULES HUB */
.rules-hub {
    margin: 40px auto;
    max-width: 900px;
    padding: 20px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.rules-hub h1,
.rules-hub h2 {
    text-align: center;
    margin-top: 0;
}

.rules-hub p {
    text-align: center;
    margin-bottom: 25px;
}

.rules-hub ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
}

.rules-hub ul li {
    margin: 10px 0;
    text-align: center;
}

.rules-hub ul li a {
    text-decoration: none;
    font-weight: bold;
}

.rules-hub ul li a:hover {
    text-decoration: underline;
}

.season-vertical {
    width: 100%;              /* compact like your example */
    max-height: 150px;         /* shows only a few years */
    overflow-y: auto;
    background: #ffffff;
    border: 4px solid red;
    padding: 6px;
    border-radius: 4px;
}

.season-vertical a {
    display: block;
    color: black;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 4px 0;
}

.season-vertical a:hover {
    color: red;
}

.season-vertical a:active {
    color: red;
text-decoration: underline;
}

.season-vertical a.current {
    color: red;
    text-decoration: underline;
font-size: 1.2rem;
}

.visitors {background: #800000;
    color: #fff;
    padding: 30px;
    text-align: center;}

.visitors h1 {text-align: center; padding:10px;}

.round-item {
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: block;
}

.round-item a {
  font-weight: bold;
  font-size: 1.1em;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.round-item p {
  margin: 0;
  font-size: 0.95em;
  color: #333;
}

#changes {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-transform: uppercase;
  border: 1px solid #ddd;
}

#changes th,
#changes td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: center;
  white-space: nowrap;
}

.schedule-matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.schedule-matrix th,
.schedule-matrix td {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
}

.schedule-matrix th {
  background: #f4f4f4;
  text-align: left;
  font-size: 1.1rem;
}

.schedule-matrix ul {
  margin: 0;
  padding-left: 20px;
}

/* ============================
   FOOTER
   ============================ */

.amt-footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 20px;
    margin-top: 10px;
}

.footer-copy {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social img {
    width: 25px;
    height: 25px;
    margin: 0 8px;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.footer-social img:hover {
    opacity: 0.7;
}

.amt-footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
    margin-top: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    clear: both;
}

.amt-footer a  {
    color: silver;
}


/* BOTTOM ROW: SOCIAL ICONS */
.header-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.header-social img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}

.header-social img:hover {
  opacity: 0.7;
}

/* MOBILE */
@media (max-width: 600px) {
  .header-logos img {
    height: 55px;
  }
}

