.section-mesime-main {
  padding: 1.4rem 1rem;
}

.header-container {
  padding: 2rem 0;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
  margin-bottom: 1rem;
}

.header-container img {
  max-width: 260px;
}

.header-container h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.header-anchor a {
  text-decoration: none !important;
  color: #ffffff; 
}

.header-anchor a:hover {
  color: #ca9e45 !important; 
}


.drinas-section-header {
  position: relative;
  width: 100%;
  min-height: 40vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 0 !important;
}

.drinas-section-header-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  backdrop-filter: blur(1px);
  position: relative;
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.drinas-section-header-overlay .column {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  padding: 2rem 1rem;
  border-radius: 0; 
  backdrop-filter: blur(2px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 548px;
}

.drinas-section-header-overlay .column h2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px dotted #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: normal !important;
}

.drinas-section-header-overlay .column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  line-height: 1.4;
  margin: 0.5em 0 0;
}

.drinas-lesson-info-main {
  margin-bottom: 1rem;
}

.drinas-lesson-info-sub {
  color: #FFFFE0;
  font-size: small;
}

/* Small and medium screens */
@media (max-width: 991.98px) {
  .drinas-section-header-overlay {
    position: relative; /* not absolute: allows it to grow naturally */
    padding: 1rem;
    height: auto; /* adjusts to content */
  }

  .drinas-section-header {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .drinas-section-header-overlay .container {
    display: flex;
    justify-content: center;
  }

  .column {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
}

/* Large screens */
@media (min-width: 992px) {
  .drinas-section-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /* fills banner */
  }

  .drinas-section-header-overlay .container {
    display: flex;
    justify-content: flex-end; /* Push to right */
    align-items: center;
    height: 100%;
  }

  .drinas-section-header-overlay .column {
    max-width: 54%;
    text-align: left;
  }
}

/* Extra-large screens */
@media (min-width: 1400px) {
  .drinas-section-header {
    min-height: 35vh;
  }
}

/* navbar mesime */

.navbar-mesime {
  text-transform: uppercase;
  white-space: normal;
}

#mesimeNavTop {
  background-color: rgba(33, 37, 41, 0.9) !important;
}

#mesimeNavBottom {
  background-color: rgba(33, 37, 41, 0.9) !important;
  border-top: 2px solid #ffffff !important;
}

.navbar-mesime li.nav-item a {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 6px;
  padding: 10px 14px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.14);
}	
	
.navbar-mesime li.nav-item a:hover {
  color: rgba(255, 255, 255, 1.0);	
}	

.navbar-mesime .disabled {
  position: relative;
  color: #ca9e45 !important;
  padding-right: 6px !important;
  padding-left: 16px !important;
}

.navbar-mesime .disabled::before {
  position: absolute;
  font-family: 'FontAwesome';
  font-size: 11px;
  content: "\f3c5" !important;
  top: 14px;
  left: 0;
  color: #ca9e45 !important;
}

.container-cards-mesime .mesim-card-link {
  text-decoration: none;
  color: #ffffff;
}

.container-cards-mesime .card .bg-secondary.bg-gradient {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #32393f 0%, #c8d4db 100%);
}

.bg-success.bg-gradient {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #16a85a 0%, #a0ffe0 100%);
}

.container-cards-mesime .card {
  border: none;
  border-radius: 6px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;

  box-shadow:
	-5px 6px 8px rgba(0, 0, 0, 0.12),
	 5px 6px 8px rgba(0, 0, 0, 0.12);
}

.container-cards-mesime .mesim-card-link:hover .card {
  color: #f0f0f0;
  transform: translateY(-6px);
  box-shadow:
	-6px 10px 16px rgba(0, 0, 0, 0.16),
	 6px 10px 16px rgba(0, 0, 0, 0.16);
}

.container-cards-mesime .mesim-card-link:active .card {
  transform: translateY(-2px);
  box-shadow:
	-6px 4px 9px rgba(0, 0, 0, 0.12),
	 6px 4px 9px rgba(0, 0, 0, 0.12);
}

.container-cards-mesime .card-header {
  background-color: transparent;
  border-bottom: 1px solid #c1cdd8;
  font-weight: 600;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
}

.container-cards-mesime .card-footer {
  background-color: transparent;
  border-top: 1px solid #c1cdd8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
}

.container-cards-mesime .footer-icon {
  font-size: 1.25rem;
  background: #f0f0f0;
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
  transition: background .2s ease;
}

.container-cards-mesime .footer-icon:hover {
  background: #e0e0e0;
}