/* =========================
   Title Section (full width gray bg + boxed content)
   ========================= */
   
   /* Media Single Container Boxed Layout with symmetric spacing */
.media-single-container {
    max-width: 1100px;      /* Boxed width */
    width: 100%;            /* Full width up to max-width */
    margin-left: auto;       /* Center horizontally */
    margin-right: auto;      /* Center horizontally */
    padding-left: 20px;      /* Symmetric inner spacing */
    padding-right: 20px;     /* Symmetric inner spacing */
    box-sizing: border-box;  /* Include padding in width */
}

   
.media-single-container .fullwidth-title {
  margin-top: 120px;
  margin-bottom: 15px;
  background-color: #f0f0f0; /* light gray full width */
  color: #333;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 85px 0;
  box-sizing: border-box;
}

.media-single-container .title-inner {
  max-width: 1100px;
  font-size: 54px;
  margin: auto;
  padding: 0 20px;
  position: relative;
  text-align: left;
  box-sizing: border-box;
}

.media-single-container .post-date {
  position: relative;
  left: 0;
  top: 2px;
  font-size: 15px;      
  font-weight: normal;   
  background: transparent;
  color: #333;
  font-family: Helvetica;
}

.media-single-container .campaign-title {
  font-size: 60px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-family: Helvetica;
  color : #12A652;
}

.media-single-container .term-boxes {
  position: relative;
  left: 0;
  bottom: -10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.media-single-container .term-box {
  font-size: 15px;
  padding: 1px 10px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #2e8b57;
  color: #2e8b57;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: Helvetica;
}

.media-single-container .term-box:hover {
  background: #2e8b57;
  color: #fff;
  border-color: #2e8b57;
}

.media-single-container .publication-title-box {
    display: inline-block;       /* ✅ box width text অনুযায়ী */
    background: #000;
    padding: 6px 12px;           /* ✅ left-right padding */
    font-size: 20px;
    text-align: left;
    margin-top: 15px;
    color: #fff;
    border-radius: 4px;           /* চাইলে হালকা rounded corner */
}



/* Content + Image Columns */
.media-single-container .media-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 60px; /* gap increased */
  margin: 30px 0;
  align-items: stretch; /* <-- key: columns same height */
}

.media-single-container .media-left,
.media-single-container .media-right {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.media-single-container .media-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-family: Helvetica, Arial, sans-serif;
  text-align: justify;
  flex: 1; /* make content fill left column height */
}


.cover-page-box img,
.media-single-container .cover-page-box img {
    width: 100%;
    height: 100%;  /* fill parent column height */
    object-fit: cover; /* crop proportionally */
    border-radius: 6px;
    display: block;
}

.media-single-container .cover-page-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* content + text vertically stacked */
    justify-content: flex-end; /* text always bottom of image column */
    align-items: left;
}

.media-single-container .cover-page-box .design-credit {
    margin-top: 0px; /* distance from image bottom */
    font-size: 14px;
    color: #555;
    font-family: Helvetica, Arial, sans-serif;
    text-align: left;
}


/* PDF Viewer Container */
.media-single-container .pdf-viewer-box {
    height: 853px;
    margin: 40px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}

.media-single-container .pdf-viewer-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Download Button Wrapper */
.media-single-container .pdf-download-btn-wrapper {
    text-align: right; /* right side alignment */
    margin-bottom: 30px;
}

.media-single-container .pdf-download-btn {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 3px 22px;
    font-size: 14px;
    border-radius: 43px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.media-single-container .pdf-download-btn:hover {
    background-color: #1f7f3e;
    color: #fff;
}

/* =========================
   Green Line
   ========================= */
.green-line {
    width: 100%;
    height: 2px;
    background-color: #28a745;
    margin: 30px 0;
}

/* =========================
   Social Share Section
   ========================= */
.green-line-share {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: flex-end; /* right alignment */
    align-items: center;
    gap: 12px;
}

/* Share text */
.green-line-share .share-text {
    font-size: 14px;
    color: #28a745;
}

/* Social buttons container */
.green-line-share .share-buttons {
    display: flex;
    gap: 8px;
}

/* Individual social button */
.green-line-share .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #000;
    border-radius: 4px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect */
.green-line-share .share-btn:hover {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* Copy link button hover */
.green-line-share .share-btn.copy-link:hover {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* Responsive */
@media (max-width: 900px) {
    .green-line-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* Back Link */
.media-single-container .back-to-campaigns {
  margin: 40px 0;
}

.media-single-container .back-to-campaigns a {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #28a745;
  text-decoration: none;
}

.media-single-container .back-to-campaigns a:hover {
  text-decoration: underline;
}

.media-single-container .back-arrow {
  margin-right: 8px;
  font-size: 18px;
}