/* Celebrity Article */
.wgt-celebrity-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: transparent;
}

/* Profile Container - Redesigned to match movie-drama hero */
.profile-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: #1f1f1f;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem;
    width: 100%;
    margin-bottom: 3rem;
    border: none;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
    background-size: cover;
    background-position: top;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-position: center;
    background-size: cover;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 0;
    opacity: 0.1;
}

.profile-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(31,31,31,0.70) 30%, rgba(31,31,31,0.8));
    z-index: 0;
}

.profile-image {
    flex: 0 0 300px;
    width: 300px;
    aspect-ratio: 2 / 3;
    position: relative;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

.profile-details {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0;
}

.profile-header {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header h2 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.profile-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    align-items: center;
    margin: 1rem 0;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    border: none;
    padding: 0;
}

.profile-item strong {
    display: inline;
    font-weight: 600;
    margin-right: 0.25rem;
    color: #FFD700;
    margin-bottom: 0;
}

.social-icons {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
    border: none;
}

.social-icons a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

/* Profile Disclaimer - Matching FAQ Section Design */
.profile-disclaimer {
    margin: 1.5rem 0 2rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1.5px 6px rgba(30,30,30,0.03);
    border: 1px solid #ededed;
    padding: 1.2rem 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
    transition: background 0.13s, box-shadow 0.13s, border 0.13s;
}

.profile-disclaimer:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 16px rgba(30,30,30,0.06);
    border-color: #d2d2d2;
}

.profile-disclaimer p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
}

.profile-disclaimer .profile-correction-link {
    color: #197236;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.profile-disclaimer .profile-correction-link:hover {
    color: #145a2a;
    border-bottom-color: #145a2a;
}

@media (max-width: 767px) {
    .profile-disclaimer {
        margin: 1rem 0 1.5rem 0;
        padding: 1rem 1.2rem;
        border-radius: 10px;
    }
    
    .profile-disclaimer p {
        font-size: 0.85rem;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .profile-container {
        padding: 1.5rem;
    }
    
    .profile-image {
        display: none;
    }
    
    .profile-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .profile-container {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .profile-header h2 {
        font-size: 2rem;
    }
    
    .profile-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }
    
    .profile-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        overflow: hidden;
        padding-right: 0.5rem;
        box-sizing: border-box;
    }
    
    .profile-item strong {
        margin-right: 0;
        width: 100%;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .wgt-celebrity-article {
        padding: 0;
    }
    
    .profile-container {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .profile-header h2 {
        font-size: 1.8rem;
    }
    
    .profile-header p {
        font-size: 0.9rem;
    }
    
    .profile-meta {
        gap: 0.5rem;
    }
    
    .profile-item {
        font-size: 0.85rem;
    }
    
    .profile-item strong {
        font-size: 0.75rem;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
    }
    
    .social-icons svg {
        width: 16px;
        height: 16px;
    }
}

/* Person Meta Table Section */
.wgt-person-meta-section {
    margin: 2rem 0;
}

.wgt-person-meta-section .wgt-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}



.wgt-person-details__meta {
    margin-top: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.wgt-person-details__item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
}

.wgt-person-details__item:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.5);
}

.wgt-person-details__item:last-child {
    border-bottom: none;
}

.wgt-person-details__label {
    flex: 0 0 140px;
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 1.5rem;
    line-height: 1.4;
}

.wgt-person-details__value {
    flex: 1;
    color: #197236;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
    font-size: 1.05rem;
}

.wgt-person-details__age {
    font-size: 0.9rem;
    color: #197236;
    margin-left: 0.5rem;
    font-weight: 400;
    font-style: italic;
    background: rgba(25, 114, 54, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Section Title Styling - Individual styles for each celebrity section */
.wgt-celebrity-known-for .wgt-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

.wgt-celebrity-dramas .wgt-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

.wgt-celebrity-movies .wgt-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

.heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

.wgt-person-details__value a {
    color: #197236;
    text-decoration: none;
    font-weight: 600;
}

.wgt-person-details__value a:hover {
    color: #39b54a;
    text-decoration: underline;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .wgt-person-details__item {
        padding: 10px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .wgt-person-details__label {
        flex: none;
        margin-right: 0;
        font-size: 0.9rem;
    }
    
    .wgt-person-details__value {
        font-size: 1rem;
    }
}

/* Modern Filmography Table */
.wgt-filmography-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    background-color: #fff;
    font-size: 1rem;
    margin-bottom: 30px;
}

.wgt-filmography-header {
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    background: #197236;
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.15rem;
}

.wgt-filmography-header > div {
    color: #fff;
}

.wgt-filmography-row {
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
    transition: background 0.15s ease;
    align-items: center;
}

.wgt-filmography-row:last-child {
    border-bottom: none;
}

.wgt-filmography-row:hover {
    background-color: #f8fcf9;
}

.wgt-filmography-row.alt-row {
    background-color: #f8f8f8;
}

.wgt-filmography-row.alt-row:hover {
    background-color: #f2f7f4;
}

.wgt-filmography-year {
    font-weight: 600;
    color: #444;
}

.wgt-filmography-title a {
    color: #197236;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.wgt-filmography-title a:hover {
    color: #0c5525;
    text-decoration: underline;
}

.wgt-filmography-role {
    color: #666;
    font-style: italic;
    text-align: right;
}

/* Main section heading style - matches .heading */
.wgt-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #23282d;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #217346;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

/* Responsive Table */
@media (max-width: 768px) {
    .wgt-section-heading {
        font-size: 1.5rem;
    }
    
    .wgt-filmography-header {
        grid-template-columns: 70px 1fr 120px;
        padding: 12px 15px;
    }
    
    .wgt-filmography-row {
        grid-template-columns: 70px 1fr 120px;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 580px) {
    /* Keep desktop layout for filmography tables on mobile */
    .wgt-filmography-header {
        display: grid;
        grid-template-columns: 70px 1fr 120px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .wgt-filmography-table {
        display: block;
        border: 1px solid #e8e8e8;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .wgt-filmography-row {
        display: grid;
        grid-template-columns: 70px 1fr 120px;
        padding: 12px 15px;
        font-size: 0.9rem;
        border-bottom: 1px solid #eaeaea;
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .wgt-filmography-row.alt-row {
        background-color: #f8f8f8;
    }
    
    .wgt-filmography-year {
        font-size: inherit;
        color: #444;
        background: transparent;
        display: block;
        padding: 0;
        border-radius: 0;
        margin-bottom: 0;
        font-weight: 600;
    }
    
    .wgt-filmography-title {
        font-size: inherit;
        margin-bottom: 0;
        font-weight: normal;
    }
    
    .wgt-filmography-role {
        text-align: right;
        font-size: inherit;
        color: #666;
        border-top: none;
        padding-top: 0;
        margin-top: 0;
        font-style: italic;
    }
}

/* Celebrity Gallery */
.wgt-celebrity-gallery {
    margin: 40px 0 30px 0;
    position: relative;
}

.wgt-celebrity-gallery h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: none;
    position: relative;
    display: inline-block;
}

.wgt-celebrity-gallery h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #197236;
}

.wgt-celebrity-gallery .wgt-gallery-grid {
    position: relative;
    z-index: 1;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.wgt-celebrity-gallery .wgt-gallery-grid::-webkit-scrollbar {
    height: 5px;
}

.wgt-celebrity-gallery .wgt-gallery-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.wgt-celebrity-gallery .wgt-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.wgt-celebrity-gallery .wgt-gallery-figure {
    flex: 0 0 250px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid #e8e8e8;
    background: #fff;
    margin: 0;
    padding: 0;
}

.wgt-celebrity-gallery .wgt-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.wgt-celebrity-gallery .wgt-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
    display: block;
}

.wgt-celebrity-gallery .wgt-gallery-figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #197236;
}

.wgt-celebrity-gallery .wgt-gallery-figure:hover .wgt-gallery-image {
    transform: scale(1.05);
}

.wgt-celebrity-gallery .wgt-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 15px 10px 10px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.wgt-celebrity-gallery .wgt-gallery-item {
    flex: 0 0 250px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.wgt-celebrity-gallery .wgt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.wgt-celebrity-gallery .wgt-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #197236;
}

.wgt-celebrity-gallery .wgt-gallery-item:hover img {
    transform: scale(1.05);
}

/* Navigation arrows for the gallery slider */
.wgt-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.wgt-gallery-nav:hover {
    background: rgba(0,0,0,0.2);
}

.wgt-gallery-prev {
    left: 10px;
}

.wgt-gallery-next {
    right: 10px;
}

@media (max-width: 991px) {
    .wgt-celebrity-gallery {
        margin: 35px 0 25px 0;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-figure,
    .wgt-celebrity-gallery .wgt-gallery-item {
        flex: 0 0 220px;
        height: 280px;
    }
}

@media (max-width: 767px) {
    .wgt-celebrity-gallery {
        margin: 30px 0 20px 0;
    }
    
    .wgt-celebrity-gallery h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-grid {
        gap: 1rem;
        padding: 0.25rem 0;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-figure,
    .wgt-celebrity-gallery .wgt-gallery-item {
        flex: 0 0 160px;
        height: 200px;
    }
    
    .wgt-gallery-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .wgt-celebrity-gallery {
        margin: 25px 0 15px 0;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-grid {
        gap: 0.75rem;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-figure,
    .wgt-celebrity-gallery .wgt-gallery-item {
        flex: 0 0 130px;
        height: 170px;
    }
}

/* Movie and Drama Gallery - Same styles as Celebrity Gallery */
.wgt-movie-gallery,
.wgt-drama-gallery {
    margin: 40px 0 30px 0;
    position: relative;
}

.wgt-movie-gallery h2,
.wgt-drama-gallery h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: none;
    position: relative;
    display: inline-block;
}

.wgt-movie-gallery h2:after,
.wgt-drama-gallery h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #197236;
}

.wgt-movie-gallery .wgt-gallery-grid,
.wgt-drama-gallery .wgt-gallery-grid {
    position: relative;
    z-index: 1;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.wgt-movie-gallery .wgt-gallery-grid::-webkit-scrollbar,
.wgt-drama-gallery .wgt-gallery-grid::-webkit-scrollbar {
    height: 5px;
}

.wgt-movie-gallery .wgt-gallery-grid::-webkit-scrollbar-track,
.wgt-drama-gallery .wgt-gallery-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.wgt-movie-gallery .wgt-gallery-grid::-webkit-scrollbar-thumb,
.wgt-drama-gallery .wgt-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.wgt-movie-gallery .wgt-gallery-figure,
.wgt-drama-gallery .wgt-gallery-figure {
    flex: 0 0 250px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 2px solid transparent;
    background: #fff;
    margin: 0;
    padding: 0;
}

.wgt-movie-gallery .wgt-gallery-link,
.wgt-drama-gallery .wgt-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.wgt-movie-gallery .wgt-gallery-image,
.wgt-drama-gallery .wgt-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
}

.wgt-movie-gallery .wgt-gallery-figure:hover,
.wgt-drama-gallery .wgt-gallery-figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #197236;
}

.wgt-movie-gallery .wgt-gallery-figure:hover .wgt-gallery-image,
.wgt-drama-gallery .wgt-gallery-figure:hover .wgt-gallery-image {
    transform: scale(1.05);
}

.wgt-movie-gallery .wgt-gallery-caption,
.wgt-drama-gallery .wgt-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .wgt-movie-gallery,
    .wgt-drama-gallery {
        margin: 35px 0 25px 0;
    }
    
    .wgt-movie-gallery .wgt-gallery-figure,
    .wgt-drama-gallery .wgt-gallery-figure {
        flex: 0 0 220px;
        height: 280px;
    }
}

@media (max-width: 767px) {
    .wgt-movie-gallery,
    .wgt-drama-gallery {
        margin: 30px 0 20px 0;
    }
    
    .wgt-movie-gallery h2,
    .wgt-drama-gallery h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .wgt-movie-gallery .wgt-gallery-grid,
    .wgt-drama-gallery .wgt-gallery-grid {
        gap: 1rem;
        padding: 0.25rem 0;
    }
    
    .wgt-movie-gallery .wgt-gallery-figure,
    .wgt-drama-gallery .wgt-gallery-figure {
        flex: 0 0 160px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wgt-movie-gallery,
    .wgt-drama-gallery {
        margin: 25px 0 15px 0;
    }
    
    .wgt-movie-gallery .wgt-gallery-grid,
    .wgt-drama-gallery .wgt-gallery-grid {
        gap: 0.75rem;
    }
    
    .wgt-movie-gallery .wgt-gallery-figure,
    .wgt-drama-gallery .wgt-gallery-figure {
        flex: 0 0 130px;
        height: 170px;
    }
}

/* Related Posts - Enhanced Modern Design */
.related-posts-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-posts-section h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #197236;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.related-posts-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #197236 0%, #28a745 100%);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.related-post-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #197236, #28a745, #20c997);
    z-index: 2;
}

.related-post-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #197236;
}

.related-post-thumb {
    position: relative;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio for better visual balance */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-post-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.related-post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.related-post-item:hover .related-post-thumb img {
    transform: scale(1.1);
}

.related-post-title {
    padding: 20px;
    font-size: 1.1em;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid #f0f0f0;
}

.related-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-post-title a:hover {
    color: #197236;
    text-shadow: 0 0 20px rgba(25, 114, 54, 0.1);
}



/* Loading state for images */
.related-post-thumb img[src*="No-Image.webp"] {
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    background: linear-gradient(135deg, #197236 0%, #28a745 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 114, 54, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 114, 54, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 114, 54, 0.3);
}

/* Enhanced responsive design */
@media (max-width: 1200px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .related-posts-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .related-posts-section h3 {
        font-size: 1.5em;
        margin-bottom: 25px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .related-post-title {
        padding: 18px;
        font-size: 1em;
    }
    
    .load-more-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .related-posts-section {
        padding: 25px 15px;
        margin-top: 30px;
    }
    
    .related-posts-section h3 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-post-title {
        padding: 15px;
        font-size: 0.95em;
    }
    
    .load-more-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wgt-celebrity-article__header-inner {
        flex-direction: column;
    }

    .wgt-celebrity-article__header-left {
        flex: none;
        margin-bottom: 20px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .celebrity-info-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .wgt-celebrity-gallery .wgt-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .wgt-celebrity-article__header-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .wgt-celebrity-gallery .wgt-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .social-media-links svg {
        width: 28px;
        height: 28px;
    }
}

.wgt-celebrity-known-for {
    margin: 40px 0 30px 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.wgt-celebrity-known-for::before {
    display: none;
}

/* Remove duplicate - already defined above */

/* Remove the after pseudo-element since we're using border-bottom */

.wgt-knownfor-grid {
    position: relative;
    z-index: 1;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.wgt-knownfor-grid::-webkit-scrollbar {
    height: 5px;
}

.wgt-knownfor-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.wgt-knownfor-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.wgt-knownfor-item {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wgt-knownfor-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wgt-knownfor-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    padding: 1rem;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.wgt-knownfor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #197236;
}

.wgt-knownfor-item:hover img {
    transform: scale(1.05);
}

.wgt-knownfor-item:hover .wgt-knownfor-title {
    background: #f9f9f9;
}

/* Navigation arrows for the slider */
.wgt-knownfor-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.wgt-knownfor-nav:hover {
    background: rgba(0,0,0,0.2);
}

.wgt-knownfor-prev {
    left: 10px;
}

.wgt-knownfor-next {
    right: 10px;
}

/* Person Meta Table Responsive Styles */
@media (max-width: 768px) {
    .wgt-person-meta-section .wgt-section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .wgt-person-details__meta {
        margin-top: 0.75rem;
    }
    
    .wgt-person-details__item {
        padding: 0.7rem 0.85rem;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    }
    
    .wgt-person-details__label {
        flex: 0 0 120px;
        font-size: 0.9rem;
    }
    
    .wgt-person-details__value {
        font-size: 0.9rem;
    }
    
    .wgt-person-details__age {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .wgt-person-meta-section .wgt-section-heading {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .wgt-person-details__meta {
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 1rem;
    }
    
    .wgt-person-details__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        background: #f8f9fa;
        margin-bottom: 0.75rem;
        border-radius: 8px;
        border: 1px solid #ececec;
        padding: 0.75rem 1rem;
    }
    
    .wgt-person-details__item:nth-child(even) {
        background-color: #f8f9fa;
    }
    
    .wgt-person-details__label {
        flex: 0 0 100px;
        font-size: 0.85rem;
    }
    
    .wgt-person-details__value {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .wgt-celebrity-known-for {
        margin: 35px 0 25px 0;
    }
    
    .wgt-knownfor-item {
        flex: 0 0 180px;
    }
    
    .wgt-knownfor-item img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .wgt-celebrity-known-for {
        margin: 30px 0 20px 0;
    }
    
    .wgt-celebrity-known-for .wgt-section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .wgt-celebrity-dramas .wgt-section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .wgt-celebrity-movies .wgt-section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #23282d;
        font-weight: 700;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #217346;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2%;
    }
    
    .wgt-knownfor-grid {
        gap: 1rem;
        padding: 0.25rem 0;
    }
    
    .wgt-knownfor-item {
        flex: 0 0 140px;
    }
    
    .wgt-knownfor-item img {
        height: 180px;
    }
    
    .wgt-knownfor-title {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    .wgt-knownfor-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .wgt-celebrity-known-for {
        margin: 25px 0 15px 0;
    }
    
    .wgt-knownfor-grid {
        gap: 0.75rem;
    }
    
    .wgt-knownfor-item {
        flex: 0 0 120px;
    }
    
    .wgt-knownfor-item img {
        height: 150px;
    }
    
    .wgt-knownfor-title {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
} 

/* Entertainment-specific styles only - layout containment moved to style.css */