/* ===== UNIVERSAL BLOG POST BLOCK ===== */

/* Main Container */
.cdb-universal-blog-post {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 20px;
  padding-bottom: 40px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #434343;
  line-height: 160%;
  margin-left: auto;
  margin-right: auto;
}

.cdb-universal-blog-post * {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #434343;
  line-height: 160%;
}

/* Post Meta Section */
.cdb-blog-post-meta {
  width: 100%;
  display: flex;
  gap: 12px;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid #c1c1c1;
}

.cdb-post-date {
  color: #737373;
  faz: 14px;
}

.cdb-post-title {
  font-weight: 500;
  line-height: 20px;
  align-text: left;
}

/* Content Sections Container */
.cdb-content-sections {
}

/* Individual Content Section */
.cdb-content-section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #c1c1c1;
  position: relative;
}

.cdb-section-inner {
  /* Mobile styles */
}

/* Section Header */
.cdb-section-header-wrapper {
  position: sticky;
  top: 0;
  background-color: white;
}

.cdb-section-header {
}

.cdb-section-title {
  color: #434343;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Section Content Area */
.cdb-section-content {
  /* Mobile styles */
}

/* Content Types */
.cdb-content-paragraph {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
}

.cdb-content-wysiwyg {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
}

.cdb-content-image {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  overflow: clip;
}

.cdb-content-list {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  flex-direction: column;
  row-gap: 24px;
  display: flex;
}

/* List Items */
.cdb-list-item {
  display: flex;
  column-gap: 15px;
}

.cdb-list-item-icon {
  width: 50px;
  flex-shrink: 0;
  flex-grow: 0;
}

.cdb-list-item-content {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.cdb-list-item-title {
  font-weight: bold;
}

.cdb-list-item-text {
  /* Mobile styles */
}

.cdb-list-item-button {
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  transition: 0.3s;
}

.cdb-list-item-button:hover {
  transform: scale(1.05);
}

.cdb-list-item-button,
.cdb-list-item-link {
  text-decoration: none;
  flex-grow: 0;
  width: max-content;
}

/* Gallery */
.cdb-content-gallery {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cdb-gallery-item {
  width: 100%;
}

.cdb-gallery-item img {
  margin-right: auto;
  margin-left: auto;
}

.cdb-content-video {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
}

/* Lightbox */
.cdb-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cdb-lightbox.cdb-active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.cdb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 2001;
}

.cdb-lightbox-prev,
.cdb-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2001;
}

.cdb-lightbox-prev:hover,
.cdb-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cdb-lightbox-prev {
  left: 20px;
}

.cdb-lightbox-next {
  right: 20px;
}

.cdb-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.cdb-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.cdb-lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 1.1rem;
}

/* ===== BREAKPOINTS ===== */

/* sm: 640px and up */
@media (min-width: 640px) {
  /* Main Container */
  .cdb-universal-blog-post {
  }

  .cdb-gallery-item {
    width: calc(50% - 8px);
  }

  /* Video */
  .cdb-content-video {
  }

  /* Lightbox */
  .cdb-lightbox {
  }
  .cdb-lightbox-close {
  }
  .cdb-lightbox-prev,
  .cdb-lightbox-next {
  }
  .cdb-lightbox-content {
  }
  .cdb-lightbox-image {
  }
  .cdb-lightbox-caption {
  }
}

/* md: 768px and up */
@media (min-width: 768px) {
  /* Main Container */
  .cdb-universal-blog-post {
  }

  /* Post Meta */
  .cdb-blog-post-meta {
  }
  .cdb-post-date {
  }
  .cdb-post-title {
  }

  /* Content Layout */
  .cdb-content-sections {
  }
  .cdb-content-section {
  }
  .cdb-section-inner {
  }

  /* Section Header */
  .cdb-section-header-wrapper {
  }
  .cdb-section-header {
  }
  .cdb-section-title {
  }

  /* Section Content */
  .cdb-section-content {
  }

  /* Content Types */
  .cdb-content-paragraph {
  }
  .cdb-content-wysiwyg {
  }
  .cdb-content-image {
  }
  .cdb-content-list {
  }

  /* List Items */
  .cdb-list-item {
  }
  .cdb-list-item-icon {
  }
  .cdb-list-item-content {
  }
  .cdb-list-item-title {
  }
  .cdb-list-item-text {
  }
  .cdb-list-item-button,
  .cdb-list-item-link {
  }

  /* Gallery */
  .cdb-content-gallery {
  }
  .cdb-gallery-item {
  }

  /* Video */
  .cdb-content-video {
  }

  /* Lightbox */
  .cdb-lightbox {
  }
  .cdb-lightbox-close {
  }
  .cdb-lightbox-prev,
  .cdb-lightbox-next {
  }
  .cdb-lightbox-content {
  }
  .cdb-lightbox-image {
  }
  .cdb-lightbox-caption {
  }
}

/* lg: 1024px and up */
@media (min-width: 1024px) {
  /* Main Container */
  .cdb-universal-blog-post {
    max-width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  /* Post Meta */
  .cdb-blog-post-meta {
  }
  .cdb-post-date {
  }
  .cdb-post-title {
  }

  /* Content Layout */
  .cdb-content-sections {
  }
  .cdb-content-section {
  }
  .cdb-section-inner {
    display: flex;
  }

  /* Section Header */
  .cdb-section-header-wrapper {
    position: relative;
    width: 35%;
    flex-shrink: 0;
    padding-left: 20px;
  }
  .cdb-section-header {
    position: sticky;
    top: 100px;
  }
  .cdb-section-title {
    font-weight: 500;
    font-size: 28px;
  }

  /* Section Content */
  .cdb-section-content {
    max-width: 778px;
  }

  /* Content Types */
  .cdb-content-paragraph {
  }
  .cdb-content-wysiwyg {
  }
  .cdb-content-image {
  }
  .cdb-content-list {
  }

  /* List Items */
  .cdb-list-item {
  }
  .cdb-list-item-icon {
  }
  .cdb-list-item-content {
  }
  .cdb-list-item-title {
  }
  .cdb-list-item-text {
  }
  .cdb-list-item-button,
  .cdb-list-item-link {
  }

  /* Gallery */
  .cdb-content-gallery {
  }
  .cdb-gallery-item {
  }

  /* Video */
  .cdb-content-video {
  }

  /* Lightbox */
  .cdb-lightbox {
  }
  .cdb-lightbox-close {
  }
  .cdb-lightbox-prev,
  .cdb-lightbox-next {
  }
  .cdb-lightbox-content {
  }
  .cdb-lightbox-image {
  }
  .cdb-lightbox-caption {
  }
}

/* xl: 1280px and up */
@media (min-width: 1280px) {
  /* Main Container */
  .cdb-universal-blog-post {
    max-width: 1349px;
  }

  /* Post Meta */
  .cdb-blog-post-meta {
  }
  .cdb-post-date {
  }
  .cdb-post-title {
  }

  /* Content Layout */
  .cdb-content-sections {
  }
  .cdb-content-section {
  }
  .cdb-section-inner {
  }

  /* Section Header */
  .cdb-section-header-wrapper {
  }
  .cdb-section-header {
  }
  .cdb-section-title {
  }

  /* Section Content */
  .cdb-section-content {
  }

  /* Content Types */
  .cdb-content-paragraph {
  }
  .cdb-content-wysiwyg {
  }
  .cdb-content-image {
  }
  .cdb-content-list {
  }

  /* List Items */
  .cdb-list-item {
  }
  .cdb-list-item-icon {
  }
  .cdb-list-item-content {
  }
  .cdb-list-item-title {
  }
  .cdb-list-item-text {
  }
  .cdb-list-item-button,
  .cdb-list-item-link {
  }

  /* Gallery */
  .cdb-content-gallery {
  }
  .cdb-gallery-item {
  }

  /* Video */
  .cdb-content-video {
  }

  /* Lightbox */
  .cdb-lightbox {
  }
  .cdb-lightbox-close {
  }
  .cdb-lightbox-prev,
  .cdb-lightbox-next {
  }
  .cdb-lightbox-content {
  }
  .cdb-lightbox-image {
  }
  .cdb-lightbox-caption {
  }
}

/* 2xl: 1536px and up */
@media (min-width: 1536px) {
  /* Main Container */
  .cdb-universal-blog-post {
  }

  /* Post Meta */
  .cdb-blog-post-meta {
  }
  .cdb-post-date {
  }
  .cdb-post-title {
  }

  /* Content Layout */
  .cdb-content-sections {
  }
  .cdb-content-section {
  }
  .cdb-section-inner {
  }

  /* Section Header */
  .cdb-section-header-wrapper {
  }
  .cdb-section-header {
  }
  .cdb-section-title {
  }

  /* Section Content */
  .cdb-section-content {
  }

  /* Content Types */
  .cdb-content-paragraph {
  }
  .cdb-content-wysiwyg {
  }
  .cdb-content-image {
  }
  .cdb-content-list {
  }

  /* List Items */
  .cdb-list-item {
  }
  .cdb-list-item-icon {
  }
  .cdb-list-item-content {
  }
  .cdb-list-item-title {
  }
  .cdb-list-item-text {
  }
  .cdb-list-item-button,
  .cdb-list-item-link {
  }

  /* Gallery */
  .cdb-content-gallery {
  }
  .cdb-gallery-item {
  }

  /* Video */
  .cdb-content-video {
  }

  /* Lightbox */
  .cdb-lightbox {
  }
  .cdb-lightbox-close {
  }
  .cdb-lightbox-prev,
  .cdb-lightbox-next {
  }
  .cdb-lightbox-content {
  }
  .cdb-lightbox-image {
  }
  .cdb-lightbox-caption {
  }
}
