/* =========================
   GLOBAL PAGE STYLES
   ========================= */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8ECEF 100%);
    color: #000000;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    box-sizing: border-box;
}
header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #FFA000;
}
/* =========================
   NEWS SECTION
   ========================= */
.news-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    margin-bottom: 100px;
    position: relative;
}
.news-section h2 {
    text-align: center;
    color: #000000;
    font-size: 2.5em;
    margin-bottom: 25px;
}
/* =========================
   CAROUSEL STRUCTURE
   ========================= */
.news-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}
.news-list {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    position: relative;
}
/* =========================
   SLIDE STYLING
   ========================= */
.news-item {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8ECEF 100%);
    border: 1px solid #FFA000;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.news-item.active {
    opacity: 1;
    transform: translateX(0);
}
.news-item.prev {
    transform: translateX(-100%);
    opacity: 0;
}
.news-item.next {
    transform: translateX(100%);
    opacity: 0;
}
/* =========================
   TEXT CONTENT
   ========================= */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-height: 100%;
    overflow: hidden;
}
.news-date {
    font-size: 1em;
    font-weight: bold;
    color: #FFB300;
    text-transform: uppercase;
}
.news-title {
    font-size: 1.6em;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-desc {
    font-size: 1.2em;
    color: #000000;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 150px;
}
.news-desc a {
    color: #FFB300;
    text-decoration: none;
}
.news-desc a:hover {
    text-decoration: underline;
}
/* =========================
   IMAGE CONTAINER
   ========================= */
.news-image-container {
    flex: 1;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: none;
}
/* =========================
   IMAGE CONTROL
   ========================= */
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.3s ease;
    display: block;
}
/* =========================
   PER-IMAGE OVERRIDES
   ========================= */
.jean-crop {
    object-position: center 80%;
    transform: scale(0.8);
}
/* No Demah override — using default styles only */
/* =========================
   CAROUSEL NAVIGATION
   ========================= */
.carousel-nav {
    position: absolute;
    top: 90.5%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}
.carousel-arrow {
    background: rgba(255, 179, 0, 0.8);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 11;
}
.carousel-arrow:hover {
    background: #FFA000;
}
.carousel-arrow.left {
    position: absolute;
    left: 10px;
}
.carousel-arrow.right {
    position: absolute;
    right: 10px;
}