section.calendarHome {
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #FFF;
}
.calendarHome .container {
    width: 100%;
    max-width: 1480px;
}
.calendarHome .capsule {
    background-color: #fab702;
    padding-bottom: 0px;
    position: relative;
	overflow: hidden; /* 🔥 BU ŞART */
}
.calendarHome .p-title h2 {
    display: inline-block;
    width: auto;
    padding: 8px 15px;
    font-size: 0.7rem;
    line-height: 2;
    color: #FFF;
    font-weight: 400;
    background-color: #fab702;
    border-radius: 5px 5px 0 0;
    margin: 0;
}
.calendarHome .capsule .calendarRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding-top: 15px;
}
.calendarHome .capsule .calendarRow .item {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
    position: relative;
    padding: 30px 0 20px;
    cursor: pointer;
    background-color: transparent;
}
.button, [type=button], [type=reset], [type=submit], a.button, button {
    -webkit-appearance: none;
    display: inline-block;
    border: 0px solid #2754c7;
    border-radius: 5px;
    background: #2754c7;
    color: #FFF;
    font-weight: 400;
    font-family: var(--font-family);
    font-size: 0.9rem;
    text-transform: none;
    padding: 1rem 4rem;
    margin: 0;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    outline: 0;
}
.calendarHome .capsule .calendarRow .item .day {
    float: left;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #fff;
    font-weight: 400;
}
.calendarHome .capsule .calendarRow .item .dayname {
    float: left;
    width: 100%;
    font-size: 0.65rem;
    line-height: 1.4;
    color: #FFF;
    font-weight: 300;
}
.calendarRow {
    display: flex;
    align-items: center;
}

.month-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
	color: white;
}

.month-separator::before {
    content: "";
    width: 2px;
    height: 60px;
    background: #fff; /* beyaz çizgi */
    margin-bottom: 6px;
}

.month-separator span {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.calendarRow .item.has-event {
    background: #2ecc71;
    color: #fff;
    font-weight: 600;
}
/* Etkinlik günü - beyaz çerçeve */
.calendarRow .item.has-event {
    position: relative;
    box-shadow: inset 0 0 0 2px #fff;
    border-radius: 8px;
}

/* Eski nokta varsa tamamen kapat */
.calendarRow .item.has-event::after,
.calendarRow .item.has-event::before {
    display: none !important;
}


.calendarRow .item.has-event:hover {
    background-color: #e66800;
}


.calendarRow .item.has-event::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #ff6b00; /* etkinlik rengi */
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    right: 6px;
    box-shadow: 0 0 0 3px rgba(255,107,0,.35);
}


.popover {
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.popover-header {
    font-weight: 600;
    background: #ff7a18;
    color: #fff;
}

.popover-body {
    font-size: 13px;
    line-height: 1.4;
}
.event-tooltip {
    position: absolute;
    background: #fff;
    color: #333;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    display: none;
    z-index: 9999;
    width: 220px;
}
@media (max-width: 768px) {
   .calendarHome .container,
    .calendarHome .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .calendarHome .capsule .calendarRow {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .calendarHome .capsule .calendarRow::-webkit-scrollbar {
        height: 4px;
    }

    .calendarHome .capsule .calendarRow::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.4);
        border-radius: 2px;
    }

    .calendarHome .capsule .calendarRow .item {
        min-width: 64px;
        padding: 12px 0;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .calendarHome .capsule .calendarRow .item .day {
        font-size: 0.9rem;
    }

    .calendarHome .capsule .calendarRow .item .dayname {
        font-size: 0.6rem;
    }

    /* Ay ayırıcıyı mobilde yatay yap */
    .month-separator {
        flex-direction: row;
        margin: 0 10px;
    }

    .month-separator::before {
        width: 40px;
        height: 2px;
        margin: 0 6px;
    }

    .month-separator span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 11px;
        white-space: nowrap;
    }
}
@media (max-width: 768px) {
    .popover {
        max-width: 200px;
        font-size: 12px;
    }

    .popover-header {
        font-size: 13px;
        padding: 6px 10px;
    }

    .popover-body {
        padding: 8px 10px;
    }
}
/* ===============================
   MOBİL TAKVİM – KESİN ÇÖZÜM
   FLEX KAPALI / INLINE SCROLL
================================ */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
    }



    /* TAKVİM SATIRI */
    .calendarHome .capsule .calendarRow {
        display: block !important;      /* 🔥 flex KAPALI */
        white-space: nowrap !important; /* 🔥 yatay akış */
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding-bottom: 10px;
    }

    /* GÜNLER */
    .calendarHome .capsule .calendarRow .item {
        display: inline-block !important;
        vertical-align: top;
        width: 72px !important;
        min-width: 72px;
        padding: 12px 0;
        margin-right: 6px;
        float: none !important;
    }

    /* AY AYIRICI */
    .month-separator {
        display: inline-block !important;
        vertical-align: middle;
        margin: 0 10px;
        white-space: nowrap;
    }

    .month-separator::before {
        width: 30px;
        height: 2px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 6px;
    }

    .month-separator span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 11px;
        white-space: nowrap;
    }

    /* SCROLLBAR */
    .calendarHome .capsule .calendarRow::-webkit-scrollbar {
        height: 6px;
    }

    .calendarHome .capsule .calendarRow::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.6);
        border-radius: 3px;
    }
}
/* =========================
   MOBİL TAKVİM – KESİN ÇÖZÜM
========================= */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
    }

    /* 🔥 CAPSULE KİLİDİ AÇILIYOR */
    .calendarHome .capsule {
        overflow: visible !important;
    }

    /* SCROLL OLAN ASIL ALAN */
    .calendarHome .capsule .calendarRow {
        display: block !important;
        width: 100%;
        white-space: nowrap;
        overflow-x: scroll !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }

    /* GÜN KUTULARI */
    .calendarHome .capsule .calendarRow .item {
        display: inline-block !important;
        width: 72px !important;
        min-width: 72px;
        padding: 12px 0;
        margin-right: 6px;
        float: none !important;
        vertical-align: top;
    }

    /* AY AYIRICI */
    .month-separator {
        display: inline-block !important;
        vertical-align: middle;
        margin: 0 10px;
        white-space: nowrap;
    }

    .month-separator::before {
        width: 30px;
        height: 2px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 6px;
    }

    .month-separator span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 11px;
        white-space: nowrap;
    }

    /* SCROLLBAR */
    .calendarHome .capsule .calendarRow::-webkit-scrollbar {
        height: 6px;
        display: block;
    }

    .calendarHome .capsule .calendarRow::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.6);
        border-radius: 3px;
    }
}
@media only screen and (max-width: 769px) {
    .calendarHome .capsule .full-line-section {
        overflow-x: scroll;
    }
	    .calendarHome .capsule .calendarRow {
        padding-top: 20px;
        display: table;
        table-layout: fixed;
        height: auto;
        width: 100%;
    }
	    .calendarHome .capsule .calendarRow .item {
        float: none;
        display: table-cell;
        height: 47px;
        width: 40px;
    }
}
