/*
Theme Name: Motor Dersi Theme
Theme URI: https://www.motordersi.com
Author: Motor Dersi
Author URI: https://www.motordersi.com
Description: Motor Dersi için özel, bağımsız, reklamsız ve modern WordPress teması.
Version: 1.0.0
Text Domain: motordersi-theme
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
*/

/* Screenshot: Admin tema ekranı için özel görsel eklendi. */

/* Motor Dersi - Yıllık Plan yıl kartları */
.md-yearly-subhero{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #dfe8f5;border-radius:22px;padding:26px 30px;margin:18px 0 24px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.md-yearly-subhero-icon{width:74px;height:74px;border-radius:22px;background:#fff1f3;display:grid;place-items:center;font-size:34px;flex:0 0 auto}
.md-yearly-subhero h1{margin:0 0 8px;font-size:32px;color:#071936}
.md-yearly-subhero p{margin:0;color:#64748b;font-weight:600}
.md-yearly-subhero>span{margin-left:auto;background:#f3f7fc;border-radius:999px;padding:12px 20px;font-weight:900;color:#071936;white-space:nowrap}
.md-year-new-badge{position:absolute;right:28px;bottom:66px;background:#ff2f57;color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;letter-spacing:.06em}
.md-yearly-file-card{margin-top:18px}
.md-yearly-file-card .md-module-file-badge{font-size:13px}
@media (max-width:768px){.md-yearly-subhero{align-items:flex-start;flex-direction:column;padding:22px}.md-yearly-subhero h1{font-size:25px}.md-yearly-subhero>span{margin-left:0}.md-year-new-badge{position:static;display:inline-flex;width:max-content;margin-top:8px}}


/* Motor Dersi Sık Sorulan Sorular (FAQ) */
.md-faq-box{
    margin:28px 0;
    padding:18px;
    border:1px solid #dbe5f2;
    border-radius:18px;
    background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
    box-shadow:0 10px 28px rgba(15,23,42,.07);
}
.md-faq-title{
    margin:0 0 14px;
    font-size:24px;
    line-height:1.25;
    color:#0f172a;
}
.md-faq-list{
    display:grid;
    gap:10px;
}
.md-faq-item{
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
}
.md-faq-question{
    cursor:pointer;
    position:relative;
    padding:15px 46px 15px 16px;
    font-weight:700;
    color:#102033;
    list-style:none;
}
.md-faq-question::-webkit-details-marker{display:none}
.md-faq-question:after{
    content:'+';
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#eaf2ff;
    color:#1d4ed8;
    font-size:18px;
    line-height:1;
}
.md-faq-item[open] .md-faq-question:after{
    content:'−';
    background:#1d4ed8;
    color:#fff;
}
.md-faq-answer{
    padding:0 16px 15px;
    color:#475569;
    line-height:1.75;
}
.md-faq-answer p{
    margin:8px 0 0;
}
@media(max-width:640px){
    .md-faq-box{padding:14px;border-radius:14px}
    .md-faq-title{font-size:21px}
    .md-faq-question{padding:13px 42px 13px 14px}
}


/* Motor Dersi FAQ - Açılır/Kapanır Accordion Düzeltmesi */
.md-faq-accordion .md-faq-item{
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
    transition:border-color .2s ease, box-shadow .2s ease;
}
.md-faq-accordion .md-faq-item.is-open{
    border-color:#bfdbfe;
    box-shadow:0 10px 24px rgba(37,99,235,.10);
}
.md-faq-accordion .md-faq-question{
    width:100%;
    border:0;
    background:#fff;
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    cursor:pointer;
    position:relative;
    padding:15px 50px 15px 16px;
    font-weight:800;
    color:#102033;
    font-size:16px;
    line-height:1.45;
    appearance:none;
}
.md-faq-accordion .md-faq-question:focus-visible{
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:-3px;
}
.md-faq-accordion .md-faq-question:after{
    content:'+';
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:26px;
    height:26px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#eaf2ff;
    color:#1d4ed8;
    font-size:20px;
    font-weight:900;
    line-height:1;
}
.md-faq-accordion .md-faq-item.is-open .md-faq-question:after{
    content:'−';
    background:#1d4ed8;
    color:#fff;
}
.md-faq-accordion .md-faq-answer{
    padding:0 16px 16px;
    color:#475569;
    line-height:1.75;
    border-top:1px solid #eef2f7;
}
.md-faq-accordion .md-faq-answer[hidden]{
    display:none !important;
}
.md-faq-accordion .md-faq-answer p{
    margin:12px 0 0;
}
