/* ==========================================================================
   CMS uyum katmanı
   display_menu() (config_site.php) çıktısı bootstrap dropdown sınıfları
   (dropdown-toggle / dropdown-menu) üretir. Tema menüsü kendi CSS'i ile
   çalışır; buradaki kurallar sadece bootstrap'in getirdiği artıkları temizler.
   Menü mantığına dokunulmaz.
   ========================================================================== */

/* Bootstrap'in ok işareti (caret) tema menüsünde istenmiyor */
.main-menu__list .dropdown-toggle::after,
.footer-menu .dropdown-toggle::after {
    display: none !important;
}

/* Bootstrap .dropdown-menu kenarlık/radius/gölge artıkları */
.main-menu .main-menu__list .dropdown-menu,
.stricky-header .main-menu__list .dropdown-menu {
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    float: none;
}

/* Mobil menüde (custom.js klonu) dropdown konumlandırması */
.mobile-nav__content .main-menu__list .dropdown-menu {
    position: static;
    min-width: auto;
    padding: 0;
    background-color: transparent;
    border: none;
}

/* ==========================================================================
   Footer menüsü — display_menu() alt menüleri de basar, footer'da düz liste
   ========================================================================== */
.footer-menu ul ul {
    display: none !important;
}

/* ==========================================================================
   İçerik alanı (site_icerik.aciklama'dan gelen HTML)
   ========================================================================== */
.page-content-area {
    padding-top: 90px;
    padding-bottom: 90px;
}

.cms-content {
    color: var(--thm-gray, #6a6d75);
    font-size: 16px;
    line-height: 30px;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
    color: var(--thm-black, #071c35);
    font-family: var(--thm-font, inherit);
    margin-bottom: 18px;
    line-height: 1.3;
}

.cms-content h2 { font-size: 34px; }
.cms-content h3 { font-size: 26px; }
.cms-content h4 { font-size: 21px; }

.cms-content p {
    margin-bottom: 20px;
}

.cms-content ul,
.cms-content ol {
    margin: 0 0 25px 20px;
    padding-left: 15px;
}

.cms-content ul li,
.cms-content ol li {
    margin-bottom: 8px;
}

.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }

.cms-content a {
    color: var(--thm-base, #f2762e);
}

.cms-content a:hover {
    text-decoration: underline;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.cms-content table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}

.cms-content table td,
.cms-content table th {
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
}

/* Tablo/geniş içerik taşmasın */
.cms-content {
    overflow-x: auto;
}
