* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: content-box;
}

body {
  font-family: sans-serif;
  font-size: 16px;                   /* Default font size for body text */
  line-height: 1.6;                  /* Increase line spacing for better readability */
  color: #333;    
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;  /* Ensure headings use Roboto as well */
  font-size: 30px;                   /* Font size for headings */
  font-weight: 700;                  /* Bold weight for headings */
  color: #212529;                    /* Dark color for headings */
  margin-bottom: 20px;               /* Add space below headings */
}
h1 {
  font-size: 36px;  /* Larger heading */
}

h2 {
  font-size: 32px;  /* Slightly smaller heading */
}

h3 {
  font-size: 28px;  /* Smaller heading */
}

/* Paragraph/Body Text style */
p {
  font-size: 16px;                /* Body text size */
  font-weight: 400;               /* Regular weight for body text */
  color: #666;                    /* Slightly lighter color for body text */
  line-height: 1.6;               /* Line height for better readability */
  margin-bottom: 15px;            /* Add space between paragraphs */
}

/* TOUCH */
#tap-able {
  line-height: 1.4;
}

.text-centrat-simplu {
  text-align: center;
}

.text-align-center {
  text-align: center;
}


a {
  text-decoration: none;
}

.float-left {
  float: left;
}

img {
  cursor: pointer;
}

.margin-top-40px {
  margin-top: 40px;
}

.margin-top-20px {
  margin-top: 20px;
}

.blue-color {
  color: #31aae2;
}

.roz {
  color: #e91767;
}

.bold {
  font-weight: bold;
}

.center {
  max-width: 1140px;
  margin: 0 auto;
}

/* Header Styles */
.top-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 2px solid #31aae2;
  padding: 10px 20px;
  text-align: center;
}

/* Logo Section */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
  justify-content: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo a {
  text-decoration: none;
  color: #333;
  font-size: 24px;
  font-weight: bold;
}

.logo a p {
  font-size: 14px;
  margin: 0;
}

/* Logo Text */
.logo-text {
  margin-bottom: 10px;
  font-style: italic;
  font-size: 16px;
  color: #555;
  text-align: center;
}

.calendar-h1 {
  font-size: 16px;
  color: #EC3D3D;
}

.calendar-ortodox {
  text-decoration: none;
  color: #EC3D3D;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid transparent;
}

.calendar-ortodox:hover {
  border-bottom: 2px solid #EC3D3D;
}

.menu-toggle {
  display: none;
}

/* Navigation Styles */
.top-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.top-nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.top-nav ul li {
  margin: 5px 10px;
  position: relative;
}

.top-nav ul li a {
  display: flex;
  text-decoration: none;
  color: #333;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.top-nav ul li a:hover {
  background-color: #31aae2;
  color: #fff;
}

.dropdown-trigger::after {
  display:flex;
  justify-content: center;
  text-align: center;
  content: ' ▼';
  font-size: 12px;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  z-index: 1;
  min-width: 150px;
  top: 100%;
  left: 0;
}

.dropdown a {
  display: flex;
  padding: 10px 15px;
  display: block;
  color: #333;
  text-decoration: none;
}

.dropdown a:hover {
  background-color: #31aae2;
  color: #fff;
}

.dropdown-trigger:hover .dropdown {
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {


  .logo {
      flex-direction: column;
      align-items: center;
  }

  .logo a {
      font-size: 20px;
  }

  .logo img {
      height: 40px;
  }


}

/* end of calendar */
/* Minunile Maicii Domnului */
/* Carti.html */
.books-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.books-section h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.books-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.book-item {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s;
}

.book-item:hover {
  transform: translateY(-10px);
}

.book-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.book-item p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.read-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #31aae2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.read-button:hover {
  background-color: #007bb5;
  transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 768px) {
  .book-item {
      max-width: 100%;
  }
}

/* End of Carti.html */
.poza-carte {
  display: block;
  margin: 0 auto;
  height: 200px;
  width: auto;
}

.border-pagina {
  margin-top: 20px;
  display: flex;
  width: 15%;
  height: 1px;
  background-color: black;
}
/* End of Minunile Maicii Domnului */

/* Citeste Patericul Egiptean */
.wrapper-intamplari-aleatorii-din-patericul-egiptean {
  padding: 6px;
  border: 1px solid green;
}
.h1-patericul-egiptean {
  text-decoration: underline;
  color: green;
}

.citeste-patericul-egiptean {
  margin: 6px 0px 0px;
  display: flex;
  flex-direction: row;;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: green;
  transition: 1s ease;
  height: 40px;
  cursor: pointer;
}

.wrapper-intamplari-aleatorii-din-patericul-egiptean button {
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
  height: 30px;
  background-color: green;
  color: white;
}

.wrapper-intamplari-aleatorii-din-patericul-egiptean button:hover {
  background-color: brown;
}
.citeste-patericul-egiptean:hover {
  background-color: brown;
}

/* End of Patericul Egiptean */

/* Rugaciuni */

.rugaciuni h1 {
  margin-bottom: 40px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  color: #EC3D3D;
}

.rugaciuni p {
  text-indent: 20px;
  text-align: center;
}

.container-rugaciuni {
  display: flex;
  flex-direction: row;
  padding: 6px;
  border-top: 6px rgb(223, 84, 84) double;
  border-bottom: 6px rgb(223, 84, 84) double;
  border-right: 2px rgb(223, 84, 84) dotted;
  border-left: 2px rgb(223, 84, 84) dotted;
  border-radius: 6px;
}

.container-rugaciuni > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container-rugaciuni a {
  color: rgb(15, 130, 224);
  margin: 2px;
  padding: 6px;;
}

.container-rugaciuni a:hover {
  background-color: white;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .rugaciuni p {
      font-size: 24px;
      line-height: 1.6;
  }

  .rugaciuni h1 {
    font-size: 26px;
}
  .rugaciuni .litera_mare {
    font-size: 28px;
  }
}


.gallery {
  display: flex;
  flex-direction: column;
  margin: 6px;
  padding: 6px;
  line-height: 1.4;
  border: 1px solid #000;
  max-width: 220px;
  text-align: center;
}

 .gallery:hover {
  border: 1px solid #000;
  opacity: 0.8;
  color: #fff;
}

.gallery , .gallery-banner p {
  display: flex;
  padding: 6px;
  border-radius: 16px;
  text-align: left;
  background-color: #000;
  color: #fff;
}

.gallery  p {
  background-color: #198754;
  color: #fff;
}
 .gallery img {
   width: 100%;
   height: 180px;
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
}

/* end of image galery */
/* gellery-banner */
.gallery-banner {
  margin-top: 40px;
  text-align: center;
  border: 1px solid white;
  border-bottom: 1px solid #000;
}

.gallery-banner img {
  width: 100%;
  height: 180px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-banner:hover {
 border: 1px solid #000;
 background-color: #198754;
 color: #fff;
 opacity: 0.8;
 border-radius: 16px;
}
/* end of gallery banner */
/* text */
.text {
  margin-top: 40px;
  text-align: center;
  line-height: 1.2
}

.text h1 {
  color:#000;
}

.text p {
  line-height: 1.2
}
/* end of text */

/* footer */
.footer {
  display: flex;
  flex-grow: 1;
  margin-top: 40px;
  background-color: #212529;
  color: #fff; 
  margin: 0 auto;
  text-align: center;         /* Flexbox for arranging items horizontally */
  justify-content: space-between; /* Spread out the links and social icons */
  align-items: center;        /* Center the content vertically */         /* Maximum width for large screens */
}

.link-uri-utile {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: #ccc;                /* Light grey text for links */
  font-size: 14px;  
}


.footer a {
  text-decoration: none;      /* Remove underline from links */
  color: #ccc;                /* Light grey text for links */
  font-size: 14px;   
  padding: 6px;
  margin: 3px;
}

.footer a:hover {
  color: #FF5733;   
}
/* end of footer */

/* main-header with images */
#slideshow {
  position: relative;
  margin: 40px auto;
  text-align: center;
  height: 300px;
}

#slideshow > div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

#slideshow img {
  width: 100%;
  height: 180px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact  {
  display: flex;
  flex-direction: row;
  align-items: center;

  background-color: #000;
}

.contact a {
  color: #fff;
}

svg {
  margin: 0px 5px;
  fill: #fff;
  height: 16px;
  width: 16px;
}

.contact:hover .svg-contact {
  fill: #31aae2;
}

.contact a:hover {
  color: #31aae2;
}
/* end of contact */


/* portofoliu newsletter */
/* Newsletter Section */
.newsletter-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.newsletter-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.newsletter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.newsletter-item {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s;
}

.newsletter-item:hover {
  transform: translateY(-10px);
}

.newsletter-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.newsletter-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.newsletter-item p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #31aae2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #007bb5;
}

/* Media Queries */
@media (max-width: 768px) {
  .newsletter-item {
      max-width: 100%;
  }
}

/* End of portofoliu newsletter */
/* Download section */
/* Download Section */
.download-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.download-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.download-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.download-item {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s;
}

.download-item:hover {
  transform: translateY(-10px);
}

.download-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.download-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.download-item p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.download-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #31aae2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.download-button:hover {
  background-color: #007bb5;
}

/* Media Queries */
@media (max-width: 768px) {
  .download-item {
      max-width: 100%;
  }
}

/* End of Download section */


/* psaltirea */
.nav_psaltire {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.nav_psaltire li {
  margin: 18px;
}
.nav_psaltire ul li a:hover {
  color: #31aae2;
}

.litera_mare {
  font-size: 18px;
  font-weight: bold;
}

.spatiu_alineat {
  margin-left: 20px;
}
.spatiu_alineat_mare {
  margin-left: 40px;
}
.spatiu-space {
  margin-left: 6px;
}
/* scoate spatiile din texte facand liniile toate alineate */

.font-italic {
  font-style: italic;
}
.text_justify:after {
  content: "";
  display: inline-block;
  width: 100%
}
/* end of scoate spatiile din texte facand liniile toate alineate */
.text_align_center  {
  text-align: center;
}

.cifre_mici {
  font-size: 10px;
  margin-right: 4px;
}

.litere-mici {
  font-size: 12px;
}

/* Vietile Sfintilor */
.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.controls input, .controls button {
  padding: 10px;
  font-size: 16px;
}

.vietile-sfintilor {
  margin: 0 auto;
}

.viata-sfantului h1 {
  font-size: 16px;
}

.vietile-sfintilor a {
  color: #025983;
}

.casuta-vietile-sfintilor img {
  max-width: 100px;
  margin-right: 20px;
}

.casuta-vietile-sfintilor {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 10px;
}

.casuta-vietile-sfintilor > div {
  margin-left: 2px;
}
.vietile-sfintilor a:hover {
  color: #e47d33;
}
/* End of Vietile Sfintilor */
/* Viata Sfantului */
.viata-sfantului-img {
  display: flex;
  margin: 0 auto;
  width: auto;
  height: 200px;
}

.viata-sfantului h1,h4 {
  color:#025983;
  margin-bottom: 20px;
}

.viata-sfantului p {
  text-indent: 20px;
}
/* end of Viata Sfantului */

/* Sectiune livesearch-blog-post */
.sectiune-livesearch-blog-post {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.sectiune-livesearch-blog-post input {
  height: 30px;
  width: 100%;
}
#livesearch a {
  margin: 10px 0px;
  padding: 10px 0px;
}
#livesearch a:hover {
  background-color: white;
  color:#000
}

/* End of setiune livesearch-blog-post */


/* Publicatii */
.publicatii-h1 {
  color: brown;;
}

.search-container {
  margin-top: 40px;
  margin-bottom: 20px;
}

#search-input-publicatie {
  width: 98%;
  padding: 10px;
  font-size: 16px;
}

.publicatie.print p {
  text-indent: 40px;
}

.publicatie {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: box-shadow 0.3s, transform 0.3s;
  margin: 20px 0;
}

.publicatie:visited {
  color: #6c757d; /* Gray color for visited links */
  border-color: #6c757d;
  background: #f4f4f4; /* Subtle background change */
  box-shadow: none;
}

.publicatie:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px);
}

.publicatie h2 a {
  color: brown;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

.publicatie h2 a:hover {
  color: green;
  text-decoration: underline;
}

.date {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.tags-publicatii {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 10px;
}

.tags-publicatii {
  margin-top: 10px;
}

.tag-publicatii {
  display: inline-block;
  background-color: #f1f1f1;
  color: #333;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 0.9em;
  cursor: pointer;
}

.publicatie h1 {
  color: brown;
}

.publicatie h4 {
  color: green;
}

.publicatie ~ p {
  text-indent: 40px;
}

.data-drepturi-autor {
  margin-top: 20px;
  font-style: italic;
}

@media (max-width: 480px) {
  .last-publications .tag-publicatii {
    display: none;
  }
}

/* End of Publicatii */
/* Aleatorii */
#quoteTitle {
  color: #025983;
}

.subtitle-citat {
  color: green;
}

.content-citat  {
  margin-top: 10px;
  line-height: 1.4;
}

/* End of aleatorii */
/* Patericul Egiptean */

.cuprins-patericul-egiptean {
  display: block;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  color: black;
  padding: 10px 0px;
  font-size: 20px;
  width: 100%;
}

.index-patericul-egiptean {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  overflow: hidden;
  background-color: black;
}

.index-patericul-egiptean a {
  padding: 2px;
  color: white;
}

.index-patericul-egiptean a:hover {
  background-color: white;
  color: black;
}

#content-patericul-egiptean h2 {
  padding-top: 40px;
  border-top: 3px solid white;
  margin-top: 40px;
  color: brown;
}

#content-patericul-egiptean h3 {
  color: green;
}

#content-patericul-egiptean p {
  margin-top: 20px;
}

/* Pagina Tenis */
.titlu-tenis {
  margin-bottom: 40px;
  text-align: center;
  background-color:#025983 ;
  color: #fff;
}

.subtitlu-tenis {
  margin: 0px;
  text-align: center;
  background-color:#025983 ;
  color: #fff;
}

.pret-teren {
  font-weight: bold;
  font-size: 20px;
  background-color: rgb(224, 224, 224);
  text-align: center;
  color: rgb(56, 56, 218)
}

.pret-teren span {
  font-size: 20px;
  font-weight: bold;
  text-decoration: underline;
  color: green
}

.border-pret {
  width: 100%;
  border: 2px solid red;
}

/* Recenzii */
.wrapper-recenzii {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.casuta-sportiv {
  position:relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 300px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: height 0.3s ease;
  overflow: hidden;
}

.numar-sedinte {
  position: absolute;
  top: 15px;
  background-color: #000;
  color: #fff;
}

.poza-sportiv {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.nume-sportiv {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-top: 10px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.tip-sedinta {
  font-size: 16px;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}

.comentariu-wrapper {
  width: 100%;
}

.comentariu-sportiv {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-bottom: 10px;
}

.comentariu-wrapper {
  width: 100%;
}

.comentariu-sportiv.expanded {
  max-height: 1000px; /* Enough to show full text */
}

.toggle-comentariu {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  width: 110px; /* ✅ FIXED WIDTH for equal shape */
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.toggle-comentariu:hover {
  background-color: #0056b3;
}

/* End of recenzii */
.wrapper-sedinte {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.ul-sedinte {
  padding: 10px;
}

.ul-sedinte .pret-redus {
  text-decoration: line-through;
  color: red;
}

.ul-sedinte .pret-oferta {
  color:green;
}

.ul-sedinte h6 {
  color: green;
}


/* Sustine-ne printr-o donatie */
.donatii {
  text-align: center;
}

.dontatii a {
  color: green;
}
.donatii-container {
      max-width: 700px;
      margin: 40px auto;
      padding: 30px 20px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0,0,0,0.08);
    }

    .donatii-container h2 {
      text-align: center;
      font-weight: 600;
      margin-bottom: 10px;
      font-size: 26px;
      color: #222;
    }

    .intro-text {
      text-align: center;
      font-size: 16px;
      color: #555;
      margin-bottom: 30px;
    }

    .metoda-donatie {
      margin-bottom: 35px;
      border-top: 1px solid blue;
      border-bottom: 1px solid blue;
    }

    .metoda-donatie h3 {
      display: flex;
      align-items: center;
      font-size: 20px;
      margin-bottom: 10px;
      color: #007bff;
      gap: 10px;
    }

    .logo-icon {
      height: 28px;
      width: auto;
      vertical-align: middle;
    }

    .copiere-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f9f9f9;
      border: 1px solid #ddd;
      padding: 12px 16px;
      border-radius: 8px;
      margin-bottom: 15px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .copiere-box span {
      font-weight: 500;
      color: #333;
      flex: 1 1 auto;
      word-break: break-word;
    }

    .copiere-box button {
      padding: 8px 14px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    .copiere-box button:hover {
      background-color: #0056b3;
    }

    .info-linkuri {
      text-align: center;
      font-size: 15px;
      margin-top: 25px;
    }

    .info-linkuri a {
      color: #007bff;
      text-decoration: none;
      margin: 0 8px;
    }

    .info-linkuri a:hover {
      text-decoration: underline;
    }

  .alerta-copiere {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 1000;
  }
  
  .alerta-copiere.active {
    opacity: 1;
    pointer-events: auto;
  }

  .alerta-copiere svg {
    margin-right: 10px;
  }
    @keyframes fadeinout {
      0% { opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { opacity: 0; }
    }

    @media (max-width: 600px) {
      .copiere-box {
        flex-direction: column;
        align-items: stretch;
      }

      .copiere-box button {
        width: 100%;
      }

      .info-linkuri {
        font-size: 14px;
      }
    }

/* End of dontatii */

/* Animatie tenis de camp */

.ball {
  position: absolute;
  width: min(20vw, 150px); /* 20% of screen width, max 150px */
  height: min(20vw, 150px);
  background: #c9f364;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  right: 5%; /* keep some margin */
  overflow: hidden;
  animation: animate 1.5s linear infinite;
}

.ball:before,
.ball:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  background: transparent;
  border: 0.35em solid #fff; /* relative border */
  filter: blur(1px);
}

.ball:before {
  left: -65%;
}

.ball:after {
  right: -65%;
}

@keyframes animate {
  0% {
    transform: translate(-50%,-50%) translateY(-200%) rotate(0deg);
  }
  50% {
    transform: translate(-50%,-50%) translateY(0) rotate(180deg);
  }
  100% {
    transform: translate(-50%,-50%) translateY(-200%) rotate(360deg);
  }
}

.shadow {
  position: absolute;
  width: min(20vw, 150px);
  height: calc(min(20vw, 150px) / 3);
  transform: translate(-50%,100%);
  background: rgba(0,0,0,.2);
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
  animation: shadow 1.5s linear infinite;
  right: 5%;
}

@keyframes shadow {
  0% {
    transform: translate(-50%,100%) scale(1);
  }
  50% {
    transform: translate(-50%,100%) scale(.5);
  }
  100% {
    transform: translate(-50%,100%) scale(1);
  }
}

/* Extra tweaks for small screens */
@media (max-width: 480px) {
  .ball, .shadow {
    right: 2%;
  }
}

/* End of Animatie tenis de camp */

/* Contact sticky slide */
/* --- Universal Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Base Contact Box Styles --- */
.contact-box {
  position: fixed;
  background-color: #333;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 999;
  padding: 10px 15px;
  /* Add default text rendering properties that can sometimes help with font display */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.contact-label {
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  overflow-wrap: break-word; /* For very long single words */
}

.contact-details {
  margin-top: 10px;
  display: none;
  width: 100%;
}

.contact-details p,
.contact-details a {
  margin: 5px 0;
  font-size: 22px; /* Will be overridden for mobile */
  color: #fff;
  cursor: default;

  white-space: normal;
  overflow-wrap: break-word; /* Primary word breaking */
  word-wrap: break-word; /* Legacy support */
  /* word-break: break-all;  <-- Try commenting this out if the issue persists.
                                  It's more aggressive and can sometimes lead to odd breaks.
                                  Let's rely on overflow-wrap first. */

  display: block;
  width: 100%;
  min-width: 0;

  /* Explicitly set these to normal to rule them out */
  letter-spacing: normal;
  word-spacing: normal;
  text-indent: 0;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.contact-box.expanded .contact-details {
  display: block;
}

/* --- Desktop Styles --- */
@media (min-width: 769px) {
  .contact-box {
    top: 45%;
    left: 0;
    transform: none; /* cancel translateY */
    width: 90px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
  }

  .contact-box.expanded {
    width: 500px;
    max-height: 100vh;
    overflow-y: auto;
    top: 0;
}

  .contact-label {
    white-space: nowrap;
  }
}

/* --- Mobile + Tablet Styles --- */
@media (max-width: 768px) {
  .contact-box {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  .contact-label {
    white-space: normal; /* Allow label text to wrap on mobile */
    text-align: center;
  }

  .contact-details p,
  .contact-details a {
    font-size: 16px; /* Reduced font size for mobile */
    line-height: 1.4;
  }
}
/* End of contact sticky slide */

/* End of pagina Tenis */
/* Slider */
.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 100vh;
  min-height: 300px;
  margin-bottom: 40px;
}

/* SLIDES CONTAINER */
.slides {
  display: flex;
  transition: transform 0.8s ease;
  width: 100%;
}

/* INDIVIDUAL SLIDE */
.mySlides {
  position: relative;
  min-width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.overlay-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1; /* Behind text */
}

/* TEXT ON SLIDE */
.text-slide {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* Above overlay */
  text-align: center;
  padding: 0 10px;
  max-width: 100%;
}

.text-slide h2 {
  font-weight:bolder;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 30px;
  color: #fff; /* Original white color */
  line-height: 1.5;
}

.text-slide h3 {
  font-style: italic;
  font-family: sans-serif;
  font-size: 18px;
  color: #fff; /* Original white color */
  line-height: 1.4;
  margin-top: 10px;
}

.text-slide a {
  text-transform: uppercase;
  color: #4d8cf5; /* Original link color */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
}

/* BUTTONS */
.buton-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 4;
}

.buton-slider:hover {
  background: rgba(255,255,255,0.8);
  color: #000;
}

.buton-stanga { left: 10px; }
.buton-dreapta { right: 10px; }

/* DOTS */
/* DOTS */
.dots {
  position: absolute;
  bottom: 0px; /* distance from bottom */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between dots */
  z-index: 4;
}


.dot {
  display: inline-block;
  width: 20px;   /* Bigger dots */
  height: 20px;  /* Bigger dots */
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #fff;
}

.dot:hover {
  background: rgba(255,255,255,0.9);
}
/* RESPONSIVE TEXT */
@media(max-width:768px) {
  .text-slide h2 { font-size: 1.5rem; }
  .text-slide h3 { font-size: 0.9rem; }
}

@media(max-width:480px) {
  .text-slide h2 { font-size: 1.2rem; }
  .text-slide h3 { font-size: 0.8rem; }
}

/* End of slider */
/* CTA BUTON */
.cta-button {
    background: #2b8a3e; /* Green background */
    color: #fff; /* White text */
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #1f6d2f; /* Darker green on hover */
    color: #fff; /* Keep text white */
    transform: scale(1.05); /* Slight zoom */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-button i,
.cta-button img {
    font-size: 18px; /* Icon size */
}
/* end of CTA BUTON */
/* Cele mai vizionate/citite */
.cele-mai-vizionate-citite header {
  margin-top: 20px;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}
.cele-mai-vizionate-citite > div {
  display: flex;
  flex-direction: column;
}

.cele-mai-vizionate-citite a {
  padding: 2px;
  line-height: 1.6;
  color: #025983;
}
.cele-mai-vizionate-citite a:nth-child(odd) {
  background: fff;
}

.cele-mai-vizionate-citite a:hover {
  color: #e47d33;
  background-color: #000;
}
/* end of cele mai vizionate citite */

/* Vote  POLL*/

/* End of vote pole */

/* Minunile Maicii Domnului */
.minuni-h1 {
  text-align: center;
  color: red;
}

.minunile-maicii-domnului  {
  margin: 20px 0px;

}

.minunile-maicii-domnului h3 {
  color: blue;
  padding-bottom: 6px;
  border-bottom: 2px solid #e47d33;
}

.minunile-maicii-domnului h3 > span {
  color: red;
}

.minunile-maicii-domnului ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}

.minunile-maicii-domnului ul li {
  border: 6px solid transparent;
}

.minunile-maicii-domnului ul li a {
  display: flex;;
  padding: 6px 6px;
  border: 6px solid transparent;
  border-radius: 6px;
  color: black;
}

.minunile-maicii-domnului a:hover {
  background-color: #fff;
  border-top: 6px solid red;
  border-right: 6px solid blue;
  border-bottom: 6px solid #e47d33;
  border-left: 6px solid #025983;
}

/* End of minunile Maicii Domnului */
.psaltire_activ {
  background-color: #000;
  color: #fff;
}

/* &gt; - mai mare  >>          */
/* &lt; - mai mic   <<          */
/* << &lt;&lt;&gt;&gt; >> */
.header-psaltirea {
  margin-top: 40px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.header-psaltirea a {
    color: green;
}

.wrapper-casute {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.casuta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 10px;
  max-width: 250px;
}

.casuta a {
  width: 100%;
  margin-top: 6px;
  padding: 2px;
  border-bottom: 2px solid transparent;
}

.casuta a:hover {
  border-bottom: 2px solid #31aae2;
  background-color: #fff;
  color: #31aae2;
}

.wrapper-casute .desc {
  font-style: italic;
  color: #000;
}
/* sfantul psaltirea */


.iconita-psaltirea {
  width: 100%;
  height: 200px;
  background-image: url("./assets/imgs/psaltirea.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid green;
}
/* sfantul vasile cel mare */
.iconita-sfantul-vasile-cel-mare {
  width: 100%;
  height: 200px;
  background-image: url("./assets/imgs/sfantul-vasile-cel-mare.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid red;
}

/* sfantul Efrem Sirul */
.iconita-sfantul-efrem-sirul {
  width: 100%;
  height: 200px;
  background-image: url("./assets/imgs/sfantul-efrem-sirul.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid blue;
}

/* buton citeste Pslatirea */
a.buton:active {
  color: #e47d33;
}

a.buton {
  color: brown;
}
/* Citeste Psaltirea */
.citeste-psaltirea {
  margin: 20px 0px;
  display: flex;
  flex-direction: row;;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: black;
  transition: 1s ease;
  height: 40px;
  cursor: pointer;
}

.citeste-psaltirea:hover  {
  background-color: brown;
}
/* end of citeste psaltirea */

/* acatiste */
:root {
  --primary-color: #007bff;
  --secondary-color: #025983;
  --hover-color: #0056b3;
  --text-color: #333;
  --background-color: #f4f4f9;
  --border-color: #ddd;
}

.header-acatiste {
  margin-top: 20px;
  background-color: #025983;
  color: white;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.header-acatiste a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

/* acatist restrans, view */
.wrapper-view-print {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 10px 0px;
}

.print {
  line-height: 1.6;
}
/* end of acatist restrans, view */
.wrapper-butoane-acatist {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 10px; /* Reduced gap */
  justify-content: center;
  padding: 10px; /* Reduced padding */
}

.search-bar-acatiste {
  text-align: center;
  margin: 10px; /* Reduced margin */
}

.search-bar-acatiste input {
  width: 100%; /* Make input take full width */
  padding: 8px; /* Reduced padding */
  font-size: 14px; /* Reduced font size */
  border: 1px solid #ccc;
  border-radius: 5px;
}

#searchInputAcatiste {
  height: 30px;
  width: 100%; /* Make input take full width */
}

.butoane-acatiste {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 8px; /* Reduced gap */
  margin-bottom: 10px; /* Reduced margin */
}

.btn-acatist {
  padding: 8px 16px; /* Reduced padding */
  font-size: 14px; /* Reduced font size */
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-acatist:hover {
  background-color: #0056b3;
}

.wrapper-acatiste {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Reduced gap */
  justify-content: center;
}

.wrapper-acatiste a img {
  max-width: 100%;
  height: 100px; /* Reduced image height */
  object-fit: contain;
}

.wrapper-acatiste p {
  margin-top: 10px; /* Reduced margin */
  display: inline-block;
  text-align: center;
  margin: 4px; /* Reduced margin */
}

.wrapper-acatiste > a > p {
  color: black;
}

.wrapper-acatiste > div > a > p {
  color: black;
}

.wrapper-acatiste a {
  text-align: center;
  width: 150px; /* Reduced width */
  padding: 8px; /* Reduced padding */
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: black;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .btn-acatist {
    width: 100%;
  }

  .wrapper-acatiste {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .btn-acatist {
    font-size: 0.75rem; /* 12px */
    padding: 6px 12px;
  }

  .wrapper-acatiste {
    grid-template-columns: 1fr;
  }
}


    /* Additional Styles for Mobile, Tablet, Desktop Responsiveness and UX */
    @media (max-width: 480px) {
        .btn-acatist {
            padding: 10px 20px;
            font-size: 1rem;
        }
        .search-bar-acatiste input {
            width: 100%;
            font-size: 1rem;
        }
        .wrapper-acatiste {
            grid-template-columns: 1fr;
        }
   
    }

    @media (max-width: 610px) {
    
      .acatiste p {
        font-size: 24px;
    }
  }

    .wrapper-acatiste {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

  

    .acatist-item:hover {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        transform: translateY(-5px);
    
    }

.acatiste {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 4px; /* Reduced margin */
}

.acatiste h1 {
  margin-top: 10px; /* Reduced margin */
  font-size: 24px;
}

.poza-acatist { 
  display: flex;
  margin: 0 auto;
  width: auto;
  height: 150px; /* Reduced height */
}

.acatiste .titlu-bold {
  font-weight: bold;
  margin-top: 20px; /* Reduced margin */
}

 /* Lazy loading for images */
 .acatist-item img {
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
  loading: lazy;
}

.titlu-acatiste {
  margin-top: 10px; /* Reduced margin */
  color: #e47d33;
}

.acatiste p {
  line-height: 1.6;
  font-size: 18px;
  text-align: center;
}

.acatist-coloana {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* End of Acatiste */

/* Paraclise */
.header-paraclise {
    margin-top: 20px;
    background-color: #025983;
    color: white;
    text-align: center;
    width: 100%;
    height: 60px;
    line-height: 50px;
}

.header-paraclise a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.container-paraclise {
  margin-top: 70px; /* Add space for the fixed header */
  padding: 20px;
  max-width: 1200px;
  margin: 70px auto 0;
}

.search-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search-filter input, .search-filter select {
  padding: 10px;
  font-size: 16px;
  width: 48%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.wrapper-paraclise {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.wrapper-paraclise h1 {
  font-size: 16px;
}

.casuta-paraclis {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: calc(50% - 20px);
}

.casuta-paraclis img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
}

.casuta-paraclis p {
  padding: 10px;
  font-size: 16px;
  color: #025983;
}

.paraclis {
  line-height: 1.6;
  font-size: 18px;
}
.casuta-paraclis:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Media Queries */
@media (max-width: 480px) {
  .paraclis h1 {
    font-size: 24px;
 }

  .paraclis p {
     font-size: 24px;
     line-height: 1.6; 
  }
}

@media (min-width: 600px) {
  .casuta-paraclis {
      width: calc(33.333% - 20px);
  }
}

@media (min-width: 900px) {
  .casuta-paraclis {
      width: calc(25% - 20px);
  }
}
/* End of Paraclise */

.psalmi-widget ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.psalmi-widget li a {
  display: flex;
  color: #000;
  border: 1px dotted #fff;
  padding: 6px;
  margin: 0px 2px;
}

.active_psalmi_widget {
  background-color: #fff;
}

.psalmi-widget li a:hover {
  background-color: #fff;
}

.psalmi-inapoi-inainte {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* iframe start */
.iframe-postari {
  width: 100%;
  height: 300px;
}
.data-sursa-postari {
  margin-bottom: 40px;
}

.data-postari {
  margin-top: 20px;
}

.paragraf-postari {
  margin: 12px;
}

@media screen and (max-width: 600px) {

  .titlu-acatiste {
    margin-top: 0px;
    width: auto;
  }

  div.acatiste a{
   width: 45%;
 
  }
  .wrapper-acatiste a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0px;

  }

  .wrapper-acatiste img {
    display: block;
    max-height: 50px;
    width: 100%;
    object-fit: contain;
  }

  .wrapper-acatiste a p {
    display: none;
  }

  .wrapper-paraclise img {
      max-height: 50px;
      width: 100%;
      object-fit: contain;
  }

  .wrapper-paraclise a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }

  .wrapper-paraclise {
    display: flex;
    justify-content: center;
  }
}

/* iframe end */
/* BLOG */


#latest-publications .publicatie {
  cursor: pointer;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin: 6px;
  flex: 1;
  gap: 10px;
}

#latest-publications .publicatie h2 a {
  color: brown;
}

#latest-publications .publicatie h2 a:hover {
  color: green;
}

#latest-publications {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.citeste-publicatii {
  width: 100%;
  margin: 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: brown;
  transition: 1s ease;
  height: 40px;
  cursor: pointer;

}

.citeste-publicatii:hover {
  margin: 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color:#fff;
  background-color: green;
  transition: 1s ease;
  height: 40px;
  cursor: pointer;
}

/* end of blog */

/* accordion */
.accordion {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  margin-left: 5px;
  font-size: 20px;
}

.active:after {
  content: "\2212";
  font-size: 20px;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
/*end of accordion */

/* on click full screen image */
.clickable-image {
  cursor: pointer;
}

.fullscreen-poze {
  width: 100vw;
  height: 100vh;
  object-fit: contain; /* Maintain aspect ratio */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: rgba(0,0,0,0.6); /* Black background with opacity */
}
/* End of on click full screen image */


/* Manastire */

.manastire {
  margin: 4px 0px;
}
/* End of manastire */

/* Recomandare, Thumbnail, recomandare produs, manastire, relate article */
.recommended-section {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.recommended-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.recommended-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.article-card {
  width: 30%;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.article-card:hover {
  transform: scale(1.05);
}

.article-card img {
  width: 100%;
  height: auto;
}

.article-info {
  padding: 15px;
}

.article-info h3 {
  margin: 0 0 10px;
}

.article-info p {
  margin: 0;
  color: #666;
  font-size: 0.9em;
}
/* End of /* Recomandare, Thumbnail, recomandare produs, manastire, relate article */ 

/* Tags */
.tags {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:#e7e5e5ee;
}

.tags a {
  color: #025983;
  margin-top: 4px;
  margin-left: 6px;
  border-bottom: 1px solid #e47d33;
}

.tags a:hover {
  background-color: white;
  color:#e47d33;
  border-bottom: 1px solid #025983;
}

@media (max-width: 800px) {
  .tags {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;

  }
}

@media (max-width: 768px) {
  #latest-publications .tags-publicatii {
      display: none;
  }
}

/* End of Tags */

/* de citit */
.ce-este {
  margin-top: 20px;
}

#cuprins-ce-este {
  display: flex;
  flex-direction: column;
}

.header-ce-este {
  margin-top: 40px;
  color: #025983;
}

.cuprins-ce-este a {
  padding: 2px;
  margin: 2px 0px;

}

.ce-este-wrapper {
  scroll-margin-top: 50px;
}

.cuprins-ce-este a:hover {
  background-color: white;
}

.trigger-cuprins-ce-este {
  scroll-margin-top: 20px
}

.ce-este p:first-of-type {
  margin-top: 40px;
}
.ce-este p {
  margin-top: 6px;
}

.ce-este p span {
  background-color: white;
}

.ce-este p span:first-of-type {

  font-weight: bold;
  font-size: 18px;
}

.ce-este-wrapper {
  margin-bottom: 10px;
  border-bottom: 3px solid white;
}

.ce-este-wrapper > div > p {
  text-align: center;
}
/* end of de citit */

/* Share section */
.share-section {  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  text-align: center;
}

.share-section h2 {
  margin-bottom: 10px;
}

.share-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.share-buttons li {
  display: flex;
}

.share-btn {
  text-decoration: none;
  color: #fff;
  padding: 5px 15px;
  border-radius: 0px 10px;
  transition: background-color 0.3s;
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #55acee; }
.share-btn.linkedin { background-color: #0077b5; }
.share-btn.email { background-color: #dd4b39; }

.share-btn:hover {
  opacity: 0.8;
}

.icon-facebook::before { content: "📘"; }
.icon-twitter::before { content: "🐦"; }
.icon-linkedin::before { content: "🔗"; }
.icon-email::before { content: "✉️"; }
/* End of Share section */


/* Trimite un mesaj */

#rezerva-acum {
  max-width: 600px;
  margin: 0 auto;
}
#rezerva-acum input {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 7px;
  margin-top: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

/* GDPR modal styling */
.gdpr-popup {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gdpr-content {
  background: white;
  padding: 20px 30px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  position: relative;
  margin: 0 auto
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #000;
}
.showFormBtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  border: 1px solid #0066cc;
  cursor: pointer;
  margin-bottom: 20px;
}

.showFormBtn:hover {
  background: #fff;
  color: #0066cc;
}

#successMessage {
  color: green;
  font-weight: bold;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.instagram {
  display: flex;
  justify-content: center;
}

/* wrapper butoane facebook sportul alb */
.wrapper-butoane {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-top: 14px;
}
/* End of wrapper butoane facebook sportul alb */