/*
Theme Name: Ortodent Astra Child
Theme URI: https://new.ortodent.ro/
Description: Child theme Astra pentru site-ul Ortodent.
Author: 12.design
Template: astra
Version: 1.0.0
Text Domain: ortodent-astra-child
*/

/* Articole medicale individuale – layout editorial aerisit, dar restrâns */
body.ortodent-medical-single {
    background: #fff;
    color: #292929;
}
body.ortodent-medical-single #content,
body.ortodent-medical-single #content > .ast-container,
body.ortodent-medical-single #primary,
body.ortodent-medical-single .content-area,
body.ortodent-medical-single .site-main {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.ortodent-medical-single article.ast-article-single,
body.ortodent-medical-single article.type-post {
    background: #fff !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.ortodent-medical-single .entry-header,
body.ortodent-medical-single .entry-content,
body.ortodent-medical-single .entry-footer,
body.ortodent-medical-single .post-navigation,
body.ortodent-medical-single .ast-single-post-order,
body.ortodent-medical-single .comments-area,
body.ortodent-medical-single #comments,
body.ortodent-medical-single nav.navigation.post-navigation {
    box-sizing: border-box;
    width: min(820px, calc(100% - 48px)) !important;
    max-width: 820px !important;
    margin-inline: auto !important;
}
body.ortodent-medical-single .entry-header { padding-top: clamp(42px, 5vw, 72px); padding-bottom: 14px; }
body.ortodent-medical-single .entry-header .entry-title,
body.ortodent-medical-single h1.entry-title,
body.ortodent-medical-single .entry-title {
    color: #252525;
    font-size: clamp(2.15rem, 4vw, 3.3rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
body.ortodent-medical-single .entry-meta,
body.ortodent-medical-single .entry-meta a { color: #747474; font-size: .9rem; }
body.ortodent-medical-single .entry-content {
    padding: 14px 0 clamp(42px, 5vw, 72px);
    color: #525c62;
    font-size: 1.075rem;
    line-height: 1.78;
    overflow-wrap: break-word;
}
body.ortodent-medical-single .entry-content > p,
body.ortodent-medical-single .entry-content > h2,
body.ortodent-medical-single .entry-content > h3,
body.ortodent-medical-single .entry-content > h4,
body.ortodent-medical-single .entry-content > ul,
body.ortodent-medical-single .entry-content > ol,
body.ortodent-medical-single .entry-content > blockquote,
body.ortodent-medical-single .entry-content > figure,
body.ortodent-medical-single .entry-content > div {
    max-width: 100% !important;
}
body.ortodent-medical-single .entry-content h2,
body.ortodent-medical-single .entry-content h3,
body.ortodent-medical-single .entry-content h4 {
    color: #252525;
    line-height: 1.2;
    letter-spacing: -.025em;
}
body.ortodent-medical-single .entry-content h2 {
    margin: 40px 0 16px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
}
body.ortodent-medical-single .entry-content h3 {
    margin: 30px 0 14px;
    font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
}
body.ortodent-medical-single .entry-content h4 { margin-top: 24px; font-size: 1.2rem !important; }
body.ortodent-medical-single .entry-content p { margin-bottom: 1.2em; }
body.ortodent-medical-single .entry-content ul,
body.ortodent-medical-single .entry-content ol { margin: 0 0 24px 1.3em; }
body.ortodent-medical-single .entry-content img {
    max-width: 100%; height: auto; border-radius: 14px;
}
body.ortodent-medical-single .entry-content iframe { max-width: 100%; }
body.ortodent-medical-single .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
body.ortodent-medical-single .entry-content blockquote {
    border-left: 3px solid #ff6a13; padding: 12px 0 12px 24px;
    margin: 28px 0; background: #fff7f1;
}
/* Navigare și comentarii în română, carduri fără lățime exagerată */
body.ortodent-medical-single .post-navigation,
body.ortodent-medical-single nav.navigation.post-navigation { padding: 22px 0; border-top: 1px solid #ece6e1; }
body.ortodent-medical-single .comments-area,
body.ortodent-medical-single #comments { padding: 32px 0 78px; }
body.ortodent-medical-single #reply-title,
body.ortodent-medical-single .comments-title { color: #252525; font-size: clamp(1.55rem, 2.6vw, 2rem) !important; }
body.ortodent-medical-single .comment-form textarea,
body.ortodent-medical-single .comment-form input:not([type="checkbox"]):not([type="submit"]) {
    width: 100%; max-width: 100%; border-radius: 10px; border: 1px solid #dedede;
    background: #fff; color: #292929;
}
body.ortodent-medical-single .comment-form input[type="submit"],
body.ortodent-medical-single #submit {
    background: #ff6a13; border-radius: 999px; color: white;
    padding: 13px 25px;
}
body.ortodent-medical-single .comment-form input[type="submit"]:hover,
body.ortodent-medical-single #submit:hover { background: #e65300; }
@media (max-width: 767px) {
    body.ortodent-medical-single .entry-header,
    body.ortodent-medical-single .entry-content,
    body.ortodent-medical-single .entry-footer,
    body.ortodent-medical-single .post-navigation,
    body.ortodent-medical-single .ast-single-post-order,
    body.ortodent-medical-single .comments-area,
    body.ortodent-medical-single #comments,
    body.ortodent-medical-single nav.navigation.post-navigation {
        width: calc(100% - 32px) !important;
    }
    body.ortodent-medical-single .entry-content { font-size: 1rem; line-height: 1.72; }
    body.ortodent-medical-single .entry-header { padding-top: 34px; }
}
