/* =========================================================
   Tunis Bourse Academy — Inner pages
   (audiences, contact, video)
   Inherits the design tokens from tba-home.css.
   ========================================================= */

.tba-page {
  font-family: var(--tba-font, 'Ubuntu', 'Helvetica Neue', Arial, sans-serif);
  color: var(--tba-text, #1a1a1a);
  background: #ffffff;
}

.tba-page a { color: var(--tba-accent, #eb8f00); text-decoration: none; }
.tba-page a:hover { text-decoration: underline; }

.tba-static-content p, .tba-static-content ul li {
	color: #ffffff;
	line-height: 25px;
}

.tba-static-content h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: .3px;
    padding-top: 35px;
}

.tba-static-content h3 {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 22px;
    color: rgb(228 146 50);
}

.tba-static-content a {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 2px solid var(--tba-accent-light, #FFC745);
    padding-bottom: 4px;
    transition: color .2s, border-color .2s;
}

.tba-static-content a:hover {
    color: var(--tba-accent-light, #FFC745) !important;
    border-color: #ffffff;
}

/* ----- Page hero (slim banner) ---------------------------- */

.tba-page-hero {
	background-image: url("/static/tba/images/Header-orange.2d280f6e9ea8.jpg");
    background-color: #a7c9e7;
    height: 224px;
  position: relative;
  min-height: 224px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--tba-text-on-dark, #ffffff);
  padding: 0px;
  display: flex;
  align-items: center;
  text-align: center;
}

.tba-page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 67, 55, .55);
  pointer-events: none;
}

.tba-page-hero .tba-row { position: relative; z-index: 1; }

.tba-page-hero-title {
    color: #ffffff;
    font-size: 45px;
    line-height: normal;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* ----- Page body shell ------------------------------------ */

.tba-page-body {
  background: #ffffff;
  padding: 50px 0 80px;
	background-image: url("/static/tba/images/Categorie_background.079dc54e582d.jpg");
	background-size: cover;
}

.tba-page-body .tba-row {
  max-width: 980px;
}

/* ----- Inscription CTA ------------------------------------ */

.tba-page-cta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.tba-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #00bd9d;
  color: #ffffff !important;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 999px;
  border: 0;
  text-decoration: none !important;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 10px rgba(0, 189, 157, .25);
}

.tba-btn-cta:hover {
  background: #00a487;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 189, 157, .35);
}

.tba-btn-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 0px;
  background: transparent;
  color: #ffffff;
  font-weight: 900;
  line-height: 21px;
  font-size: 18px;
  font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* ----- Sections (audience pages) -------------------------- */

.tba-page-section {
  margin-bottom: 35px;
}

.tba-page-section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 2px solid var(--tba-accent, #eb8f00);
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.tba-page-section-head img {
  display: block;
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.tba-page-section-head h2 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.tba-page-section-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tba-text, #1a1a1a);
}

.tba-page-section-body p {
  margin: 0 0 12px;
  color: #ffffff
}

.tba-page-section-body .tba-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.tba-page-section-body .tba-label {
  font-weight: 700;
  color: var(--tba-accent, #eb8f00);
}

.tba-page-section-body strong {
  color: var(--tba-accent, #eb8f00);
}

/* ----- Contact card --------------------------------------- */

.tba-contact-card {
  max-width: 640px;
  margin: 30px auto 0;
  background: var(--tba-primary, #004337);
  color: #ffffff;
  border-radius: var(--tba-radius, 4px);
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.tba-contact-title {
	color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: .3px;
}

.tba-contact-subtitle {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .9);
}

.tba-contact-mail a {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 2px solid var(--tba-accent-light, #FFC745);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}

.tba-contact-mail a:hover {
  color: var(--tba-accent-light, #FFC745) !important;
  border-color: #ffffff;
}

/* ----- Video pages ---------------------------------------- */

.tba-video-embed {
  max-width: 1100px;
  margin: 0 auto 30px;
}

.tba-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--tba-radius, 4px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.tba-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.tba-video-switch {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.tba-page a.tba-btn-video-switch {
    text-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 0px;
    color: #ffffff;
    border-color: #ffffff;
    background: #00bd9d;
	padding: 17px 40px;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 21px;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}

.tba-btn-video-switch:hover {
  background: var(--tba-accent-light, #FFC745);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ----- RTL (Arabic) page variant -------------------------- */

.tba-page-rtl .tba-page-section-body,
.tba-page-rtl .tba-contact-card,
.tba-page-rtl .tba-page-hero-title {
  direction: rtl;
}

.tba-page-rtl .tba-page-section-head {
  flex-direction: row-reverse;
}

/* ----- Responsive ----------------------------------------- */

@media (max-width: 768px) {
  .tba-page-hero {
    min-height: 180px;
    padding: 50px 0 40px;
  }
  .tba-page-hero-title { font-size: 22px; }

  .tba-page-body { padding: 30px 0 50px; }

  .tba-page-cta {
    justify-content: center;
  }

  .tba-page-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tba-page-section-head img { width: 64px; }
  .tba-page-section-head h2 { font-size: 18px; }

  .tba-contact-card { padding: 35px 20px; }
  .tba-contact-title { font-size: 22px; }
  .tba-contact-mail a { font-size: 18px; }

  .tba-btn-video-switch {
    padding: 10px 20px;
    font-size: 15px;
  }
}