
/*******************************/
/**********Classes**************/
/*******************************/
section {
    box-sizing: border-box;
    position: relative;
    margin: auto;
    padding: 60px 40px;
}

section h1,
section p {
    /* tln dark grey */
    color: #30393e;
}

img {
    width: 100%;
    object-fit: contain;
}

.mobile {
    display: none;
}

.title-break {
    display: none;
}

.section-title {
    margin: auto auto 2rem !important;
    font-size: min(7vw, 34px);
    text-align: center;
}

.subtitle {
    margin: auto auto 2rem;
    font-size: min(5vw, 18px);
    text-align: center;
}

.section-button {
    display: block;
    padding: .8rem 1.5rem;
    border-radius: 10px;
    font-size: min(5vw, 20px);
    font-weight: 500;
    text-decoration: none;
    margin: auto;
    width: fit-content;
}

.stats-credit {
    position: relative;
    width: 100%;
    text-align: center;
    font-size: min(1.2vw, 14px);
    margin: 2rem auto;
}
h1, h2, h3, p {
    line-height: normal;
}
/***********************/
#art-of-relevance-section .section-button,
#profile-section .section-button {
    border: 2px solid #ac0052;
    background: #ac0052;
}

#art-of-relevance-section .section-button {
    color: white;
}


@media (max-width: 1100px) {
    section {
        padding: 40px;
    }
    .stats-credit {
        margin-top: 2rem;
        text-align: center;
        font-size: min(2.5vw, 16px);
    }   
}
@media (max-width: 580px) {
    section {
        padding: 30px 20px;
    }
    .section-title, .subtitle {
        margin: auto auto 1.5rem !important;
    }
    .title-break {
        display: block;
    }
}

/************************/
/***HEADER SECTIONS******/
/************************/
#header-section {
    width: 100%;
    margin: 0px;
    padding: 0px;
    position: relative;
    background: #121d45;
}

/*wpbakery image margin fix*/
.wpb_single_image.wpb_content_element.vc_align_center {
    margin: 0 !important;
}

#banner-wrapper {
    margin: auto;
    position: relative;
}

#desktop-banner {
    padding-top: 28%;
    background-image: url(https://www.univision.ca/wp-content/uploads/Advertise_With_Us/Assets/Advertise-hero-desktop-uc.webp);
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

#mobile-banner {
    display: none;
    padding-top: 71%;
    background-image: url(https://www.univision.ca/wp-content/uploads/Advertise_With_Us/Assets/Advertise-hero-mobile-uc.webp);
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

#banner-text-wrapper {
    position: absolute;
    top: 48%;
    left: 7%;
    transform: translateY(-50%);
}

#header-title {
    margin: auto;
    margin-bottom: 2rem;
    font-size: 3.5vw;
    color: white;
}

#get-in-touch {
    margin: 0;
    color: white;
    border: 2px solid #ac0052;
    background: #ac0052;
}

#get-in-touch:hover {
    color: #ac0052;
    background: #0000;
    text-decoration: none;
}
@media (max-width: 1100px) {
    #desktop-banner {
        display: none;
    }

    #mobile-banner {
        display: block;
    }

    #banner-text-wrapper {
        width: 100%;
        text-align: center;
        margin: auto;
        left: unset;
    }
    #header-title {
        font-size: 6vw;
    }
    #get-in-touch {
        margin: auto !important;
    }

}
@media (max-width: 580px) {
    #header-title {
        margin-bottom: 1rem;
    }
    #get-in-touch {
        padding: .5rem 1rem;
    }
}
/*******************************/
/*********Form Section**********/
/*******************************/
#form-section {
    padding: 60px 40px;
    width: 100%;
    background: #e6e7e8;
}
.advertise-wrapper {
    display: flex;
    margin: auto;
    flex-direction: row;
    max-width: 1240px;
    gap: 40px;

}
div#form-container {
    width: calc(50% - 40px);
}
#form-break {
    display: block;
    width: 5px;
    background: white;
}
#nf-form-title-3,
#nf-label-field-15,
#nf-label-field-16,
#nf-label-field-25,
#nf-label-field-18,
#nf-label-field-17,
.nf-form-fields-required,
.ninja-forms-req-symbol {
    display: none;
}

.nf-field-label,
label {
    color: #30393e;
}

.nf-error.field-wrap .nf-field-element:after {
    width: 42px !important;
    height: 38px !important;
    line-height: 40px !important;
}

#nf-field-15,
#nf-field-16,
#nf-field-25,
#nf-field-18,
#nf-field-17 {
    border: 0px solid;
    border-bottom: 2px solid;
    background: #fff;
}

#nf-field-3 {
    background: #fff;
}

.nf-form-content textarea.ninja-forms-field {
    height: 100px !important;
}
div#nf-field-24-container {
    margin: auto !important;
}
input#nf-field-24 {
    padding: 10px 20px;
    margin: 0;
    border-radius: 10px !important;
    font-size: min(5vw, 20px);
    font-family: Roboto;
    color: white;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    border: 2px solid #ac0052;
    background: #ac0052;
}

input#nf-field-24:hover {
    background: #0000 !important;
    color: #ac0052 !important;
    text-decoration: none;
}

/*radio buttons*/
div#nf-field-19-wrap ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}
div#nf-field-19-wrap li {
    width: calc(50% - 10px);
    margin: 0 !important;
}
.nf-form-content label {
    font-size: 16px !important;
}
.nf-response-msg p {
    text-align: center;
    font-size: min(4vw, 18px);
}
/*submit button*/
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    display: block;
    padding: .8rem 1.5rem;
    border-radius: 10px !important;
    font-size: min(5vw, 20px);
    font-weight: 500;
    text-decoration: none;
    margin: auto;
    width: fit-content !important;
}
@media (max-width:580px) {
    div#nf-field-19-wrap li {
        width: 100%;
        margin: 0 !important;
    }
}
/*******************************************/
/****************TESTIMONIALS***************/
/*******************************************/

div#testimonial-container {
    width: calc(50% - 40px);
    margin: auto;
}

#testimonial-section h1 {
    color: white;
}

.slider-wrapper {
    position: relative;
    max-width: 1240px;
    margin: auto;
    overflow: hidden;
}

.slider-previous,
.slider-next {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 30%;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36%;
    cursor: pointer;
    z-index: 1;
    filter: contrast(0.5);
}

.slider-previous {
    left: 0;
    background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-left.svg);
}

.slider-next {
    right: 0;
    background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-right.svg);
}

.slider-viewport {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    overflow: hidden;
}

a.slide-link {
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

.main-slide {
    width: 100%;
    margin: auto;
    text-align: center;
}

.main-slide p {
    margin: auto auto 2rem;
    font-size: min(4vw, 20px);
    color: #30393e;
}

.quote {
    width: calc(100% - 120px);
    margin: auto;
    font-style: italic;
}

.credit {
    width: calc(100% - 150px);
    margin: 10px auto;
    font-weight: 600;
}

.credit:hover {
    color: var(--tln-black);
}

@media (max-width: 1100px) {
    #form-section {
        background: #e6e7e8;
    }
    input#nf-field-4 {
        margin: auto !important;
    }
    .advertise-wrapper {
        flex-direction: column;
    }
    span#form-break {
        width: 100%;
        height: 5px;
    }
    div#form-container {
        width: 100%;
    }
    div#testimonial-container {
        width: 100%;
    }
}
@media (max-width: 580px) {
    #form-section {
        padding: 30px 20px;
    }
    div#testimonial-container {
        width: calc(100% + 40px);
        margin: auto -20px;
    }
}
/*******************************/
/*****AD Statistics Section*****/
/*******************************/
#ad-statistics-section {
    background-color: #ac0052;
}

#ad-statistics-section h1,
#ad-statistics-section p,
#ad-statistics-section span {
    color: white;
}

#ad-statistics-section a div {
    border: 2px solid white;
}

section#ad-statistics-section img {
    margin-bottom: 3rem;
}

#ad-statistics-section .section-button {
    background: white;
    border: 2px solid white;
    color: #ac0052;
}

#ad-statistics-section .section-button:hover {
    background: #00000000;
    color: white;
}

.asset-wrapper {
    position: relative;
    max-width: 1240px;
    margin: auto;
}
@media only screen and (max-width: 1100px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
        max-width: 800px;
        margin: auto;

    }
}
@media only screen and (max-width: 768px) {
    .stats-credit {
        font-size: min(2.4vw, 16px);
    }
    section#ad-statistics-section img {
        margin-bottom: 0;
    }
}
/********************************/
/******TMG Advantage Section*****/
/********************************/
#art-of-relevance-section {
    background: #fbfbff
}
div#art-of-relevance-desktop {
    max-width: 1240px;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;

}
#art-of-relevance-mobile {
    display: none;
    margin-bottom: 2rem;
}

.info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.info-card {
    box-sizing: border-box;
    width: calc(50% - 4rem);
    height: fit-content;
    min-height: 260px;
    margin-right: 10px;
    padding: 2rem;
    text-align: center;
    background: #e6e7e8;
    box-shadow: 10px 10px 0px #ac0052;
}

.info-card h1 {
    margin: 0px auto 10px;
    font-size: 26px;
    /* tln dark grey */
    color: #30393e;
}

.info-card img {
    max-height: 100px;
    margin: auto;
}

.info-card p {
    margin: 10px auto 0px;
    font-size: 18px;
    font-weight: 600;
    /* tln dark grey */
    color: #30393e;
}

#art-of-relevance-section .section-button:hover {
    color: #ac0052;
    background: transparent;
}
@media only screen and (max-width: 768px) {

    /************************/
    /*The Art of Relevance*/
    /************************/
    #art-of-relevance-desktop {
        display: none !important;
    }

    #art-of-relevance-mobile {
        display: block;
    }

    .info-wrapper {
        flex-direction: column;
        margin: auto;
        gap: 2rem;
    }

    .info-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 150px;
        width: 100%;
        margin: auto;
        padding: 1.5rem;
        box-shadow: none;
    }
    .info-card p {
        margin: auto;
        font-size: min(3.5vw, 16px);
    }

    .info-card img {
        max-height: 150px;
        width: 25%;
    }

    .description-wrapper {
        width: 70%;
    }

    .description-wrapper h1 {
        font-size: 24px;
    }
}

/*******************************************/
/*************Executive Section*************/
/*******************************************/
#profile-section {
    background-color: #e6e7e8
}

#profile-wrapper {
    max-width: 1240px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 4rem;
}

.profile {
    width: calc(20% - 20px);
    box-shadow: 5px 5px 0px #ac0052;
    background: #fbfbff;
    cursor: pointer;
}

.profile:hover {
    position: relative;
    top: -2px;
    left: -2px;
    filter: drop-shadow(5px 5px 5px #b9b9b9);
}

/**/
.profile-picture {
    pointer-events: none;
    padding-top: 112%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

h2.profile-name {
    font-size: min(3.5vw, 18px);
    margin: 1.2rem auto 1rem;
    padding-left: 10px;
    padding-right: 5px;
    pointer-events: none;
}

.profile-title {
    font-size: min(3.2vw, 16px);
    margin: 0px auto 1rem;
    padding-left: 10px;
    padding-right: 5px;
    pointer-events: none;
    line-height: normal;
}

h1#contact-title {
    margin: 0px auto 30px;
    color: white;
    font-size: 40px;
    text-align: center;
}

#profile-section .section-button {
    color: white;
}
#profile-section .section-button:hover {
    color: #ac0052;
    background: transparent;
}

@media (max-width: 1100px) {
    .profile {
        width: calc(25% - 20px);
    }
    
}
@media (max-width: 768px) {
    #profile-wrapper {
        margin-bottom: 2rem;
    }
    .profile {
        width: calc(50% - 20px);
    }

}


/* === LIGHTBOX OVERLAY === */
.lightbox-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  padding: 40px 20px;
  overflow-y: auto;
}

/* === LIGHTBOX INNER CONTAINER === */
.lightbox-content {
  width: 100%;
  max-width: 1240px;
  margin: auto;
  background: #000;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* === CLOSE BUTTON === */
.lightbox-header {
  display: flex;
  justify-content: flex-end;
}

#close-lightbox {
  cursor: pointer;
  color: white;
  font-size: 28px;
  padding: 10px;
  font-weight: 600;
}

.close-icon::before {
  content: "✕";
  font-style: normal;
}

/* === PROFILE BODY LAYOUT === */
.bio-body {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

/* === LEFT: IMAGE COLUMN === */
.bio-image-column {
  flex: 1;
  max-width: 410px;
}

#bio-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* === RIGHT: INFO COLUMN === */
.bio-info-column {
  flex: 2;
  color: white;
}

.bio-header {
  font-size: 22px;
  margin: 20px 0 10px !important;
  color: white;
}

.bio-title {
  font-size: 20px;
  font-weight: 400;
  margin: auto !important;
  margin-bottom: 20px !important;;
      color: white;
}

.bio-content {
  font-size: 16px;
  margin-bottom: 20px !important;;
  line-height: 1.6;
  color: white;
}

.bio-contacts {
  margin-top: 20px !important;;
}

.bio-contact {
color: white;
  font-size: 14px;
  margin: 5px 0 !important;;
}

#linkedin-text a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
}

/* === BREAKPOINT: 1100px === */
@media (max-width: 1100px) {
  .bio-body {
    flex-direction: column;
    align-items: center;
  }

  .bio-image-column {
    max-width: 400px;
  }

  .bio-info-column {
    width: 100%;
    padding: 0 10px;
  }

  .bio-header {
    text-align: center;
  }

  .bio-title {
    text-align: center;
  }
}

/* === BREAKPOINT: 768px === */
@media (max-width: 768px) {
  .bio-header {
    font-size: 20px;
  }

  .bio-title {
    font-size: 18px;
  }

  .bio-content {
    font-size: 15px;
  }

  #close-lightbox {
    font-size: 24px;
  }
}

/* === BREAKPOINT: 580px === */
@media (max-width: 580px) {
  .lightbox-content {
    padding: 15px;
  }

  #bio-image {
    border-radius: 0;
  }

  .bio-header,
  .bio-title,
  .bio-content {
    text-align: left;
  }

  .bio-content {
    font-size: 14px;
  }

  .bio-contact {
    font-size: 13px;
  }
}

/***********************************/
/**************MEDIAKIT*************/
/***********************************/
#mediakit-section {
    padding: 40px;
    background: #e6e7e8;
}

div#mediakit-section a {
    display: block;
    margin: auto;
    width: fit-content;
}

#mediakit-leaderboard-desktop {
    max-width: 1240px;
    margin: auto;
}
#mediakit-leaderboard-mobile {
    display: none;
}

@media(max-width: 580px) {
    #mediakit-section {
        padding: 30px 20px;
    }
    #mediakit-leaderboard-desktop {
        display: none;
    }
    #mediakit-leaderboard-mobile {
        display: block;
    }
}