/*
 * Danza temasının üzerine yazdığımız düzeltmeler.
 * Tema paketi güncellendiğinde bu dosya korunur; style.css'e dokunmayın.
 */

/* Logo bağlantısı satır içi boşluk bırakmasın. */
.header-logo a,
.about-logo a,
.mobile-logo a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

/* Çıkış formu menü hizasını bozmasın. */
.header-button form.d-inline {
    display: inline-block;
    margin: 0;
}

/*
 * Panelden yüklenen görseller farklı en-boy oranlarında geliyor; kart
 * yükseklikleri kaymasın diye sabit orana kırpıyoruz.
 */
.blog-card .blog-img,
.gallery-card2 .gallery-img,
.team-box3 .team-img {
    overflow: hidden;
}

.blog-card .blog-img img,
.gallery-card2 .gallery-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.team-box3 .team-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* Aynı satırdaki kartlar eşit yükseklikte dursun. */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card .blog-card_content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.blog-card .blog-card_content .th-btn {
    margin-top: auto;
    align-self: flex-start;
}

/*
 * Logo. Kare rozet; menü satırı 38px dikey padding ile 100px yüksekliğinde,
 * 80px rozet içine taşmadan oturuyor. Koyu zeminler için ayrı açık sürüm var.
 */
.header-logo img,
.mobile-logo img,
.footer-wrapper .about-logo img {
    height: 80px;
    width: auto;
}

/*
 * Fiyat paketleri. Tema kart içeriğini sola yaslıyor; fiyat ve buton
 * ortalanınca kartlar çok daha dengeli duruyor.
 */
.price-card.style3 {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.price-card.style3 .price-card_content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.price-card.style3 .price-card_price {
    max-width: none;
    padding: 0;
}

.price-card.style3 .available-list {
    width: 100%;
}

.price-card.style3 .available-list ul {
    display: inline-block;
    text-align: left;
    margin: 0;
}

.price-card.style3 .price-btn {
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
}

.price-card.style3 .price-btn .th-btn {
    min-width: 190px;
}

/* Üst şeritteki sporcu giriş bağlantısı, iletişim bağlantılarıyla aynı görünsün. */
.header-links-account form {
    display: inline;
}

.header-links-account button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/*
 * Tema, header-layout8'de butonu kendi logo/menü genişliğine göre negatif ve
 * pozitif kenar boşluklarıyla konumluyor; bizim menümüz farklı genişlikte
 * olduğu için buton ekran dışına taşıyordu.
 */
.header-layout8 .header-button {
    margin-right: 0;
}

/*
 * Tema, header-layout8'de CTA butonunu 1500px altında gizliyor; kendi menüsü
 * o genişliğe sığmadığı için. Bizim menümüz daha dar olduğundan 1200px'ten
 * itibaren gösteriyoruz.
 */
@media (min-width: 1200px) {
    .header-layout8 .header-button .th-btn {
        display: inline-block;
    }
}

/* Üst şeritte sporcu girişi ve sosyal ikonlar sağda birlikte dursun. */
.header-top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-top-right .header-links ul {
    margin: 0;
}

/*
 * Mobil düzeltmeler.
 * Temanın kapalı mobil menü paneli ekranın dışında duruyor ve sayfayı yatayda
 * taşırıyor; tema kendi demosunda gövdeyi kırpıyor, biz de aynısını yapıyoruz.
 */
html,
body {
    overflow-x: hidden;
}

/* Hero metni beyaz tanımlı; hero-8 açık zeminli olduğu için okunmuyordu. */
.hero-8 .hero-text,
.hero-style8 .hero-text {
    color: var(--body-color);
}

/* Galeri: görselin tamamı lightbox açıyor, başlık kutuyu taşırmıyor. */
.gallery-card2 .gallery-link {
    display: block;
}

.gallery-card2 .gallery-content .box-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------
 * Temada karşılığı olmayan, projeye özgü bileşenler.
 * ------------------------------------------------------------------ */

/* Hikâye zaman tüneli (hakkımızda sayfası) */
.ida-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 34px;
    border-left: 2px solid rgba(235, 0, 41, 0.25);
}

.ida-timeline_item {
    position: relative;
    padding-bottom: 46px;
}

.ida-timeline_item:last-child {
    padding-bottom: 0;
}

.ida-timeline_year {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--title-font);
    font-size: 30px;
    font-weight: 700;
    color: var(--theme-color);
}

.ida-timeline_year::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -43px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--theme-color);
    box-shadow: 0 0 0 5px #fff;
    transform: translateY(-50%);
}

.ida-timeline_card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: 0 6px 30px rgba(22, 25, 33, 0.08);
}

.ida-timeline_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.ida-timeline_date {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--theme-color);
}

.ida-timeline_text p:last-child {
    margin-bottom: 0;
}

/* Etiket–değer listesi (ders, etkinlik, sporcu paneli) */
.ida-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ida-detail-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(22, 25, 33, 0.08);
}

.ida-detail-list li:last-child {
    border-bottom: 0;
}

.ida-detail-list span {
    color: var(--body-color);
}

.ida-detail-list strong {
    color: var(--title-color);
    text-align: right;
}

.ida-detail-list_inline {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
}

.ida-detail-list_inline li {
    display: block;
    border-bottom: 0;
    padding: 0;
}

.ida-detail-list_inline strong {
    display: block;
    font-size: 20px;
    text-align: left;
}

/* Tablolar (sınav sonuçları). Tema tabloya kenarlık ve alt boşluk veriyor,
   kart görünümünü bozuyordu. */
.ida-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(22, 25, 33, 0.08);
}

.ida-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: #fff;
}

.ida-table th,
.ida-table td {
    padding: 16px 22px;
    text-align: left;
    white-space: nowrap;
}

/* Temada "th { color: var(--title-color) }" var; koyu başlık satırında
   yazı görünmez oluyordu, bu yüzden hücre bazında beyaza çekiliyor. */
.ida-table thead {
    background: var(--title-color);
}

.ida-table thead th {
    color: #fff;
    font-weight: 500;
}

.ida-table tbody tr + tr {
    border-top: 1px solid rgba(22, 25, 33, 0.08);
}

.ida-table tbody th {
    color: var(--title-color);
    font-weight: 600;
}

/* Rozetler */
.ida-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ida-badge_success {
    background: #e6f6ec;
    color: #1a7f42;
}

.ida-badge_danger {
    background: #fde5ea;
    color: var(--theme-color);
}

.ida-badge_warning {
    background: #fff4e0;
    color: #a76a00;
}

/* Form kutusu ve alanları */
.ida-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 6px 30px rgba(22, 25, 33, 0.08);
}

.ida-form-box fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.ida-form-box legend {
    float: none;
    width: auto;
    margin-bottom: 16px;
}

.ida-form-box label {
    display: block;
    margin-bottom: 8px;
    color: var(--title-color);
    font-weight: 500;
}

.ida-field-error {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--theme-color);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--theme-color);
}

.ida-alert {
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ida-alert_success {
    background: #e6f6ec;
    color: #1a7f42;
}

/* Blog kategori filtresi */
.ida-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* İletişim haritası */
.ida-map {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 20px;
}

/* Panelden gelen zengin metin */
.theme-content h2 {
    font-size: 28px;
    margin: 30px 0 14px;
}

.theme-content h3 {
    font-size: 22px;
    margin: 26px 0 12px;
}

.theme-content ul,
.theme-content ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.theme-content li {
    margin-bottom: 8px;
}

.theme-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 24px 0;
}

/* Sayfalama */
.th-pagination ul,
.th-pagination nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
 * Footer. Tema 120px üst boşluk veriyor, footer 810px'e çıkıyordu.
 * Ayrıca bağlantı hover rengi kırmızıya dönüyor ve koyu zeminde okunmuyordu.
 */
.footer-wrapper .widget-area {
    padding: 64px 0 40px;
}

.footer-wrapper .widget {
    margin-bottom: 24px;
}

.footer-wrapper .widget_nav_menu .menu > li > a:hover,
.footer-wrapper .th-widget-contact a:hover,
.footer-wrapper .copyright-text a:hover {
    color: #fff;
}

/* İç sayfa başlık bandı: metin okunsun diye koyu bir katman. */
.breadcumb-wrapper {
    position: relative;
    background-position: center;
    background-size: cover;
}

.breadcumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 25, 33, 0.85) 0%, rgba(22, 25, 33, 0.55) 100%);
}

/* Sayfalama: Bootstrap yapısını tema renklerine uyarlıyoruz. */
.th-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-pagination .page-item .page-link {
    display: grid;
    place-items: center;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(22, 25, 33, 0.12);
    border-radius: 10px;
    background: #fff;
    color: var(--title-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.th-pagination .page-item .page-link:hover,
.th-pagination .page-item.active .page-link {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

.th-pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}

/* Sayfalamanın "1 - 9 / 20 sonuç" özeti gereksiz; sayfalar ortalanıyor. */
.th-pagination .flex.flex-1.justify-between,
.th-pagination p.small,
.th-pagination .hidden.sm\:flex-1 {
    display: none !important;
}

.th-pagination nav[role="navigation"] > p,
.th-pagination nav[aria-label="Pagination Navigation"] > p {
    display: none;
}

/* Hakkımızda sayaçları. Temadan gelen "display: grid" sayı ile etiketi
   yan yana diziyordu. */
.about-counter {
    display: block;
    padding: 22px 24px;
    border: 1px solid rgba(22, 25, 33, 0.1);
    border-radius: 16px;
    text-align: center;
}

/* Tema .sec-title'ı satır içi kullanıyor; sayı ve etiket yan yana düşüyordu. */
.about-counter .sec-title {
    display: block;
    width: 100%;
    font-size: 40px;
    line-height: 1.1;
}

.about-counter span {
    display: block;
    width: 100%;
    margin-top: 6px;
    color: var(--body-color);
    font-size: 15px;
}

.about-thumb img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/*
 * Temanın alt başlık süsü metnin soluna -6.6rem'lik bir çizgi çiziyor.
 * Ortalanmış başlıklarda simetrik duruyor ama form kutusu gibi dar ve
 * sola yaslı alanlarda kutunun dışına taşıyor.
 */
.ida-form-box .sub-title::before {
    display: none;
}

/* Harita, yanındaki formla aynı yüksekliği doldursun. */
@media (min-width: 992px) {
    .ida-map {
        height: 100%;
        aspect-ratio: auto;
        min-height: 420px;
    }
}

/* Bilgilendirme kutusu (ör. giriş yapmış sporcuya kayıt sayfasında) */
.ida-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding: 28px 32px;
    border: 1px solid rgba(235, 0, 41, 0.25);
    border-radius: 20px;
    background: #fde5ea;
}

.ida-notice .box-title {
    margin-bottom: 8px;
}

.ida-notice p {
    max-width: 62ch;
    color: var(--body-color);
}

/* Sabit WhatsApp butonu */
.ida-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease;
}

.ida-whatsapp:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Temanın "yukarı çık" butonuyla üst üste binmesin. */
.scroll-top {
    bottom: 92px;
}

@media (max-width: 575px) {
    .ida-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 23px;
    }
}

/* Sporcu paneli profil kartı */
.ida-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 36px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 30px rgba(22, 25, 33, 0.08);
}

.ida-profile_identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ida-profile_avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ida-profile_avatar--initials {
    display: grid;
    place-items: center;
    background: var(--theme-color);
    color: #fff;
    font-family: var(--title-font);
    font-size: 30px;
    font-weight: 700;
}

.ida-profile_stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, auto));
    gap: 28px;
    margin: 0;
}

.ida-profile_stats dt {
    margin-bottom: 4px;
    color: var(--body-color);
    font-size: 14px;
    font-weight: 400;
}

.ida-profile_stats dd {
    margin: 0;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .ida-profile {
        padding: 26px;
    }

    .ida-profile_stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Özgeçmişi olan eğitmen kartı tıklanabilir olduğunu belli etsin. */
.team-box3--clickable {
    cursor: pointer;
}

.team-box3--clickable:focus-visible {
    outline: 2px solid var(--theme-color);
    outline-offset: 4px;
}

.team-box3_hint {
    display: block;
    margin-top: 8px;
    color: var(--theme-color);
    font-size: 14px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.team-box3--clickable:hover .team-box3_hint,
.team-box3--clickable:focus-visible .team-box3_hint {
    opacity: 1;
    transform: translateY(0);
}

/* Eğitmen özgeçmiş penceresi */
.ida-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 20px;
    padding: 12px;
}

.ida-modal_close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(22, 25, 33, 0.06);
    color: var(--title-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.ida-modal_close:hover {
    background: var(--theme-color);
    color: #fff;
}

.ida-modal_photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
}

.ida-modal_bio {
    max-height: 46vh;
    overflow-y: auto;
    color: var(--body-color);
    line-height: 1.8;
}

/*
 * Tema, Bootstrap modalının z-index'ini 9'a düşürüyor; sabit header 999'da
 * olduğu için modal başlığı ve kapatma düğmesi header'ın altında kalıyordu.
 */
.modal {
    z-index: 1055;
}

.modal-backdrop {
    z-index: 1050;
}

/* Modal açıkken sabit header ve WhatsApp butonu öne geçmesin. */
body.modal-open .sticky-wrapper,
body.modal-open .ida-whatsapp,
body.modal-open .scroll-top {
    z-index: 1;
}

/*
 * Hero görseli. Tema burada üst üste binen iki görsel kullanıyor ve birincisini
 * 244px ile sınırlıyor; biz tek görsel gösterdiğimiz için alan boş kalıyordu.
 */
/* Tema kuralı üç sınıflı (.hero-8 .hero8-image .hero-img1); aynı
   özgüllükte yazmazsak ezilmiyor. */
.hero-8 .hero8-image .hero-img1 {
    max-width: 100%;
}

.hero-8 .hero8-image {
    justify-content: center;
    margin-right: 0;
}

.hero-8 .hero8-image .hero-img1 img {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .hero-8 .hero8-image .hero-img1 img {
        max-width: 360px;
    }
}

/* Tema hero'ya 233px dikey boşluk veriyor; görsel büyüyünce fazla geliyor. */
@media (min-width: 992px) {
    .hero-8 .hero-style8 {
        padding: 150px 0;
    }
}

/* Özet kartı: sınav detayı gibi sayfalarda başlık altındaki bilgi şeridi */
.ida-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 4px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 30px rgba(22, 25, 33, 0.08);
}

.ida-summary_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 14px;
}

.ida-summary_item + .ida-summary_item {
    box-shadow: inset 1px 0 0 rgba(22, 25, 33, 0.07);
}

.ida-summary_icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fde5ea;
    color: var(--theme-color);
    font-size: 18px;
}

.ida-summary_label {
    display: block;
    margin-bottom: 2px;
    color: var(--body-color);
    font-size: 14px;
}

.ida-summary_value {
    display: block;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .ida-summary_item + .ida-summary_item {
        box-shadow: inset 0 1px 0 rgba(22, 25, 33, 0.07);
    }
}

/* Boş durum kutusu */
.ida-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 64px 32px;
    border: 1px dashed rgba(22, 25, 33, 0.15);
    border-radius: 20px;
    text-align: center;
}

.ida-empty_icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fde5ea;
    color: var(--theme-color);
    font-size: 28px;
}

.ida-empty_text {
    margin: 0;
    max-width: 46ch;
    color: var(--body-color);
}

/* 404 sayfası */
.error-content .error-title {
    font-family: var(--title-font);
    font-size: 140px;
    font-weight: 800;
    line-height: 1;
    color: var(--theme-color);
    margin-bottom: 10px;
}

.error-content .error-text {
    max-width: 52ch;
    margin: 0 auto 32px;
}

.ida-error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 575px) {
    .error-content .error-title {
        font-size: 90px;
    }
}

/* Yan panel bilgi listesi (sınav özet kartıyla aynı görsel dil, dikey) */
.ida-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ida-info-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.ida-info-list li + li {
    border-top: 1px solid rgba(22, 25, 33, 0.08);
}

.ida-info-list_icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fde5ea;
    color: var(--theme-color);
    font-size: 16px;
}

.ida-info-list_body {
    display: block;
    min-width: 0;
}

.ida-info-list_label {
    display: block;
    margin-bottom: 2px;
    color: var(--body-color);
    font-size: 14px;
}

.ida-info-list_value {
    display: block;
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.4;
}

/*
 * Ana sayfadaki etkinlik kartları duyuru kartıyla aynı görünümde; saat ve yer
 * bilgisi başlığın altında ince bir satır olarak duruyor.
 */
.blog-card.style6 .ida-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--body-color);
    font-size: 14px;
}

.blog-card.style6 .ida-card-meta i {
    color: var(--theme-color);
}

/* Öğrenci panelinin sayfa geçiş menüsü. */
.ida-portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.ida-portal-nav_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--smoke-color);
    color: var(--title-color);
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.ida-portal-nav_link:hover {
    background: #fde5ea;
    color: var(--theme-color);
}

.ida-portal-nav_link.is-active {
    background: var(--theme-color);
    color: #fff;
}

.ida-portal-nav_link.is-active i {
    color: #fff;
}

/* Uyarı tonu; başarı kutusuyla aynı iskelet. */
.ida-alert_warning {
    background: #fef3c7;
    color: #78350f;
}

/*
 * Ders detayı: kayıt kapalıyken buton pasif görünür, altında dersin kendi
 * açıklaması durur (örn. "Sporcu seçmelerimiz kapalıdır").
 */
.th-btn.disabled {
    background: var(--smoke-color2);
    color: var(--body-color);
    cursor: not-allowed;
    pointer-events: none;
}

.ida-registration-notice {
    margin: 12px 0 0;
    color: var(--body-color);
    font-size: 14px;
    text-align: center;
}

/* Ana sayfa popup'ı. */
.ida-popup .modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
}

.ida-popup_close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--title-color);
    font-size: 16px;
    line-height: 1;
}

.ida-popup_image {
    display: block;
    width: 100%;
    height: auto;
}

.ida-popup_body {
    padding: 28px 28px 32px;
    text-align: center;
}

.ida-popup_text {
    margin-bottom: 22px;
    color: var(--body-color);
}

/* Etkinlik başvuru formundaki onay kutusu. */
.ida-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.ida-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--theme-color);
}

/* Galeri kategori sekmeleri. Blog filtresiyle aynı kabuk, buton hâli. */
.ida-filter {
    margin-bottom: 40px;
}

.ida-filter_btn {
    padding: 9px 22px;
    border: 1px solid var(--smoke-color2);
    border-radius: 999px;
    background: transparent;
    color: var(--title-color);
    font-weight: 500;
    line-height: 1.4;
    transition: background .2s, color .2s, border-color .2s;
}

.ida-filter_btn:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.ida-filter_btn.is-active {
    border-color: var(--theme-color);
    background: var(--theme-color);
    color: #fff;
}

/* Galeri başlığının yanındaki "Tümü" bağlantısı. */
.ida-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-decoration: none;
}

/* Modal içinde açılan form (etkinlik başvurusu). */
.ida-form-modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--smoke-color2);
}

.ida-form-modal_head .ida-popup_close {
    position: static;
}

/*
 * Bootstrap'in kaydırılabilir modalı yalnız .modal-body'yi kaydırıyor ve
 * .modal-content'e overflow: hidden veriyor; bu gövde o sınıfı taşımadığı için
 * uzun formun alt kısmı (gönder butonu dahil) kesiliyordu.
 */
.ida-form-modal_body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 28px 30px;
}
