/* ORTODENT | Arhiva articolelor medicale: culori alb-portocaliu */
body.ortodent-medical-archive { background: #fff; }
body.ortodent-medical-archive #content,
body.ortodent-medical-archive #content > .ast-container,
body.ortodent-medical-archive #primary,
body.ortodent-medical-archive .content-area,
body.ortodent-medical-archive .site-main {
    display: block !important; float: none !important;
    width: 100% !important; max-width: 100% !important;
    margin: 0 !important; padding: 0 !important;
}
.odm-page { --odm-orange:#ff6a13; --odm-ink:#292929; --odm-muted:#6b747a;
    color:var(--odm-ink); font-size:16px; line-height:1.65; background:#fff; }
.odm-page *, .odm-page *::before, .odm-page *::after { box-sizing:border-box; }
.odm-page a { text-decoration:none; }
.odm-shell { width:min(1200px,calc(100% - 48px)); margin-inline:auto; }
.odm-section { padding:clamp(54px,6vw,88px) 0; }
.odm-eyebrow { margin:0 0 12px; color:var(--odm-orange); font-size:.73rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.odm-heading { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr); align-items:end; gap:28px; margin-bottom:32px; }
.odm-heading h2 { margin:0; color:var(--odm-ink); font-size:clamp(2.3rem,4.8vw,4.1rem); line-height:1.06; letter-spacing:-.045em; }
.odm-heading > p { color:var(--odm-muted); margin:0; line-height:1.65; }
.odm-filters { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 28px; }
.odm-filters a { padding:10px 18px; border:1px solid #ebe4df; border-radius:999px; background:white; color:#292929; font-size:.85rem; font-weight:700; transition:.2s ease; }
.odm-filters a:hover, .odm-filters a:focus, .odm-filters a.is-active { background:var(--odm-orange); border-color:var(--odm-orange); color:white; }
.odm-featured { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr); overflow:hidden; border:1px solid #efe9e5; border-radius:26px; background:#fff; box-shadow:0 20px 58px rgba(29,39,45,.08); margin-bottom:30px; }
.odm-featured__media { min-height:410px; display:block; overflow:hidden; background:#fff7f1; }
.odm-featured__media img { display:block; width:100%; height:100%; min-height:410px; object-fit:cover; }
.odm-featured__content { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:clamp(28px,4.5vw,54px); background:#fff; color:#292929; }
.odm-featured__content h2 { font-size:clamp(1.75rem,2.7vw,2.85rem); letter-spacing:-.035em; line-height:1.16; margin:10px 0 20px; color:#292929; }
.odm-featured__content h2 a, .odm-card__content h3 a { color:inherit; }
.odm-featured__content h2 a:hover, .odm-card__content h3 a:hover { color:#e65300; }
.odm-featured__content > p:not(.odm-eyebrow), .odm-card__content > p { color:var(--odm-muted); line-height:1.7; }
.odm-meta { display:flex; flex-wrap:wrap; gap:10px 16px; color:#7a7774; font-size:.79rem; }
.odm-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 23px; border-radius:999px; background:var(--odm-orange); color:#fff !important; font-weight:800; }
.odm-button:hover { background:#e65300; color:#fff !important; }
.odm-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.odm-card { display:flex; flex-direction:column; min-width:0; border:1px solid #efe9e5; border-radius:22px; overflow:hidden; background:#fff; }
.odm-card__media { display:block; height:225px; position:relative; overflow:hidden; background:#fff7f1; }
.odm-card__media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.odm-card:hover .odm-card__media img { transform:scale(1.035); }
.odm-card__arrow { display:grid; place-items:center; position:absolute; right:16px; bottom:16px; width:34px; height:34px; border-radius:50%; background:#ff6a13; color:#fff; }
.odm-card__content { display:flex; flex-direction:column; flex:1; align-items:flex-start; padding:26px; }
.odm-card__content h3 { color:#292929; font-size:clamp(1.25rem,1.7vw,1.65rem); line-height:1.22; margin:12px 0; }
.odm-card__content > p { flex:1; margin:0 0 18px; }
.odm-text-link { color:#e65300; font-weight:800; }
.odm-placeholder { height:100%; display:grid; place-items:center; color:#e65300; font-weight:900; font-size:1.4rem; }
.odm-pagination { margin-top:40px; } .odm-pagination .page-numbers { display:flex; flex-wrap:wrap; gap:9px; padding:0; list-style:none; }
.odm-pagination a, .odm-pagination span { display:grid; min-width:38px; min-height:38px; place-items:center; border-radius:10px; padding:6px 10px; border:1px solid #eee4de; color:#292929; }
.odm-pagination .current, .odm-pagination a:hover { color:#fff; background:#ff6a13; border-color:#ff6a13; }
.odm-empty { text-align:center; padding:80px 16px; } .odm-empty h2 { font-size:2rem; }
.odm-cta { padding:clamp(54px,6vw,84px) 0; background:white; border-top:1px solid #f0ece8; }
.odm-cta__grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:35px; align-items:center; }
.odm-cta h2 { margin:0 0 15px; color:#292929; font-size:clamp(2rem,3.9vw,3.65rem); line-height:1.09; letter-spacing:-.04em; }
.odm-cta p:not(.odm-eyebrow) { color:#687178; margin:0; }
.odm-cta__actions { display:flex; align-items:center; gap:16px; }
.odm-phone { white-space:nowrap; color:#292929; font-weight:800; }
@media(max-width:1024px) { .odm-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .odm-heading, .odm-cta__grid {grid-template-columns:1fr;} }
@media(max-width:767px) { .odm-shell{width:calc(100% - 28px);} .odm-featured{grid-template-columns:1fr;} .odm-featured__media,.odm-featured__media img{min-height:240px;height:280px;} .odm-grid{grid-template-columns:1fr;} .odm-cta__actions{flex-direction:column;align-items:flex-start;} .odm-heading h2{font-size:clamp(2rem,8vw,3rem);} }

/* ==============================================
   ORTODENT – PAGINARE ARTICOLE MEDICALE
   Butoane compacte, perfect centrate
   ============================================== */

body.ortodent-medical-archive .odm-pagination {
    display: flex;
    justify-content: center;
    margin: 55px 0 20px;
}

body.ortodent-medical-archive .odm-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ortodent-medical-archive .odm-pagination ul.page-numbers li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ortodent-medical-archive .odm-pagination .page-numbers a,
body.ortodent-medical-archive .odm-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;

    margin: 0;
    padding: 0;

    border: 1px solid #e9e2dd;
    border-radius: 13px;

    background: #ffffff;
    color: #252525;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;

    box-shadow: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Pagina activă */
body.ortodent-medical-archive .odm-pagination .page-numbers .current {
    background: #ff6a13;
    color: #ffffff;
    border-color: #ff6a13;
}

/* Hover */
body.ortodent-medical-archive .odm-pagination .page-numbers a:hover,
body.ortodent-medical-archive .odm-pagination .page-numbers a:focus {
    background: #fff7f1;
    color: #e65300;
    border-color: #ff6a13;
}

/* Săgețile anterior / următor */
body.ortodent-medical-archive .odm-pagination .page-numbers .prev,
body.ortodent-medical-archive .odm-pagination .page-numbers .next {
    font-size: 19px;
    font-weight: 400;
}

/* Mobil */
@media (max-width: 767px) {
    body.ortodent-medical-archive .odm-pagination {
        margin-top: 35px;
    }

    body.ortodent-medical-archive .odm-pagination ul.page-numbers {
        gap: 7px;
    }

    body.ortodent-medical-archive .odm-pagination .page-numbers a,
    body.ortodent-medical-archive .odm-pagination .page-numbers span {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 11px;
        font-size: 14px;
    }
}
