/*!
Theme Name: security-sphere
Theme URI: http://https://anoo-sfera.ru/
Author: Radmir Gubidullin
Author URI: http://bizufa.ru/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: security-sphere
*/


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}


body {
	margin: 0;
	font-family: "Montserrat", sans-serif;
}

.site-branding.navbar-brand img {
  width: 100%;
  max-width: 200px;
  height: auto;
}
.navbar-brand {
	height: auto;
	line-height: 1;
	padding: 5px 0;
}
.navbar-default {
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 0px;
  border-radius:0;
  padding: 10px 0;
}
 .header-top {
  background-color: #031f42;
  border-bottom-color: rgba(0, 0, 0, 0);
  color: #fff;
}
.header-contacts {
  padding: 7px 0;
}
.header-contacts i {
  color: #ffc221;
  font-size: 14px;
  margin: 0 5px 0 0;
  vertical-align: middle;
}
.header-contacts span {
  color: #fff;
  font-weight: 600;
  line-height: 1;
  font-size: 13px;
}
.header-contacts a {
  color: #fff;
}
.socialtopicon {
	margin: 0;
	padding: 0;
	display: flex;
	list-style: none;
	justify-content: flex-end;
}
.header-top .col-md-5 {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
}
.socialtopicon i, .socialtopicon a, .contact-email a {
	color: #fff;
}
.header-top .col-md-8{
	min-height: 48px;
	height:100%;
	display: flex;
    align-items: center;
}
.header-top .col-md-4  {
	min-height: 48px;
	height:100%;
	display: flex;
    align-items: center;	
	justify-content: flex-end;
}
.contact-phone {
  margin-right: 5px;
}
.contact-email {
  margin: 0 5px 0 5px;
}
.contact-address {
  margin: 0 0 0 5px;
}
.socialtopicon li:first-child {
  margin-right: 15px;
}
.socialtopicon li:nth-child(2) {
  margin-right: 15px;
}
.socialtopicon i {
	font-size: 20px;
}
.site-header {
  z-index: 9;
  position: relative;
	-webkit-box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}
.navbar-default .navbar-nav > li > a {
	background: transparent;
	color: #333;
	padding-top: 25px;
  	padding-bottom: 25px;
	padding-left: 17px;
    padding-right: 17px;
	font-size: 14px;
  	font-weight: 600;
  	line-height: 1.6;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
  color: #555;
  background-color: transparent;
}

.custom-slider-1 {
  position: relative;
}


.custom-slider-1 .slide {
  background-image: url("/wp-content/uploads/2025/11/bannerbg-1.jpg");
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  padding: 0; 
}


.custom-slider-1 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


.custom-slider-1 .slide-content {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  min-height: 500px; 
}


.custom-slider-1 .text-content {
  flex: 0 0 50%; 
  color: #333; 
  padding-right: 30px;
}

.custom-slider-1 .text-content h2 {
  font-size: 35px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 600;
  color: rgb(37, 37, 37); 
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7); 
}

.custom-slider-1 .text-content p {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #252525;
  max-width: 570px;
}
a, button {
  transition: background-color 0.3s ease;
}
a:hover, a:focus, button:hover, button:focus {
  transition: background-color 0.3s ease;
}
.custom-slider-1 .btn {
  display: inline-block;
  padding: 18px 20px;
  min-height: 60px;
  color: #fff;
  border-color: #0071dc;
  background-color: #0071dc;
  text-decoration: none;
  border-radius: 0 5px 5px 0;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.custom-slider-1 .form-control {
  height: 60px;
  margin-right: -10px;
  border-radius: 5px 0 0 5px;
  border-color: #c1ccd2;
  border-width: 2px;
}

.custom-slider-1 .btn:hover {
  background-color: #08a294;
  border-color: #08a294;
}


.custom-slider-1 .image-content {
  flex: 0 0 45%; 
  text-align: center; 
}

.custom-slider-1 .image-content img {
  max-width: 100%; 
  height: auto;
  display: block;
}


@media (max-width: 768px) {
  .custom-slider-1 .slide-content {
    flex-direction: column;
    text-align: center;
  }
  
  .custom-slider-1 .text-content,
  .custom-slider-1 .image-content {
    flex: 0 0 100%; 
    padding-right: 0;
  }
  
  .custom-slider-1 .text-content {
    margin-bottom: 30px;
  }
  
  .custom-slider-1 .slide {
    padding: 60px 0;
  }
}
.custom-slider-1 .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
}
.custom-slider-1 .owl-nav i {
  font-size: 35px;
}
.custom-slider-1 .owl-nav .owl-prev {
  position: absolute;
  left: 5%;
}
.custom-slider-1 .owl-nav .owl-next {
  position: absolute;
  right: 5%;
}
.custom-slider-1 .owl-dots {
  margin-top: -25px;
  position: relative;
  z-index: 10;
}
.servisblock {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 2em;
}
.servisblock img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.sc-blockinfo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 27px 32px;
  z-index: 1;
}
.sc-blockinfo h6 {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}
.servisblock::after{
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-linear-gradient(top,transparent 30%,#000);
  background-image: linear-gradient(180deg,transparent 30%,#000);
  border-radius: inherit;
}
h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  position: relative;
}
.servicecontainer {
  padding: 35px 0;
  position: relative;
}
.servicecontainer h2 {
  margin: 1em 0 0.7em 0;
  display: inline-block;
  padding: 0 0 15px;
}
.servicecontainer h2::after{
  position: absolute;
  content: "";
  height: 3px;
  width: 50%;
  left: 0;
  bottom: 0;
  background-color: #08a294;
}
.sc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-line .btn {
  color: #0071DC;
  font-size: 15px;
  font-weight: 700;
  line-height:1;
  padding: 15px 30px;
  background-color: #f5f5f5;
  border: 1px solid #0071dc;
}
.sc-line .btn:hover {
  background-color: #0071dc;
  color: #fff;
}



.advantages {
    padding: 100px 0;
    background-color: #191A1F;
    background-image: url("/wp-content/uploads/2025/11/top-category-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

.advantages .row {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 40px;
}



.advatagesblock {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    align-items: flex-start;
    padding: 35px 20px;
    position: relative;


    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.advatagesblock:nth-child(3n) {
    border-right: none;
}


.advatagesblock:nth-last-child(-n + 3) {
    border-bottom: none;
}



.advatagesblock .leftimg {
    flex-shrink: 0;
    border-radius: 100%;
    background-color: #ffffff;
    padding: 15px;
    margin-right: 20px;
}

.advatagesblock .leftimg img {
    width: 35px;
    height: 35px;
}

.advatagesblock h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
}

.advatagesblock p {
    margin: 0;
    color: #a6a9a8;
    line-height: 1.5;
}



@media (max-width: 991px) {

    .advatagesblock {
        flex: 1 1 calc(50% - 20px);
        border-right: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }


    .advatagesblock:nth-child(2n) {
        border-right: none;
    }


    .advatagesblock:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}



@media (max-width: 575px) {

    .advatagesblock {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 25px 0;
    }


    .advatagesblock:last-child {
        border-bottom: none;
    }
}

.advantages h2 {
      margin: 1em 0 1em 0;
    display: inline-block;
    padding: 0 0 15px;
}
.advantages h2::after {
    position: absolute;
    content: "";
    height: 3px;
    width: 50%;
    left: 0;
    bottom: 0;
    background-color: #ffffff;
}
.ct-container .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.ct-left {
    flex: 0 0 35%;
    max-width: 35%;
    padding-right: 15px;
}

.ct-right {
    flex: 0 0 65%;
    max-width: 65%;
}

.ct-top h3 {
  position: relative;
  display: inline-block;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 0 15px;
}
.ct-top h3::after {
    position: absolute;
    content: "";
    height: 3px;
    width: 50%;
    left: 0;
    bottom: 0;
    background-color: #08a294;
}
.ct-top span {
  display: block;
  color: #6c706f;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.75;
    font-weight: 500;
}


.ct-list ul {
  padding: 0;
  padding-left: 80px;
  list-style: none;
  position: relative;
}

.ct-list h4 {
      font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 10px;
}
.ct-list span, .ct-list a {
  font-size: 16px;
  font-weight: 500;
  color: inherit;
}
.ct-list li {
  margin-bottom: 30px;
  position: relative;
}

.ct-container {
  padding: 100px 0;
}

.ct-list li::before {
    position: absolute;
    font-family: FontAwesome;
    font-weight: 900;
    left: -80px; 
    top: 0;
    font-size: 30px;
    padding: 0;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #08a294;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ct-list li:nth-child(1)::before {
  content: "\f095";
}
.ct-list li:nth-child(2)::before {
  content: "\f0e0";
}
.ct-list li:nth-child(3)::before {
  content: "\f041";
}

@media (max-width: 991px) {
    .ct-left,
    .ct-right {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .ct-container .row {
        flex-direction: column;
        align-items: normal;
    }
    
    
    .ct-list ul {
        padding-left: 70px;
    }
    
    .ct-list li::before {
        left: -70px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}


@media (max-width: 576px) {
    .ct-list ul {
        padding-left: 60px;
    }
    
    .ct-list li::before {
        left: -60px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}
@media (max-width: 1200px) {

    .navbar-header .navbar-toggle {
        display: block;
    }
    .navbar-header {
      float: none;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }


    .navbar-collapse.collapse.in {
        display: block !important;
    }


    .navbar-nav {
        float: none !important;
    }

    .navbar-nav > li {
        float: none !important;
    }

    .navbar-nav > li > a {
        padding: 10px 15px;
    }
    .navbar-toggle  {
      float: right;
    }
}
@media(max-width:768px){
  .custom-slider-1 .image-content, .custom-slider-1 .owl-nav {
    display: none;
  }
  .header-top .col-md-8, .header-top .col-md-4 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
        text-align: center;
  }
  .navbar-brand {
    padding: 5px 0 5px 15px;
}
.advantages {
  padding: 0 15px;
}
}
.footertop {
  background-color: #E2F2F1;
  position: relative;
  z-index: 1;
  padding-bottom: 120px;
  padding-top: 120px;
  overflow: hidden;
}
.footertop .shape-1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.footertop .shape-2 {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: -1;
}
.footertop img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  width: 100%;
  max-width: 300px;
}
.footertop .shape-2 img {
  height: 100%;
}
.ft-line {
  display: flex;
  flex-wrap: wrap;
}
.ft-line h4 {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #162726;
    margin-bottom: 1em;
    padding: 0 0 10px;
}
.ft-line h4::after {
     position: absolute;
    content: "";
    height: 3px;
    width: 50%;
    left: 0;
    bottom: 0;
    background-color: #162726; 
}
.ft-logo ul {
  list-style: none;
  padding: 0;
}
.ft-logo {
  margin-right: 5em;
}
.ft-logo  .contact-phone {
  font-size: 25px;
  font-weight: 800;
}
.ft-logo  .contact-email {
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
}
.ft-logo  .contact-phone i {
  font-size: 24px;
  font-weight: 700;
}
.ft-logo ul li {
  margin-bottom: 1em;
}
.ft-logo a {
  color: #162726;
}

.footer-menu a {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: inherit;
}
.footer-menu li {
  margin-bottom: 2em;
  position: relative;
  padding: 0 0 0 2em;
}
.footer-menu {
  list-style: none;
  padding: 0;
}
.footer-menu li:before {
    font-family: "FontAwesome"; 
    font-weight: 300;                   
    content: "\f105";                   
    position: absolute;
    left: 0;
    top: -5px;
    line-height: 1.2em;
    font-size: 25px;
}
.ft-logo img  {
    filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(600%) hue-rotate(130deg);
}
.site-info {
  display: flex;
  background-color: #191A1F;
  background-image: url("/wp-content/uploads/2025/11/top-category-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  align-items: center;
  line-height: 3;
      padding: 50px 15px;
      text-align: center;
}
.site-info .copyright {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #b8bbba;
}
.site-info .webcreator {
  color: #616262;
}
.bvi-hide {
  display: inline-block;
  margin-right: 15px;
  position: relative;
  z-index: 1;
}
.bvi-hide:hover::after {
  content: "Версия для слабовидящих";
  position:absolute;
  top: 0;
  right: 100%;
  color: red;
  font-size: 14px;
  background-color: #fff;
  z-index: -1;
}
.bvi-hide .bvi-open {
    font-size: 0; 
    white-space: nowrap; 
}

.bvi-hide .bvi-open .bvi-svg-eye {
    font-size: 16px;
    width: 20px; 
    height: 20px;
        line-height: 1;
    padding: 0 0 5px;
}
@media(max-width:991px){
  .header-top .col-md-5 {
    justify-content: center;
  }
  .header-contacts {
    text-align: center;
  }
}

#contactModal .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#contactModal .modal-header {
  border-bottom: 2px solid #f0f0f0;
  padding: 25px 30px 15px;
  background: #fff;
  border-radius: 10px 10px 0 0;
}

#contactModal .modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0;
}

#contactModal .close {
  font-size: 28px;
  opacity: 0.7;
  margin-top: -5px;
}

#contactModal .close:hover {
  opacity: 1;
}

#contactModal .modal-body {
  padding: 20px 30px 30px;
}


.modal-description {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}


#contactForm .form-group {
  margin-bottom: 20px;
}

#contactForm .input-lg {
  height: 50px;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#contactForm .input-lg:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#contactForm textarea.input-lg {
  height: auto;
  resize: vertical;
  min-height: 120px;
}


.submit-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  border-radius: 8px;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  min-width: 200px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,123,255,.3);
}


@media (max-width: 768px) {
  #contactModal .modal-dialog {
    margin: 20px;
  }
  
  #contactModal .modal-header,
  #contactModal .modal-body {
    padding: 20px;
  }
  
  .submit-btn {
    width: 100%;
    min-width: auto;
  }
}
.fz-text {
  font-size: 12px;
  line-height: 1.2;
  color: #4c4b4b;
  text-align: center;
}
.owl-carousel .fz-text {
  text-align: left;
  padding: 5px 0;
}


.floating-phone-btn {
    position: fixed;
    bottom: 13%;
    right: 10%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.6);
}


.phone-icon {
    color: white;
    font-size: 24px;
    z-index: 2;
    position: relative;
}


.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #007bff;
    border-radius: 50%;
    animation: pulse 2s linear infinite;
    opacity: 0.6;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


@media (max-width: 768px) {
    .floating-phone-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .phone-icon {
        font-size: 20px;
    }
}
.otherpage {
  padding: 70px 0;
}
.otherpage .ct-container {
  padding: 20px 0 0;
}


.news-grid-section {
    padding: 50px 0;
}

.news-grid {
    margin: 0 -15px;
}

.news-item {
    margin-bottom: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 8px;
    color: #007bff;
}

.news-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007bff;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-read-more {
    margin-top: auto;
}

.read-more-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.read-more-link::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: translateX(3px);
}


@media (max-width: 992px) {
    .news-item {
        margin-bottom: 25px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .news-grid-section {
        padding: 30px 0;
    }
    
    .news-item {
        margin-bottom: 20px;
    }
    
    .news-image img {
        height: 180px;
    }
}

.single-news-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.single-news-article {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}


.single-news-header {
    margin-bottom: 30px;
    text-align: center;
}

.single-news-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #2d3748;
    margin-bottom: 15px;
}

.single-news-meta {
    display: flex;
    justify-content: center;
    font-size: 14px;
    color: #718096;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.single-news-meta i {
    color: #007bff;
}


.single-news-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.single-news-thumbnail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


.single-news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.single-news-content p {
    margin-bottom: 20px;
}


.single-news-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-previous a, .nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-previous a:hover, .nav-next a:hover {
    color: #0056b3;
}


.single-news-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}


.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
}

.latest-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-post-link {
    display: block;
    text-decoration: none;
    color: #4a5568;
    transition: color 0.3s ease;
}

.latest-post-link:hover {
    color: #007bff;
}

.latest-post-title {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.latest-post-date {
    font-size: 12px;
    color: #a0aec0;
}


.related-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.related-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.related-post-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #007bff;
}

.related-post-meta {
    display: flex;
    flex-direction: column;
}

.related-post-date {
    font-size: 12px;
    color: #718096;
}


@media (max-width: 991px) {
    .single-news-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .single-news-article {
        padding: 30px;
    }
    
    .single-news-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .single-news-page {
        padding: 20px 0;
    }
    
    .single-news-article {
        padding: 20px;
    }
    
    .single-news-title {
        font-size: 24px;
    }
    
    .single-news-thumbnail img {
        height: 250px;
    }
    
    .single-news-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous, .nav-next {
        text-align: center;
    }
}
.navigation.post-navigation {
  width: 100%;
}