*, *::before, *::after {
  box-sizing: border-box;
}

/*Universal Ad Wrapper*/
.ad-or-fallback {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.ad-wrapper, .ad-wrapper2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: #f1f2f4;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
}

.ad-label {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #9ca0a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity .25 ease;
}

.ad-label2 {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #9ca0a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity .25 ease;
}

.ad-label.active {
    opacity: 1;
}


/*Top Banner Ad*/
.ad-or-fallback.top-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 100px;
    overflow: hidden;
}

.top-banner-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  max-height:114px;
}

.top-banner-ad .banner-ad-flex {
  width: 320px;
  height: 54px; /* Default: small mobile */
}

@media (min-width: 520px) {
  .top-banner-ad {
    height: 64px;
  }
  .top-banner-ad .banner-ad-flex {
    width: 468px;
    height: 64px;
  }
}

@media (min-width: 800px) {
  .top-banner-ad {
    height: 94px;
  }
  .top-banner-ad .banner-ad-flex {
    width: 728px;
    height: 94px;
  }
}

@media (min-width: 1100px) {
  .top-banner-ad .banner-ad-flex {
    width: 970px;
  }
}

.test-support {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}

.ad-fallback.top-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #f8f9fb;
    color: #222;
    pointer-events: auto;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.final-banner-layout {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
}

.support-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: right;
}

.support-title .main-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.support-title .dash {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.2px;
}

.support-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 18.5px;
    font-weight: 400;
    color: #555;
    letter-spacing: 0.3px;
}

.support-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 28px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    background-color: #003c35;
    border: 1px solid #003c35;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 4px rgba(0,0,0,0.25);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.support-cta-link:hover {
    background-color: #016358;
    border: 1px solid #016358;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 6px rgba(0,0,0,0.3);
}

@media (max-width: 1000px) {
    .support-title .main-title {
        font-size: 27px;
        font-weight: 800;
        letter-spacing: 0.4px;
    }
    
    .support-title .dash {
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 0.2px;
    }
    
    .support-subtitle {
        font-size: 17px;
        font-weight: 400;
        letter-spacing: 0.3px;
    }
    .support-cta-link {
        gap: 8px;
        height: 38px;
        padding: 0 23px;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 800px) {
    .support-title .main-title {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 0.4px;
    }
    
    .support-title .dash {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 0.2px;
    }
    
    .support-subtitle {
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.3px;
    }
    .support-cta-link {
        gap: 8px;
        height: 36px;
        padding: 0 19px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 680px) {
    .support-title .main-title {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 0.2px;
    }
    
    .support-title .dash {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.1px;
    }
    
    .support-subtitle {
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.1px;
    }
    .support-cta-link {
        gap: 8px;
        height: 32px;
        padding: 0 16px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 540px) {
    .final-banner-layout {
        flex-direction: column;
        gap: 4px;
    }
    .support-text {
        text-align: center;
        gap: 0;
    }
    .support-title .main-title {
        font-size: 19px;
        font-weight: 800;
        letter-spacing: 0.2px;
    }
    
    .support-title .dash {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.1px;
    }
}


/*Left Column Ads*/
.left-ad-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 250px;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
}

.block-ad-flex {
  width: 250px;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
}


/*Center Column Ads (Banner Type)*/
.center-banner-ad {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  max-height: 50px;
}

.center-banner-ad .banner-ad-flex {
  width: 320px;
  height: 50px; /* Default: mobile */
  margin: 0 auto;
}

@media (min-width: 1301px) {
    .center-banner-ad {
        display: none;
    }
}

/*Submain Center Column Ads (Banner Type)*/
.submain-center-banner-ad {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  max-height: 50px;
}

.submain-center-banner-ad .banner-ad-flex {
  width: 320px;
  height: 50px; /* Default: mobile */
  margin: 0 auto;
}

/*Right Column Vertical Ad*/
.right-ad-tile {
  margin: 0 auto;
  padding: 0;
  min-height: 600px;
  max-height: 600px;
}

.vertical-responsive {
  width: 160px;
  height: 600px;
}

/*In Article Ad*/
.in-article {
  margin: 0 auto;
  padding: 0;
  min-height: 200px;
  max-height: 300px;
  width: 100%;
  max-width: 100%;
}

.in-article-ad {
  width: 100%;
  max-width: 100%;
  min-height: 200px;
  max-height: 300px;
}
