/* OTO ETKİNLİK HERO FIX */

.oto-landing .hero-grid{
    grid-template-columns: 1fr 1fr;
}

.oto-landing .hero-small-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.oto-landing .hero-big{
    height:420px;
}

.oto-landing .hero-small{
    height:200px;
}
/* otoetkinlik stil */
.oto-landing .archive-content{
    width:100%;
}

.oto-landing .archive-grid{
    grid-template-columns:repeat(3,1fr);
}
.oto-landing .archive-content{
    background:#fff;
    padding:30px;
    border-radius:8px;
}
.oto-landing .archive-content{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.04);
}
@media(max-width:768px){
    .oto-landing .archive-content{
        padding:20px;
    }
}
.oto-landing{
    margin-bottom:30px;
}
.page-template-page-otoetkinlik .hero-grid{
    display:grid;
}
.hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.hero-small-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.hero-v1 .hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.hero-v1 .hero-small-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.hero .hero-cat{
    position:absolute;
    top:14px;
    left:14px;
    z-index:5;
    background:rgba(0,0,0,.75);
    color:#fff;
    font-size:11px;
    font-weight:800;
    padding:5px 10px;
    border-radius:999px;
    line-height:1;
    pointer-events:none;
}

/* ==================================================
   OTOETKINLIK PAGE WRAPPER
================================================== */

body.page-template-page-otoetkinlik {
    background: #f5f5f5;
}

/* HERO spacing */
body.page-template-page-otoetkinlik .home-hero {
    margin-top: 10px;
}

/* ==================================================
   HERO – COMMON
================================================== */

body.page-template-page-otoetkinlik .hero-grid {
    display: grid;
    gap: 20px;
}

body.page-template-page-otoetkinlik .hero-big,
body.page-template-page-otoetkinlik .hero-small {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

body.page-template-page-otoetkinlik .hero-big img,
body.page-template-page-otoetkinlik .hero-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */

body.page-template-page-otoetkinlik .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,0)
    );
}

body.page-template-page-otoetkinlik .hero-overlay h2 {
    font-size: 22px;
    color: #fff;
}

body.page-template-page-otoetkinlik .hero-overlay h3 {
    font-size: 15px;
    color: #fff;
}

/* ==================================================
   HERO V1 LAYOUT
================================================== */

body.page-template-page-otoetkinlik .hero-v1 .hero-grid {
    grid-template-columns: 1fr 1fr;
}

body.page-template-page-otoetkinlik .hero-v1 .hero-big {
    height: 420px;
}

body.page-template-page-otoetkinlik .hero-small-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

body.page-template-page-otoetkinlik .hero-small {
    height: 200px;
}

/* ==================================================
   HERO BADGE
================================================== */

body.page-template-page-otoetkinlik .hero-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 992px){

    body.page-template-page-otoetkinlik .hero-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-template-page-otoetkinlik .hero-big,
    body.page-template-page-otoetkinlik .hero-small {
        height: 220px;
    }

    body.page-template-page-otoetkinlik .hero-small-wrap {
        grid-template-columns: 1fr;
    }

}

/* ==================================================
   ALT GRID BEYAZ KUTU
================================================== */

body.page-template-page-otoetkinlik .archive-content {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    margin-top: 44px;
    margin-bottom: 30px;
}

/* GRID */

body.page-template-page-otoetkinlik .archive-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

/* Kart */

body.page-template-page-otoetkinlik .archive-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: .25s ease;
}

body.page-template-page-otoetkinlik .archive-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

body.page-template-page-otoetkinlik .archive-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ==================================================
   PAGINATION
================================================== */

body.page-template-page-otoetkinlik .archive-pagination {
    margin-top: 30px;
    text-align: center;
}

/* ==================================================
   MOBILE GRID
================================================== */

@media (max-width:900px){
    body.page-template-page-otoetkinlik .archive-grid {
        grid-template-columns: 1fr;
    }
}
/* ==================================================
   OTOETKINLIK HERO – BOXED WHITE
================================================== */

body.page-template-page-otoetkinlik .hero-v1 {
    background: transparent;
    padding: 24px 0;
}

body.page-template-page-otoetkinlik .hero-v1 .container {

    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,.06);

}
body.page-template-page-otoetkinlik .hero-v1 {
    margin-bottom: 24px;
}
/* ==================================================
   OTOETKINLIK HERO – HOVER FIX
================================================== */

body.page-template-page-otoetkinlik .home-hero article {
    transition: transform .35s ease, box-shadow .35s ease;
}

body.page-template-page-otoetkinlik .home-hero article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

body.page-template-page-otoetkinlik .home-hero article img {
    transition: transform .5s ease;
}

body.page-template-page-otoetkinlik .home-hero article:hover img {
    transform: scale(1.04);
}
body.page-template-page-otoetkinlik .home-hero article:hover img {
    transform: scale(1.015);
}
body.page-template-page-otoetkinlik .hero-cat {
    transition: background .3s ease;
}

body.page-template-page-otoetkinlik article:hover .hero-cat {
    background: rgba(0,0,0,.85);
}
/* =========================
   HOME – SPONSORS
========================= */

.home-sponsors {
    width: 100%;
    background: #fff;
    padding-top: 18px;
    padding-bottom: 0;
	box-shadow: 0 10px 24px -6px rgba(242, 242, 242, 0.9);
}

.home-sponsors .sponsors-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.home-sponsors .sponsors-grid a {
    display: flex;
    align-items: center;
}

.home-sponsors .sponsors-grid img {
    max-height: 130px;
    width: auto;
    opacity: .9;
    transition: transform .2s ease, opacity .2s ease;
}

.home-sponsors .sponsors-grid a:hover img {
    transform: scale(1.05);
    opacity: 1;
}
.oto-landing .home-sponsors {
    padding-bottom: 15px;
}

.oto-content-wrap {
    margin-top: 15px;
}
