#tbl-style__ {
    border-collapse: collapse !important;
    margin: 25px 0;
    width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#tbl-style__ thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
	
}

#tbl-style__ th,
#tbl-style__ td {
    padding: 10px 13px;
	border: 1px solid #dddddd;
	background-color: white;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
}

#tbl-style__ tbody tr {
    border-bottom: 1px solid #dddddd;
}

.select2.select2-container {
	width: 50% !important;
}

.course-details-area .styled-table {
    border-collapse: collapse !important;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    /*background-color: #32652d;*/
	background-color: #002147;
    color: #fff !important;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
	border: 1px solid #dddddd;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #1D448D;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

table.dataTable thead th {
   padding: 20px !important;
}

.page-link {
    /*color: #32652d !important;*/
	color: #002147 !important;
}

.page-item.active .page-link {
    color: white !important;
    /*background-color: #32652d !important;*/
	background-color: #002147 !important;
}

.iframe-container2 iframe {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 465px;
}

/*.advisor-area .advisor-item .info-title {
	width: 100%;
	height: 0;
	padding-bottom: 50%;
}*/

.advisor-area .pagination-option {
	padding-bottom: 30px;
}

.portfolio-area .pagination-option {
	padding-bottom: 30px;
}

.box-flex {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: center;
  padding: .5rem;
  text-align: center;
  font-size: 1.2rem;
  background-color: #333333;
  color: #d9d9d9;
}

.box-flex-bottom {
  align-items: flex-end;
}

.box-caption {
  position: absolute;
  max-width: 200px;
  margin: 0;
  padding: .5rem;
  word-break: break-word;
  font-size: 1.25rem;
  background-color: rgba(0,0,0,.6);
  color: #f2f2f2;
}

.event-items{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.event-items2{
	margin-bottom: 30px;
}
.event-items2:hover{}
.event-items2:hover .events-content2 h3 a{
	color: #da1d1d;
}
.event-items2:hover .event-img2 img{
	-webkit-transform: scale(1.05, 1.05);
	-moz-transform: scale(1.05, 1.05);
	transform: scale(1.05, 1.05);
}
.event-items2:hover{
	box-shadow: 1px 0px 14px 1px #ebebeb;
}
.event-img2{
	position: relative;
	display: block;
}
.event-img2 a, .event-img2 a img {
	display: block;
	width: 100%;
	overflow: hidden;
}
.events-content2{
	border: 1px solid #f0f0f0;
	border-top: 0;
	padding: 27px 26px 30px 30px;
}
.events-content2 h3{
	margin: 0;
}
.events-content2 h3 a{
	text-transform: uppercase;
	color: #000;
}


/* ===================================
   STYLE UNTUK CARD
   =================================== */
.blog-area2 .blog-items2 .single-item2 {
  margin-bottom: 30px; /* Jarak vertikal antar card di kolom yang sama */
  padding: 15px; /* Jarak horizontal antar card */
  
  background-color: #ffffff;
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Efek bayangan */
  overflow: hidden; /* Penting agar gambar zoom tidak keluar dari card */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi halus */
}

/* Efek hover untuk menambah kesan interaktif */
.blog-area2 .blog-items2 .single-item2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-area2 .blog-items2 .thumb2 {
  position: relative;
  overflow: hidden;
  
  /* Kurangi margin negatif untuk mengimbangi padding di parent */
  margin: -15px -15px 0 -15px;*/
}

.blog-area2 .blog-items2 .thumb2 img {
  display: block;
  width: 100%;
  height: 220px; /* Tinggi tetap agar semua card sejajar */
  object-fit: cover; /* Kunci kepresisian: gambar memenuhi area tanpa distorsi */
  transition: transform 0.35s ease-in-out;
}

/* Efek zoom pada gambar saat card di-hover */
.blog-area2 .blog-items2 .single-item2:hover .thumb2 img {
  transform: scale(1.08);
}

/* Badge Tanggal */
.blog-area2 .blog-items2 .thumb2 .date2 {
  bottom: 15px;
  left: 15px;
  padding: 15px;
  position: absolute;
  z-index: 1;
  border-radius: 5px;
}

.blog-area2 .blog-items2 .thumb2 .date2 span {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: #ffffff; /* Pastikan teks tanggal putih agar terlihat */
}

.blog-area2 .blog-items2 .thumb2 .date2 h4 {
  color: #ffb606;
  font-size: 14px;
  margin: 0;
}

.blog-area2 .blog-items2 .thumb2 .date2::after {
  /*background: #14581A;*/
  background: #11335B;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.8;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  border-radius: 5px;
}

.blog-area2 .blog-items2 .info2 {
  padding: 15px;
}

.blog-area2 .blog-items2 .info2 p {
  text-align: justify;
}

.blog-area2 .blog-items2 .info2 h2,
.blog-area2 .blog-items2 .info2 h3,
.blog-area2 .blog-items2 .info2 h4,
.blog-area2 .blog-items2 .info2 h5,
.blog-area2 .blog-items2 .info2 h6 {
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.4;
  margin: 0 0 5px 0;
}

.blog-area2 .blog-items2 .info2 .meta2 {
  border-top: 1px solid #e7e7e7;
  margin-top: 65px;
  padding-top: 15px;
  list-style: none;
  padding-left: 0;
}

.blog-area2 .blog-items2 .info2 .meta2 li {
  color: #666666;
  display: inline-block;
  margin-right: 15px;
  font-size: 13px;
}

.blog-area2 .blog-items2 .info2 .meta2 li a {
  color: #666666;
}

.blog-area2 .blog-items2 .info2 .meta2 li i {
  margin-right: 5px;
}

.blog-area2 .blog-items2 .info2 a.btn-readmore {
  background: #ffb606 none repeat scroll 0 0;
  display: inline-block;
  float: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 20px;
  text-transform: uppercase;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

.blog-area2 .blog-items2 .info2 a.btn-readmore:hover {
  background: #ffd134 none repeat scroll 0 0;
  color: #ffffff !important;
}

.blog-area2 .blog-items2 .item2 a:hover {
  color: #ffb606 !important;
}

.row-compact {
  margin-left: -15px;
  margin-right: -15px;
}
.row-compact > [class*='col-'] {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 992px) {
  .row-compact {
    margin-left: -10px;
    margin-right: -10px;
  }
  .row-compact > [class*='col-'] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 600px) {
  .row-compact {
    margin-left: -5px;
    margin-right: -5px;
  }
  .row-compact > [class*='col-'] {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* ===================================
   FIXED CAROUSEL TOUCH
   =================================== */
.advisor-carousel-solid {
  touch-action: none; 
}

.advisor-carousel-solid {
  touch-action: pan-y;
}

/* ===================================
   Scroll Top Top
   =================================== */
.scroll-img{
	position: fixed;
	width: 50px;
	height: 50px;
	line-height: 56px;
	text-align: center;
	background: #ffb606;
	right: 1.5em;
	bottom: 5em;
	cursor: pointer;
	border-radius: 100%;
	z-index: 99;
}
.scroll-img .fa{
	font-size: 24px;
	color: #fff;
}

.hero {
  background-color: #2d2a4a;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 2%, transparent 3%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 2%, transparent 3%);
  background-size: 100px 100px;
}

.foto-section {
  background-image: url('../../assets/img/pattern-grey.png');
  background-repeat: repeat;
  background-size: 300px 300px;
  background-position: center;
}

.about-content {
  display: flex;
  align-items: flex-start; /* sejajarkan bagian atas logo & teks */
  gap: 15px;               /* jarak antara logo dan teks */
}

.logo-sekolah {
  margin-top: 8px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;          /* supaya logo tidak mengecil */
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.9));
}

.about-text h4 {
  margin-top: 0;
  font-weight: 600;
  color: #fff;
}

.about-text p {
  margin-bottom: 0;
  color: #fff;
  text-align: justify;
}

@media (max-width: 576px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-sekolah {
    margin-bottom: 10px;
  }
}

.advisor-item .info-box img.img-carousel {
  width: 100%;
  max-width:100%;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (max-width: 768px) {

    /* Judul sambutan */
    .img-text h2 {
        text-align: center;
        padding-left: 0;
        padding-bottom: 25px;
        position: relative;
    }

    /* Garis pertama */
    .img-text h2::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50% !important;
        width: 40px;
        height: 2px;
        background: #ffb606;

        transform: translateX(-30px) !important;
    }

    /* Garis kedua */
    .img-text h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50% !important;
        width: 20px;
        height: 2px;
        background: #ffb606;

        transform: translateX(20px) !important;
    }
}

.contact-info-area .contact-info .item .info span.line_blok_ {
  display:inline-block !important;
}

/* css gallery video */
.video-card{
    /*background:#fff;*/
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:all .3s ease;
    margin-bottom:30px;
    height:100%;
}

.video-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.video-frame{
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
}

.video-frame iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:none;
}

.video-content{
    padding:20px;
}

.video-content h4{
    font-size:20px;
    font-weight:600;
    color:#0b2c5f;
    line-height:1.5;
    margin:0;
    min-height:60px;
}

#portfolio{
    background:#f8fafc;
}

.video-badge{
    display:inline-block;
    background:#ff0000;
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:12px;
    margin-bottom:10px;
}

/* css profil */
.profile-card{
    background:#fff;
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
    transition:.3s;
    height:100%;
    border:1px solid #eef2f7;

    display:flex;
    flex-direction:column;
}

.profile-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.profile-icon{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    border-radius:50%;
    background:linear-gradient(135deg,#0d2f66,#1d4f9d);
    display:flex;
    align-items:center;
    justify-content:center;
}

.profile-icon i{
    color:#fff;
    font-size:38px;
}

.profile-card h4{
    color:#0d2f66;
    font-weight:700;
    margin-bottom:15px;
    text-transform:uppercase;
}

.profile-card p{
    color:#666;
    line-height:1.8;
    min-height:85px;
    flex-grow:1;
    margin-bottom:20px;
}

.profile-btn{
    display:inline-block;
    padding:10px 25px;
    border-radius:50px;
    background:#ffc107;
    color:#000;
    font-weight:600;
    transition:.3s;

    margin-top:auto;
    align-self:center;
}

.profile-btn:hover{
    background:#0d2f66;
    color:#fff;
    text-decoration:none;
}

/* css tautan */
.clients-area{
    background:#f8fafc;
}

.partner-card{
    display:flex;
    align-items:center;
    justify-content:center;

    height:110px;
    padding:20px;

    background:#fff;
    border-radius:16px;

    /* shadow lebih kecil */
    box-shadow:0 2px 8px rgba(0,0,0,.05);

    transition:.3s ease;
}

.partner-card:hover{
    transform:none;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.partner-card img{
    max-width:100%;
    max-height:65px;
    object-fit:contain;

    transition:.3s ease;
}

.partner-card:hover img{
    transform:scale(1.05);
}

body::before{
    content:'';
    position:fixed;
    inset:0;
    z-index:-1;

    background:
        linear-gradient(
            rgba(255,255,255,0.96),
            rgba(255,255,255,0.96)
        ),
        url('../../sw-content/images/bg-pattern.png');

    background-repeat:repeat;
    background-size:300px;
}