/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child Theme untuk Divi Theme
Author: Marga Bagus
Author URI: http://margabagus.com
Template: Divi
Version: 1.0.0
*/

/* Import base style dari parent theme */
@import url("../Divi/style.css");

/* Custom CSS Anda mulai dari sini */

/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Version: 1.0.0
*/

#page-container { 
	padding-bottom:0px !important; 
	margin-bottom: -25px !important 
}

#footer-bottom {
display:none;
padding-bottom:0px !important; 
margin-bottom: 0px !important 
}

/* Start Hide Main Footer */
#main-footer{
display: none;
margin-bottom: 0px;	
}

.mb-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

/*** Responsive Columns for Divi Theme ***/

/* Mobile Styles (max-width: 767px) */
@media all and (max-width: 767px) {
    /* 2 Columns Mobile */
    .two-col-mob .et_pb_column {
        width: 47.25% !important;
        margin-bottom: 30px;
    }
    
    .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
    
    .two-col-mob .et_pb_column:not(:nth-child(2n)) {
        margin-right: 5.5% !important;
    }
    
    /* 3 Columns Mobile */
    .three-col-mob .et_pb_column {
        width: 29.6667% !important;
        margin-bottom: 30px;
    }
    
    .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom: 0;
    }
    
    .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right: 5.5% !important;
    }
    
    /* 4 Columns Mobile */
    .four-col-mob .et_pb_column {
        width: 20.875% !important;
        margin-bottom: 30px;
    }
    
    .four-col-mob .et_pb_column:nth-last-child(-n+4) {
        margin-bottom: 0;
    }
    
    .four-col-mob .et_pb_column:not(:nth-child(4n)) {
        margin-right: 5.5% !important;
    }
}

/* Tablet Styles (768px - 980px) */
@media all and (min-width: 768px) and (max-width: 980px) {
    /* 2 Columns Tablet */
    .two-col-tab .et_pb_column {
        width: 47.25% !important;
        margin-bottom: 30px;
    }
    
    .two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
    
    .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right: 5.5% !important;
    }
    
    /* 3 Columns Tablet */
    .three-col-tab .et_pb_column {
        width: 29.6667% !important;
        margin-bottom: 30px;
    }
    
    .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom: 0;
    }
    
    .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right: 5.5% !important;
    }
    
    /* 4 Columns Tablet */
    .four-col-tab .et_pb_column {
        width: 20.875% !important;
        margin-bottom: 30px;
    }
    
    .four-col-tab .et_pb_column:nth-last-child(-n+4) {
        margin-bottom: 0;
    }
    
    .four-col-tab .et_pb_column:not(:nth-child(4n)) {
        margin-right: 5.5% !important;
    }
}



 .comment-form-url {
         display: none;
     }
     
/* Font declarations - sama seperti sebelumnya */
@font-face {
    font-family: 'Poppins';
    src: url('../wp-content/themes/divi-child/fonts/Poppins-Bold.woff2') format('woff2'),
         url('../wp-content/themes/divi-child/fonts/Poppins-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../wp-content/themes/divi-child/fonts/Manrope-Regular.woff2') format('woff2'),
         url('../wp-content/themes/divi-child/fonts/Manrope-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset untuk card container */
.tp-cards-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    justify-content: center !important;
    padding: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Reset untuk card item */
.tp-card-item {
    width: 257px !important;
    position: relative !important;
    margin-top: 80px !important;
}

/* Reset untuk floating image */
.tp-floating-image {
    position: absolute !important;
    width: 100% !important;
    height: 200px !important;
    top: -60px !important;
    left: 0 !important;
    z-index: 1 !important;
}

.tp-floating-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Reset untuk card */
.tp-post-card {
    width: 100% !important;
    height: 300px !important;
    position: relative !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Reset untuk content */
.tp-card-content {
    height: 100% !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Reset untuk title */
.tp-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
    color: #fff !important;
    padding: 15px !important;
    margin: -15px -15px 15px -15px !important;
    border-radius: 15px 15px 0 0 !important;
}

/* Reset untuk description */
.tp-card-desc {
    font-size: 1rem !important;
    line-height: 1.3em !important;
    color: #000 !important;
    flex-grow: 1 !important;
    margin-bottom: 15px !important;
}

/* Reset untuk button */
.tp-card-btn {
    font-size: 1rem !important;
    color: #fff !important;
    background-color: #064A26 !important;
    padding: 8px 16px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-block !important;
    transition: background-color 0.3s !important;
}

.tp-card-btn:hover {
    background-color: #ff9d00 !important;
}

/* Special card styles */
.tp-special-card {
    background: #b3b3b3 !important;
}

.tp-special-card .tp-card-content {
    justify-content: center !important;
    align-items: center !important;
}

.tp-special-card .tp-card-title {
    font-size: 1.875rem !important;
    color: #000 !important;
    background: none !important;
    text-align: center !important;
}

.tp-special-card .tp-card-btn {
    background-color: #666 !important;
    margin-top: 10px !important;
}

/* Grayscale effect */
.tp-grayscale img {
    filter: grayscale(100%) !important;
}

/* Mobile responsive */
@media (max-width: 980px) {
    .tp-card-item {
        width: calc(50% - 15px) !important;
    }
}

@media (max-width: 480px) {
    .tp-card-item {
        width: 100% !important;
    }
}