/* CMS Pages Styles - Based on Figma Design */

.container-cms {
  margin-bottom: 82px;
}

.container-cms > .row > .col-md-12:first-child {
  padding-right: 25px;
}

.container-cms > .row > .col-md-12:last-child {
  padding-left: 25px;
}

.cms-id-4 .wrapper > .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Grey Background Section - Full Width */
.container-cms.grey-bg {
  background: var(--th-color-background-grey);
  padding: 50px 0;
  position: relative;
  /*width: 100vw;*/
  /*margin-left: calc(-50vw + 50%);*/
}

/* Blue Background Section */  
.container-cms.blue-bg {
  background: var(--th-color-light-blue);
  padding: 42px 15px;
  position: relative;
  /*width: 100vw;*/
  /*margin-left: calc(-50vw + 50%);*/
  margin-bottom: 0;
}

  /* Typography */
.cms-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--th-color-dark-blue) !important;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 0px;
}

.cms-section-description {
    font-family: 'Roboto', sans-serif;
    font-size: 20px !important;
    font-weight: 400;
    color: var(--th-color-text-medium-grey);
    line-height: 1.4;
    margin: 0;
}

/* Blue Background Typography */
.container-cms.blue-bg .cms-section-title {
    color: #FFFFFF !important;
    font-size: 44px !important;
  margin-top: 0px;
}

.container-cms.blue-bg .cms-section-description {
  color: #FFFFFF;
}

/* Image Styles */
.cms-image-content {
    height: 366px;
}

.cms-image-content img {
    width: 100%;
    height: 366px;
    object-fit: cover;
}

/* Play Button Overlay */
.cms-image-content.position-relative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 0.375rem; /* Bootstrap rounded */
}

.cms-play-button {
    color: rgba(255, 255, 255, 0.8);
    font-size: 92px;
    font-family: 'Font Awesome 6 Free', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.cms-play-button::before {
    content: "\f144";
}

.cms-play-button:hover {
    opacity: 0.9;
}

/* List Styles */
.cms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cms-list li {
    padding-left: 10px;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: var(--th-color-text-medium-grey);
}

/* Text Content Spacing */
.cms-text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 42px 20px;
    }
    
    .container.grey-bg {
        padding: 50px 20px;
    }
    
    .container.blue-bg {
        padding: 42px 20px;
    }
}

@media (max-width: 768px) {
    .cms-image-content {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .cms-image-content img {
        height: 250px;
    }
    
    .cms-section-title {
        font-size: 24px;
    }
    
    .cms-section-description {
        font-size: 20px !important;
    }
    
    .container.blue-bg .cms-section-title {
        font-size: 32px;
    }
    
    .cms-play-button {
        font-size: 60px;
    }
    
    .cms-list li {
        font-size: 18px;
    }
}

/* ===== REVIEWS / TESTIMONIALS SECTION ===== */
.cms-reviews {
    text-align: center;
    padding: 5px 0 30px;
    margin-top: 40px;
}

.cms-reviews-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #2A1A46 !important;
    margin: 0 0 4px;
    line-height: 1.2;
}

.cms-reviews-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #2A1A46;
    margin: 0 0 40px;
}

.cms-reviews-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.cms-review-card {
    flex: 1;
    max-width: 350px;
    text-align: center;
}

.cms-review-stars {
    color: #E54D26;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.cms-review-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #444;
    margin: 0 0 4px;
}

.cms-review-role {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #777;
    margin: 0 0 12px;
}

.cms-review-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

/* ===== CONTACT INFO SECTION ===== */
.cms-contact {
    text-align: center;
    padding: 40px 0 30px;
}

.cms-contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #2A1A46 !important;
    margin: 0 0 40px !important;
    line-height: 1.2;
}

.cms-contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.cms-contact-info a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #2A1A46;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cms-contact-info a:hover {
    text-decoration: underline;
}

.cms-contact-info a i {
    width: 18px;
    text-align: center;
}

.cms-contact-social {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.cms-contact-social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #777;
}

.cms-contact-social a:hover {
    color: #444;
}

.cms-contact-social .cms-social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: block;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.cms-social-icon.facebook { background-color: #3b5998; }
.cms-social-icon.youtube  { background-color: #e52d27; }
.cms-social-icon.twitter  { background-color: #55acee; }

@media (max-width: 768px) {
    .cms-reviews-grid {
        flex-direction: column;
        align-items: center;
    }

    .cms-review-card {
        max-width: 500px;
        width: 100%;
        margin-bottom: 30px;
    }

    .cms-review-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .container.grey-bg {
        padding: 40px 15px;
    }
    
    .container.blue-bg {
        padding: 30px 15px;
    }
    
    .cms-section-title {
        font-size: 20px;
    }
    
    .cms-section-description {
        font-size: 16px;
    }
    
    .container.blue-bg .cms-section-title {
        font-size: 28px;
    }
    
    .cms-list li {
        font-size: 16px;
    }
    
    .cms-image-content {
        height: 200px;
    }
    
    .cms-image-content img {
        height: 200px;
    }

    .cms-id-4 .wrapper > .container {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .breadcrumb__wrapper .container {
        padding-top: 0;
        padding-bottom: 0;
    }
}