@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@100..900&display=swap');
* { 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
     box-sizing: border-box; 
     scroll-behavior: smooth;
}

:root {
    --principal-color: #013766;
}

html,
body {
    background-size:cover;
    margin:0;
    width:100%;
    min-height: 100%;
    font-family: "Noto Sans Georgian", sans-serif;
    overflow-x:hidden;
}

.container {
    width:73%;
}

.nav-bar {
    width:100%;
    background-color: var(--principal-color);
    padding:20px;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.nav-bar .container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.nav-bar .container .logo {
    width:20%;
}

.nav-bar .container .logo img {
    width:100%;
    object-fit: cover;
}

.nav-bar .container .nav-nav {
    display:flex;
    flex-direction: row;
    list-style: none;
    padding:0;
    margin:0;
}

.nav-bar .container .nav-nav li {
    margin:0 20px;
}

.nav-bar .container .nav-nav li a {
    color:white;
    text-decoration: none;
    transition:1s ease-in-out;
}

.nav-bar .nav-nav li a:hover {
    text-decoration: underline;
}

.last-news {
    width:100%;
    padding:10px;
    display:inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.last-news .container {
    display:inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.last-news .container marquee {
    width:80%;
}

.last-news .container marquee span {
    width:auto;
    margin:0 10px;
}

.last-news .container marquee span a {
    color:black;
    text-decoration: none;
}

.last-news .container marquee span a:hover {
    text-decoration: underline;
}

.last-news .container marquee span .hora {
    margin:0 5px;
    color:gray;
    font-size:13px;
}

.body-view {
    width:100%;
    display:flex;
    justify-content: center;
    padding:20px;
}

.body-view .container #last-news-header {
    height:auto;
    margin:20px 0;
}

#last-news-header .featured-news {
    width:100%;
    min-height:460px;
    max-height:460px;
    list-style: none;
    padding:0;
}

.featured-news li a:nth-child(-n+2) {
    width:50%;
}

.featured-news li a:nth-child(n+3) {
    width: 33.33333333%;
}

.featured-news li a {
    height: 230px;
    position: relative;
    color: #fff;
    float: left;
    box-sizing: border-box;
    border: 1px solid #fff;
    overflow: hidden;
}

.featured-news li a:hover > img {
    transform: scale3d(1.1, 1.1, 1) rotate(2deg);
    -webkit-transform: scale3d(1.1, 1.1, 1) rotate(2deg);
    -moz-transform:  scale3d(1.1, 1.1, 1) rotate(2deg);
}

.featured-news li a:hover > .feature-details {
    background:linear-gradient(to top, #000, #00000091, #0000004b, #0000002f);
}

.featured-news li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease-in-out;
}

.featured-news li a .feature-details {
    width:100%;
    height:100%;
    position:absolute;
    left:0;
    top:0;
    z-index:99999;
    display:flex;
    align-items: flex-end;
    padding:20px;
    transition: .3s ease-in-out;
    background:linear-gradient(to top, #838383, #83838391, #8383834b, #8383832f);
}

.feature-details .data .category {
    width:150px;
    padding:5px;
    background-color: var(--principal-color);
    text-align: center;
}

#news-list {
    margin:60px 0;
}

#news-list .row {
    width:100%;
    display:flex;
    
}

#news-list .row .left-content {
        width: 100%;
}

.row .left-content .recent-news {
    width:100%;
    display:flex;
    justify-content: space-between;
    gap:1rem;
    
}

.row .left-content .new-recent {
    flex:2;
    max-width:50%;
}

.row .left-content .new-recent img {
    width:100%;
    height:370px;
    object-fit: cover;
}

.new-recent .information {
    padding-top:10px;
}

.new-recent a {
    text-decoration: none;
    color:black;
}

.new-recent a:hover > .information h3 {
    text-decoration: underline;
}

.new-recent .category {
    font-size:12px;
    color:var(--principal-color);
    font-weight: bolder;
}

.new-recent h3 {
    line-height: 1;
    font-weight: bolder;
}

.new-recent .description {
    word-break: break-all;
}

.new-recent .date {
    font-size:13px;
    color:gray;
}

.recent-news .list-recent {
    flex:1;
    display:flex;
    flex-wrap: wrap !important;
    align-items: stretch;
    margin:20px;
    padding:0;
    justify-content: space-around;
}

.list-recent .new {
    width:46%;
}

.list-recent .new a {
    color:black;
    text-decoration: none;
}

.list-recent .new a .title {
    font-weight: bolder;
}

.list-recent .new a:hover > .title {
    text-decoration: underline;
}

.list-recent .new a .date {
    font-size:12px;
    color:gray;
}

.list-recent .new img {
    width:100%;
    object-fit: cover;
}

#news-row {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    width:100%;
    justify-content: space-around;
    gap:5px;
}

#news-row .new {
    width:19%;
}

#news-row .new a {
    color:black;
    text-decoration: none;
}

#news-row .new a:hover > .title {
    text-decoration:underline;
}

#news-row .new img {
    width:100%;
}

#news-row .new .title {
    font-weight: bolder;
}

#news-row .new .date{
    font-size:12px;
    color:rgb(221, 221, 221);
}

.site-footer {
  background-color: var(--principal-color);
  color: #ddd;
  padding: 40px 20px 20px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 100px;
  margin: 15px;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-section p,
.footer-section li {
  color: #bbb;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #cecece;
  padding-top: 15px;
  font-size: 13px;
  color: #bbb;
}

.legal-container {
  max-width: 850px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  line-height: 1.7;
  font-size: 16px;
}

.legal-container h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--principal-color);
  font-weight: 800;
}

.legal-container h2 {
  font-size: 22px;
  margin-top: 30px;
  color: #222;
  border-left: 4px solid var(--principal-color);
  padding-left: 10px;
}

.legal-container p,
.legal-container li {
  color: #444;
}

.legal-container ul {
  margin-left: 20px;
  list-style-type: disc;
}

.legal-container a {
  color: var(--principal-color);
  text-decoration: underline;
}


.noticia-detalle .container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.contenido-principal {
  flex: 3;
  min-width: 0;
}

.contenido-principal article h1 {
  font-size: 2rem;
  margin-top: 15px;
}

.contenido-principal .portada {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 5px;
}

.fecha {
  color: gray;
  margin-bottom: 20px;
  display: block;
}

.contenido-html {
  margin-top: 20px;
  line-height: 1.6;
}

.btn-volver {
  display: inline-block;
  margin-top: 20px;
  color: #013766;
  text-decoration: none;
  font-weight: bold;
}

.sidebar {
  flex: 1;
  min-width: 260px;
}

.sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.lista-relacionadas {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lista-relacionadas li a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lista-relacionadas li a img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.lista-relacionadas li a:hover span {
  text-decoration: underline;
}

.categoria-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.categoria-section .container {
    width:100%;
}

.categoria-section .titulo-categoria {
  font-size: 2rem;
  font-weight: bold;
  color: #013766;
  margin-bottom: 30px;
  text-align: center;
}

.categoria-section .noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.noticia {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.noticia:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.noticia a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.noticia img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.noticia h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 15px;
  color: #013766;
}

.noticia p {
  font-size: 0.95rem;
  margin: 0 15px 10px;
  color: #444;
}

.noticia small {
  display: block;
  font-size: 0.8rem;
  color: gray;
  margin: 0 15px 15px;
}

.paginador {
  margin-top: 40px;
  text-align: center;
}

.paginador a {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  color: #013766;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  justify-content: center;
}

.paginador a.active {
  border-color: var(--principal-color);
  color: black;
}

.paginador a:hover {
  border-color: var(--principal-color);
}

.ad {
  width:100%;
  text-align: center;
}

.ad img {
  width:auto;
}

.ad span {
  font-size:12px;
}

.publisher {
  display:flex;
  flex-direction: row;
  width:100%;
  align-items: center;
  justify-content: flex-start;
  gap:1rem !important;
}

.publisher img {
  width:90px !important;
  min-height:90.17px !important;
  max-height:90.17px !important;
  object-fit: cover;
  border-radius:100%;
}

.publisher .publisherName .mail {
  font-size:14px;
  color:gray;
}

@media screen and (max-width: 768px) {
  .noticia-detalle .container {
    flex-direction: column;
    padding: 15px;
  }

  .sidebar {
    margin-top: 30px;
  }

  
.ad {
  text-align: center;
}

.ad img {
  width:100%;
  object-fit: cover;
  box-sizing: border-box;
}

}


@media screen and (max-width: 768px) {
  .legal-container {
    margin: 30px 15px;
    padding: 20px;
  }
}


@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
    margin: 20px 0;
  }
}
