/* =============================== Ranking Page Styles =============================== */
.ranking-page {
    width: 100%;
    background: #FFFFFF;
    padding: 60px 0 80px;
}

.ranking-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =============================== TOP 10 Badge =============================== */
.ranking-badge-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ranking-top10-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.badge-star {
    width: 120px;
    height: 120px;
    background: #1E88E5;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.badge-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
}

.badge-ribbon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 12px 40px;
    border-radius: 8px;
    position: relative;
    margin-top: -10px;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.badge-ribbon::before,
.badge-ribbon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.badge-ribbon::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent #FFA500 transparent transparent;
    transform: translateY(-50%);
}

.badge-ribbon::after {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent #FFA500;
    transform: translateY(-50%);
}

.badge-text {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* =============================== Main Title =============================== */
.ranking-main-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

/* =============================== Description Block =============================== */
.ranking-description-block {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ranking-description-text {
    font-size: 20px;
    font-weight: 400;
    color: #434343;
    line-height: 1.5;
    margin: 0 ;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-description-text:last-child {
    margin-bottom: 0;
}

.ranking-description-text strong {
    font-weight: 700;
    color: #1C1C1C;
}

/* =============================== Responsive Styles =============================== */
@media (max-width: 1024px) {
    .ranking-page-container {
        padding: 0 40px;
    }

    .ranking-main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .ranking-page {
        padding: 40px 0 60px;
    }

    .ranking-page-container {
        padding: 0 20px;
    }

    .badge-star {
        width: 100px;
        height: 100px;
    }

    .badge-number {
        font-size: 40px;
    }

    .badge-ribbon {
        padding: 10px 30px;
    }

    .badge-text {
        font-size: 20px;
    }

    .ranking-main-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .ranking-description-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .ranking-page {
        padding: 30px 0 40px;
    }

    .ranking-page-container {
        padding: 0 15px;
    }

    .badge-star {
        width: 80px;
        height: 80px;
    }

    .badge-number {
        font-size: 32px;
    }

    .badge-ribbon {
        padding: 8px 24px;
        margin-top: -8px;
    }

    .badge-text {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .ranking-main-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .ranking-description-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .ranking-action-btn-arrow{
        display: block;
    }
}

/* =============================== Top Banner Section =============================== */
.ranking-top-banner {
    width: 100%;
    background: #FFFFFF;
    padding: 60px 0 40px;
}

.ranking-top-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Side */
.ranking-banner-left {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.ranking-banner-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="50" cy="30" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="25" r="2.5" fill="rgba(255,255,255,0.3)"/><circle cx="30" cy="60" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="70" cy="55" r="3" fill="rgba(255,255,255,0.3)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.ranking-banner-left-content {
    position: relative;
    z-index: 1;
}

.ranking-banner-left-text {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-left-title {
    font-size: 32px;
    font-weight: 700;
    color: #F2096C;
    margin: 0 0 16px 0;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.ranking-banner-left-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-left-small {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Right Side */
.ranking-banner-right {
    background-size: 20px 20px;
    border-radius: 20px;
    position: relative;
}

.ranking-banner-right-content {
    position: relative;
    z-index: 1;
}

.ranking-banner-right-title {
    font-size: 28px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 24px 0;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-right-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.ranking-banner-right-list li {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin: 0 0 12px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-right-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #F2096C;
    font-size: 20px;
    font-weight: 700;
}

.ranking-banner-right-box {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #F2096C;
    border-radius: 12px;
    padding: 16px 24px;
    margin: 0 0 24px 0;
    text-align: center;
}

.ranking-banner-right-box-text {
    font-size: 18px;
    font-weight: 700;
    color: #F2096C;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-right-discount {
    text-align: center;
}

.ranking-banner-right-discount-text {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 8px 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-banner-right-discount-off {
    font-size: 48px;
    font-weight: 700;
    color: #FF0000;
    margin: 0;
    line-height: 1;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Call-to-action Buttons */
.ranking-banner-actions {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 80px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.ranking-action-btn {
    background: #F2096C;
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background 0.3s ease;
}

.ranking-action-btn:hover {
    background: #D8075A;
}

.ranking-action-arrow {
    font-size: 20px;
    font-weight: 700;
}

/* =============================== Main Content Section =============================== */
.ranking-main-content {
    width: 100%;
    background: #F5F5F5;
    padding: 60px 0 100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;

}

.ranking-main-content-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #DCDCDC;
    box-sizing: border-box;
}

/* Full Banner */
.ranking-banner-full {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #FE4BA0;
    border-radius: 16px;
    box-sizing: border-box;
}

.ranking-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-sizing: border-box;

}

.ranking-main-content-header {
    padding: 40px 0 0 0;
    margin-bottom: 0;
}

.ranking-main-content-header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch; /* Đảm bảo 2 cột có cùng chiều cao */
}

/* Left Side */
.ranking-main-content-header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: 100%; /* Đảm bảo stretch full height */
}

.ranking-banner-left-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Cho phép image container chiếm không gian còn lại */
    min-height: 0; /* Cho phép flex shrink */
    border: 2px solid #FE4BA0;
    border-radius: 12px;
}


.ranking-left-character {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Giữ tỷ lệ ảnh, fit vào container */
    display: block;
    border-radius: 12px;
}

.ranking-banner-left-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.ranking-action-btn-phone {
    background: #FFFFFF;
    color: #FE4BA0;
    padding: 10px;
    border-radius: 99px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    flex: 1;
    max-width: 200px;
    gap: 8px;
    border: 2px solid #FE4BA0;
}

.ranking-action-btn-arrow{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    
    color: white;
    font-size: 20px;
    font-weight: 700;
    border: 3px solid #FF4785;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.ranking-action-btn-arrow-text{
    background: linear-gradient(to bottom, #FF6B9D, #FF4785);
    border: 2px solid #FFFFFF;
    padding: 10px;
    border-radius: 50px;

}

.ranking-action-btn-left:hover {
    background: #D8075A;
}

/* Right Side */
.ranking-banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: 100%; /* Đảm bảo stretch full height */
}

.ranking-banner-right-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Cho phép image container chiếm không gian còn lại */
    min-height: 0; /* Cho phép flex shrink */
    border: 2px solid #FE4BA0;
    border-radius: 12px;
}

.ranking-right-character {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Giữ tỷ lệ ảnh, fit vào container */
    display: block;
    border-radius: 12px;
}

.ranking-banner-right-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.ranking-action-btn-right {
    background: #F2096C;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background 0.3s ease;
    flex: 1;
    max-width: 200px;
    justify-content: center;
}

.ranking-action-btn-right:hover {
    background: #D8075A;
}

.ranking-btn-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.ranking-crown-icon {
    max-width: 100px;
    max-height: 56px;
}

.ranking-rank-number {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-main-content-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-heart-icon {
    width: 24px;
    height: 24px;
}

.ranking-helpful-text {
    font-size: 16px;
    font-weight: 500;
    color: #F2096C;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Main Content Header Wrapper */
.ranking-main-content-header-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}


.ranking-rank-badge-text {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Title Section (Center) */
.ranking-main-content-title-section {
    flex: 1;
    display: flex;
    align-items: self-start;
    flex-direction: column;
}

.ranking-main-content-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
    margin-left: 20px;
    margin-bottom: 24px;
}

.ranking-main-content-title--with-before {
    position: relative;
}

.ranking-main-content-title::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 22px;
    height: 28px;
    background-image: url('../../images/icons/star-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.ranking-main-content-title::after {
    content: '';
    position: absolute;
    left: -15px;
    bottom: 5px;
    width: 13px;
    height: 16px;
    background-image: url('../../images/icons/star-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Helpful Section (Right) */
.ranking-main-content-helpful-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ranking-main-content-button {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    border: none;
    border-radius: 50px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-main-content-button:hover {
    background: linear-gradient(135deg, #E8E8E8 0%, #DDDDDD 100%);
}

.ranking-button-heart-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.ranking-button-text {
    font-size: 20px;
    font-weight: 500;
    color: #555555;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-main-content-body {
    margin-bottom: 48px;
}

.ranking-main-content-text {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Grid of Headshots */
.ranking-headshots-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    padding: 0px 48px;
}

.ranking-headshot-item {
    max-width: 110px;
    max-height: 111px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F5F5F5;
}

.ranking-headshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.helpful-active{
    background:#FEE2EF;
}
.helpful-active span{
    color: #FE4BA0;
}

.ranking-detail-list-item{
    flex-direction: column;
}
.ranking-detail-list-sublist{
    list-style-type: disc;
}

.ranking-action-btn-wrapper{
    display: flex;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

/* =============================== Ranking Detail Sections =============================== */


.ranking-detail-section:last-child {
    margin-bottom: 0;
}

.ranking-detail-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #FE4BA0;
    margin: 0 0 16px 0;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-detail-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranking-detail-paragraph {
    font-size: 20px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-detail-paragraph strong {
    font-weight: 700;
    color: #1C1C1C;
}

.ranking-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
    padding-left: 28px;
}

.ranking-detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url('../../images/icons/icon-check-pink.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}



/* =============================== FAQ Section Styles =============================== */
.ranking-faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-faq-item {
    background: #FFF0F5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ranking-faq-question-clickable {
    cursor: pointer;
    user-select: none;
}

.ranking-faq-q-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FE4BA0;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    flex-shrink: 0;
}

.ranking-faq-question-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ranking-faq-question-text {
    font-size: 20px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-faq-question-line {
    width: 21px;
    height: 2px;
    background: #FE4BA0;
    flex-shrink: 0;
}

.ranking-faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 8px;
    padding: 16px 0px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.ranking-faq-answer.ranking-faq-answer-closed {
    max-height: 0;
    padding: 0 16px;
    margin: 0 0 0 44px;
    opacity: 0;
}

.ranking-faq-a-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #48BB78;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    flex-shrink: 0;
}

.ranking-faq-answer-content {
    flex: 1;
}

.ranking-faq-answer-text {
    font-size: 20px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

/* =============================== Consultation Method Section Styles =============================== */
.ranking-consultation-container {
    background: #FFF0F5;
    border-radius: 12px;
    padding: 24px;
}

.ranking-consultation-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.ranking-consultation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 150px;
}

.ranking-consultation-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.ranking-consultation-line-icon {
    width: 32px;
    height: 32px;
    background: #808080;
    color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-consultation-text {
    font-size: 20px;
    font-weight: 700;
    color: #3C3C3C;
    text-align: center;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-consultation-dot {
    width: 14px;
    height: 14px;
    background: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.ranking-consultation-note {
    font-size: 20px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    margin-top: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* =============================== Summary Section Styles =============================== */
.ranking-summary-container {
    border: 1px solid #C4C4C4;
    border-radius: 12px;
    padding: 24px;
}

.ranking-summary-text {
    font-size: 20px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.ranking-summary-text strong {
    font-weight: 700;
}

/* Toggle Section */
.ranking-main-content-toggle-title {
    text-align: right;
    padding: 24px 0;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1400px;
}

.ranking-main-content-toggle-title:hover {
    opacity: 0.8;
}

.ranking-main-content-toggle-title-text {
    font-size: 32px;
    font-weight: 700;
    color: #009BE3;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: #009BE3;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

.ranking-main-content-toggle {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin 0.5s ease-in-out;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.ranking-main-content-toggle.show {
    max-height: 10000px; /* Large enough value to accommodate content */
    opacity: 1;
    margin-bottom: 0;
}

/* =============================== Responsive Styles for New Sections =============================== */
@media (max-width: 1024px) {
    .ranking-main-content-header-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ranking-main-content-container {
        padding: 0 40px;
    }

    .ranking-headshots-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .ranking-main-content {
        padding: 40px 0 60px;
    }

    .ranking-main-content-container {
        padding: 0 20px;
    }

    .ranking-main-content-header {
        padding: 30px 0;
    }

    .ranking-main-content-header-container {
        gap: 24px;
    }

    .ranking-banner-left-actions,
    .ranking-banner-right-actions {
        flex-direction: column;
        width: 100%;
    }

    .ranking-action-btn-left,
    .ranking-action-btn-right {
        max-width: 100%;
        width: 100%;
    }

    .ranking-main-content-title {
        font-size: 28px;
    }

    .ranking-main-content-text {
        font-size: 16px;
    }

    .ranking-headshots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ranking-main-content {
        padding: 30px 0 40px;
    }

    .ranking-main-content-container {
        padding: 0 15px;
    }

    .ranking-main-content-header {
        padding: 20px 0;
    }

    .ranking-main-content-header-container {
        gap: 20px;
    }

    .ranking-banner-left-actions,
    .ranking-banner-right-actions {
        gap: 12px;
        flex-direction: row;
    }

    .ranking-action-btn-left,
    .ranking-action-btn-right {
        padding: 12px 20px;
        font-size: 14px;
    }

    .ranking-main-content-title {
        font-size: 24px;
    }

    .ranking-main-content-text {
        font-size: 15px;
    }

    .ranking-headshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .ranking-detail-section {
        margin-bottom: 32px;
    }

    .ranking-detail-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .ranking-detail-paragraph {
        font-size: 16px;
    }

    .ranking-detail-item {
        font-size: 16px;
    }

    .ranking-faq-item {
        padding: 16px;
    }

    .ranking-faq-question-text,
    .ranking-faq-answer-text {
        font-size: 16px;
    }

    .ranking-faq-q-icon,
    .ranking-faq-a-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .ranking-consultation-options {
        flex-direction: column;
        align-items: stretch;
    }

    .ranking-consultation-item {
        min-width: auto;
    }

    .ranking-consultation-dot {
        display: none;
    }

    .ranking-summary-text {
        font-size: 16px;
    }
    .ranking-action-btn-phone{
        font-size: 16px;
    }
    .ranking-action-btn-arrow{
        font-size: 16px;
    }
    .ranking-action-btn-arrow-text{
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}