﻿/*
Theme Name: IC Tema
Theme URI: http://localhost/ic
Author: IC
Description: localhost/ic/tema HTML dosyalarindan WordPress temasi.
Version: 1.0.0
Text Domain: ic-tema
*/

/* Project detail: force embedded videos to fill content width */
.event-details-content iframe {
    width: 100% !important;
    height: 500px;
    max-width: 100%;
    display: block;
}

/* Projeler listesi: tum kart gorselleri sabit yukseklik, bozulmadan */
body.post-type-archive-proje .event-item-three .image {
    height: 200px;
    overflow: hidden;
}

body.post-type-archive-proje .event-item-three .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.post-type-archive-proje .event-item-three .content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Projeler pagination: sayfa numaralarini yan yana diz */
body.post-type-archive-proje .pagination ul.page-numbers {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.post-type-archive-proje .pagination ul.page-numbers.page-numbers {
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    margin-top: 0 !important;
    font-size: inherit !important;
}

body.post-type-archive-proje .pagination ul.page-numbers li {
    display: inline-flex !important;
    width: auto !important;
    float: none !important;
}

body.post-type-archive-proje .pagination ul.page-numbers li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ic-project-gallery__item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.ic-project-gallery__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
