.news-page .header-breadcrumb,
.about-header-section .header-breadcrumb {
  font-size: x-small;
  line-height: 1.35;
}

.news-page .header-breadcrumb .breadcrumb,
.about-header-section .header-breadcrumb .breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: 0;
  font-size: 1em;
  --bs-breadcrumb-divider: '>';
  --bs-breadcrumb-divider-color: var(--node-color);
}

.news-page .header-breadcrumb .breadcrumb-item + .breadcrumb-item,
.about-header-section .header-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-inline-start: var(--bs-breadcrumb-item-padding-x);
}

.news-page .header-breadcrumb .breadcrumb-item.active,
.about-header-section .header-breadcrumb .breadcrumb-item.active {
  color: inherit;
}

.news-page .header-breadcrumb .breadcrumb-item a:hover,
.about-header-section .header-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline !important;
}

/* Unified section padding - matches home.blade.php (px-3 px-lg-5) */
.news-page .container-fluid.px-3,
.blog-page .container-fluid.px-3 {
  padding-left: var(--section-px, 1rem) !important;
  padding-right: var(--section-px, 1rem) !important;
}
@media (min-width: 992px) {
  .news-page .container-fluid.px-lg-5,
  .blog-page .container-fluid.px-lg-5 {
    padding-left: var(--section-px-lg, 3rem) !important;
    padding-right: var(--section-px-lg, 3rem) !important;
  }
}

.news-page .media-card-caption {
  font-size: clamp(0.86rem, 0.9vw, 1rem);
  line-height: 1.25;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.25em * 2);
}


.news-page .blog-grid .main-image-container {
  aspect-ratio: 1.2 / 1;
  border-radius: 19px;
}

.news-page .main-image-container::before,
.news-page .card-img {
  border-radius: 19px;
}

.news-page .blog-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  height: 36.777px;
  padding: 5.172px 11.493px;
  align-items: center;
  gap: 7.47px;
  border-radius: 18.963px;
  background: rgba(232, 230, 223, 0.81);
  color: #522b3a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}


[dir="rtl"] .news-page .blog-card-date {
  left: auto;
  right: 12px;
}

.news-page .blog-card-meta {
  font-size: 1rem;
  color: var(--primary-dark);
}

.news-page .meta-icon-box {
  width: 1.50rem;
  height: 1.50rem;
  border-radius: 50%;
  background-color: var(--companies-bg, #887755);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-author-name{
  font-size: smaller;
}
.news-page .meta-icon-box .bi-person-fill {
  font-size: 0.75rem;
}

.news-page .blog-card-meta .bi-eye {
  color: var(--companies-bg, #887755);
}


.news-page .blog-create-btn {
  background: var(--indicator-active);
  border-color: var(--indicator-active);
}

.news-page .blog-create-btn:hover,
.news-page .blog-create-btn:focus {
  color: #fff;
  background: #c88f31;
  border-color: #c88f31;
}

.news-page .blog-create-btn__icon {
  width: 1.45rem;
  height: 1.45rem;
  font-size: 0.9rem;
  line-height: 1;
}

.add-article-page .add-article-photos-upload-box,
.add-article-page .add-article-header-preview,
.add-article-page .add-article-video-preview,
.add-article-page .add-article-editor-wrap {
  border-radius: var(--radius-form, 14px) !important;
}

.add-article-form-wrap {
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem 1.5rem;
}
@media (min-width: 768px) {
  .add-article-form-wrap {
    padding: 2.5rem 2.5rem;
  }
}

.add-article-label {
  color: var(--primary-dark);
  font-size: 1rem;
}

.add-article-note {
  font-size: 0.85rem;
  color: var(--companies-bg);
  font-weight: 600;

}

.add-article-input {
  border: 1.188px solid var(--Earth, #522B3A);
  border-radius: var(--radius-form, 14px);
  padding: 0.6rem 1rem;
  background-color: #fff;
}
.add-article-input:focus {
  border-color: var(--companies-bg);
  box-shadow: 0 0 0 0.2rem rgba(136, 119, 85, 0.15);
}
.add-article-input::placeholder {
  color: rgba(82, 43, 58, 0.25);
}

.add-article-upload-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.add-article-upload-wrap--pill {
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--primary-dark, #522b3a);
  border-radius: var(--radius-form, 14px);
  padding-block: 0;
  padding-inline-start: 1rem;
  padding-inline-end: 0;
  max-width: 100%;
  overflow: hidden;
}

.add-article-upload-wrap--pill:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(82, 43, 58, 0.12);
}

#headerUploadGroup.is-invalid .add-article-upload-wrap--pill,
#videoUploadGroup.is-invalid .add-article-upload-wrap--pill {
  border-color: var(--bs-form-invalid-border-color, #dc3545);
}

.add-article-upload-input {
  flex: 1;
  min-width: 180px;
}

.add-article-upload-input--pill {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-block: 0.55rem;
  padding-inline-end: 0.75rem;
  padding-inline-start: 0;
}

.add-article-upload-input--pill:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

.add-article-upload-btn {
  background-color: var(--primary-dark) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--radius-form, 14px);
  padding: 0.5rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s, color 0.2s;
}

.add-article-upload-btn--pill {
  flex-shrink: 0;
  align-self: stretch;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-start-start-radius: var(--radius-form, 14px);
  border-end-start-radius: var(--radius-form, 14px);
  padding-block: 0 !important;
  padding-inline: 0.95rem 1.15rem !important;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
}

.add-article-upload-btn--pill:hover,
.add-article-upload-btn--pill:focus-visible {
  background: #3d2429 !important;
  color: #fff !important;
}

.add-article-upload-btn:hover:not(.add-article-upload-btn--pill) {
  background-color: var(--companies-bg) !important;
  color: #fff !important;
}

.add-article-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.add-article-upload-btn--pill .add-article-upload-icon {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.25px solid currentColor;
  border-radius: 50%;
}

.add-article-upload-btn--pill .add-article-upload-icon svg {
  width: 11px;
  height: 11px;
}

.add-article-header-loading-bar,
.add-article-video-loading-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--companies-bg), var(--primary-dark));
  border-radius: 4px;
  animation: add-article-loading 1.5s ease-in-out infinite;
}
@keyframes add-article-loading {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.add-article-header-preview {
  max-width: 100%;
  aspect-ratio: 1920 / 1000;
  max-height: 280px;
  background: #f5f5f5;
}
.add-article-header-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.add-article-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.add-article-header-preview:hover .add-article-header-overlay {
  opacity: 1;
}
.add-article-header-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.add-article-header-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.add-article-photos-upload-box {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  border-radius: var(--radius-form, 14px);
  background: rgba(255, 255, 255, 0.8);
  border: 2px dashed rgba(82, 43, 58, 0.3);
  color: var(--primary-dark);
  transition: border-color 0.2s, background 0.2s;
}
.add-article-photos-upload-box:hover {
  border-color: var(--companies-bg);
  background: rgba(255, 255, 255, 0.95);
}
.add-article-photos-plus-icon {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}
.add-article-photos-upload-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.photo-thumb-item {
  position: relative;
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  border-radius: var(--radius-form, 14px);
  overflow: hidden;
  border: 2px solid rgba(82, 43, 58, 0.2);
}
.photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.photo-thumb-item:hover .photo-thumb-overlay {
  opacity: 1;
}
.photo-thumb-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.photo-thumb-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.add-article-video-preview {
  aspect-ratio: 16 / 9;
  max-width: 320px;
  max-height: 180px;
  background: #e8e8e8;
}
.add-article-video-preview-inner {
  width: 100%;
  height: 100%;
  min-height: 120px;
}
.add-article-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.add-article-video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.add-article-video-play-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.add-article-editor-wrap {
  border: 1px solid rgba(82, 43, 58, 0.2);
  min-height: 280px;
}
.add-article-editor-wrap .ql-toolbar {
  border: none;
  border-bottom: 1px solid rgba(82, 43, 58, 0.15);
  background: #fafafa;
}
.add-article-editor-wrap .ql-container {
  border: none;
  font-size: 1rem;
}
.add-article-editor-wrap .ql-editor {
  min-height: 220px;
}



.add-article-buttons-wrap .read-more-arrow-circle {
  border-color: currentColor;
}

#headerUploadGroup.is-invalid .add-article-header-preview,
#photosUploadGroup.is-invalid .add-article-photos-wrap,
#videoUploadGroup.is-invalid .add-article-upload-wrap,
#editorGroup.is-invalid .add-article-editor-wrap {
  border-color: #dc3545;
}
#headerInvalidFeedback,
#photosInvalidFeedback,
#videoInvalidFeedback,
#editorInvalidFeedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
#headerUploadGroup.is-invalid #headerInvalidFeedback,
#photosUploadGroup.is-invalid #photosInvalidFeedback,
#videoUploadGroup.is-invalid #videoInvalidFeedback,
#editorGroup.is-invalid #editorInvalidFeedback {
  display: block;
}

/* ========== News detail page ========== */

.news-detail-section {
  background: var(--secondary);
}

.news-detail-main {
  background-color: rgba(255, 255, 255, 0.5);
}

.news-featured-hero__img {
  z-index: 1;
}

.news-detail-main .news-featured-hero__frame {
  box-sizing: border-box;
}

.news-latest-sidebar {
  background: transparent;
  padding: 0;
}

@media (min-width: 992px) {
  .news-latest-sidebar {
    padding-top: 0.35rem;
  }
}



.news-latest-sidebar .news-latest-list {
  row-gap: 3.5rem;
}


.news-latest-sidebar .news-latest-item {
  gap: clamp(1.75rem, 2vw, 1.1rem);
  align-items: center;
}

.news-latest-sidebar .news-latest-visual {
  flex: 0 0 45%;
  width: 45%;
  max-width: 45%;
  min-width: 0;
}

.news-latest-sidebar .news-latest-visual .main-image-container {
  width: 100%;
}

.news-latest-sidebar .main-image-container::before,
.news-latest-sidebar .card-img {
  border-radius: var(--radius-main, 30px);
}

.news-latest-sidebar .media-card-date {
  background: rgba(232, 230, 223, 0.81);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
}

.news-latest-sidebar .yallow-circle {
  background-color: var(--accent-secondary, var(--yallow));
}

.news-latest-item {
  transition: opacity 0.2s ease;
}

.news-latest-item:hover {
  opacity: 0.92;
}

.news-latest-item:hover .yallow-circle {
  transform: scale(1.05);
}

.news-page .news-latest-sidebar .news-latest-item__title {
  flex: 1 1 55%;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0 !important;
  min-height: 0;
  max-width: 100%;
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

@media (max-width: 991.98px) {
  .news-latest-sidebar {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(82, 43, 58, 0.1);
  }
}

@media (max-width: 575.98px) {
  .news-latest-sidebar .news-latest-visual {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
  }

  .news-page .news-latest-sidebar .news-latest-item__title {
    flex: 1 1 58%;
    font-size: 0.82rem;
    line-height: 1.26;
  }
}

/* ========== Add Article — publish success modal ========== */
.add-article-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.add-article-success-modal.is-open {
  display: flex;
}

.add-article-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(62, 40, 72, 0.48);
  cursor: pointer;
}

.add-article-success-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 440px);
  max-height: min(90vh, 520px);
  pointer-events: none;
}

.add-article-success-card {
  display: grid;
  width: 100%;
  pointer-events: auto;
  position: relative;
}

.add-article-success-frame-svg,
.add-article-success-inner {
  grid-area: 1 / 1;
}

.add-article-success-frame-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.add-article-success-close {
  position: absolute;
  z-index: 3;
  top: 3.35%;
  left: 95.1%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #887755;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.add-article-success-close:hover,
.add-article-success-close:focus-visible {
  background: #6f6347;
  outline: none;
}

.add-article-success-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(136, 119, 85, 0.45);
}

.add-article-success-inner {
  place-self: center;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 2rem 2.75rem;
  margin-top: 0.5rem;
  max-width: 88%;
}

.add-article-success-illu {
  width: min(200px, 55vw);
  height: auto;
  margin-bottom: 0.35rem;
  pointer-events: none;
  user-select: none;
}

.add-article-success-heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4.5vw, 2rem);
  font-weight: 700;
  color: #b8692a;
  letter-spacing: 0.02em;
}

.add-article-success-msg {
  margin: 0;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  line-height: 1.45;
  color: #3d2d45;
}

.add-article-success-msg strong {
  font-weight: 700;
}

html[dir="rtl"] .add-article-success-frame-svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .add-article-success-close {
  left: auto;
  right: 95.1%;
  transform: translate(50%, -50%);
}

/* ========== Article page (blog-style detail) ========== */
.article-page-hero {
  border-radius: var(--radius-form, 14px);
}

.article-page-hero-title {
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  line-height: 1.3;
  max-width: 100%;
}

.article-page-main {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(82, 43, 58, 0.08);
}

.article-page-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  background: rgba(82, 43, 58, 0.07);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.article-page-media-strip {
  width: 100%;
  border-radius: clamp(16px, 2.4vw, 24px);
  overflow: hidden;
  aspect-ratio: 21 / 8;
  max-height: min(34vw, 240px);
}

.article-page-header-banner {
  background: rgba(82, 43, 58, 0.06);
}

.article-page-header-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-page-video-block {
  position: relative;
  background: rgba(82, 43, 58, 0.06);
}

.article-page-media-strip.article-page-video-block {
  aspect-ratio: 21 / 10;
  max-height: min(44vw, 300px);
}

.article-page-video-block__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-page-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(3rem, 12vw, 4rem);
  height: clamp(3rem, 12vw, 4rem);
  border: 2px solid #e8e6df;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #e8e6df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.article-page-video-play__icon {
  font-size: clamp(1.2rem, 4.2vw, 1.65rem);
  line-height: 1;
  margin-left: 0.12em;
}

html[dir="rtl"] .article-page-video-play__icon {
  margin-left: 0;
  margin-right: 0.12em;
  transform: scaleX(-1);
}

.article-page-video-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
}

.article-page-video-play:focus-visible {
  outline: 3px solid #e8e6df;
  outline-offset: 4px;
}


.article-page-media-strip.article-page-triple-carousel {
  overflow: visible;
  aspect-ratio: auto;
  max-height: none;
  border-radius: 0;
}

.article-page-triple-carousel {
  position: relative;
}

.article-page-triple-carousel .carousel-inner {
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

@media (max-width: 767.98px) {
  .article-page-triple-carousel .carousel-inner {
    padding-inline: 2.75rem;
  }
}

.article-page-triple-carousel .carousel-item > .row {
  align-items: stretch;
}

.article-page-triple-carousel .carousel-item > .row > [class*="col-"] {
  height: auto;
  min-height: 0;
  display: flex;
}

.article-page-triple-carousel__img-wrap {
  flex: 1 1 auto;
  width: 100%;
  border-radius: clamp(12px, 2vw, 22px);
  overflow: hidden;
  height: auto;
  aspect-ratio: 386 / 280;
  background: transparent;
}

.article-page-triple-carousel__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-page-triple-carousel__ctrl {
  width: 2rem !important;
  height: 2rem !important;
  top: 50%;
  bottom: auto;
  padding: 0;
  opacity: 1;
  border: none;
  border-radius: 50%;
  background: var(--primary-dark) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-page-triple-carousel .carousel {
  --article-carousel-edge: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.article-page-triple-carousel__ctrl.carousel-control-prev {
  left: 0.35rem;
}

.article-page-triple-carousel__ctrl.carousel-control-next {
  right: 0.35rem;
}

@media (min-width: 768px) {
  .article-page-triple-carousel__ctrl.carousel-control-prev {
    left: -0.5rem;
  }

  .article-page-triple-carousel__ctrl.carousel-control-next {
    right: -0.5rem;
  }
}

.article-page-triple-carousel__icon {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  filter: none;
}

html[dir="rtl"] .article-page-triple-carousel__ctrl.carousel-control-prev {
  left: auto;
  right: 0.35rem;
}

html[dir="rtl"] .article-page-triple-carousel__ctrl.carousel-control-next {
  right: auto;
  left: 0.35rem;
}

@media (min-width: 768px) {
  html[dir="rtl"] .article-page-triple-carousel__ctrl.carousel-control-prev {
    right: -0.5rem;
  }

  html[dir="rtl"] .article-page-triple-carousel__ctrl.carousel-control-next {
    left: -0.5rem;
  }
}

.article-page-prose {
  line-height: 1.7;
  font-size: 1rem;
}

.article-page-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-form, 14px);
  margin: 1rem 0;
}



/* anwar */
.tag-0 {
  background: #522B3A33;
  color: #522B3A;
}

.tag-1 {
  color: #887755;
}

.tag-2 {
  background: #D69A3533;
  color: #D69A35;
}