/**
 * Affiliate Display Block Styles
 */

.seasonax-affiliate-display {
    max-width: 100%;
    width:100%;
}

/* Subtitle and Social Icons Header */
.affiliate-header {
    margin-bottom: 50px;
}

.affiliate-subtitle-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.affiliate-subtitle {
    margin: 0 !important;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.affiliate-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 30px;
    height: 30px;
}

.social-icon svg path, .social-icon svg circle {
    fill: #b2bbc2;
}

.social-icon svg:hover  path, .social-icon svg:hover circle {
    fill: #127f92;
}

.social-icon.instagram-icon svg:hover  path, .social-icon svg:hover circle {
    fill: #dd2a7b;
}


.social-icon.facebook-icon svg:hover  path, .social-icon.facebook-icon svg:hover circle {
    fill: #1e7cf2;
}

.social-icon.twitter-icon svg:hover  path, .social-icon.twitter-icon svg:hover circle {
    fill: #0f1419;
}

.social-icon.linkedin-icon svg:hover  path, .social-icon.linkedin-icon svg:hover circle {
    fill: #0077b5;
}

/* Description Section */
.affiliate-description {
    margin-bottom: 50px;
    line-height: 1.8;
}

.affiliate-description p {
    margin-bottom: 20px;
}

.affiliate-description h2,
.affiliate-description h3,
.affiliate-description h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Contact Information Block */
.affiliate-contact-block {
    background-color: #efefef;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-cta {
    flex-shrink: 0;
}

.cta-button {
    background-color: var(--theme-palette-color-2);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #127f92;
}

/* Find Out More Section */
.affiliate-find-more {
    margin-bottom: 40px;
}

.find-more-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.find-more-text {
    font-size: 16px;
    line-height: 1.8;
}

/* YouTube Video Slider */
.affiliate-youtube-slider {
    margin-top: 40px;
    position: relative;
}

.slider-container {
    position: relative;
}

.slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    -webkit-overflow-scrolling: touch;
}

.slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.slider-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.slider-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.slider-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.slider-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.slider-video {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
}

.slider-video iframe {
    width: 100%;
    height: 225px;
    border-radius: 8px;
    display: block;
    aspect-ratio: 16 / 9;
}

.slider-nav {
position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4ea8bf;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #fff;
}

.slider-nav:hover {
    background-color: #127f92;
    color: #fff;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

.slider-loading {
    text-align: center;
    padding: 50px;
    color: #999;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .affiliate-subtitle-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .affiliate-contact-block {
        flex-direction: column;
        align-items: stretch;
    }

    .affiliate-social-icons {
        display: flex;
        gap: 5px;
    }
    
    .contact-cta {
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
}