/* Hero News Section */
.news-section {
    padding-top: 100px;
}

.hero-news {
    background-color: #004BA8;
    padding: 100px 0 40px;
}

.hero-news .section-header {
    text-align: center;
}

.hero-news .news-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-news .section-title {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 32px;
}

/* Hero Carousel */
.hero-news-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-news-carousel {
    position: relative;
    width: 100%;
    max-width: 1212px;
    height: 450px;
    overflow: hidden;
}

.hero-news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-news-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Hero Card */
.hero-news-card {
    display: flex;
    width: 1212px;
    height: 450px;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Hero Image */
.hero-news-image-wrapper {
    width: 606px;
    height: 450px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-news-image {
    width: 606px;
    height: 450px;
    object-fit: cover;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

/* Hero Content */
.hero-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px;
}

.hero-news-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    letter-spacing: 0;
    color: #03221B;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-news-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: #727272;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-news-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #004BA8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-news-link:hover {
    color: #003366;
    transform: translateX(5px);
}

.hero-news-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-news-link:hover .hero-news-arrow {
    transform: translateX(3px);
}

/* Navigation Buttons */
.hero-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
    color: #004BA8;
    font-size: 18px;
}

.hero-nav-btn:hover {
    background: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-nav-prev {
    left: -24px;
}

.hero-nav-next {
    right: -24px;
}

/* Dots Navigation */
.hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #FFFFFF;
    width: 32px;
    border-radius: 5px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Loading State */
.hero-news-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

/* Responsive */
@media (max-width: 1280px) {
    .hero-news-card {
        width: calc(100vw - 80px);
        max-width: 1212px;
        height: 450px;
    }
    
    .hero-news-image-wrapper,
    .hero-news-image {
        max-width: 500px;
        width: 100%;
        height: 450px;
    }
}

@media (min-width: 768px) {
    .hero-news-image-wrapper {
        width: 50%;
        min-height: 350px;
        flex-shrink: 0;
    }
    
    .hero-news-image {
        width: 100%;
        min-height: 350px;
        border-radius: 32px 0 0 32px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 32px;
    }
}

/* Tablet 768px - Horizontal Layout */
@media (max-width: 768px) and (min-width: 577px) {
    .hero-news-carousel {
        height: 350px;
    }
    
    .hero-news-slide {
        min-height: 350px;
    }
    
    .hero-news-card {
        flex-direction: row;
        height: 350px;
        width: calc(100vw - 40px);
        max-width: 700px;
    }
    
    .hero-news-image-wrapper {
        width: 50%;
        height: 350px;
        flex-shrink: 0;
    }
    
    .hero-news-image {
        width: 100%;
        height: 350px;
        border-radius: 32px 0 0 32px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 32px;
    }
    
    .hero-news-content {
        flex: 1;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-news-title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 12px;
    }
    
    .hero-news-description {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 16px;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 576px) {
    .hero-news {
        padding: 100px 0 24px;
    }
    
    .hero-news-slide {
        min-height: 450px;
    }
    
    .hero-news .section-title {
        font-size: 22px;
        line-height: 30px;
    }
    
    .hero-news-card {
        width: calc(100vw - 24px);
        max-width: 100%;
        border-radius: 20px;
        min-height: 300px;
        height: fit-content;
        display: flex;
        flex-direction: column;
    }
    
    .hero-news-image-wrapper,
    .hero-news-image {
        height: 200px;
        border-radius: 20px 20px 0 0;
    }
    
    .hero-news-image {
        border-top-right-radius: 20px;
    }
    
    .hero-news-content {
        padding: 18px;
    }
    
    .hero-news-title {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 10px;
    }
    
    .hero-news-description {
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
    }
    
    .hero-news-link {
        font-size: 14px;
    }
    
    .hero-dots {
        margin-top: 20px;
        gap: 6px;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        width: 24px;
    }
}

/* Detail News Section */
#detail-news {
    background-color: #ffff;
    color: #333333;
    padding: 60px 15px;
}

#detail-news .news-top {
    padding-left: 8rem;
    padding-right: 8rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#detail-news .news-top h1 {
    font-size: 2rem;
    color: #333333;
    text-align: start;
}

#detail-news .news-top p {
    font-size: 0.9rem;
    color: #333333;
    text-align: start;
}

#detail-news .news-image {
    border-radius: 16px;
    width: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 8rem;
    padding-right: 8rem;
}

#detail-news .news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 8rem;
    padding-right: 8rem;
}

#detail-news .news-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    text-align: justify;
}

@media (max-width: 992px) {
    #detail-news {
        padding: 50px 20px;
    }

    #detail-news .news-top {
        text-align: center;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    #detail-news .news-top h1 {
        font-size: 1.75rem;
        line-height: 1.5;
    }

    #detail-news .news-top p {
        font-size: 0.95rem;
    }

    #detail-news .news-image {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    #detail-news .news-content {
        padding-left: 4rem;
        padding-right: 4rem;
        align-items: center;
        text-align: justify;
    }

    #detail-news .news-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    #detail-news {
        padding: 40px 10px;
    }

    #detail-news .news-top {
        text-align: center;
        padding: 0 1rem;
    }

    #detail-news .news-top h1 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    #detail-news .news-top p {
        font-size: 0.85rem;
        color: #666;
    }

    #detail-news .news-image {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    #detail-news .news-image img {
        width: 100%;
        border-radius: 10px;
    }

    #detail-news .news-content {
        padding: 0 1rem;
        align-items: flex-start;
        text-align: left;
    }

    #detail-news .news-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

.btn-purple {
    background: white;
    border-radius: 20px;
    color: #0056d6;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.btn-purple:hover {
    box-shadow: 0px 8px 24px rgba(0, 42, 209, 0.3);
    transform: translateY(-2px);
    color: #fff;
    background: #0056d6;
}

.tp-footer__pl-pr {
    background-color: #f8fafc;
    margin-left: 6rem;
    margin-right: 6rem;
}

@media (max-width: 767px) {
    .tp-footer__pl-pr {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .tp-footer__logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .tp-footer__logo-section p {
        text-align: center;
        font-size: 16px !important;
    }

    .tp-footer__logo-section {
        align-items: center !important;
    }

    .tp-footer__logo-section .d-flex {
        justify-content: center;
    }

    .tp-footer__logo-section img {
        width: 20px;
    }
}
