@import "reset-settings.css" all;

.skladchik-img img,
.skladchik1-img img,
.skladchik3-item img,
.skladchik4-img img {
  width: 100%;
  min-height: 100%;
}




button,
.vybirashka span,
.overlay-close {
  transition: all .5s;
}
a,
.show-shtab-kvartira {
}
.g-info-r i,
.show-shtab-kvartira i {
  margin-right: 5px;
  font-weight: normal;
  font-size: 14px;
}


tr:nth-child(even) {background-color: #0297dc;}


.tetri {
    background: #fff;
         color: #a62024;

    border-bottom: 2px solid #a62024;
}

.nacrisferi {
    background: #f6f6f6;
}

/* რამე
----------------------------------------------- */
.sruladnaxva{
        color: #a62024;

    float: right;
    font-size:21px;
    
}


.sruladnaxva:hover{
  color: #333;

           background-color: #f6f6f6;
    text-decoration: none;
    }



.ya-skladchik {
  height: auto;
  width: 100%;
  min-width: 320px;
  position: relative;
  padding: 0px 0 0 0;
}
.a-znachit {
  width: 100%;
  min-width: 320px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;


}
.ya-ekonomniy {
  height: 65px;
padding: 0 15px 0 222px;
  position: relative;
}
.moya-prelest {
  padding-right: 280px;
  position: relative;
  z-index: 100;
}
.moya-prelest-right {
      float: right;
    width: 279px;
    margin-right: -280px;
    margin-top: 10px;
}
.moya-prelest-left-middle {
  float: left;
  width: 100%;
  padding-left: 230px;
  position: relative;
  z-index: 100;
}
.moya-prelest-left {
    float: left;
    width: 229px;
    margin-left: -230px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.moya-prelest-middle {
float: right;
    width: 100%;
    min-height: 800px;
    padding-top: 10px;
    position: relative;
}
.moya-prelest:before {
    content: "";
    position: absolute;
    left: 230px;
    right: 280px;
    top: 10px;
    bottom: 10px;
    z-index: 50;
}
.dno {
     padding:0px 0px 10px 0px;
    background-color: #fff;
    text-align: center;
    color: #909090;
    border-top: 1px solid #b9b9b9;
    position: relative;
    z-index: 50;

}

.developer{
      margin-top: 5px;
    padding: 10px;
}


.vitrina-rkl {
 margin-bottom: 10px;
    border: 1px solid #b9b9b9;
    overflow: hidden;
        background: #fff;
        text-align: center;
}
.bottom-rkl {
  margin-bottom: 10px;
  overflow: hidden;
}
.grid-thumb .bottom-rkl {
  margin: 0 20px 40px 20px;
}
/* ya-ekonomniy
----------------------------------------------- */
.logotip {
  height: 65px;
  width: 230px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../images/logotip.png) left center no-repeat;
  overflow: hidden;
  text-indent: -1000px;
  background-size: contain;
}
.logotip:hover {
  opacity: 0.8;
}
.ya-ekonomniy-inner {
  position: relative;
  padding-top: 14px;
}
.line-menu {
  height: 46px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    background-color: #ffffff;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.05), inset 0 -2px 0 rgba(204,204,204,0.75);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.05), inset 0 -2px 0 rgba(204,204,204,0.75);
    box-shadow: 0 0 5px rgba(0,0,0,0.05), inset 0 -2px 0 rgba(204,204,204,0.75);
    background-image: -moz-linear-gradient(bottom,#f7f7f7 0%,#fff 99.46%,#fff 100%);
    background-image: -o-linear-gradient(bottom,#f7f7f7 0%,#fff 99.46%,#fff 100%);
    background-image: -webkit-linear-gradient(bottom,#f7f7f7 0%,#fff 99.46%,#fff 100%);
    background-image: linear-gradient(bottom,#f7f7f7 0%,#fff 99.46%,#fff 100%);
    position: relative;
    z-index: 4;
    float: right;
    width:99%;
}
.line-menu li {
  float: left;
  border-right: 1px solid #e3e3e3;
}
.line-menu a {
    display: block;
    padding: 0 12px;
    line-height: 44px;
    font-size: 15px;
    color: #333;
font-weight: bold;
    font-family:'nino';
}
.line-menu a:hover{

    color: #483333;
    background: #e7e7e7;
    text-decoration: none;
    
    
  }





.show-shtab-kvartira:hover {
text-decoration: none;
  color: #008ACE;
}
.show-shtab-kvartira {
    display: inline-block;
    line-height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 15px;
    cursor: pointer;
}
.show-shtab-kvartira i {
  font-size: 18px;
}
/* SEARCH
----------------------------------------------- */
.ya-ishu {
  width: 240px;
  position: absolute;
  right: 0;
  top: 17px;
  z-index: 100;
}

.i-nahozhu {
  width: 100%;
  position: relative;
        padding: 0px 0px 0px 3px;
}
.i-nahozhu input,
.i-nahozhu input:focus {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 30px 0 10px;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  font-family: 'nino';  
        font-weight: bold;
    font-size: 18px;
  border: 0;
  box-shadow: inset 0 0 0 1px #e3e3e3;
}
.i-nahozhu button {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 5px;
  padding: 0;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
/* GRID
----------------------------------------------- */
.zagolovok {
             color: #333;
    margin-bottom: 10px;
    padding: 11px;
    font-size: 14px;
    font-weight: bold;
    background: #fff;
    border: 1px solid #c3c3c3;
    border-radius: 4px;
}
.vybirashka {
     display: inline-block;
    position: absolute;
    right: 21px;
    top: 15px;
    font-size: 14px;
        font-weight: bold;
    line-height: 28px;
    color: #333;
}
.vybirashka span {
  display: block;
  width: 30px;
  height: 30px;
  float: right;
  margin-left: 10px;
  border-radius: 2px;
  color: #a62024;
  text-align: center;
  line-height: 30px;
  font-size: 18px;
  cursor: pointer;
        border: 1px solid #e3e3e3;
}
.vybirashka span:hover,
.vybirashka span.current {
  box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.08);
        border: 1px solid #e3e3e3;
  color: #000000;
}
.vybirashka:before {
  content: attr(data-label);
  display: inline-block;
}
/* skladchik
----------------------------------------------- */
.skladchik-item {
    display: block;
    padding: 10px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #e3e3e3;
        border: 1px solid #b9b9b9;
    border-radius: 4px;
    background: #fff;
}
.skladchik-img {
  display: block;
  height: 350px;
  overflow: hidden;
}
.skladchik-img:hover {

}

.skladchik-title {
    color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  display: block;
  margin-top: 0;
  margin-bottom: 20px;
}
.skladchik-title:hover {
     color: #a62024;
  text-decoration: underline;
}

.skladchik-title:visited {
  color: #444;
}

.skladchik-info {
  line-height: 20px;
  font-size: 13px;
  color: #5c5c5c;
}
.skladchik-info > span {
  display: inline-block;
  padding-right: 6px;
  margin-right: 6px;
  border-right: 1px solid #e3e3e3;
  float: left;
        font-size: 15px;
}
.skladchik-info > span:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}
.skladchik-text {
  color: #5c5c5c;
  margin: 20px 0;
}
.skladchik-info > i {
  margin-right: 10px;
  font-size: 18px;
  color: #333333;
  position: relative;
  top: 1px;
  float: left;
}
.grid-thumb {
   margin: 0 -22px;
}
.grid-thumb .skladchik-info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 25px;
}
.grid-thumb .skladchik-info span:first-child {
  display: none;
}
.grid-thumb .skladchik-item {
width: 45.9%;
    margin: 0px -1.5% 10px 3.2%;
    float: left;
    padding: 0px 0px 0px 0px;
    position: relative;
    border: 1px solid #b9b9b9;
        border-radius: 4px;
    background:#fff;

}


.grid-thumb .skladchik-item:hover {

	box-shadow:0 0 7px rgba(0,0,0,.33);

}





.grid-thumb .skladchik-img {
            position: relative;

  height: 180px;
  width: 100%;
  left: 0;
  top: 0;
}
.grid-thumb .skladchik-title {
    font-size: 15px;
    line-height: 16px;
    height: 37px;
    overflow: hidden;
    font-weight: bold;
    margin: 3px;
    padding: 8px 2px 0px 4px;
    font-family: 'nino';
}


.grid-thumb .skladchik-title:hover{
     color: #a62024;
  }
  


.grid-thumb .skladchik-text {
  margin: 0;
  height: 76px;
  overflow: hidden;
}
/* LEFT vitrina
----------------------------------------------- */
.vitrina-item-left {
    position: relative;
    border: 1px solid #c3c3c3;
    border-radius: 4px;
    background: #fff;
    padding-bottom: 10px;
    margin: 0px 10px 10px 10px;
}


.vitrina-item-left:before, .vitrina-item-left:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.vitrina-item-left:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}


.vitrina-item-left .vitrina-title {
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #a62024;
   
}
.vitrina-item-left .vitrina-moya-prelest {
    color: #909090;
    padding:0px;
    font-size: 13px;
    background: #fff;
}
}
.main-menu {
  padding: 10px 0;
}
.main-menu li:first-child {
    padding:10px ;
    text-align: center;
    font-size: 16px;
    color: #a62024;
        font-weight: bold;
font-family:'nino';
    
    background:#fff url(../images/libraicon.png);
    background-position: left;
  background-size: 39px 32px;
    background-repeat: no-repeat;
    margin-left: 10px;

}


.contacticon{
margin: 5px;
    vertical-align: middle;
    width: 20px;

}


.main-menu active {
    
    
     color: #a62024;
  background-color: #f6f6f6;
     text-decoration: none;
    
    
}
.main-menu a {
  color: #333;
     font-family: 'arail';
text-decoration: none;
font-weight: bold;
    padding: 7px 12px;
    display: inline-block;
    width: 100%;
        font-size: 12px;
    background: #ffffff;
    border-top: 1px solid #E0E0E0;
}
.main-menu a:hover {
 color: #a62024;
  background-color: #f6f6f6;
     text-decoration: none;
}

.main-menu a:visited {
  color: #444;
     text-decoration: none;
}


.main-menu a:active {
  color: #333;
  background-color: #f6f6f6;
}

/* RIGHT vitrina
----------------------------------------------- */
.vitrina-item{
     position: relative;
   margin: 0px 10px 10px 10px;
       border: 1px solid #c3c3c3;
border-radius: 4px;
        background: #fff;
padding-bottom:10px;
}


.vitrina-item:before, .vitrina-item:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 16px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.vitrina-item:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}






.vitrina-title {
    font-family: 'nino';
    padding: 10px;
    text-align:center;
    font-size: 16px;
    color: #a62024;
    background-color: #ffffff;
        font-weight: bold;

}
.vitrina-moya-prelest .skladchik1-item:last-child,
.vitrina-moya-prelest .skladchik2-item:last-child,
.vitrina-moya-prelest .skladchik4-item:last-child {
  margin-bottom: 0 !important;
}
.skladchik1-img img,
.skladchik3-item img {
  display: block;
  width: 150%;
  max-width: 150%;
  margin-left: -25%;
}
.skladchik1-item:nth-child(even) {
   display: block;
    padding: 0px 0px 0px 50px;
    margin: 10px;
   border: 1px solid #e0e0e0;
    border-radius: 1px;
background-color: #f2f2f2;
}


.skladchik1-item{
   display: block;
    padding: 0px 0px 0px 50px;
    margin: 10px;
   border: 1px solid #e0e0e0;
    border-radius: 1px;
background-color: #fff;
}

.skladchik1-item:hover {
border: 1px solid #d6d4d4;

}
.skladchik1-img {
  float: left;
  width: 50px;
  height: 50px;
  margin-left: -50px;
  overflow: hidden;
}
.skladchik1-title {
  float: right;
  width: 100%;
  font-size: 11px;  
    padding: 5px 0px 0px 8px;
    font-weight: bold;
      font-family: 'arail';
}



.skladchik1-title:hover {
color:#a62024;
}
.skladchik2-item {
  margin-bottom: 15px;
  color: #5c5c5c;
  font-size: 13px;
}
.skladchik2-item a {
  margin-right: 10px;
  font-size: 14px;
  display: block;
}
.skladchik3-item {
  display: block;
  height: 78px;
  width: 31.33%;
  margin: 0 1% 5px 1%;
  float: left;
  overflow: hidden;
}
.skladchik3 {
  margin: 0 -5px;
}
.skladchik3-item:hover {
  opacity: 0.7;
}
.skladchik4-item {
       display: block;
    margin: 10px;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 1px;
    background: #fff;
}

.skladchik4-item:hover{
	box-shadow:0 0 2px rgba(0,0,0,.33);
}
.skladchik4-img {
  height: 140px;
  overflow: hidden;
}
.skladchik4-title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 12px;}
/* skladchikS FIXES
----------------------------------------------- */
.moya-prelest-left .skladchik4-img {
  height: 110px;
}
.moya-prelest-left .skladchik3-item {
  height: 56px;
}
.clr + .skladchik1-item {
  margin-top: 15px;
}
.skladchik-fix {
  width: 20%;
  margin: 0 2.5% 40px 2.5%;
  height: 129px;
}
/* FOOTER
----------------------------------------------- */
.dnishe-menu {
    line-height: 40px;
    margin-bottom: 10px;

        border-bottom: 1px solid #e3e3e3;
    background: #fafafa;
}
.dnishe-menu li {
  display: inline-block;
}
.dnishe-menu li a {
    display: block;
    padding: 0 15px;
    line-height: 44px;
    font-size: 14px;
    color: #5c5c5c;
    background: #fff;
}
.dnishe-menu li a:hover {
            background: #f6f6f6;
text-decoration: none;
  color: #008ACE;
}
.dnishe-menu li:last-child a {
  border-right: 0;
}
.counters li {
  display: inline-block;
  margin: 10px 7px 0 10px;
}
/* RATING V5
----------------------------------------------- */
.frate {display:inline-block; white-space:nowrap; height:30px; line-height:20px; position:relative;}
.rate-data {display:none;}
.rate-plus, .rate-minus {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    min-width: 40px;
    color: #555;
    background: #e6e6e6;
    padding: 4px;
}

.rate-plus:hover{
       background: #ccc;

}

.rate-minus:hover{
       background: #ccc;

}


.rate-minus {margin-left:5px;}
.frate img {margin-right:10px; display:inline-block; vertical-align:top;}
.rbar {height:3px; overflow:hidden; background-color:#cfcfcf; border-radius:1px; position:absolute; left:0; top:100%; width:100%;}
.rfill {width:50%; height:100%; position:absolute; left:0; top:0; background-color:#2692e6; transition:width 1s linear;}
/* FULL STORY
----------------------------------------------- */
.statya {
      position: relative;
    /* border: 1px solid #b9b9b9; */
    background: #ffffff;
    /* border-radius: 4px; */
    padding: 5px 10px 5px 10px;
    margin-bottom: 5px;
}
.statya h1 {
    font-family:'nino';
  color: #a62024 !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  display: block;
  margin-bottom: 0px;
  margin-top: 10px;
}
.statya .skladchik-info {
  margin-bottom: 7px;
  line-height: 18px;
}
.statya .skladchik-info > i {
     top: -4px;
}
.full-info {
  font-size: 14px;
  margin-top: 20px;
}
.full-info > div {
  display: inline-block;
  float: left;
  margin-right: 5px;
  height: 30px;
  line-height: 30px;
}
.full-info i {
  color: #2283c2;
  margin-right: 5px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  width: 30px;
  text-align: center;
  line-height: 28px;
}
.f-compl,
.f-edit {
  float: right !important;
  color: #444;
}
.full-info a {
  color: #444;
}
/* FULL STORY STATIC
----------------------------------------------- */
.full-text embed,
.full-text object,
.full-text video,
.full-text iframe,
.full-text frame {
  width: 100% !important;
}
.full-text {
  margin: 0 0 0px 0;
    line-height: 1.6em;
    font-size: 18px;
        font-family: Arial,Sylfaen,Helvetica,sans-serif,Icons;
    color: #383737;
}
.full-text img {
  margin: 0 10px 10px 0;
  max-width: 100%;
    font-size:18px;
    
}
.full-text a {
  text-decoration: underline;
}
.full-text a:hover {
  text-decoration: underline;
}
.full-text h2,
.full-text h3,
.full-text h4,
.full-text h5 {
  color: #007ac2;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.full-text h2 {
  font-size: 12px;
}
.full-text h3 {
  font-size: 20px;
}
.full-text h4 {
  font-size: 18px;
}
.full-text h5 {
  font-size: 18px;
}
.full-text p {
  margin-bottom: 0px;
}
.full-text ul,
.full-text ol,
.full-text h2,
.full-text h3,
.full-text h4,
.full-text h5 {
  margin: 0;
}
.full-text ul li {
  list-style: disc;
  margin-left: 40px;
}
.full-text ol {
  counter-reset: li;
  padding: 0;
  list-style: none;
  margin-left: 25px;
}
.full-text ol li {
  position: relative;
  margin: 0 0 5px 0;
  padding-left: 30px;
  min-height: 20px;
}
.full-text ol li:before {
  content: counter(li);
  counter-increment: li;
  font-size: 11px;
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  background: #0297dc;
  font-weight: bold;
  border-radius: 50%;
}
.full-text table {
  width: 100%;
  text-align: left;
}
.full-text table tr td {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 12px;
}
.full-text table tr:nth-child(1) {
  background-color: #0297dc !important;
  color: #FFF;
  font-size: 14px !important;
}
.full-text table tr:nth-child(2n+1) {
  background-color: #f9f9f9;
}
.full-text table img {
  display: block;
  margin: 0;
  border: 0;
  max-width: 350px;
}
.attach {
  line-height: 40px;
  background-color: #f5f5f5;
  padding: 0 15px 0 0;
  border-radius: 4px;
  margin: 10px 0;
  overflow: hidden;
}
.attach .download-link {
  color: #FFF !important;
  text-decoration: none !important;
  margin-right: 15px;
  float: left;
  display: inline-block;
  padding: 0 15px;
  background: #0297dc;
}
.attach-info {
  float: right;
}
.attach i {
  margin-right: 5px;
}
.dcont {
  border: 1px solid #e3e3e3;
  padding: 0 15px 15px 15px;
  margin: 20px 0;
  line-height: 20px;
}
.polltitle {
  display: block;
  padding: 5px 15px;
  margin: 0 -15px 15px -15px;
  font-size: 18px;
  background-color: #f5f5f5;
  line-height: normal;
}
.full-taglist {
  margin: 10px 0 0 0;
  font-size: 11px;
}
.full-taglist-t {
  margin-bottom: 5px;
  font-weight: bold;
}
.full-taglist a:hover {
  text-decoration: underline;
}
.full-nav {
  text-align: center;
  margin-bottom: 20px;
}
.full-nav a {
  color: #06c;
  text-decoration: none;
}
.full-nav a:hover {
  color: #06c;
  text-decoration: underline;
}
.full-nav-pages {
  margin: 0 15px;
}
.full-nav-pages span,
.full-nav-pages a {
  display: inline-block;
  margin: 0 5px;
}
/* RELATED
----------------------------------------------- */
.related {
  margin: 0px;
}
.rel-item {
    margin: 0px 0% 10px 1.5%;
    float: left;
    width: 31.4%;
}
.rel-item .skladchik4-title {
  font-size: 14px;
  line-height: 18px;
  height: 36px;
  overflow: hidden;
  color: #444;
  font-weight: 700;
}
.rel-item .skladchik4-img {
  height: 120px;
}
.rel-item:hover .skladchik4-title {
  text-decoration: underline;
}


/* shtab-kvartira
----------------------------------------------- */
.overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
}
.overlay-close {
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 34px !important;
  color: #fff;
  cursor: pointer;
}
.overlay-close:hover {
  transform: rotate(90deg) scale(1.1, 1.1);
}
.shtab-kvartira-box {
     width: 300px;
    position: absolute;
    left: 50%;
    top: 20%;
    margin-left: -160px;
    padding: 10px;
    color: #000;
    background: #f1f1f1;
}
.shtab-kvartira-title {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.shtab-kvartira-input {
  margin-bottom: 20px;
}
.shtab-kvartira-input input,
.shtab-kvartira-input input:focus {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  line-height: 40px;
  background-color: #fff;
  border-radius: 3px;
    border: 1px solid #dddddd;
    box-shadow: none;
}
.shtab-kvartira-input input:focus {
  border: 1px solid #4272d7;
}
.shtab-kvartira-button button {
  display: block;
  text-align: center;
  font-size: 18px;
  width: 100%;
  height: 40px;
  line-height: 40px;
}
.shtab-kvartira-checkbox {
  font-size: 12px;
  margin: 10px 0;
  color: #333;
}
.shtab-kvartira-checkbox input {
  display: none;
}
.shtab-kvartira-checkbox input + label:before {
  width: 10px;
  height: 10px;
  margin-right: 5px;
  cursor: pointer;
  position: relative;
  top: 3px;
  border-radius: 3px;
  border: 3px solid #e3e3e3;
  content: "";
  background-color: #444;
  display: inline-block;
}
.shtab-kvartira-checkbox input:checked + label:before {
  background-color: #c9282d;
}
.shtab-kvartira-links {
  text-align: center;
  line-height: 30px;
}
.shtab-kvartira-links a {
  color: #333;
  float: left;
}
.shtab-kvartira-links a:last-child {
  float: right;
}
.shtab-kvartira-links a:hover {
  color: #008ACE;
}
.shtab-kvartira-social {
  text-align: center;
}
.comm-social {
  text-align: left;
}
.shtab-kvartira-social:before {
  content: attr(data-label);
  display: inline-block;
  vertical-align: top;
  line-height: 30px;
  margin-right: 10px;
}
.shtab-kvartira-social a {
  display: inline-block;
  margin: 0 3px 10px 3px;
}
.shtab-kvartira-social img {
  display: block;
  width: 30px;
}
.shtab-kvartira-social a:hover img {
  transform: scale(1.1);
}
.shtab-kvartira-avatar {
  text-align: center;
}
.avatar-box {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.4);
}
.avatar-box img {
  width: 100%;
  min-height: 100%;
}
.avatar-box + a {
  color: #e3e3e3;
  display: block;
  margin-top: 5px;
}
.shtab-kvartira-menu {
  margin-top: 20px;
}
.shtab-kvartira-menu a {
    display: block;
    height: 30px;
    padding: 0 20px;
    line-height: 30px;
    background-color: #fff;
    color: #333;
    margin-bottom: -1px;
    /* border-radius: 3px; */
    border: 1px solid #ddd;
}
.shtab-kvartira-menu a:hover {
  color: #000;
  background-color: #f6f6f6;
}
/* ADAPTIVE
----------------------------------------------- */
.show-menu {
  display: none !important;
}
@media screen and (min-width: 1450px) {
    .grid-thumb {
    margin: 0px -30px;
          }
  .a-znachit {
    max-width: 1400px;
  }
  .skladchik-img {
    height: 470px;
  }
  .grid-thumb .skladchik-item {
padding: 0px 0px 0px 0px;
    
    }
  .grid-thumb .skladchik-img {
    height: 230px;
  }
  .rel-item .skladchik4-img {
    height: 160px;
  }
  .skladchik-fix {
    height: 169px;
  }
  .full-text embed,
  .full-text object,
  .full-text video,
  .full-text iframe,
  .full-text frame {
    width: 100% !important;
  }
}
@media screen and (max-width: 1220px) {
  .ya-skladchik {
    padding: 0;
    background-image: none;
  }
  .a-znachit {
    max-width: 1000px;
    overflow: hidden;
  }
  .line-menu,
  .mob-hide {
    display: none;
  }
  .moya-prelest-left-middle {
    padding: 0px;
    overflow: hidden;
  }
  .moya-prelest-left {
    margin-left: -250px;
    display: none;
  }
  .moya-prelest-middle {
      padding: 0px;
  }
  .moya-prelest:before {
    left: 20px;
    right: 280px;
    top: 0;
    bottom: 0;
  }
  .ya-ekonomniy-inner {
    padding-top: 15px;
  }
  .vybirashka {
   right: 21px;
    top: 15px;
  }
  .show-menu {
    display: block !important;
    line-height: 40px !important;
    height: 40px;
    width: 40px;
    font-size: 24px !important;
    background-color: #fff;
    color:#a62024;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
    border-radius: 4px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
  }
  .moya-prelest-left-middle.show-vitrina .moya-prelest-middle {
    margin-right: -100%;
  }
  .moya-prelest-left-middle.show-vitrina .moya-prelest-left {
    margin-left: 0;
    width: 100%;
    padding-top: 10px;
    display: block;
  }
  .grid-thumb {
    margin: 0 0px;
  }
  .grid-thumb .skladchik-item {
    width: 47%;
    margin: 0 1.5% 40px 1.5%;
    padding: 0px 0 0 0;
  }
  .grid-thumb .skladchik-img {
    height: 180px;
  }
  .skladchik-fix {
    width: 22%;
    margin: 0 1.5% 20px 1.5%;
    height: 145px;
  }
  .grid-thumb .bottom-rkl {
    margin: 0 10px 20px 10px;
  }
  .rel-item .skladchik4-img {
    height: 130px;
  }
  .full-text embed,
  .full-text object,
  .full-text video,
  .full-text iframe,
  .full-text frame {
    width: 100% !important;
  }
  .boltun-bottom-info ul li,
  .mass_comments_action {
    display: none;
  }
  .boltun-bottom-info ul li:first-child,
  .boltun-bottom-info ul li:nth-child(2) {
    display: inline-block;
  }
  .form-wrap {
    margin: 0 -20px;
  }
}
@media screen and (max-width: 950px) {
  .a-znachit {
    max-width: 768px;
  }
  .ya-ekonomniy {
    padding: 0 60px 0 230px;
  }
  .moya-prelest:before {
    left: 20px;
    right: 20px;
    top: 0;
    bottom: 0;
  }
  .moya-prelest {
    padding: 0px;
  }
  .moya-prelest-right {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0px;
    display: none;
    position: relative;
    z-index: 100;
  }
  .moya-prelest-left-middle {
    float: none;
  }
  .grid-thumb .skladchik-item {
padding: 0px 0px 0px 0px;
    }
  .grid-thumb .skladchik-img {
    height: 200px;
  }
  .navigation,
  .show-shtab-kvartira span {
    display: none !important;
  }
  .pprev,
  .pnext {
    font-size: 18px;
    margin: 10px;
    width: 100px;
  }
  .boltun-item {
    padding: 0 10px 15px 70px;
  }
  .boltun-right {
    padding-left: 10px;
  }
  .boltun-author,
  .boltun-date {
    font-size: 12px;
  }
  .ac-protect {
    width: 75%;
  }
}
@media screen and (max-width: 760px) {
  .a-znachit {
    max-width: 640px;
  }
  .ya-ekonomniy {
    padding: 0 60px 0 20px;
  }
  .logotip {
    width: 130px;
    background-size: contain;
    z-index: 100;
    background-position: 5px center;
  }
  .show-menu {
    margin-left: 130px;
  }
  .vybirashka:before {
    display: none;
  }
  .zagolovok {
    padding-right: 100px;
    margin-bottom: 10px;
  }
  .skladchik-item {
    padding-bottom: 20px;
    margin: 0 0 20px 0;
  }
  .skladchik-img {
    height: 300px;
  }
  .skladchik-title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  .sort-item .skladchik-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
  }
  .skladchik-text {
    margin: 10px 0 15px 0;
  }
  .grid-thumb .skladchik-item {
    padding: 0px 0 0 0;
  }
  .grid-thumb .skladchik-img {
    height: 160px;
  }
  .skladchik-fix {
    height: 120px;
  }
  .rel-item .skladchik4-img {
    height: 110px;
  }
  .shtab-kvartira-box {
    top: 0;
  }
  .overlay-close {
    right: 10px;
    top: 10px;
    font-size: 18px !important;
  }
  .comments-tree-list .comments-tree-list {
    padding-left: 0 !important;
  }
  .full-info,
  .full-nav-pages {
    display: none;
  }
  .sub-title h1,
  .statya h1 {
    font-size: 18px;
    line-height: 24px;
  }
}
@media screen and (max-width: 590px) {
  .a-znachit {
    max-width: 480px;
  }
  .ya-ishu {
    width: 200px;
  }
  .skladchik-img {
    height: 250px;
  }
  .grid-thumb .skladchik-item {
    padding: 0px 0 0 0;
  }
  .grid-thumb .skladchik-img {
    height: 130px;
  }
  .grid-thumb .skladchik-title {
    font-size: 14px;
    line-height: 16px;
    height: 32px;
  }
  .grid-thumb .skladchik-info,
  .skladchik-info > span,
  .skladchik-info > i {
    display: none;
  }
  .skladchik-info span.mob-vis {
    display: inline-block;
  }
  .skladchik-fix {
    height: 90px;
    margin-bottom: 15px;
  }
  .grid-thumb .bottom-rkl {
    margin: 0 5px 15px 5px;
  }
  .rel-item {
    width: 48%;
  }
  .rel-item .skladchik4-img {
    height: 130px;
  }
  .full-text embed,
  .full-text object,
  .full-text video,
  .full-text iframe,
  .full-text frame {
    width: 100% !important;
  }
  .ac-inputs input {
    width: 100%;
    float: none !important;
    margin-top: 10px;
  }
  .ac-protect {
    width: 100%;
    float: none;
    margin: -10px -10px 0 -10px;
  }
  .ac-submit button {
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }
  .ui-dialog {
    width: 100% !important;
  }
  .userinfo {
    padding-left: 0;
  }
  .userinfo .left,
  .userinfo .right {
    float: none !important;
    width: 100%;
    margin: 0;
  }
  .userinfo .left {
    text-align: center;
    margin-bottom: 10px;
  }
  .userinfo .left .avatar {
    width: 100px;
    margin: 0 auto 5px auto;
  }
  .ui-dialog-buttonset button {
    display: block;
    margin: 0 0 5px 0;
    width: 100%;
  }
  #dofullsearch,
  #searchsuggestions span.seperator {
    display: none !important;
  }
  .attach .download-link {
    margin: 0 -15px 0 0;
    float: none;
    display: block;
    padding: 0 10px;
  }
  .attach-info {
    float: none;
  }
}



@media screen and (max-width: 470px) {
    
 
  .a-znachit {
 max-width: ;
  }
  .ya-ekonomniy {
    height: 120px;
    padding: 0 20px;
  }
  .logotip {
    width: 200px;
    margin-left: 45px;
  }
  .ya-ishu {
    top: 70px;
    width: 100%;
  }
  .show-menu {
    margin-left: 240px;
  }
  .zagolovok {
    margin: 0px 5px 10px 5px;
    }
  .skladchik-text {
    display: none;
  }
  .skladchik-img {
    height: 150px;
    margin-top: 15px;
  }
  .grid-thumb .skladchik-item {
padding: 0px 0px 0px 0px;
      margin-bottom: 10px;
  }
  .grid-thumb .skladchik-img {
    height: 80px;
    margin-top: 0;
  }
  .grid-thumb .skladchik-title {
      line-height: 16px;
    height: 55px;
    font-size: 12px;
    padding: 5px;
  }
  .skladchik-fix {
    height: 55px;
    margin-bottom: 10px;
  }
  .dnishe-menu li {
    display: block;
    margin-bottom: 10px;
  }
  .dnishe-menu li a {
    border-right: 0;
  }
  .moya-prelest-right {
    display: block;
  }
  .rel-item {
   margin: 0px 0px 10px 10px;
    /* float: left; */
    width: 93.8%;
}
  }
  .rel-item .skladchik4-img {
    height: 130px;
  }
  .full-text embed,
  .full-text object,
  .full-text video,
  .full-text iframe,
  .full-text frame {
    width: 100% !important;
  }
  .boltun-item {
    padding: 0 10px 15px 50px;
  }
  .boltun-left {
    margin-left: -40px;
    width: 40px;
    height: 40px;
  }
  .boltun-author,
  .boltun-date {
    margin: 0;
    display: block;
    float: none;
  }
  .shtab-kvartira-social:before {
    display: block;
    line-height: 30px;
    margin-right: 0;
  }
}
/* Fix dle html5 player
----------------------------------------------- */
.mejs-container,
.mejs-inner,
.mejs-video,
.me-plugin,
.mejs-shim,
.mejs-layers,
.mejs-overlay,
.mejs-poster {
  width: 100% !important;
}
.mejs-video,
.mejs-shim {
  height: 400px !important;
}
@media screen and (max-width: 470px) {
    
   
    
  .mejs-video,
  .mejs-shim {
    height: 250px !important;
  }
}



@media screen and (max-width: 375px) {
    .statya {
    position: relative;
    background: #ffffff;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
}
    
 
  .a-znachit {
    max-width: 375px;
  }
    
    
    .moya-prelest-middle {
    padding: 0px;
}
    
    
  .ya-ekonomniy {
  height: 128px;
      padding:0px 3px 0px 1px ;
  }
  .logotip {
    width: 225px;
    margin-left: 2px;
   
  }
  .ya-ishu {
    top: 80px;
    width: 100%;
  }
  .show-menu {
    margin-left: 320px;
  }
  .zagolovok {
    margin: 0px 5px 10px 5px;
    }
  .skladchik-text {
    display: none;
  }
  .skladchik-img {
    height: 150px;
    margin-top: 15px;
  }
  .grid-thumb .skladchik-item {
padding: 0px 0px 0px 0px;
      margin-bottom: 10px;
  }
  .grid-thumb .skladchik-img {
    height: 100px;
    margin-top: 0;
  }
  .grid-thumb .skladchik-title {
      line-height: 16px;
    height: 52px;
    font-size: 12px;
    padding: 3px;
  }
  .skladchik-fix {
    height: 55px;
    margin-bottom: 10px;
  }
  .dnishe-menu li {
    display: block;
    margin-bottom: 10px;
  }
  .dnishe-menu li a {
    border-right: 0;
  }
  .moya-prelest-right {
    display: block;
  }
  .rel-item {
   margin: 0px 0px 10px 10px;
    /* float: left; */
    width: 93.8%;
}
  }

/* 320x - iphone 4, iphone5, iphone SE  დასაწყისი */
@media screen and (max-width: 320px) {
 .show-menu {
    margin-left: 263px;
  }
}
}
/* 320x დასასრული */

.instagram-media,
.twitter-tweet {
  display: inline-block !important;
}




.gaziareba {
    border: 1px solid #e9ebee;
    background: #fbfbfb;
    border-radius: 4px;
    padding: 5px 0px 5px 0px;
    text-align: center;
}


.fbcomentsbg {
    position: relative;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    border-radius: 4px;
    padding: 0px 10px 0px 10px;
    margin-bottom: 10px;
}




.fbcoments {
    font-size: 18px;
    font-weight: 700;
  font-family:nino,"Lusia sans Unicode";

    background: #fff;
    color: #333;
    height: 30px;
    padding-left: 10px;
    padding-top: 7px;
    margin: 0px -10px;
    
}




.rekomendirebuli{
    position: relative;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    border-radius: 4px;
    /* padding: 10px; */
    margin-bottom: 10px;
}

.tegebi{
    position: relative;
    border: 1px solid #b9b9b9;
    background: #ffffff;
    border-radius: 4px;
    /* padding: 10px; */
    margin-bottom: 10px;
}



.sruladbox{
background: #f1f1f1;
    height: 26px;
    font-size: 14px;
    border-top: 1px solid rgba(0,0,0,.1);
    padding: 0px 8px 0px 0px;
}

.dateblock{



    padding: 6px;
    border-radius: 4px;
    float: left;
    color: #333;
    font-size: 14px;
}


.dateblock:hover{

     
}


.playvideo {
  
    font-weight: bold;
}

.playvideo:hover {
    position: absolute;
    bottom: 44px;
    right: 45px;
background: rgba(0,0,0,0.7);
    color:#FFF;
    padding-left: 5px;
    border-radius: 3px;
    padding-right: 5px;
    font-weight: bold;
}




.time {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #0000003b;
    color: #FFF;
    padding-left: 6px;
    border-radius: 3px;
    padding-right: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-weight: bold;
    font-size: 12px;
}

.hd {
  position: absolute;
    top: 5px;
    right: 5px;
    display: inline-block;
    zoom: 1;
    background: #de2600;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
    line-height: 18px;
    height: 18px;
    padding: 0 6px;
    vertical-align: text-top;
 }

/* SEO-focused legal redesign */
:root {
  --site-bg: #f4f6fa;
  --site-surface: #ffffff;
  --site-surface-muted: #eef2f7;
  --site-text: #1f2937;
  --site-text-soft: #5b6472;
  --site-border: #d8dee8;
  --site-primary: #8f1d21;
  --site-primary-dark: #6f1115;
  --site-dark: #111827;
  --site-radius: 18px;
  --site-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

body {
  background: var(--site-bg);
  color: var(--site-text);
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  min-height: 100vh;
}

.site-topbar {
  background: var(--site-dark);
  color: #fff;
  font-size: 14px;
}

.site-topbar__inner,
.site-header,
.hero,
.layout,
.site-footer__grid,
.site-footer__note,
.site-breadcrumbs {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.site-topbar__inner p,
.site-topbar__actions {
  margin: 0;
}

.site-topbar__actions {
  display: flex;
  gap: 16px;
}

.site-topbar a,
.site-footer a,
.mini-post,
.team-mini-card,
.service-card a,
.article-tags a,
.tag-cloud a {
  text-decoration: none;
}

.site-topbar a {
  color: #fff;
}

.site-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
}

.site-header__brand,
.site-header__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-logo {
  display: inline-block;
  color: var(--site-dark);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-tagline {
  margin: 0;
  color: var(--site-text-soft);
  font-size: 15px;
  max-width: 520px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-nav a {
  color: var(--site-text);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--site-primary);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
}

.site-search__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--site-text);
  outline: none;
}

.site-search__button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--site-primary);
  color: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--site-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--site-primary-dark);
  color: #fff;
}

.btn--secondary {
  background: var(--site-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--site-border);
  color: var(--site-text);
}

.btn--light {
  background: #fff;
  color: var(--site-primary);
}

.btn--block {
  display: flex;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--site-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 28px;
  padding: 20px 0 10px;
}

.hero__content,
.hero-card,
.content-surface,
.sidebar-card,
.news-card,
.article-page,
.trust-card,
.service-card,
.contact-card,
.map-card,
.search-result-card,
.comment-result-card,
.related-card,
.page-hero,
.pagination {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
}

.hero__content,
.hero-card,
.content-surface,
.page-hero {
  padding: 32px;
}

.hero__content h1,
.page-hero h1,
.article-page h1 {
  margin: 0 0 16px;
  color: var(--site-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.hero__content p,
.page-hero p,
.section__header p,
.service-card p,
.trust-card p,
.sidebar-card p,
.article-page p,
.contact-card p,
.search-result-card__desc,
.article-page__meta,
.news-card__excerpt,
.site-footer p {
  color: var(--site-text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.hero__highlights,
.sidebar-list,
.hero-card__list,
.site-footer__links,
.category-nav,
.category-nav__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__highlights {
  display: grid;
  gap: 10px;
}

.hero__highlights li,
.sidebar-list li,
.hero-card__list li {
  position: relative;
  padding-left: 20px;
}

.hero__highlights li::before,
.sidebar-list li::before,
.hero-card__list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-primary);
}

.hero-card h2,
.section__header h2,
.article-cta h2,
.related-section h2 {
  margin: 0 0 12px;
  color: var(--site-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.hero-card__list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 20px 0 60px;
}

.layout__main,
.layout__sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}

.section {
  display: grid;
  gap: 20px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.section__header {
  padding: 0 4px;
}

.section__header--compact h2 {
  font-size: clamp(22px, 2.8vw, 30px);
}

.trust-grid,
.service-grid,
.post-grid,
.related-grid,
.contact-grid,
.map-grid,
.static-layout {
  display: grid;
  gap: 20px;
}

.trust-grid,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-grid,
.static-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-card,
.service-card,
.contact-card,
.map-card {
  padding: 24px;
}

.trust-card h3,
.service-card h3,
.contact-card h2,
.map-card h2,
.sidebar-card__title,
.news-card__title,
.related-card__title,
.comment-result-card h3 {
  margin: 0 0 12px;
  color: var(--site-dark);
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--site-primary);
  font-weight: 700;
}

.content-surface {
  padding: 28px;
}

.sidebar-card {
  padding: 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 320px;
}

.sidebar-card--accent {
  background: linear-gradient(135deg, var(--site-primary), #b32b30);
  color: #fff;
  border-color: transparent;
}

.sidebar-card--accent p,
.sidebar-card--accent .sidebar-card__title,
.sidebar-card--accent .btn--ghost {
  color: #fff;
}

.category-nav {
  display: grid;
  gap: 6px;
}

.category-nav__item > a,
.category-nav__sublist a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--site-text);
  text-decoration: none;
}

.category-nav__item > a.is-active,
.category-nav__item > a:hover,
.category-nav__sublist a:hover {
  background: var(--site-surface-muted);
  color: var(--site-primary);
}

.category-nav__sublist {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-left: 14px;
}

.team-mini-grid,
.mini-posts {
  display: grid;
  gap: 12px;
}

.team-mini-card,
.mini-post {
  display: grid;
  gap: 12px;
  align-items: center;
  color: var(--site-text);
}

.team-mini-card {
  grid-template-columns: 64px 1fr;
}

.mini-post {
  grid-template-columns: 72px 1fr;
}

.team-mini-card img,
.mini-post__image img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-post__image {
  width: 72px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #dae1ea, #edf1f7);
}

.mini-post__image,
.related-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-post__label {
  display: block;
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-post__title,
.team-mini-name {
  display: block;
  font-weight: 700;
}

.team-mini-role {
  display: block;
  margin-top: 2px;
  color: var(--site-text-soft);
  font-size: 13px;
}

.news-card {
  overflow: hidden;
}

.news-card__image,
.related-card__image,
.search-result-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dae1ea, #edf1f7);
}

.news-card__image img,
.related-card__image img,
.search-result-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__placeholder,
.related-card__placeholder,
.search-result-card__placeholder,
.mini-post__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--site-text-soft);
  font-weight: 700;
}

.news-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.news-card__meta,
.article-page__meta,
.search-result-card__meta,
.comment-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--site-text-soft);
  font-size: 14px;
}

.news-card__title {
  font-size: 24px;
  line-height: 1.2;
}

.news-card__title a,
.related-card,
.search-result-card {
  color: inherit;
  text-decoration: none;
}

.news-card__excerpt {
  font-size: 15px;
  line-height: 1.7;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-card__category {
  font-size: 14px;
  color: var(--site-primary);
  font-weight: 700;
}

.news-card__link {
  color: var(--site-primary);
  font-weight: 700;
  text-decoration: none;
}

.page-hero--inner h1 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.static-layout__content,
.static-layout__sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.article-page {
  padding: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1600px;
}

.article-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.article-page__edit {
  white-space: nowrap;
  font-size: 14px;
}

.article-page__edit a {
  color: var(--site-primary);
  text-decoration: none;
}

.article-page__meta {
  margin: 18px 0 24px;
}

.article-media,
.article-cover {
  margin: 0 0 24px;
}

.article-cover img,
.article-media iframe,
.map-card iframe {
  width: 100%;
  border-radius: 16px;
}

.article-prose {
  color: var(--site-text);
  font-size: 17px;
  line-height: 1.85;
}

.article-prose img,
.article-prose iframe,
.article-prose table {
  max-width: 100%;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  color: var(--site-dark);
  margin-top: 26px;
  margin-bottom: 14px;
}

.article-prose ul,
.article-prose ol {
  padding-left: 22px;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 24px;
  margin-top: 28px;
  border-radius: var(--site-radius);
  background: var(--site-surface-muted);
}

.article-cta__actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.article-contact-box,
.article-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.article-contact-box__item {
  padding: 20px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: #fff;
}

.article-tags {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--site-border);
  font-size: 15px;
}

.article-tags__label {
  font-weight: 700;
}

.related-section {
  display: grid;
  gap: 20px;
}

.related-card {
  display: grid;
  overflow: hidden;
  color: inherit;
}

.related-card__title {
  padding: 18px 18px 22px;
  font-size: 17px;
  line-height: 1.45;
}

.search-result-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  color: inherit;
}

.search-result-card__body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.comment-result-card {
  padding: 22px;
}

.news-card__image img,
.related-card__image img,
.search-result-card__image img,
.mini-post__image img,
.team-mini-card img,
.article-cover img {
  backface-visibility: hidden;
}

.contact-grid,
.map-grid {
  margin-top: 24px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 24px;
}

.pagination a {
  color: var(--site-primary);
  text-decoration: none;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  color: var(--site-text);
  background: var(--site-surface-muted);
}

.site-breadcrumbs {
  padding: 10px 0 6px;
  color: var(--site-text-soft);
}

.site-breadcrumbs a {
  color: var(--site-primary);
  text-decoration: none;
}

.site-footer {
  background: var(--site-dark);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 20px;
  padding: 36px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.site-footer__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.site-footer__links {
  display: grid;
  gap: 8px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-header,
  .hero,
  .layout,
  .trust-grid,
  .service-grid,
  .related-grid,
  .contact-grid,
  .map-grid,
  .static-layout,
  .article-contact-box,
  .article-trust-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .search-result-card {
    grid-template-columns: 1fr;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-topbar__inner,
  .site-header,
  .hero,
  .layout,
  .site-footer__grid,
  .site-footer__note,
  .site-breadcrumbs {
    width: min(100% - 24px, 1200px);
  }

  .site-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__content,
  .hero-card,
  .content-surface,
  .page-hero,
  .article-page,
  .trust-card,
  .service-card,
  .sidebar-card,
  .contact-card,
  .map-card,
  .search-result-card,
  .comment-result-card {
    padding: 22px;
  }

  .hero__actions,
  .news-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-search {
    width: 100%;
  }

  .site-header__cta {
    width: 100%;
  }

  .site-header__cta .btn {
    width: 100%;
  }
}

/* Visual polish layer */
body {
  background:
    radial-gradient(circle at top left, rgba(143, 29, 33, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(17, 24, 39, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.site-header {
  margin-top: 18px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 222, 232, 0.95);
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.site-logo {
  position: relative;
}

.site-logo::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-primary), rgba(143, 29, 33, 0.12));
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: rgba(143, 29, 33, 0.08);
}

.hero__content {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #111827 0%, #1c2536 48%, #7b1d21 130%);
  border-color: rgba(17, 24, 39, 0.22);
}

.hero__content::before,
.hero__content::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__content::before {
  width: 240px;
  height: 240px;
  right: -80px;
  top: -70px;
  background: rgba(255, 255, 255, 0.08);
}

.hero__content::after {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: -60px;
  background: rgba(255, 255, 255, 0.04);
}

.hero__content .eyebrow,
.hero__content h1,
.hero__content p,
.hero__content li {
  position: relative;
  z-index: 1;
}

.hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero__content h1,
.hero__content p,
.hero__content li {
  color: #fff;
}

.hero__content p {
  max-width: 680px;
  font-size: 17px;
}

.hero__highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero__highlights li {
  padding: 14px 16px 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  font-size: 14px;
  line-height: 1.5;
}

.hero__highlights li::before {
  top: 18px;
  left: 16px;
  background: #fff;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--site-primary), #c95b5f);
}

.section__header {
  max-width: 760px;
}

.section__header h2 {
  position: relative;
  padding-bottom: 12px;
}

.section__header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-primary), rgba(143, 29, 33, 0.16));
}

.trust-card,
.service-card,
.sidebar-card,
.news-card,
.related-card,
.contact-card,
.map-card,
.article-page,
.content-surface,
.page-hero,
.pagination {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover,
.service-card:hover,
.news-card:hover,
.related-card:hover,
.sidebar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 29, 33, 0.18);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.trust-card,
.service-card {
  position: relative;
  overflow: hidden;
}

.trust-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--site-primary), rgba(143, 29, 33, 0.15));
}

.service-card a {
  align-items: center;
  gap: 8px;
}

.service-card a::after,
.news-card__link::after,
.site-footer__links a::after {
  content: "\f105";
  font-family: FontAwesome;
  font-weight: normal;
  transition: transform 0.2s ease;
}

.service-card a:hover::after,
.news-card__link:hover::after,
.site-footer__links a:hover::after {
  transform: translateX(3px);
}

.post-grid .news-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
}

.post-grid .news-card:first-child .news-card__image {
  height: 100%;
  min-height: 100%;
}

.post-grid .news-card:first-child .news-card__body {
  padding: 28px;
}

.post-grid .news-card:first-child .news-card__title {
  font-size: clamp(28px, 3vw, 36px);
}

.news-card__meta span,
.article-page__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.news-card__category {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 29, 33, 0.08);
}

.sidebar-card {
  position: relative;
  overflow: hidden;
}

.sidebar-card__lead {
  margin: -2px 0 18px;
  font-size: 14px;
  line-height: 1.65;
}

.sidebar-card--accent {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(145deg, #7b171b, #a02228 58%, #be4045 150%);
}

.sidebar-card--accent::before {
  content: "";
  position: absolute;
  inset: auto -28px -28px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-card--categories {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.sidebar-card--categories .eyebrow,
.sidebar-card:not(.sidebar-card--accent) .eyebrow {
  margin-bottom: 8px;
}

.category-nav {
  gap: 12px;
}

.category-nav__item {
  position: relative;
}

.category-nav__item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(216, 222, 232, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbfd);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-nav__item > a::after {
  content: "\f105";
  font-family: FontAwesome;
  color: var(--site-primary);
  font-weight: normal;
  transition: transform 0.2s ease;
}

.category-nav__item > a.is-active,
.category-nav__item > a:hover {
  background: linear-gradient(135deg, rgba(143, 29, 33, 0.96), rgba(116, 18, 22, 0.96));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(143, 29, 33, 0.18);
}

.category-nav__item > a.is-active::after,
.category-nav__item > a:hover::after {
  color: #fff;
  transform: translateX(3px);
}

.category-nav__sublist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-left: 10px;
}

.category-nav__sublist a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid rgba(216, 222, 232, 0.9);
  font-size: 13px;
}

.team-mini-card,
.mini-post {
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(216, 222, 232, 0.9);
}

.team-mini-card:hover,
.mini-post:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 29, 33, 0.18);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.mini-post__label {
  letter-spacing: 0.08em;
}

.related-card {
  grid-template-rows: auto 1fr;
}

.related-card__title {
  position: relative;
}

.related-card__title::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-primary), rgba(143, 29, 33, 0.15));
}

.article-page {
  position: relative;
  overflow: hidden;
}

.article-page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--site-primary), rgba(143, 29, 33, 0.15));
}

.article-page__meta {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
}

.article-cta {
  border: 1px solid rgba(216, 222, 232, 0.9);
}

.pagination {
  gap: 22px;
}

.pagination__prev,
.pagination__next {
  font-weight: 700;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1100px) {
  .hero__highlights {
    grid-template-columns: 1fr;
  }

  .post-grid .news-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 18px;
    border-radius: 20px;
  }

  .hero__highlights li {
    padding-right: 14px;
  }

  .category-nav__sublist {
    padding-left: 0;
  }
}

/* CarService visual adaptation */
:root {
  --site-bg: #f5f6fa;
  --site-surface: #ffffff;
  --site-surface-muted: #f9f9f9;
  --site-text: #333333;
  --site-text-soft: #666666;
  --site-border: #dddddd;
  --site-primary: #e67e22;
  --site-primary-dark: #d35400;
  --site-dark: #2c3e50;
  --site-danger: #c0392b;
  --site-danger-dark: #a93226;
  --site-success: #1a8245;
  --site-success-dark: #166d3b;
  --site-radius: 10px;
  --site-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

body {
  font-family: Arial, sans-serif;
  background:
    linear-gradient(rgba(245, 246, 250, 0.9), rgba(245, 246, 250, 0.94)),
    url("/uploads/bg.webp") center top / cover fixed no-repeat;
  color: var(--site-text);
}

h1, h2, h3, h4, h5, h6,
.site-logo,
.site-nav a,
.btn,
.sidebar-card__title,
.news-card__title,
.mini-post__label,
.site-footer__title,
.category-nav__item > a,
.page-hero h1,
.section__header h2,
.hero__typing {
  font-family: 'nino', Arial, sans-serif;
}

.site-shell {
  padding-top: 132px;
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96);
  color: var(--site-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.site-topbar a {
  color: var(--site-danger);
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90%);
  z-index: 1050;
  margin-top: 0;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.site-logo {
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  color: #000;
}

.site-logo::after {
  width: 52px;
  height: 3px;
  background: var(--site-primary);
}

.site-tagline {
  font-size: 14px;
  color: var(--site-text-soft);
}

.site-nav {
  gap: 10px;
  justify-content: flex-start;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #000;
  border-radius: 5px;
  font-size: 15px;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: #f5f5f5;
  color: var(--site-primary);
}

.nav-icon {
  font-size: 15px;
}

.site-search {
  border-radius: 40px;
  border-color: #ddd;
  box-shadow: none;
}

.site-search__button {
  background: var(--site-primary);
}

.btn {
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.btn--primary {
  background: var(--site-danger);
}

.btn--primary:hover {
  background: var(--site-danger-dark);
}

.btn--secondary {
  background: var(--site-success);
}

.btn--secondary:hover {
  background: var(--site-success-dark);
  color: #fff;
}

.btn--ghost {
  border-color: var(--site-primary);
  color: var(--site-primary);
  background: #fff;
}

.btn--ghost:hover {
  background: #f5f5f5;
  color: var(--site-primary-dark);
}

.btn--light {
  background: #fff;
  color: var(--site-danger);
}

.hero {
  width: min(1200px, 90%);
  margin: 16px auto 0;
  display: block;
  padding: 24px 0 10px;
  text-align: center;
}

.hero__content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 20px 0;
}

.hero__content::before,
.hero__content::after {
  display: none;
}

.hero__content .eyebrow {
  color: var(--site-primary);
}

.hero__content h1,
.hero__content p,
.hero__content li {
  color: var(--site-text);
}

.hero__content h1 {
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1;
  margin-bottom: 8px;
}

.hero__typing {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin: 4px 0 14px;
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--site-dark);
}

.hero__typing::after {
  content: "";
  width: 4px;
  height: 1.3em;
  margin-left: 8px;
  background: var(--site-primary);
  animation: carservice-cursor 1s infinite;
}

@keyframes carservice-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__content p {
  margin: 0 auto;
  max-width: 840px;
  font-size: 17px;
}

.hero__actions {
  justify-content: center;
  margin: 22px 0 18px;
}

.hero__actions .btn {
  min-width: 210px;
  min-height: 58px;
  font-size: 1rem;
}

.hero__highlights {
  width: 100%;
  max-width: 1200px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.hero__highlights li {
  padding: 18px 18px 18px 48px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.hero__highlights li::before {
  left: 18px;
  top: 21px;
  width: 14px;
  height: 14px;
  background: var(--site-primary);
}

.hero__contact {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-card {
  width: min(100%, 760px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-card::before {
  height: 0;
}

.hero-card h2 {
  color: var(--site-dark);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.hero-card__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}

.hero-card__list li::before {
  background: var(--site-primary);
}

.layout {
  width: min(1200px, 90%);
  grid-template-columns: minmax(0, 1fr) 340px;
  padding-top: 10px;
}

.section__header {
  max-width: none;
  text-align: center;
}

.section__header h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--site-primary);
}

.trust-grid,
.service-grid,
.contact-grid,
.map-grid,
.static-layout,
.post-grid,
.related-grid {
  gap: 24px;
}

.trust-card,
.service-card,
.contact-card,
.map-card,
.sidebar-card,
.news-card,
.related-card,
.article-page,
.content-surface,
.page-hero,
.pagination,
.search-result-card,
.comment-result-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.trust-card,
.service-card,
.contact-card,
.map-card,
.sidebar-card,
.article-page {
  padding: 20px;
}

.trust-card::before,
.service-card::before,
.article-page::before {
  display: none;
}

.trust-card:hover,
.service-card:hover,
.news-card:hover,
.related-card:hover,
.sidebar-card:hover,
.mini-post:hover,
.team-mini-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.service-card {
  text-align: center;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.12);
  color: var(--site-primary);
  font-size: 28px;
}

.service-card h3,
.trust-card h3,
.contact-card h2,
.map-card h2,
.sidebar-card__title,
.news-card__title,
.related-card__title,
.comment-result-card h3 {
  color: var(--site-dark);
}

.service-card a,
.news-card__link,
.article-page__edit a,
.site-breadcrumbs a,
.tag-cloud a:hover {
  color: var(--site-primary);
}

.post-grid .news-card:first-child {
  background: #fff;
}

.news-card,
.related-card {
  border-radius: 10px;
}

.news-card__image,
.related-card__image,
.search-result-card__image {
  background: #f0f0f0;
}

.news-card__body {
  padding: 18px;
}

.news-card__meta,
.article-page__meta,
.search-result-card__meta,
.comment-result-card__meta {
  color: var(--site-text-soft);
}

.news-card__category {
  background: rgba(230, 126, 34, 0.1);
  color: var(--site-primary-dark);
}

.sidebar-card__lead {
  color: var(--site-text-soft);
}

.sidebar-card--accent {
  background: #fff;
  color: var(--site-text);
  border-top: 4px solid var(--site-danger);
}

.sidebar-card--accent p,
.sidebar-card--accent .sidebar-card__title,
.sidebar-card--accent .btn--ghost {
  color: inherit;
}

.sidebar-card--categories {
  background: #fff;
}

.category-nav__item > a {
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: none;
}

.category-nav__item > a.is-active,
.category-nav__item > a:hover {
  background: #f5f5f5;
  color: var(--site-primary);
  border-color: #ddd;
  box-shadow: none;
}

.category-nav__item > a::after {
  color: var(--site-primary);
}

.category-nav__sublist a {
  border-radius: 5px;
  background: #f9f9f9;
  border-color: #e6e6e6;
}

.team-mini-card,
.mini-post {
  border-radius: 8px;
  background: #fff;
}

.team-mini-card img,
.mini-post__image img {
  border-radius: 8px;
}

.article-page__meta {
  border-bottom: 1px solid #e5e5e5;
}

.article-cover img,
.article-media iframe,
.map-card iframe {
  border-radius: 10px;
}

.article-cta {
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.article-contact-box__item {
  border-radius: 8px;
  border-color: #ddd;
  background: #f9f9f9;
}

.article-tags {
  border-top-color: #ddd;
}

.tag-cloud a {
  border-radius: 5px;
  background: #fff;
  border-color: #ddd;
}

.page-hero {
  text-align: center;
}

.page-hero h1 {
  color: var(--site-dark);
  font-size: clamp(2rem, 5vw, 3rem);
}

.search-result-card {
  border-radius: 10px;
}

.pagination {
  border-radius: 10px;
}

.site-footer {
  margin-top: 26px;
  background: #f0f0f0;
  color: #444;
  border-top: 1px solid #ccc;
}

.site-footer::before {
  display: none;
}

.site-footer__title {
  color: var(--site-dark);
}

.site-footer__links a {
  color: var(--site-danger);
}

.fixed-call-container {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1200;
}

.fixed-call-text {
  color: var(--site-text);
  font-family: 'nino', Arial, sans-serif;
  font-size: 15px;
  white-space: nowrap;
}

.fixed-call-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 32px;
  color: #fff;
  text-decoration: none;
  font-family: 'nino', Arial, sans-serif;
  font-weight: 700;
  transition: transform .3s ease, background-color .3s ease;
}

.fixed-call-button:hover {
  transform: scale(1.05);
  color: #fff;
}

.fixed-call-button--call {
  background: var(--site-danger);
}

.fixed-call-button--call:hover {
  background: var(--site-danger-dark);
}

.fixed-call-button--whatsapp {
  background: #075E54;
}

.fixed-call-button--whatsapp:hover {
  background: #128C7E;
}

@media (max-width: 1100px) {
  .site-shell {
    padding-top: 150px;
  }

  .site-header {
    position: fixed;
    width: min(95%, 1200px);
  }

  .hero-card__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-shell {
    padding-top: 168px;
  }

  .site-topbar__inner {
    gap: 8px;
  }

  .site-header {
    top: 56px;
    width: min(96%, 1200px);
    padding: 14px;
    border-radius: 0 0 10px 10px;
  }

  .site-nav {
    justify-content: center;
  }

  .hero__highlights {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    min-width: 100%;
  }

  .layout {
    width: min(95%, 1200px);
  }

  .fixed-call-container {
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .fixed-call-text {
    text-align: center;
    white-space: normal;
  }
}

/* Final responsive legal theme */
:root {
  --legal-bg: #f5f6fa;
  --legal-surface: #ffffff;
  --legal-surface-soft: #f9f9f9;
  --legal-border: #dddddd;
  --legal-text: #333333;
  --legal-text-soft: #666666;
  --legal-heading: #2c3e50;
  --legal-accent: #e67e22;
  --legal-accent-dark: #d35400;
  --legal-call: #c0392b;
  --legal-call-dark: #a93226;
  --legal-whatsapp: #1a8245;
  --legal-whatsapp-dark: #166d3b;
  --legal-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  --legal-radius: 10px;
  --legal-shell: min(1200px, calc(100% - 32px));
}

body {
  background:
    linear-gradient(rgba(245, 246, 250, 0.94), rgba(245, 246, 250, 0.96)),
    radial-gradient(circle at top right, rgba(230, 126, 34, 0.08), transparent 22%);
  color: var(--legal-text);
  font-family: Arial, sans-serif;
}

.legal-theme {
  min-height: 100vh;
  padding-top: 0;
}

.legal-theme,
.legal-theme * {
  box-sizing: border-box;
}

.legal-theme a {
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--legal-accent);
  font-family: 'nino', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  font-family: 'nino', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--legal-shadow);
}

.legal-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.legal-btn--call {
  background: var(--legal-call);
}

.legal-btn--call:hover {
  background: var(--legal-call-dark);
}

.legal-btn--consult {
  background: var(--legal-accent);
}

.legal-btn--consult:hover {
  background: var(--legal-accent-dark);
}

.legal-btn--whatsapp {
  background: var(--legal-whatsapp);
}

.legal-btn--whatsapp:hover {
  background: var(--legal-whatsapp-dark);
}

.legal-btn--large {
  min-height: 58px;
  min-width: 210px;
  font-size: 15px;
}

.legal-btn--full {
  display: flex;
  width: 100%;
}

.legal-header {
  position: relative;
  z-index: 20;
  padding-top: 96px;
  margin-bottom: 16px;
}

.legal-header__top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.legal-header__inner,
.legal-nav-row,
.legal-breadcrumbs,
.legal-hero,
.legal-info-grid,
.legal-layout,
.legal-footer__grid,
.legal-footer__note {
  width: var(--legal-shell);
  margin: 0 auto;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 14px 0 12px;
  position: relative;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--legal-heading);
  text-decoration: none;
}

.legal-brand:hover {
  color: var(--legal-accent);
}

.legal-brand__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgb(255 251 243 / 40%);
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ffffff 38%, #ffffff 100%);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.45), 0 8px 18px rgb(153 143 121 / 25%);
    font-size: 22px;
}
.legal-brand__icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.legal-brand__text {
  display: flex;
  flex-direction: column;
}

.legal-brand__text strong,
.legal-brand__text small,
.legal-nav a,
.legal-sidebar-card__head h2,
.legal-section__head h2,
.legal-box-card h3,
.legal-news-card__title,
.legal-mini-post__label,
.legal-mini-post__title,
.legal-related-card__title,
.legal-article h1,
.legal-article h2,
.legal-page__hero h1,
.legal-contact__card h2,
.legal-map-card h2,
.legal-footer h2,
.legal-category-list__name,
.legal-hero__typing {
  font-family: 'nino', Arial, sans-serif;
}

.legal-brand__text strong {
  font-size: 21px;
  line-height: 1.1;
}

.legal-brand__text small {
  color: var(--legal-text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.legal-menu-toggle,
.legal-float-dismiss {
  display: none;
}

.legal-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  color: var(--legal-heading);
  cursor: pointer;
}

.legal-header__panel {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.legal-nav--mobile {
  display: none;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--legal-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  background: rgba(230, 126, 34, 0.08);
  border-color: rgba(230, 126, 34, 0.22);
  color: var(--legal-accent);
}

.legal-header__tools {
  display: grid;
  grid-template-columns: auto minmax(240px, 340px) auto;
  align-items: center;
  width: 100%;
  gap: 14px;
  justify-content: end;
  margin-left: 0;
}

.legal-header__contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-header__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--legal-call);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  width: min(100%, 340px);
  min-height: 52px;
  padding: 5px 5px 5px 16px;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7f8fa);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.legal-search:focus-within {
  border-color: rgba(230, 126, 34, 0.55);
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.12);
}

.legal-search__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--legal-text);
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.legal-search__input::placeholder {
  color: #8a8f98;
}

.legal-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--legal-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(230, 126, 34, 0.25);
}

.legal-search__button:hover {
  background: var(--legal-accent-dark);
}

.legal-header__cta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
}

.legal-nav-row {
  padding-top: 10px;
}

.legal-taxonomy {
  width: var(--legal-shell);
  margin: 0 auto 26px;
  padding: 24px;
  background: var(--legal-surface);
  border: 1px solid var(--legal-border);
  border-radius: var(--legal-radius);
  box-shadow: var(--legal-shadow);
}

.legal-taxonomy__head {
  max-width: 780px;
  margin-bottom: 18px;
}

.legal-taxonomy__head h2 {
  margin: 0 0 10px;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.legal-taxonomy__head p {
  margin: 0;
  color: var(--legal-text-soft);
  line-height: 1.7;
}

.legal-taxonomy__body {
  max-width: 420px;
}

.legal-breadcrumbs-wrap {
  padding-top: 10px;
}

.legal-breadcrumbs {
  color: var(--legal-text-soft);
  font-size: 13px;
}

.legal-breadcrumbs a {
  color: var(--legal-accent);
  text-decoration: none;
}

.legal-hero {
  padding: 28px 0 12px;
}

.legal-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 22px 0 8px;
  text-align: center;
}

.legal-hero h1 {
  margin: 0;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1;
}

.legal-hero__typing {
  margin: 8px 0 14px;
  color: var(--legal-heading);
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 700;
}

.legal-hero__inner p {
  max-width: 840px;
  margin: 0 auto;
  color: var(--legal-text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.legal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 22px 0 0;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.legal-info-card,
.legal-sidebar-card,
.legal-box-card,
.legal-news-card,
.legal-mini-post,
.legal-related-card,
.legal-taxonomy,
.legal-surface,
.legal-article,
.legal-page__hero,
.legal-contact__card,
.legal-map-card,
.legal-search-card,
.legal-comment-card,
.legal-pagination,
.legal-page__content {
  background: var(--legal-surface);
  border: 1px solid var(--legal-border);
  border-radius: var(--legal-radius);
  box-shadow: var(--legal-shadow);
}

.legal-info-card,
.legal-sidebar-card,
.legal-box-card,
.legal-taxonomy,
.legal-surface,
.legal-article,
.legal-page__hero,
.legal-contact__card,
.legal-map-card,
.legal-comment-card,
.legal-page__content {
  padding: 22px;
}

.legal-info-card {
  text-align: center;
}

.legal-info-card__icon,
.legal-box-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.14);
  color: var(--legal-accent);
  font-size: 28px;
}

.legal-info-card h2,
.legal-section__head h1,
.legal-section__head h2,
.legal-box-card h3,
.legal-sidebar-card__head h2,
.legal-news-card__title,
.legal-related-card__title,
.legal-article h1,
.legal-article h2,
.legal-page__hero h1,
.legal-contact__card h2,
.legal-map-card h2,
.legal-footer h2,
.legal-search-card h2,
.legal-comment-card h3 {
  margin: 0 0 10px;
  color: var(--legal-heading);
}

.legal-info-card p,
.legal-sidebar-card__head p,
.legal-section__head p,
.legal-box-card p,
.legal-news-card__excerpt,
.legal-prose,
.legal-contact__card p,
.legal-search-card__desc,
.legal-comment-card__text,
.legal-footer p {
  color: var(--legal-text-soft);
}

.legal-info-card a,
.legal-box-card a,
.legal-news-card__link,
.legal-footer a,
.legal-sidebar-card a,
.legal-category-list a,
.legal-prose a,
.legal-article__edit a,
.legal-search-card a {
  color: var(--legal-accent);
  text-decoration: none;
}

.legal-info-card:hover,
.legal-sidebar-card:hover,
.legal-box-card:hover,
.legal-news-card:hover,
.legal-mini-post:hover,
.legal-related-card:hover {
  transform: none;
  border-color: rgba(230, 126, 34, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-bottom: 34px;
}

.legal-sidebar {
  order: 2;
  display: grid;
  gap: 20px;
  align-content: start;
}

.legal-main {
  order: 1;
  display: grid;
  gap: 24px;
  min-width: 0;
}

.legal-section,
.legal-detail-slot,
.legal-contact,
.legal-page {
  display: grid;
  gap: 20px;
}

.legal-section__head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.legal-section__head--archive {
  max-width: none;
  margin: 0;
  text-align: left;
}

.legal-section__head--compact {
  text-align: left;
}

.legal-section__head h1::after,
.legal-section__head h2::after,
.legal-page__hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--legal-accent);
}

.legal-section__head--compact h2::after,
.legal-section__head--archive h1::after,
.legal-section__head--archive h2::after {
  margin-left: 0;
  margin-right: 0;
}

.legal-box-grid,
.legal-contact__grid,
.legal-contact__maps,
.legal-article__contacts,
.legal-related-grid,
.legal-page__layout {
  display: grid;
  gap: 20px;
}

.legal-box-grid,
.legal-contact__grid,
.legal-article__contacts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-contact__maps,
.legal-page__layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-news-card,
.legal-related-card {
  overflow: hidden;
}

.legal-news-card__image,
.legal-related-card__image,
.legal-search-card__image,
.legal-mini-post__image {
  overflow: hidden;
}

.legal-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.legal-news-card,
.legal-related-card,
.legal-box-card,
.legal-info-card,
.legal-mini-post,
.legal-team-item {
  height: 100%;
}

.legal-post-grid > .legal-news-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
  border-color: rgba(230, 126, 34, 0.28);
}

.legal-news-card__image,
.legal-related-card__image,
.legal-search-card__image {
  display: block;
  background: #f0f0f0;
  aspect-ratio: 16 / 9;
}

.legal-news-card__image img,
.legal-related-card__image img,
.legal-search-card__image img,
.legal-mini-post__image img,
.legal-team-item img,
.legal-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-news-card__image img,
.legal-related-card__image img,
.legal-search-card__image img,
.legal-mini-post__image img {
  transition: transform 0.35s ease;
}

.legal-news-card:hover .legal-news-card__image img,
.legal-related-card:hover .legal-related-card__image img,
.legal-search-card:hover .legal-search-card__image img,
.legal-mini-post:hover .legal-mini-post__image img {
  transform: scale(1.04);
}

.legal-news-card__placeholder,
.legal-related-card__placeholder,
.legal-search-card__placeholder,
.legal-mini-post__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--legal-text-soft);
  font-weight: 700;
}

.legal-news-card__body {
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
  padding: 22px;
}

.legal-news-card__meta,
.legal-article__meta,
.legal-search-card__meta,
.legal-comment-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--legal-text-soft);
  font-size: 14px;
}

.legal-news-card__meta span,
.legal-article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-news-card__title {
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.legal-post-grid > .legal-news-card:first-child .legal-news-card__title {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.legal-post-grid > .legal-news-card:first-child .legal-news-card__excerpt {
  -webkit-line-clamp: 6;
}

.legal-news-card__title a,
.legal-search-card,
.legal-team-item,
.legal-mini-post {
  color: inherit;
  text-decoration: none;
}

.legal-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ededed;
}

.legal-news-card__category {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.1);
  color: var(--legal-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.legal-news-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.legal-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.legal-news-card__link::after {
  content: "\f105";
  font-family: FontAwesome;
}

.legal-sidebar-card__head {
  margin-bottom: 14px;
}

.legal-sidebar-card__head h2 {
  font-size: 22px;
}

.legal-sidebar-card__actions {
  display: grid;
  gap: 10px;
}

.legal-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-sidebar-list li {
  position: relative;
  padding-left: 18px;
}

.legal-sidebar-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--legal-accent);
}

.legal-category-list,
.legal-category-list__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.legal-category-list__item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: #fff;
  color: var(--legal-heading);
  font-size: 15px;
  font-weight: 700;
}

.legal-category-list__item > a:hover,
.legal-category-list__item > a.is-active {
  background: #f8f8f8;
  border-color: rgba(230, 126, 34, 0.26);
  color: var(--legal-accent);
}

.legal-category-list__text {
  min-width: 0;
}

.legal-category-list__name {
  display: block;
  overflow-wrap: anywhere;
}

.legal-category-list__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.legal-category-list__count {
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--legal-accent-dark);
  font-size: 12px;
  text-align: center;
}

.legal-category-list__arrow {
  color: #a0a0a0;
  font-size: 18px;
}

.legal-category-list__sublist {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-left: 14px;
}

.legal-category-list__sublist a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--legal-surface-soft);
  border: 1px solid #e9e9e9;
  font-size: 13px;
}

.legal-team-list,
.legal-mini-list {
  display: grid;
  gap: 12px;
}

.legal-team-item,
.legal-mini-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: #fff;
}

.legal-team-item img,
.legal-mini-post__image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.legal-team-item strong,
.legal-mini-post__title {
  display: block;
  color: var(--legal-heading);
}

.legal-team-item small {
  display: block;
  margin-top: 4px;
  color: var(--legal-text-soft);
}

.legal-mini-post__label {
  display: block;
  margin-bottom: 4px;
  color: var(--legal-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-article__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.legal-article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.legal-article__edit {
  font-size: 14px;
  white-space: nowrap;
}

.legal-article__meta {
  margin: 16px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.legal-article__media,
.legal-article__cover {
  margin-bottom: 24px;
}

.legal-article__media iframe,
.legal-article__cover img,
.legal-map-card iframe {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.legal-prose {
  font-size: 17px;
  line-height: 1.85;
}

.legal-prose img,
.legal-prose iframe,
.legal-prose table {
  max-width: 100%;
}

.legal-prose h2,
.legal-prose h3,
.legal-prose h4 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--legal-heading);
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 22px;
}

.legal-article__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--legal-border);
  border-radius: 10px;
  background: var(--legal-surface-soft);
}

.legal-article__cta-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.legal-article__contacts {
  margin-top: 22px;
}

.legal-article__contact-box {
  padding: 18px;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: var(--legal-surface-soft);
}

.legal-tags {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.legal-related {
  display: grid;
  gap: 18px;
}

.legal-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-related-card {
  overflow: hidden;
}

.legal-related-card__link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.legal-related-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
  align-content: start;
}

.legal-related-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal-related-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--legal-accent);
  font-weight: 700;
}

.legal-related-card__more::after {
  content: "\f105";
  font-family: FontAwesome;
}

.legal-page__hero {
  text-align: center;
}

.legal-page__hero,
.legal-page__content {
  padding-top: 26px;
}

.legal-mini-post__title {
  line-height: 1.45;
}

.legal-mini-post__title,
.legal-category-list__name,
.legal-related-card__title,
.legal-news-card__title,
.legal-search-card h2 {
  overflow-wrap: anywhere;
}

.legal-taxonomy__body .legal-category-list {
  grid-template-columns: 1fr;
}

.legal-taxonomy__body .legal-category-list__sublist {
  padding-left: 10px;
}

.legal-box-card,
.legal-info-card {
  text-align: left;
}

.legal-box-card__icon,
.legal-info-card__icon {
  margin-left: 0;
}

.legal-page__layout {
  align-items: start;
}

.legal-page__content {
  min-width: 0;
}

.legal-search-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 18px;
}

.legal-search-card__body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.legal-comment-card__meta {
  margin-bottom: 10px;
}

.legal-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-tag-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--legal-border);
  background: #fff;
  color: var(--legal-heading);
  text-decoration: none;
}

.legal-tag-cloud a:hover {
  background: #f5f5f5;
  color: var(--legal-accent);
}

.legal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 22px;
}

.legal-pagination a {
  color: var(--legal-accent);
  text-decoration: none;
}

.legal-surface .berrors,
.legal-detail-slot .berrors,
.legal-main .berrors {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: #fff;
}

.legal-footer {
  margin-top: 32px;
  padding: 18px 0;
  background: #f0f0f0;
  border-top: 1px solid #ccc;
  color: #444;
}

.legal-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.legal-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal-footer__counter {
  display: inline-grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(191, 145, 32, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 235, 0.95));
  box-shadow: 0 10px 22px rgba(21, 31, 52, 0.05);
}

.legal-footer__counter #top-ge-counter-container {
  display: block;
  min-width: 88px;
  min-height: 31px;
}

.legal-footer__counter-label {
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-footer__note {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.legal-floatbar {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  max-width: calc(100% - 24px);
}

.legal-floatbar__text {
  color: var(--legal-text);
  font-family: 'nino', Arial, sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.legal-floatbar__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-family: 'nino', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-floatbar__button--call {
  background: var(--legal-call);
}

.legal-floatbar__button--call:hover {
  background: var(--legal-call-dark);
  color: #fff;
}

.legal-floatbar__button--whatsapp {
  background: #075E54;
}

.legal-floatbar__button--whatsapp:hover {
  background: #128C7E;
  color: #fff;
}

.legal-floatbar__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--legal-text-soft);
  font-size: 22px;
  cursor: pointer;
}

.legal-float-dismiss:checked + .legal-floatbar {
  display: none;
}

@media (max-width: 1023px) {
  .legal-theme {
    padding-top: 0;
  }

  .legal-header {
    padding-top: 82px;
    margin-bottom: 12px;
  }

  .legal-header__top {
    position: fixed;
  }

  .legal-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 10px 0;
  }

  .legal-brand {
    min-width: 0;
  }

  .legal-menu-button {
    display: inline-flex;
  }

  .legal-header__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  .legal-menu-toggle:checked ~ .legal-header__panel {
    display: flex;
  }

  .legal-header__tools,
  .legal-header__contact,
  .legal-header__cta,
  .legal-nav--mobile {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-header__tools {
    display: grid;
    gap: 12px;
    width: 100%;
    justify-content: stretch;
  }

  .legal-nav-row {
    display: none;
  }

  .legal-nav--mobile {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
  }

  .legal-header__contact a {
    justify-content: flex-start;
    white-space: nowrap;
  }

  .legal-nav--mobile a {
    justify-content: flex-start;
    white-space: normal;
  }

  .legal-search {
    min-width: 0;
    width: 100%;
  }

  .legal-taxonomy {
    padding: 20px;
  }

  .legal-taxonomy__body .legal-category-list {
    grid-template-columns: 1fr;
  }

  .legal-info-grid,
  .legal-box-grid,
  .legal-contact__grid,
  .legal-article__contacts,
  .legal-related-grid,
  .legal-footer__grid,
  .legal-contact__maps,
  .legal-page__layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-main {
    order: 1;
  }

  .legal-sidebar {
    order: 2;
  }

  .legal-post-grid {
    grid-template-columns: 1fr;
  }

  .legal-post-grid > .legal-news-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .legal-article__cta {
    grid-template-columns: 1fr;
  }

  .legal-search-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --legal-shell: min(100% - 24px, 1200px);
  }

  .legal-theme {
    padding-top: 0;
  }

  .legal-brand__text strong {
    font-size: 18px;
  }

  .legal-brand__text small {
    display: none;
  }

  .legal-taxonomy__head {
    margin-bottom: 16px;
    text-align: left;
  }

  .legal-taxonomy__body .legal-category-list {
    grid-template-columns: 1fr;
  }

  .legal-category-list__item > a {
    min-height: 0;
  }

  .legal-hero__actions,
  .legal-article__cta-actions {
    flex-direction: column;
  }

  .legal-hero__actions .legal-btn,
  .legal-article__cta-actions .legal-btn {
    width: 100%;
  }

  .legal-floatbar {
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .legal-floatbar__text {
    text-align: center;
    white-space: normal;
  }

  .legal-floatbar__close {
    position: absolute;
    top: 8px;
    right: 8px;
  }
}

.legal-page__sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.legal-mini-post__body {
  min-width: 0;
}

.legal-floatbar__button {
  justify-content: center;
}

@media (max-width: 767px) {
  .legal-floatbar__button {
    width: 100%;
  }
}

/* Final legal layout cleanup */
.legal-theme {
  padding-top: 0;
  padding-bottom: 108px;
}

.legal-header {
  position: relative;
  z-index: 40;
  padding-top: 96px;
  margin-bottom: 20px;
}

.legal-header__top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(21, 31, 52, 0.08);
  box-shadow: 0 8px 24px rgba(21, 31, 52, 0.08);
}

.legal-header__inner,
.legal-nav-row,
.legal-search-hub,
.legal-breadcrumbs,
.legal-hero,
.legal-info-grid,
.legal-layout,
.legal-footer__grid,
.legal-footer__note {
  width: var(--legal-shell);
  margin: 0 auto;
}

.legal-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 14px 0;
}

.legal-brand {
  min-width: 0;
}

.legal-brand__text strong {
  font-size: 22px;
}

.legal-brand__text small {
  color: #7a8494;
}

.legal-header__desktop-tools {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  gap: 12px 18px;
  min-width: 0;
}

.legal-header__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.legal-header__contact a,
.legal-header__mobile-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--legal-call);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-header__cta,
.legal-header__mobile-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.legal-header__mobile-panel {
  display: none;
}

.legal-nav-row {
  padding-top: 10px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--legal-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  background: rgba(230, 126, 34, 0.08);
  border-color: rgba(230, 126, 34, 0.2);
  color: var(--legal-accent);
}

.legal-search-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid #eadfce;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fcf9f4 100%);
  box-shadow: 0 14px 28px rgba(21, 31, 52, 0.07);
}

.legal-search-hub__copy h2 {
  margin: 0 0 10px;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.legal-search-hub__copy p {
  margin: 0;
  color: var(--legal-text-soft);
  line-height: 1.75;
}

.legal-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dddedf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(21, 31, 52, 0.05);
}

.legal-search-panel--inline {
  margin-bottom: 18px;
}

.legal-search-panel__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #f8f8f9;
  color: var(--legal-text);
  font-size: 15px;
  outline: none;
}

.legal-search-panel__input::placeholder {
  color: #7f8793;
}

.legal-search-panel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--legal-accent);
  color: #fff;
  font-family: 'nino', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.legal-search-panel__button:hover {
  background: var(--legal-accent-dark);
}

.legal-topic-grid,
.legal-local-grid,
.legal-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legal-topic-card,
.legal-local-card,
.legal-faq-card {
  padding: 22px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 31, 52, 0.06);
}

.legal-topic-card h3,
.legal-local-card h3,
.legal-faq-card h3 {
  margin: 0 0 10px;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: 22px;
}

.legal-topic-card p,
.legal-local-card p,
.legal-faq-card p {
  margin: 0;
  color: var(--legal-text-soft);
  line-height: 1.75;
}

.legal-topic-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--legal-accent);
  font-weight: 700;
  text-decoration: none;
}

.legal-topic-card a::after,
.legal-related-card__more::after,
.legal-news-card__link::after {
  content: "\f105";
  font-family: FontAwesome;
}

.legal-info-card__icon--image img {
  display: block;
  width: 32px;
  height: 32px;
}

/* Article related materials final normalization */
.legal-related {
  display: grid;
  gap: 18px;
}

.legal-related .legal-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.legal-related .legal-related-card {
  height: 100%;
}

.legal-related .legal-related-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.legal-related .legal-related-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  background: #f0f0f0;
}

.legal-related .legal-related-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--legal-text-soft);
  font-weight: 700;
}

.legal-related .legal-related-card__body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  height: 100%;
  padding: 18px;
}

.legal-related .legal-related-card__title {
  min-height: calc(1.45em * 3);
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.legal-related .legal-related-card__more {
  align-self: end;
}

@media (max-width: 767px) {
  .legal-related .legal-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Article page related posts isolated layout */
.article-related-section {
  display: grid;
  gap: 14px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.article-related-card {
  min-width: 0;
}

.article-related-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid #eadfce;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(21, 31, 52, 0.04);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.article-related-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 96px;
  background: #f0f0f0;
  overflow: hidden;
}

.article-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-related-card:hover .article-related-card__image img {
  transform: scale(1.04);
}

.article-related-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--legal-text-soft);
  font-weight: 700;
}

.article-related-card__body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 7px;
  height: 100%;
  padding: 10px;
}

.article-related-card__title {
  min-height: calc(1.25em * 2);
  margin: 0;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-related-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: end;
  color: var(--legal-accent);
  font-size: 11px;
  font-weight: 700;
}

.article-related-card__more::after {
  content: "\f105";
  font-family: FontAwesome;
}

.article-related-section .legal-section__head {
  margin-bottom: 4px;
}

@media (max-width: 1200px) {
  .article-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

.legal-section--dense .legal-section__head {
  margin-bottom: 18px;
}

.legal-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.legal-post-grid > .legal-news-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
  min-height: 330px;
}

.legal-news-card,
.legal-related-card,
.legal-search-card,
.legal-mini-post,
.legal-team-item {
  height: 100%;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 31, 52, 0.06);
  overflow: hidden;
}

.legal-news-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  height: 100%;
  padding: 22px;
}

.legal-news-card__title {
  font-size: 23px;
  line-height: 1.25;
}

.legal-post-grid > .legal-news-card:first-child .legal-news-card__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.legal-news-card__excerpt,
.legal-search-card__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.legal-news-card__excerpt {
  -webkit-line-clamp: 4;
}

.legal-post-grid > .legal-news-card:first-child .legal-news-card__excerpt {
  -webkit-line-clamp: 6;
}

.legal-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #efe8dd;
}

.legal-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.legal-related-card {
  height: 100%;
}

.legal-related-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.legal-related-card__image {
  aspect-ratio: 16 / 9;
}

.legal-related-card__body {
  display: grid;
  grid-template-rows: minmax(78px, auto) auto;
  gap: 12px;
  height: 100%;
  padding: 18px;
  align-content: stretch;
}

.legal-related-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.legal-related-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--legal-accent);
  font-weight: 700;
}

.legal-search-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.legal-search-card__body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.legal-search-card h2 {
  margin: 0;
  color: var(--legal-heading);
  font-family: 'nino', Arial, sans-serif;
  font-size: 22px;
  line-height: 1.35;
}

.legal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(21, 31, 52, 0.05);
}

.legal-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-pagination__prev a,
.legal-pagination__next a,
.legal-pagination__pages a,
.legal-pagination__pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e1d6c5;
  border-radius: 12px;
  background: #fff;
  color: var(--legal-heading);
  font-weight: 700;
  text-decoration: none;
}

.legal-pagination__pages a:hover,
.legal-pagination__prev a:hover,
.legal-pagination__next a:hover,
.legal-pagination__pages span {
  border-color: rgba(230, 126, 34, 0.35);
  background: rgba(230, 126, 34, 0.08);
  color: var(--legal-accent);
}

.searchtable {
  display: grid;
  gap: 16px;
}

.searchtable input[type="text"],
.searchtable input[type="search"],
.searchtable select,
.searchtable textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d8dce2;
  border-radius: 12px;
  background: #fff;
  color: var(--legal-text);
}

.searchtable input[type="submit"],
.searchtable button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--legal-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Homepage size normalization */
.legal-hero {
  padding: 24px 0 10px;
  margin-bottom: 18px;
}

.legal-hero__inner {
  min-height: 0;
  padding: 18px 0 6px;
}

.legal-hero h1 {
  max-width: 980px;
  line-height: 1.08;
}

.legal-hero__typing {
  max-width: 820px;
  text-align: center;
}

.legal-search-hub {
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
}

.legal-info-grid {
  gap: 18px;
  margin-bottom: 24px;
}

.legal-box-grid {
  gap: 18px;
}

.legal-info-card,
.legal-box-card,
.legal-faq-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.legal-info-card,
.legal-box-card {
  padding: 20px;
}

.legal-info-card h2,
.legal-box-card h3 {
  font-size: 21px;
  line-height: 1.3;
}

.legal-faq-grid {
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.legal-faq-card {
  height: 100%;
  padding: 20px 22px;
  border-radius: 18px;
}

.legal-faq-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  line-clamp: 2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.legal-faq-card p {
  line-height: 1.7;
}

.legal-section + .legal-layout {
  margin-top: 26px;
}

@media (max-width: 1023px) {
  .legal-header {
    padding-top: 84px;
    margin-bottom: 14px;
  }

  .legal-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 84px;
    gap: 12px;
  }

  .legal-header__desktop-tools {
    display: none;
  }

  .legal-menu-button {
    display: inline-flex;
  }

  .legal-header__mobile-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(21, 31, 52, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 26px rgba(21, 31, 52, 0.1);
  }

  .legal-menu-toggle:checked ~ .legal-header__mobile-panel {
    display: grid;
  }

  .legal-nav-row {
    display: none;
  }

  .legal-nav--mobile,
  .legal-header__mobile-meta,
  .legal-header__mobile-cta {
    display: grid;
    gap: 8px;
  }

  .legal-header__mobile-meta,
  .legal-header__mobile-cta {
    padding-top: 12px;
    border-top: 1px solid #efe8dd;
  }

  .legal-nav--mobile a {
    justify-content: flex-start;
    white-space: normal;
  }

  .legal-search-hub,
  .legal-info-grid,
  .legal-box-grid,
  .legal-topic-grid,
  .legal-local-grid,
  .legal-faq-grid,
  .legal-related-grid,
  .legal-layout,
  .legal-contact__grid,
  .legal-contact__maps,
  .legal-page__layout,
  .legal-article__contacts,
  .legal-footer__grid,
  .legal-post-grid {
    grid-template-columns: 1fr;
  }

  .legal-post-grid > .legal-news-card:first-child,
  .legal-search-card {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .legal-search-hub {
    padding: 20px;
  }

  .legal-faq-grid {
    max-width: none;
    gap: 16px;
  }

  .legal-section + .legal-layout {
    margin-top: 22px;
  }
}

@media (max-width: 767px) {
  .legal-theme {
    padding-bottom: 176px;
  }

  .legal-header {
    padding-top: 78px;
  }

  .legal-header__inner {
    min-height: 78px;
  }

  .legal-brand__text small {
    display: none;
  }

  .legal-search-hub,
  .legal-topic-card,
  .legal-local-card,
  .legal-faq-card,
  .legal-news-card__body,
  .legal-related-card__body,
  .legal-sidebar-card,
  .legal-article,
  .legal-page__hero,
  .legal-page__content,
  .legal-contact__card,
  .legal-map-card {
    padding: 20px;
  }

  .legal-search-panel {
    grid-template-columns: 1fr;
  }

  .legal-search-panel__button,
  .legal-header__mobile-cta .legal-btn {
    width: 100%;
  }

  .legal-nav--mobile a {
    white-space: normal;
  }

  .legal-hero {
    margin-bottom: 14px;
  }

  .legal-search-hub,
  .legal-info-grid {
    margin-bottom: 20px;
  }

  .legal-faq-card h3 {
    min-height: 0;
    font-size: 18px;
  }

  .legal-section + .legal-layout {
    margin-top: 18px;
  }
}