/**
 * Studio Balloo - News Center Presentation Engine Styles
 */

/* Target the main wrapper OR standalone sections globally on the page */
body .news-center,
body .press-section,
body .news-section {
    background: #255259 !important;
    color: #ffffff !important;
    padding: 120px 8% !important; /* Balanced layout breathing room padding */
    font-family: 'Syne', sans-serif !important;
    box-sizing: border-box !important;
}

/* Fix spacing if they are used standalone so they don't double padding up inside news-center */
body .news-center .press-section,
body .news-center .news-section {
    padding: 0 !important;
    margin-bottom: 140px !important;
}

body .news-center .news-section {
    margin-bottom: 0 !important;
}

body .news-header {
    max-width: 900px !important;
    margin-bottom: 140px !important;
}

/* Ensure headings maintain visibility regardless of container layout */
body .news-label,
body .section-heading span,
body .press-section .section-heading span,
body .news-section .section-heading span {
    color: #9CA485 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: block !important;
}

body .news-header h1 {
    font-family: 'Syne', sans-serif !important;
    font-size: clamp(4.5rem, 9vw, 8.5rem) !important;
    line-height: .9 !important;
    margin: 30px 0 !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

body .news-header p {
    max-width: 600px !important;
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #d7d7d7 !important;
    margin: 0 !important;
}

body .section-heading {
    margin-bottom: 70px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding-bottom: 20px !important;
}

body .section-heading h2 {
    margin-top: 15px !important;
    font-family: 'Syne', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

body .press-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important;
}

body .press-card {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 50px !important;
    align-items: center !important;
    transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body .press-card img,
body .news-card img {
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

body .press-card img {
    height: 350px !important;
}

body .press-content span,
body .news-card > span {
    color: #9CA485 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    display: block !important;
    margin-bottom: 10px !important;
}

body .press-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
    line-height: 1.1 !important;
    margin: 15px 0 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

body .press-content p {
    color: #d7d7d7 !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
}

body .press-content a {
    display: inline-block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
    padding-bottom: 4px !important;
    transition: color .3s ease, border-color .3s ease !important;
}

body .press-content a:hover {
    color: #9CA485 !important;
    border-color: #9CA485 !important;
}

body .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
}

body .news-card {
    display: flex !important;
    flex-direction: column !important;
    transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body .news-card img {
    aspect-ratio: 1 / 1 !important;
    margin-bottom: 25px !important;
}

body .news-card h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
    line-height: 1.3 !important;
    margin-top: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    
    /* Force true white text color */
    color: #ffffff !important;
    
    /* 2-Line Strict Line Clamp Magic */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Ensure the inner link inherits the white color and 2-line behavior perfectly */
body .news-card h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
}

/* Hover transition fix */
body .news-card:hover h3,
body .news-card:hover h3 a {
    color: #9CA485 !important; /* Elegant brand accent toggle on card hover */
}

body .section-more {
    margin-top: 70px !important;
    text-align: center !important;
}

body .more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 42px !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 100px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    transition: .4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: transparent !important;
    font-weight: 600 !important;
}

body .more-btn:hover {
    background: #9CA485 !important;
    border-color: #9CA485 !important;
    color: #255259 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,.25) !important;
}

@media(max-width:991px) {
    body .news-center, body .press-section, body .news-section { padding: 100px 25px !important; }
    body .news-header { margin-bottom: 80px !important; }
    body .press-card { grid-template-columns: 1fr !important; gap: 30px !important; }
    body .press-card img { height: 260px !important; }
    body .news-grid { grid-template-columns: 1fr !important; gap: 50px !important; }
}