  
 .modal li {
  list-style: inside !important;
}
  
a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 20px;
}


header {
  background-color: #ce181e;
  padding: 10px;
  text-align: center;
  color: white;
}


header h1 {
  font-size: 36px;
  margin: 0;
}

header p {
  font-size: 18px;
  margin-top: 10px;
}

.sidebar {
  position: -webkit-sticky;
  height: 100vh;
  top: 100px;
  bottom: 10px;

  position: sticky;
  width: 110px;
  padding-right: 70px;
}
.fixed {
position: fixed; 
top: 20px; 
}

.sidebar p {
  font-size: 16px;
  color: #000;
  text-align:right;
  border-bottom: 2px solid #ce181e;
  padding-bottom:5px;
  width: 140%;
}

.sidebar button {
    display: block;
    background-color: #ff000000;
    color: black;
    padding: 10px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150%;

    font-weight: bold;
    text-align: right;
}

.sidebar button:hover {
  background-color: #a51414;
  color: white;
}






.sub-image-item {
  flex: 1;
}

.sub-image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background-color: #ddd;
}

.latest-stories {
  width: 30%;
  padding: 20px;
  background-color: #f9f9f9;
}

.section-title {
  color: #f5cb00;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.stories-list {
  list-style-type: none;
}

.stories-list li {
  display: flex;
  margin-bottom: 20px;
}

.story-image {
  width: 100px;
  height: 40px;
  margin-right: 15px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  border-radius: 5px;
}

.story-text span {
  display: block;
  font-weight: bold;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.story-text a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  transition: color 0.3s;
}

.story-text a:hover {
  color: #007BFF;
}

/* Article Grid */
.content {
    display: flex;
    flex-direction: column; /* susun ke bawah */
    min-height: 400px;
}

.content-title {
    font-size: 37px;
    color: #000;
    text-align: left;
    padding-bottom: 39px;
}

.article-grid {
  display: grid;
  /grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
}

.article-image img {
  width: 100%;
  height: auto;
}

.article-content {
  padding: 20px;
}

.article-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.article-content p {
  font-size: 16px;
  margin-bottom: 15px;
}

.article-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ce181e;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.article-content .btn:hover {
  background-color: #a51414;
}

.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); 
padding-top: 100px;
overflow: auto;
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; 
}


.modal-content {
background-color: #fff;
margin: 2% auto;
padding: 30px;
border: 1px solid #888;
width: 80%;
max-width: 1100px;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
max-height: 80vh;
overflow-y: auto;
position: relative; 
animation: fadeIn 0.5s ease-in-out;
}


@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}


.close {
color: red;
font-size: 38px;
font-weight: bold;
position: fixed;
top: 7px;
right: 70px;
cursor: pointer;
background-color: transparent;
border: none;
padding: 5px;
border-radius: 50%;
z-index: 10;
transition: all 0.3s ease;
}

.close:hover,
.close:focus {
color: #f44336;
text-decoration: none;
cursor: pointer;
transform: scale(1.2);
}

#modalImage {
display: block;
margin-left: auto;
margin-right: auto;
width: 70%;
height: auto;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


#modalTitle {
top: 20px;
font-size: 28px;
font-weight: 1000;
color: white;
text-align: center;
text-transform: capitalize;

margin-left: auto;
margin-right: auto;
width: 90%;
padding-bottom: 10px;

font-family: 'Arial', sans-serif;
}


#modalContent {
margin-left: auto;
margin-right: auto;
width: 90%;
font-size: 16px;
line-height: 1.8;
color: #444;
background:white;
text-align: justify;
margin-bottom: 20px;
font-family: 'Georgia', serif;
padding: 10px;
overflow-wrap: break-word;
}


#modalContent p {
margin-bottom: 20px; 
text-indent: 30px;
font-size: 18px;
padding-bottom:20px;
}


#modalContent {
scroll-behavior: smooth;
}




#modalContent a {
display: inline-block;
margin-top: 20px;
color: #007bff;
font-weight: bold;
text-decoration: none;
transition: color 0.3s ease;
}

#modalContent a:hover {
color: #0056b3;
text-decoration: underline;
}


#modalContent h2{
color: #d90000;
text-align: center;
}


.article-card:hover {
transform: translateY(-10px);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); 
transition: all 0.3s ease-in-out;
}

.article-image img {
transition: transform 0.3s ease-in-out;
}

.article-image img:hover {
transform: scale(1.05);
}

.article-content h3 {
transition: color 0.3s ease-in-out;
}

.article-content h3:hover {
color: #f44336; 
}


@media (max-width: 768px) {
.modal-content {
width: 90%;
padding: 10px;
}

#modalImage {
width: 100%;
}
}


body.modal-open {
overflow: hidden;
}

@media (max-width: 768px) {
.article-grid {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 20px;
}
.header{
padding: 0px;
}

header h1 {
font-size: 26px;

}

.sidebar {
position: -webkit-sticky;
height: 100vh;
top: 100px;
bottom: 10px;
position: sticky;
width: 96px;

padding-right:0px

}
.article-content p {
font-size: 12px;
margin-bottom: 5px;
}


.article-content h3 {
font-size: 15px;
margin-bottom: 8px;
}

.sidebar p {
  font-size: 10px;
  color: #000;
  text-align:right;
  border-bottom: 2px solid #ce181e;
  padding-bottom:5px;
  width: 88%;
}

.sidebar button {
display: block;
background-color: #ff000000;
color: black;
padding: 10px 20px;
margin-top: 30px;
margin-bottom: 30px;
border: none;
border-radius: 5px;
font-size: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
width: 94%;

font-weight: bold;
text-align: right;
}

.sidebar h2 {
font-size: 15px;

}
.latest-stories{
display:none;
}
.left-column{
width: 100%;
}

.content-title {
    font-size: 19px;
    color: #000;
    text-align: left;
    padding-bottom: 39px;
}



#pagination {
  width: 100%;

}




}

@media (max-width: 480px) {.article-content .btn {
  font-size: 8px;
}}


#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 15px 0;

}


#pagination button {
  padding: 10px 15px;
  background-color: red;
  color: white;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}


#pagination button:hover {
  background-color: #2980b9;
  transform: scale(1.1);
}


#pagination button.active {
  background-color: #1abc9c;
  border-color: #16a085;
  transform: scale(1.1);
}


#pagination button:disabled {
  background-color: #bdc3c7;
  border-color: #95a5a6;
  cursor: not-allowed;
}


#pagination button.prev, #pagination button.next {
  font-weight: bold;
}


#pagination button {
  transition: all 0.3s ease;
}

#pagination button.active {
  background-color: #16a085;
  border-color: #1abc9c;
  color: #fff;
}


#pagination {
  transition: opacity 0.5s ease-in-out;
}


.tp-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mySwiper {
    width: 100%;
    height: 100vh;
}


.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Caption Styling */
.caption {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 50%;
    background: rgba(0, 0, 0, 0);
}

    .caption h2 {
        color: white;
        font-size: 3em;
        margin-bottom: 0.2em;
        text-align:left;
        
    }

    .caption p {
        font-size: 1em;
        line-height: 1.5em;
        text-align : left;
    }

.swiper-pagination {
    bottom: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
}

.tp-banner img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    filter:brightness(0.4);
}

@media (max-width: 768px) {
    .mySwiper {
        width: 100%;
        height: 50vh;
    }

    .caption h2 {
        color: white;
        font-size: 1em;
        margin-bottom: 0.5em;
    }

    .caption p {
        font-size: 0.6em;
    }

    .vision-mission {
        padding-right: 0;
        margin-bottom: 20px;
    }
}