/*
Theme Name: Dantist Doma B1
Version: 1.0.0
Text Domain: dantistdoma
*/
@import url('assets/fonts.css');
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f2f7f8;color:#30434c;font:16px/1.65 'Open Sans',Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column;--accent:#4d7d8e;--line:#d9e5e9;--ink:#30434c}
a{color:inherit}
img{max-width:100%;height:auto}
button,input,textarea{font:inherit}
button{cursor:pointer}
.site-wrap{max-width:1140px;width:100%;padding:0 24px;margin:auto}
.site-main{flex:1}
.site-head{background:white;border-bottom:1px solid var(--line)}
.site-head .site-wrap{min-height:115px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.site-brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink)}
.site-brand:hover{color:var(--ink);text-decoration:none}
.brand-icon{width:58px;height:58px;flex:none;object-fit:contain}
.site-brand strong{font-size:34px;line-height:1.1;letter-spacing:-1px;font-weight:600;display:block}
.site-brand small{font-size:13px;color:#5f727b;display:block;margin-top:9px}
.site-search{display:flex;width:330px}
.site-search input{border:1px solid var(--line);padding:10px;width:100%;min-width:0}
.site-search button,.site-button,.feedback-form button{border:0;background:var(--accent);color:white;padding:10px 18px}
.site-navigation{background:#e3eef1;border-bottom:1px solid var(--line)}
.site-navigation .site-wrap{display:flex;gap:34px;justify-content:center;padding-top:15px;padding-bottom:15px;font-weight:600}
.site-navigation a{text-decoration:none;color:#304b57}
.site-navigation a:hover{text-decoration:underline}
.mobile-menu{display:none}
h1,h2,h3{line-height:1.25;font-weight:600}
h1{font-size:38px;margin:0 0 20px}
h2{font-size:29px;margin:0 0 24px}
h3{font-size:23px;margin:14px 0 10px}
.welcome{padding:38px 0 32px}
.welcome p{max-width:850px;margin:0;color:#5f727b}
.welcome a,.reading a{color:var(--accent)}
.home-feature{margin:0 0 40px;display:grid;grid-template-columns:1.2fr 1fr;background:white;border:1px solid var(--line);min-height:290px}
.home-feature>img{width:100%;height:100%;max-height:380px;object-fit:cover}
.feature-text{padding:32px;align-self:center}
.eyebrow{font-weight:600;font-size:12px;color:var(--accent);text-transform:uppercase;letter-spacing:1.5px}
.feature-text h2{font-size:31px;margin:14px 0 20px}
.feature-text p{font-size:15px;color:#5f727b}
.read-link{display:inline-block;border-bottom:2px solid var(--accent);font-size:14px;padding-bottom:4px;text-decoration:none}
.section-title{margin:30px 0 24px}
.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.material{background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden;display:block;text-decoration:none;min-width:0}
.material>img{display:block;width:100%;height:205px;object-fit:cover}
.card-text{padding:20px}
.material h3{margin:0;font-size:23px}
.material:hover h3{text-decoration:underline}
.material p{font-size:14px;line-height:1.65;color:#5f727b;margin-bottom:0}
.popular-section{padding:8px 28px 30px;background:#e3eef1;margin:40px 0 45px;border-top:3px solid var(--accent)}
.popular-section .material h3{font-size:21px}
.site-footer{background:#a5c1c9;color:#243f49;padding:38px 0;font-size:14px;margin-top:36px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:45px}
.site-footer .site-brand strong{font-size:26px}
.site-footer .brand-icon{width:48px;height:48px}
.site-footer .site-brand small{display:none}
.site-footer p{font-size:13px;max-width:360px}
.site-footer h2{font-size:20px;margin:0 0 18px}
.site-footer nav a{display:block;margin:9px 0;text-decoration:none}
.site-footer nav a:hover{text-decoration:underline}
.site-footer small{font-size:12px}
.reading{max-width:830px;padding:32px 24px;margin:auto}
.reading h1{overflow-wrap:anywhere}
.breadcrumbs{font-size:13px;margin-bottom:24px}
.breadcrumbs a{color:#5f727b}
.article-meta{font-size:13px;color:#5f727b;margin-bottom:22px}
.medical-notice,.editorial,.summary{background:#e3eef1;border-left:3px solid var(--accent);padding:18px 22px;font-size:14px;margin:24px 0}
.editorial p{margin:8px 0 0}
.post-content{font-size:17px;line-height:1.8;overflow-wrap:anywhere;display:flow-root}
.post-content p{text-align:left!important;margin:0 0 22px}
.post-content h2{font-size:28px;margin:30px 0 20px;clear:both}
.post-content h3{font-size:23px;margin:24px 0 16px;clear:both}
.post-content ul,.post-content ol{padding-left:26px}
.post-content li{margin:10px 0}
.post-content img{height:auto!important;max-width:100%!important}
.post-content figure{max-width:100%;margin:24px auto}
.post-content figcaption{font-size:13px;color:#5f727b}
.post-content blockquote{clear:both;margin:28px 0;padding:20px 24px;background:#e3eef1;border:1px solid var(--line);border-left:4px solid var(--accent);font-style:normal}
.post-content blockquote p:last-child{margin-bottom:0}
.toc{padding:20px 24px;background:white;border:1px solid var(--line);border-radius:6px;margin:24px 0;font-size:15px}
.toc h2{font-size:18px;margin:0 0 12px}
.toc ol{margin:0}
.toc li{margin:8px 0}
.toc .level-3{margin-left:18px}
.post-content table{border-collapse:collapse;min-width:550px;font-size:14px;width:100%}
.post-content th,.post-content td{border:1px solid #b8cdd5;padding:10px;text-align:left}
.table-scroll{max-width:100%;overflow-x:auto;margin:24px 0;clear:both}
.post-content iframe,.post-content video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;margin:24px 0}
.post-content .arve-wrapper{max-width:100%}
.post-content .article-image-link{display:block;float:none!important;clear:both;margin:24px auto;max-width:100%;text-align:center;width:fit-content}
.post-content img.article-image-block{display:block;float:none!important;clear:both;max-width:100%!important;height:auto;margin:24px auto!important}
.post-content .article-image-link img.article-image-block{margin:0 auto!important}
.post-content .article-image-small-link{display:block;float:right;clear:none;max-width:42%;margin:5px 0 18px 24px}
.post-content img.article-image-small{display:block;float:right!important;clear:none;max-width:42%;height:auto;margin:5px 0 18px 24px!important}
.post-content .article-image-small-link img.article-image-small{float:none!important;max-width:100%;margin:0!important}
.post-content .article-image-first-link{float:left;margin:5px 24px 18px 0}
.post-content img.article-image-first{float:left!important;margin:5px 24px 18px 0!important}
.post-content .article-image-first-link img.article-image-first{float:none!important;margin:0!important}
.generated-article-cover{margin:0 0 28px}
.article-rating{padding:30px 15px;margin-top:30px;border-top:1px solid var(--line);text-align:center;clear:both}
.article-rating h2{font-size:24px}
.article-rating .wp-postratings-vote{display:inline-flex;justify-content:center;gap:5px}
.article-rating .ratings__title{display:none}
.article-rating .ratings__images_vote,.article-rating .ratings__result{display:block;text-align:center;min-height:32px}
.article-rating img{display:inline-block!important;width:26px!important;height:26px!important;max-width:none!important}
.article-rating .post-ratings-text{display:block;min-height:28px}
.related{margin:10px auto 42px}
.related h3{font-size:21px}
.listing{padding-top:28px;padding-bottom:15px}
.listing .section-title{margin-top:0}
.pagination{margin:30px 0;text-align:center}
.page-numbers{display:inline-block;min-width:35px;padding:6px 12px;background:white;border:1px solid var(--line);margin:3px;text-decoration:none}
.page-numbers.current{color:white;background:var(--accent)}
.feedback-form{display:grid;gap:18px;background:white;padding:24px;border:1px solid var(--line);border-radius:5px}
.feedback-form label{display:grid;gap:7px;font-size:15px}
.feedback-form input,.feedback-form textarea{padding:11px;border:1px solid #b8cdd5;width:100%;max-width:100%}
.feedback-form .consent{display:flex;align-items:flex-start;gap:9px;font-size:13px}
.feedback-form .consent input{width:auto;flex:none;margin-top:4px}
.feedback-form .hp{position:absolute;left:-9999px}
.feedback-form button{justify-self:start}
.screen-reader-text,.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:15px;top:15px;background:white;padding:10px;z-index:99}
dialog{border:0;padding:12px;border-radius:5px;max-width:94vw;max-height:94vh}
dialog::backdrop{background:#12232cd9}
dialog img{display:block;max-width:90vw;max-height:80vh;object-fit:contain}
dialog button{display:block;margin:0 0 10px auto;background:var(--accent);border:0;color:white;padding:8px 16px}
.post-content:after{content:'';display:block;clear:both}

@media(max-width:800px){.site-brand strong{font-size:28px}
.site-brand small{font-size:11px}
.site-navigation .site-wrap{gap:20px}
.materials{gap:18px}
.material h3{font-size:21px}
.card-text{padding:17px}
.site-footer .site-brand strong{font-size:23px}
.footer-grid{gap:24px}
.site-head .site-wrap{gap:20px}
.site-search{width:280px}
}

@media(max-width:650px){.site-wrap{padding:0 18px}
.site-head .site-wrap{display:block;padding-top:24px;padding-bottom:22px;min-height:0}
.site-brand strong{font-size:29px}
.brand-icon{width:48px;height:48px}
.site-search{width:100%;margin-top:22px}
.mobile-menu{display:block;background:#e3eef1;padding:10px 18px;border-bottom:1px solid var(--line)}
.mobile-menu button{border:1px solid #a5c1c9;background:white;color:var(--ink);padding:8px 12px;width:100%;text-align:left}
.site-navigation{display:none}
.site-navigation.open{display:block}
.site-navigation .site-wrap{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:8px 18px}
.site-navigation a{display:block;padding:10px}
.welcome{padding:26px 0}
.welcome h1{font-size:30px}
h1{font-size:30px}
h2{font-size:27px}
.home-feature{grid-template-columns:1fr}
.home-feature>img{height:220px}
.feature-text{padding:24px}
.feature-text h2{font-size:27px}
.materials,.footer-grid{grid-template-columns:1fr}
.material>img{height:220px}
.material h3{font-size:24px}
.popular-section{padding:8px 18px 24px}
.site-footer{margin-top:25px;padding:30px 0}
.footer-grid{gap:26px}
.reading{padding:25px 18px}
.post-content{font-size:17px}
.post-content .article-image-small-link,.post-content .article-image-first-link,.post-content img.article-image-small,.post-content img.article-image-first{float:none!important;max-width:100%;width:fit-content;margin:20px auto!important}
.post-content .article-image-small-link img.article-image-small{margin:0!important}
.toc{padding:18px}
.related h2{font-size:26px}
.feedback-form{padding:19px}
.article-rating .wp-postratings-vote{gap:4px}
.home-feature .eyebrow{font-size:11px}
}

/* Let the feature photograph fill its full column when the text is longer. */
.home-feature{overflow:hidden}
.home-feature>img{max-height:none;min-height:100%;object-fit:cover}

.image-zoom{cursor:zoom-in}


/* Keep long anatomical captions below the image, across the reading column. */
.post-content .wp-caption{display:flow-root;float:none!important;clear:both;width:100%!important;max-width:100%;margin:28px auto;padding:18px;background:#fff;border:1px solid var(--line);border-radius:5px}

.post-content .wp-caption a{display:block;float:none!important;max-width:100%;width:fit-content;margin:0 auto}

.post-content .wp-caption img{display:block;float:none!important;max-width:100%!important;width:auto;margin:0 auto!important}

.post-content .wp-caption .wp-caption-text{display:block;clear:both;text-align:left!important;font-size:13px;line-height:1.65;margin:16px 0 0;color:#5f727b}
