/*
Theme Name: Rinit03 — Lorinol
Template: avada
Version: 1.0.0
Description: Approved Lorinol presentation adapted to rinit03.ru, preserving existing content and service functions.
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#eff1f4;color:#333;font:18px/1.65 'Roboto Condensed',Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}a{color:#b56431;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}.site-width{width:calc(100% - 40px);max-width:1200px;margin:0 auto}.phone-banner{background:#fff}.phone-banner .site-width{text-align:right}.phone-banner img{display:inline-block;width:310px;max-height:62px;object-fit:contain;vertical-align:middle}.site-header{background:#22384d url('images/header_bg.jpg') no-repeat top center;background-size:cover;color:#fff;text-align:center}.topbar{display:flex;align-items:center;gap:34px;min-height:95px;border-bottom:1px solid #ffffff45;padding:10px 0}.logo{font-size:28px;color:#fff;white-space:nowrap;font-weight:400}.topnav{display:flex;gap:22px;margin-left:auto;align-items:center}.topnav a,.menu-toggle{color:#fff;font-size:14px;text-transform:uppercase}.menu-toggle{background:transparent;border:0;padding:12px 0}.search-form{display:flex;align-items:stretch;max-width:480px;gap:0}.search-form label{flex:1;min-width:0}.search-form input{width:100%;min-width:0;border:1px solid #d9dfe4;border-radius:0;background:#fff;padding:10px 12px;color:#333}.search-form button,.rinit-contact button{background:#d88a50;color:white;border:1px solid #d88a50;padding:10px 18px}.topbar .search-form{width:300px;font-size:15px}.hero-title{font-size:41px;line-height:1.25;font-weight:300;text-transform:uppercase;margin:60px auto 35px;padding:0 20px}.category-menu{display:none;padding:20px 0 35px}.category-menu.is-open{display:block}.category-menu ul{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 35px;list-style:none;padding:0;margin:0}.category-menu li{max-width:none}.category-menu a{white-space:nowrap}.category-menu a{color:#fff;text-transform:uppercase;font-size:15px}.hero{min-height:335px}.main-panel{background:#fff;padding:36px 30px;flex:1}.section-title{margin:0 0 30px;padding:20px 0 12px;border-top:4px solid #e49459;font-size:26px;font-weight:400;text-transform:uppercase;line-height:1.3}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card{background:#f5f6f8;min-width:0}.card a{display:block;color:#333}.card img{display:block;width:100%;aspect-ratio:340/175;object-fit:cover}.card-text{padding:16px 20px 20px}.card h2{font-size:21px;font-weight:400;line-height:1.35;margin:6px 0 0}.card-category{font-size:13px;text-transform:uppercase;color:#8d653e}.popular,.related{margin-top:48px}.all-posts{display:block;width:fit-content;margin:36px auto 4px;border:1px solid #d88a50;padding:10px 24px}.breadcrumbs{color:#717984;font-size:14px;line-height:1.5;margin-bottom:25px}.breadcrumbs a{color:#717984}.article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(220px,1fr);gap:55px}.entry-title{font-size:34px;font-weight:400;text-transform:uppercase;line-height:1.25;margin:0 0 35px;padding-bottom:20px;border-bottom:3px solid #e49459}.post-content{overflow-wrap:anywhere}.post-content p{margin:0 0 22px}.post-content h2{font-size:27px;line-height:1.3;margin:32px 0 18px;font-weight:500}.post-content h3{font-size:23px;line-height:1.4;margin:28px 0 15px}.post-content ul,.post-content ol{padding-left:28px;margin:20px 0}.post-content ul{list-style:disc}.post-content ol{list-style:decimal}.post-content li{margin:9px 0}.post-content blockquote{margin:24px 0;padding:22px 26px;background:#f5f6f8;border-left:4px solid #d88a50}.post-content a{text-decoration:underline;color:#a35526}.post-content img{height:auto;max-width:100%}.post-content .wp-caption{max-width:100%!important}.post-content .wp-caption-text{font-size:14px;color:#69747b;line-height:1.5;margin-top:8px}.post-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.post-content td,.post-content th{padding:10px;border:1px solid #dde1e5}.embed-responsive{position:relative;aspect-ratio:16/9}.embed-responsive iframe{position:absolute;width:100%;height:100%;left:0;top:0;border:0}.sidebar ul{list-style:none;margin:0;padding:0}.sidebar li{border-bottom:1px solid #e2e6ea;padding:12px 0}.sidebar a{color:#333}.sidebar .section-title{font-size:22px}.article-bottom{margin-top:35px;padding-top:15px;border-top:1px solid #ddd;color:#6b737a;font-size:15px}.service .post{max-width:850px;margin:auto}.service .breadcrumbs{max-width:850px;margin:0 auto 25px}.rinit-contact{max-width:640px;position:relative}.rinit-contact label{display:block;margin-bottom:20px}.rinit-contact input,.rinit-contact textarea{display:block;width:100%;border:1px solid #bbc5cc;padding:12px}.rinit-contact .rinit-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.pagination{margin:35px 0;text-align:center}.pagination .nav-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.page-numbers{padding:8px 16px;border:1px solid #d6dce2}.page-numbers.current{background:#d88a50;color:#fff}.site-footer{background:#243449 url('images/footer_bg.png');color:#d8e0e8;padding:36px 0 20px;margin-top:auto;font-size:16px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:45px}.site-footer h2{font-weight:400;font-size:19px;margin:0 0 15px;text-transform:uppercase}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.site-footer a{color:#e3e8ee}.footer-bottom{border-top:1px solid #ffffff30;margin-top:28px;padding-top:18px;display:flex;gap:30px;justify-content:space-between;font-size:14px}.footer-bottom p{margin:0}.medical-note{max-width:660px;color:#fff}.screen-reader-text,.skip-link:not(:focus){position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.skip-link:focus{position:fixed;top:0;left:0;z-index:100000;padding:12px;background:#fff;color:#333}#ez-toc-container{width:100%;padding:20px;background:#f5f6f8;border:1px solid #dae0e5;box-shadow:none;margin:24px 0}.aligncenter{display:block;margin:20px auto}.alignleft{float:left;margin:0 20px 15px 0}.alignright{float:right;margin:0 0 15px 20px}.post-content:after{content:'';display:table;clear:both}:focus-visible{outline:3px solid #d88a50;outline-offset:3px}
@media(max-width:900px){.topbar{gap:20px;flex-wrap:wrap;justify-content:center}.topnav{margin-left:0}.topbar .search-form{width:260px}.hero-title{font-size:34px}.article-layout{grid-template-columns:minmax(0,1fr);gap:35px}.sidebar{display:none}.cards{gap:18px}.card-text{padding:14px}.card h2{font-size:19px}.footer-grid{gap:25px}}
@media(max-width:600px){body{font-size:17px}.site-width{width:calc(100% - 28px)}.phone-banner img{width:280px;max-height:55px}.topbar{gap:12px;padding:15px 0}.logo{font-size:26px}.topnav{margin-left:auto;gap:15px}.topbar .search-form{width:100%;max-width:none}.hero{min-height:0}.hero-title{font-size:29px;margin:35px auto 20px;padding:0 15px}.category-menu{padding:18px 0 26px}.category-menu ul{gap:12px 20px}.category-menu li{max-width:none;width:calc(50% - 12px)}.main-panel{padding:25px 18px}.cards{grid-template-columns:1fr;gap:24px}.card h2{font-size:22px}.section-title{font-size:24px;margin-bottom:24px}.entry-title{font-size:28px}.post-content h2{font-size:25px}.footer-grid{grid-template-columns:1fr;gap:25px}.footer-bottom{display:block}.footer-bottom p{margin-bottom:15px}.alignleft,.alignright{float:none;display:block;margin:20px auto}.popular,.related{margin-top:36px}}

.site-footer .medical-note{font-size:14px;line-height:1.5;margin:16px 0 12px}.footer-copyright{font-size:14px;margin:0}

.footer-grid{grid-template-columns:1.15fr 1.55fr .7fr}.footer-categories ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px}.footer-categories li{margin:0}@media(max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.footer-grid{grid-template-columns:1fr}.footer-categories ul{column-gap:16px}}

/* Selected C3 logo, with a high-resolution transparent symbol. */
.logo{display:inline-flex;align-items:center;gap:10px;line-height:1.2}.logo img{display:block;width:40px;height:40px;object-fit:contain;flex:none}@media(max-width:600px){.logo{gap:8px}.logo img{width:34px;height:34px}}
/* Keep the expanded topic menu in one row on wide screens. */
@media(min-width:1000px){.category-menu ul{column-gap:20px}}
/* Article sidebar: five popular and five recent posts, using existing view counts. */
.sidebar-post-block+.sidebar-post-block{margin-top:32px}.sidebar-post-block .section-title{margin-bottom:18px}.sidebar .sidebar-posts{display:grid;gap:12px}.sidebar .sidebar-posts li{padding:0;border:0;background:#f5f6f8}.sidebar-post-link{display:flex;align-items:center;gap:12px;padding:10px;color:#333}.sidebar-post-link:hover{background:#edf0f4}.sidebar .sidebar-post-thumbnail{width:88px;height:66px;flex:0 0 88px;object-fit:cover}.sidebar-post-title{font-size:17px;line-height:1.35;overflow-wrap:anywhere}@media(max-width:900px){.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sidebar-post-block+.sidebar-post-block{margin-top:0}}@media(max-width:600px){.sidebar{grid-template-columns:1fr}.sidebar-post-title{font-size:18px}}
/* Article rating and editorial identity, preserving WP-PostRatings controls. */
.article-bottom{border:0;padding:0;margin-top:40px;color:#333}.article-rating{padding:26px 20px;text-align:center;background:#f5f6f8;border-top:3px solid #e49459}.article-rating h2{margin:0 0 6px;font-size:24px;line-height:1.3;font-weight:400}.article-rating-hint{margin:0 0 15px;color:#69747b;font-size:16px}.article-rating .post-ratings{float:none;width:100%;margin:0;text-align:center;font-size:15px;line-height:1.8;opacity:1}.article-rating .post-ratings img{display:inline-block;width:28px;height:28px;max-width:none;margin:3px 4px 8px;vertical-align:middle}.article-rating .post-ratings-loading img{width:16px;height:16px}.editorial-card{display:flex;align-items:center;gap:20px;padding:24px;margin-top:18px;border:1px solid #dce2e8;background:#fff}.editorial-symbol{width:64px;height:64px;flex:0 0 64px;object-fit:contain}.editorial-card h2{font-size:21px;font-weight:500;line-height:1.3;margin:0 0 7px;color:#243449}.editorial-card p{font-size:16px;line-height:1.5;color:#69747b;margin:0 0 10px}.editorial-card a{font-size:16px;text-decoration:underline;text-underline-offset:3px}@media(max-width:600px){.article-rating{padding:24px 14px}.editorial-card{align-items:flex-start;gap:14px;padding:20px 16px}.editorial-symbol{width:48px;height:48px;flex-basis:48px}.editorial-card h2{font-size:20px}}

/* High-resolution generated star; original plugin images retain interaction. */
.article-rating .rating-star-art{display:inline-block;position:relative;width:28px;height:28px;margin:3px 4px 8px;vertical-align:middle;isolation:isolate}
.article-rating .rating-star-art img{position:relative;z-index:2;display:block;width:28px;height:28px;margin:0;opacity:0}
.rating-star-art::before,.rating-star-art::after{content:"";position:absolute;inset:0;background:url('images/ratings/star-gold.png') center/contain no-repeat;pointer-events:none}
.rating-star-art:has(img[src*="rating_off."])::before,.rating-star-art:has(img[src*="rating_half."])::before{filter:grayscale(1);opacity:.48}
.rating-star-art::after{display:none}
.rating-star-art:has(img[src*="rating_half."])::after{display:block;clip-path:inset(0 50% 0 0)}

/* Calm article navigation, distinct from the condensed body typography. */
.post-content #ez-toc-container{background:#f8f9fb;border:1px solid #e1e6eb;border-left:3px solid #d88a50;border-radius:0;padding:22px 24px;margin:28px 0 32px;font-family:Arial,sans-serif;color:#344454}
.post-content #ez-toc-container .ez-toc-title{font-family:inherit;font-size:19px!important;line-height:1.4;font-weight:500!important;margin:0 0 14px!important;color:#243449}
.post-content #ez-toc-container ul.ez-toc-list{margin:0!important;padding:0!important}
.post-content #ez-toc-container ul.ez-toc-list li{margin:0 0 10px!important;padding:0;line-height:1.5}
.post-content #ez-toc-container ul.ez-toc-list li:last-child{margin-bottom:0!important}
.post-content #ez-toc-container a.ez-toc-link{font-family:inherit;font-size:16px!important;font-weight:400!important;line-height:1.5;color:#40566b;text-decoration:none}
.post-content #ez-toc-container a.ez-toc-link::before{font-weight:400!important;color:#8a949f;padding-right:7px}
.post-content #ez-toc-container a.ez-toc-link:hover{color:#a35526;text-decoration:underline;text-underline-offset:3px}
.post-content #ez-toc-container ul.ez-toc-list ul{margin-top:10px!important;margin-left:20px!important}
@media(max-width:600px){.post-content #ez-toc-container{padding:20px 18px}.post-content #ez-toc-container a.ez-toc-link{font-size:15px!important}}

/* Final visitor feedback: no redundant label, no hover-induced layout shift. */
.topbar .search-form{margin-left:auto}
.site-header .logo:hover,.site-footer .logo:hover{color:#fff;text-decoration:none;background:transparent;opacity:1;filter:none}
.article-rating .post-ratings-text{display:none!important}
