.sliderlink a: {
    color:#fff;
    font-weight:600;
}
.sliderlink{
    color:#fff;
}
/* General Document Styling */
.post-block {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.post-block:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Document Container */
.document-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,204,0.8);
}
.document-container:hover {
  background: #fff;
}
/* Document Thumbnail */
.document-thumbnail {
  flex: 0 0 60px; /* Fixed width for the icon */
  text-align: center;
}

.document-icon {
  font-size: 48px;
  color: #000; /* Red color for PDF icon */
}

/* Document Content */
.document-content {
  flex: 1; /* Takes remaining space */
}

.document-title h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 7px 0;
  color: #000;
  text-transform:initial;
}

.document-title h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #333;
}

.document-meta {
  font-size: 14px;
  color: red;
  margin-bottom: 15px;
}

.document-meta .document-date,
.document-meta .document-department {
  display: inline-block;
  margin-right: 10px;
}

.document-body {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Document Actions */
.document-actions {
  text-align: left;
}

.btn-download {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-download:hover {
  background: #000;
}

/* Teaser 2 Specific Styling */
.document-teaser-2 .document-container {
  padding: 15px;
}

/* Detail Page Specific Styling */
.document-detail .document-container {
  padding: 25px;
}
/* General styles for both full and teaser modes */
.node--financing-schemes {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid #ffa200;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.node__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.field__label {
  font-size: 1.1rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 0.5rem;
}

.field__item,
.field__items {
  font-size: 1rem;
  color: #000;
}

/* Full mode specific styles */
.node--full .field {
  margin-bottom: 1.5rem;
}

.node--full .field--beneficiaries {
  background-color: #e3f2fd;
  padding: 1rem;
  border-radius: 4px;
}

.node--full .field--body {
  line-height: 1.6;
}

.node--full .field--money-access {
  background-color: #fff3e0;
  padding: 1rem;
  border-radius: 4px;
}

.node--full .field--project-status {
  background-color: #e8f5e9;
  padding: 1rem;
  border-radius: 4px;
}

.node--full .field--link a {
  color: #1e88e5;
  text-decoration: none;
}

.node--full .field--link a:hover {
  text-decoration: underline;
}

/* Teaser mode specific styles */
.node--teaser {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.node--teaser .node__title {
  font-size: 16px;
  margin-bottom: 0.75rem;
}

.node--teaser .field--body {
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 1rem;
}

.node--teaser .field--project-status {
  font-size: 0.9rem;
  color: #4caf50;
  margin-bottom: 1rem;
}

.node--teaser .field--project-status .field__label {
  font-weight: normal;
}

.node--teaser .field--link .button--web-portal {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1e88e5;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.node--teaser .field--link .button--web-portal:hover {
  background-color: #1565c0;
}

.node--teaser .button--read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #ffa200;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size:13px;
}

.node--teaser .button--read-more:hover {
  background-color: #000;
}

/* Style for the flaglines */
/*.flaglines {*/
/*  display: flex;*/
/*  width: 100%;*/
  /*height: 5px; */
  /*margin-top: 10px; */
/*  margin-left:30px;*/
/*}*/

/*.flaglines div {*/
/*  flex: 1;*/
/*  height: 100%;*/
/*}*/

/*.flaglines .black {*/
/*  background-color: black;*/
/*}*/

/*.flaglines .yellow {*/
/*  background-color: yellow;*/
/*}*/

/*.flaglines .red {*/
/*  background-color: red;*/
/*}*/

/* Ensure the flaglines only appear below the menu */
/*.header-one__main-menu {*/
/*  position: relative;*/
/*}*/

/*.header-one__main-menu .flaglines {*/
/*  position: absolute;*/
  /*bottom: -6px;*/
/*  left: 0;*/
/*  right: 0;*/
/*}*/
/*start */
.karaso .owl-carousel .owl-item img {
      border-radius: 45%;
    background: #000;
}
/*---*/
/* Global Card Style */
.regulatory-authority-card {
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.regulatory-authority-card:hover {
  transform: translateY(-4px);
}

/* Shared Image Style */
.authority-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

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

/* ================= TEASER MODE ================= */
.teaser-mode {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1rem;
}

.teaser-mode .authority-image {
  height: 135px;
  margin-bottom: 1rem;
  lign-content: center;
}

.teaser-mode .authority-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.teaser-mode .authority-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.teaser-mode .authority-mandate {
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
}

.teaser-mode .read-more {
  align-self: flex-start;
  margin-top: 1rem;
  background-color: #000;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 5px;
  text-decoration: none;
}

.teaser-mode .read-more:hover {
  background-color: #ffa200;
}

/* ================= FULL MODE ================= */
.full-mode {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.full-mode .authority-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 1rem;
}

.full-mode h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #333;
}

.full-mode .authority-mandate,
.full-mode .authority-permits {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.full-mode .btn-visit-site {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

.full-mode .btn-visit-site:hover {
  background-color: #218838;
}

/* Grid equal height fix */
.view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.view-content > .views-row {
  flex: 1 1 calc(33.33% - 1.5rem);
  display: flex;
}

.views-row .node {
  width: 100%;
  display: flex;
  flex-direction: column;
}


/* end of css*/
/* General Card Container */
.logistics-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.logistics-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Titles */
.project-title {
  font-size: 1.5rem;
  color: #1a202c;
  margin-bottom: 1rem;
}

.project-title a {
  color: #ffa200;
  text-decoration: none;
}

.project-title a:hover {
  text-decoration: underline;
  color:#000;
}

/* Teaser View Styles */
.teaser-view .project-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #444;
}

.teaser-view .project-meta li {
  margin-bottom: 0.4rem;
}

.btn-read-more {
  display: inline-block;
  background-color: #000;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-read-more:hover {
  background-color: #000;
}

/* Full View Table */
.full-view .project-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.full-view .project-table th {
  background-color: #f4f7fa;
  text-align: left;
  padding: 0.75rem;
  font-weight: 600;
  width: 25%;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

.full-view .project-table td {
  padding: 0.75rem;
  font-size: 0.95rem;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .full-view .project-table,
  .full-view .project-table thead,
  .full-view .project-table tbody,
  .full-view .project-table th,
  .full-view .project-table td,
  .full-view .project-table tr {
    display: block;
    width: 100%;
  }

  .full-view .project-table th {
    background: transparent;
    font-weight: bold;
    padding-top: 1rem;
  }

  .full-view .project-table td {
    padding: 0.5rem 0 1rem;
  }
}
