:root {
  /* Color Palette */
  --icmc-blue-primary: #364353;
  --icmc-blue-secondary: rgb(198, 206, 218);
  --icmc-orange: rgb(246, 170, 65);
  
  /* Text Colors */
  --text-dark: #191919;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;

  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
}

body {
  font-family: 'Open Sans', 'Roboto', sans-serif; /* Modern, readable font */
  color: var(--text-dark);
  line-height: 1.6;
}

/* Global Link Styles */
a {
  color: var(--text-dark);
  /* text-decoration: underline; */
  transition: color 0.3s;
}
a:hover, a:focus {
  color: var(--icmc-orange);
  /* text-decoration: underline; */
}

/* Accessibility: Skip to Content Link */
.skip-link {
  position: absolute;
  top: -41px;
  left: 0;
  background: var(--icmc-orange);
  color: var(--text-dark);
  padding: 8px;
  z-index: 10000; /* Ensure it stays on top */
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  color: var(--text-dark);
}

/* Navbar */
.navbar-custom {
  background-color: var(--icmc-blue-primary);
  border-bottom: 4px solid var(--icmc-orange);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--text-light) !important;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--icmc-orange) !important;
}

/* Hero Section / Carousel */
#heroCarousel .carousel-item {
  height: 500px; /* Or whatever height fits */
  background-color: var(--text-dark); /* Fallback */
}

#heroCarousel img {
  object-fit: cover;
  height: 1000%;
  opacity: 0.7; /* Overlay effect for better text contrast if needed */
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5); /* Improve readability */
  padding: 20px;
  border-radius: 5px;
}

/* Quick Access / Channels */
.quick-access-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.quick-access-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    background-color: white; /* Contrast against bg-light */
    text-align: center;
    padding: 30px;
    height: 100%;
}

.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--icmc-orange);
}

.quick-access-icon {
    display: block;
    font-size: 3rem;
    color: var(--icmc-blue-primary);
    margin-bottom: 15px;
}

.quick-access-card:hover .quick-access-icon {
    color: var(--icmc-orange);
}

.quick-access-title {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}


/* News & Events */
.section-title {
  color: var(--icmc-blue-primary);
  border-bottom: 2px solid var(--icmc-orange);
  padding-bottom: 10px;
  margin-bottom: 30px;
  display: inline-block;
}

.news-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  overflow: hidden;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.news-card .card-body {
    padding: 20px;
}

.news-card .card-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}
.news-card .card-title a:hover {
    color: var(--icmc-orange);
}

.news-date {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}


/* Footer */
footer {
  background-color: var(--icmc-blue-primary);
  color: white;
  padding-top: 60px;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  color: var(--icmc-orange);
  text-decoration: underline;
}

footer h5 {
    color: var(--icmc-orange);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

/* Accessibility Focus States */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--icmc-orange);
    outline-offset: 2px;
}

/* Espaçamento entre itens do blog */
.blog-item {
    border-bottom: 1px solid var(--icmc-blue-secondary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.blog-item strong {
    font-weight: normal !important;
}

/* Alterar cor da paginação para laranjado */
.pagination .page-link {
    color: var(--icmc-blue-primary);
}
.pagination .active .page-link {
    color: var(--icmc-orange);
    background-color: transparent;
    border-color: var(--icmc-orange);
}

/* Alterar azul do botão primário do bootstrao  */
.btn-primary {
    background-color: var(--icmc-blue-primary);
    border-color: var(--icmc-blue-primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:focus-visible {
    background-color: var(--icmc-orange) !important;
    border-color: var(--icmc-orange) !important;
}

.revogada {
    background: url(/templates/icmc2026/img/revogada.png) top center repeat-y;
    background-size: contain;
}

.cancelada {
    background: url(/templates/icmc2026/img/cancelada.png) top center repeat-y;
    background-size: contain;
}

p {
    margin-bottom: 10px !important;
}

@media (min-width: 1600px) {
    .container {
        width: 1500px;
        max-width: 1500px;
    }
}

.com-content-article__body hr {
    border: none;
    border-top: 1px solid var(--icmc-blue-secondary);
    margin: 30px 0;
}