/*
Theme Name: Grupi Child
Template: grupi
Text Domain: grupi-child
*/

/* ================================
   SERVICE CATEGORY ARŞİV SAYFASI DÜZENİ
   ================================ */

.ct-heading-hexagon,
.ct-heading-hexagon-line,
.ct-heading-hexagon::before,
.ct-heading-hexagon::after,
.ct-heading-hexagon-line::before,
.ct-heading-hexagon-line::after {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.ct-heading-hexagon {
    display: inline-block !important;
    width: 35px !important;
    height: 35px !important;
    background-image: url('https://www.demo.stiltrafik.com/wp-content/uploads/2026/05/Stil-Trafik-Amblem.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
    margin-right: 15px !important;
}

.tax-service-category #main.site-main,
.tax-service_category #main.site-main {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.tax-service-category #main.site-main > article.single-hentry,
.tax-service_category #main.site-main > article.single-hentry {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.tax-service-category #main.site-main article .entry-body,
.tax-service_category #main.site-main article .entry-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.tax-service-category #main.site-main article .entry-featured img,
.tax-service_category #main.site-main article .entry-featured img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

.tax-service-category #main.site-main article .entry-excerpt,
.tax-service_category #main.site-main article .entry-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 15px !important;
}

.tax-service-category #main.site-main article .entry-readmore,
.tax-service_category #main.site-main article .entry-readmore {
    margin-top: auto !important;
}

@media (max-width: 991px) {
    .tax-service-category #main.site-main,
    .tax-service_category #main.site-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .tax-service-category #main.site-main,
    .tax-service_category #main.site-main {
        grid-template-columns: 1fr !important;
    }
}