/* Page background and layout */
.create-blog-body {
  background: #f3f4f6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/* Container box */
.form-container {
  background: #fff;
  width: 100%;
  max-width: 700px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Title */
.form-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Success alert */
.alert-success {
  background: #d1fae5;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Form groups */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
}

/* Inputs and textarea */
.form-group input[type="text"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

/* Error alert */
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-error ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* Submit button */
.form-submit {
  text-align: center;
}

.form-submit button {
  background: #2E3192;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.form-submit button:hover {
  background: #252a7a;
}

.form-submit button:active {
  transform: scale(0.98);
}

.blog-tags-list {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tags-label {
  font-weight: 600;
  color: #111827;
}

.blog-tag-pill {
  display: inline-block;
  background: #f3f4f6;
  color: #2E3192;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.blog-tag-pill:hover {
  background: #2E3192;
  color: #fff;
}

/* Container */
.blog-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  font-family: 'Arial', sans-serif;
}

/* Blog Title */
.blog-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
}

/* Blog Subtitle */
.blog-subtitle {
  color: #666;
  font-weight: normal;
  margin-bottom: 20px;
}

/* Blog Meta */
.blog-meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Blog Content */
.blog-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 40px;
}

/* Gallery Title */
.blog-gallery-title {
  margin-bottom: 15px;
  color: #222;
}

/* Swiper */
.mySwiper {
  border-radius: 10px;
  overflow: hidden;
}

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


.blog-news-section {
  padding: 60px 0;
  background: #fff;
}

.blog-news-section h3,
.blog-news-section p {
  text-transform: uppercase;
}

.section-title-blogs {
  font: ui-sans-serif, system-ui;
  font-size: 42px;
  font-weight: 500;
  line-height: 63px;
  color: rgb(51, 51, 51);
  text-align: center;

}

.section-blog-underline {
  width: 80px;
  height: 3px;
  margin: 30px auto;
  background: #2D318B;
}

.blogs-grid {
  display: flex;
  padding: 70px;
}

@media screen and (max-width: 620px) {
  .blogs-grid {
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
}


.blogs-link {
  font: ui-sans-serif, system-ui;
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  color: #3498db;
}

.blogs-link:hover {
  text-decoration: underline;
}

/* Blog title styling */
.blog-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

/* Blog thumbnail styling */
.blog-thumbnail {
  margin-bottom: 2rem;
  text-align: center;
}

.thumbnail-image {
  max-width: 100%;
  height: auto;
  /* border-radius: 8px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .blog-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .blog-thumbnail {
    margin-bottom: 1.5rem;
  }
}


/* blog style */
h1.entry-title {
  font-family: 'ui-sans-serif', system-ui;
  font-size: 35px;
  font-weight: 500;
  line-height: 52.5px;
  color: rgb(51, 51, 51);
  padding-bottom: 2rem;
}

.et_pb_divider {
  width: 80px !important;
  height: 4px !important;
  background: #2d318b !important;
  margin-bottom: 2rem !important;

}

.wp-block-heading {
  font-family: 'ui-sans-serif', system-ui;
  font-size: 26px;
  font-weight: 500;
  line-height: 26px;
  color: rgb(51, 51, 51);
  padding-bottom: 12px;

}

p {
  font-family: 'ui-sans-serif', system-ui;
  font-size: 14px;
  font-weight: 400;
  line-height: 23.8px;
  color: rgb(102, 102, 102);
}

em {
  font-size: 14px;
}

/* YOUTUBE DISPLAY BUTTON */
/* 
.wp-block-embed-youtube {
  display: none;;
} */

.epyt-facade-poster {
  display: none;
  ;
}

.epyt-facade-play {
  display: none;
  ;
}

iframe {
  /* width: 850px;
  height: 500px; */
  width: 100%;
  aspect-ratio: 850 / 500;
}

.wp-block-image img {
  width: 100%;
  aspect-ratio: 850 / 500;
  object-fit: cover;

}

figcaption {
  font-size: 12.6px;
  font-weight: 500;
  line-height: 17.64px;
  color: rgb(85, 85, 85);
  text-align: center;
}

.blocks-gallery-grid img {
  width: 100%;
  aspect-ratio: 850 / 500;
  object-fit: cover;
}

.blocks-gallery-grid {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

figure .wp-block-gallery {
  padding: 0 !important;
  margin: 0 !important;
}



.wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.blocks-gallery-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blocks-gallery-item {
  flex: 0 0 auto;
  width: 422px;
}

.blocks-gallery-item figure,
.wp-block-image {
  position: relative;
  width: 100%;
  aspect-ratio: 850 / 500;
  overflow: hidden;
  /* border-radius: 8px; */
  margin: 0;
}


.blocks-gallery-item img,
.wp-block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.blocks-gallery-item figcaption,
.wp-block-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
}


.wp-block-gallery::-webkit-scrollbar {
  height: 8px;
}

.wp-block-gallery::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.wp-block-gallery::-webkit-scrollbar-track {
  background: transparent;
}


.wp-block-gallery .columns-2 {
  display: flex !important;
  flex-wrap: wrap;

}

p a {
  color: #2ea3f2;
}