/* Blog and Blog Detail CSS */

/* --- From style.css --- */

/* BlogStarts Here */

.affordable-umrah-post {
    padding-top: 40.5px;
    padding-bottom: 70px;
}

.blog-main-heading {
    width: 100%;
    text-align: left;
}

.blog-main-heading * {
    text-align: inherit;
}

.blog-main-heading h1 {
    font-size: 38px;
    font-weight: 700;
    text-align: left;
    color: var(--tertiary-color);
}


.banner-subheading,
.banner-subheading p {
    font-size: 20px;
    font-weight: 500;
    color: #fff !important;
    margin-top: 10px;
    text-align: left;
    line-height: 1.4;
}

.blog-main-heading p {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    margin-top: 15px;
    text-align: left;
}

.posts-involved {
    text-align: left;
}

.posts-involved img {
    max-width: 120px;
}

.blog-imges {
    padding-top: 25px;
}

.blog-banners .main-heading {
    max-width: 648px;
    width: 100%;
    padding: 31px 35px 7px;
    top: 10px;
    background-color: var(--bg-white);
    top: -50px;
    left: 50%;
    transform: translate(-50%);
    border-radius: 40px;
    text-align: center;
}

.main-heading h2 {
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    color: var(--tertiary-color);
}

.main-heading p {
    font-size: 18px;
    font-weight: 400;
}

.main-heading h2::before {
    position: absolute;
    content: "";
    background-image: url("/assets/images/five-umrah-p-l.png");
    width: 50px;
    height: 40px;
    top: 50%;
    transform: translate(-100%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 120px;
}

.main-heading h2::after {
    position: absolute;
    content: "";
    background-image: url("/assets/images/five-umrah-r.png");
    width: 50px;
    height: 40px;
    right: 120px;
    top: 50%;
    transform: translate(100%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* 
 .content {
    background-color: rgba(0, 0, 0, 37%);
    border-radius: 24px;
    position: absolute;
    bottom: 0;
    padding: 30px 25px;
}
 .content {
    background-color: rgba(0, 0, 0, 37%);
    border-radius: 24px;
    position: absolute;
    bottom: 0;
    padding: 30px 25px;
} */

.para p {
    font-size: 19px;
    font-weight: 400;
    color: var(--bg-white);
    line-height: 22px;
}

.admin-date span {
    font-size: 16px;
    font-weight: 500;
    color: var(--bg-white);
}

.admin-date {
    max-width: 190px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 9px;
}

.admin-date p {
    font-size: 16px;
    font-weight: 400;
    color: var(--bg-white);

}

.admin-date img {
    margin-right: 6px;
}

.post-package {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.post-package:hover {
    transform: translateY(-5px);
}

.post-package > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.posts-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.para-post p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 50px;
}

.admin-date {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.admin-date p {
    color: #777 !important;
    font-size: 14px;
    margin: 0;
}

.admin-date span {
    color: #777 !important;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.admin-date span img {
    width: 14px;
    margin-right: 5px;
}

.blog-main-post .content {
    background-color: rgba(0, 0, 0, 67%);
    border-radius: 24px;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    transition: min-height 0.3s ease, padding 0.3s ease;
    width: 100%;
    height: auto;
    min-height: 0;
}

.blog-main-post>a {
    z-index: 1;
}

.blog-main-post:hover .content {
    min-height: 100%;
    padding: 140px 25px;
}

.blog-main-post:hover .content .para p {
    color: var(--bg-secondary-color);
}

.blog-main-post {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.main-headings {
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}

.main-headings h2 {
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    padding: 0 60px 0 0;
    white-space: nowrap;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    color: var(--tertiary-color);
}

.main-headings p {
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    margin-top: 10px;
}

.main-headings h2::before {
    display: none;
}

.main-headings h2::after {
    position: absolute;
    content: "";
    background-image: url("/assets/images/five-umrah-r.png");
    width: 50px;
    height: 40px;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.latest-posts-blog.no-bg {
    background: none;
    position: relative;
}

.latest-posts-blog.no-bg .latest-data-blog {
    padding-top: 30px;
}

.latest-posts-blog.no-bg .main-headings {
    padding: 0;
    background-color: transparent;
    margin: 0;
    width: 100%;
}
/* 
.latest-posts-blog.no-bg .main-headings h2 {

    width: fit-content;
    padding: 0 67px;
    white-space: nowrap;
    max-width: none;
    position: relative;
    box-sizing: border-box;
} */

.latest-posts-blog.no-bg .main-headings p {
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
}

.latest-posts-blog {
    background-color: rgba(0, 0, 0, 3%);
    padding: 60px 0 0px;
}

.latest-data-blog {
    padding-top: 37px;
    /* padding-bottom: 50px; */
}

.blog-main-post.add {
    margin-top: 60px;
}

.paginations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
}

.paginations a {
    font-size: 18px;
    font-weight: 600;
    padding: 0 6px;
}

.paginations a.active {
    color: var(--bg-secondary-color);
}

.detail-heading h4,
.detail-heading h1 {
    font-size: 42px;
    font-weight: 700;
    color: #343434;
    margin: 0 0 15px;
}


.detail-heading p {
    font-size: 18px;
    font-family: var(--monts-font);
    color: #343434;
    padding-bottom: 12px;
}

.detail-page {
    padding-top: 31px;
}


.questions-about-umrah p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    padding-bottom: 16px;
    color: #373737;
}
.questions-about-umrah ul{
    padding-left: 3.5rem;
}
.questions-about-umrah ul>li {
    font-size: 18px;
    color: #373737;
    line-height: 26px;
    font-weight: 400;
    margin: 20px 0;
    position: relative;
}
.questions-about-umrah ul>li::after {
    position: absolute;
    content: '';
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--bg-primary-color);
    left: -40px;
    top: 11px;
}
.questions-about-umrah p a, .questions-about-umrah a {
    color: var(--bg-secondary-color);
}
.questions-about-umrah img {
    margin-top: 10px;
    padding-bottom: 15px;
}

.questions-about-umrah span {
    font-size: 36px;
    line-height: 42px;
    font-weight: 700;
    color: var(--bg-secondary-color);
    text-align: left;
    display: block;
    padding-top: 6px;
    padding-bottom: 15px;
    max-width: 807px;
    width: 100%;
}

/* --- Blog Content Detail Styling --- */
/* Matches site design system: Raleway font, brand color tokens,
   same conventions as .questions-about-umrah / package detail pages */

.content-detail {
    font-family: var(--primary-font);
    color: #373737;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* Headings — same weight/color as rest of site */
.content-detail h1,
.content-detail h2,
.content-detail h3,
.content-detail h4,
.content-detail h5,
.content-detail h6 {
    font-family: var(--primary-font);
    color: var(--tertiary-color);
    font-weight: 700;
    line-height: 1.3;
    margin: 30px 0 12px;
}

.content-detail h1 { font-size: 34px; }
.content-detail h2 { font-size: 28px; }
.content-detail h3 { font-size: 24px; }
.content-detail h4 { font-size: 20px; }
.content-detail h5 { font-size: 18px; }
.content-detail h6 { font-size: 16px; }

/* Span headings used by CKEditor (like .questions-about-umrah span) */
.content-detail span.section-heading {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--tertiary-color);
    font-family: var(--primary-font);
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Paragraphs */
.content-detail p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #373737;
    padding-bottom: 16px;
    margin: 0;
}

/* Links — matches .questions-about-umrah p a */
.content-detail a,
.content-detail p a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-detail a:hover,
.content-detail p a:hover {
    color: var(--tertiary-color);
    text-decoration: underline;
}

/* Lists — matches .questions-about-umrah ul > li */
.content-detail ul,
.content-detail ol {
    padding-left: 3.5rem;
    margin-bottom: 20px;
}

.content-detail ul > li {
    font-size: 16px;
    color: #373737;
    line-height: 1.8;
    font-weight: 400;
    margin: 14px 0;
    position: relative;
    list-style: none;
}

.content-detail ul > li::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    left: -30px;
    top: 8px;
}

.content-detail ol > li {
    font-size: 16px;
    color: #373737;
    line-height: 1.8;
    font-weight: 400;
    margin: 10px 0;
    list-style-type: decimal;
}

/* Bold / Strong */
.content-detail strong,
.content-detail b {
    font-weight: 700;
    color: var(--primary-color);
}

/* Italic / Em */
.content-detail em,
.content-detail i {
    font-style: italic;
    color: #555;
}

/* Blockquote */
.content-detail blockquote {
    border-left: 5px solid var(--secondary-color);
    padding: 15px 25px;
    background: #f6fdf9;
    font-style: italic;
    font-size: 17px;
    color: #444;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Images */
.content-detail img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}

/* Tables — styled like site's package/detail tables */
.content-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.content-detail th,
.content-detail td {
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    text-align: left;
    font-family: var(--primary-font);
    vertical-align: top;
}

.content-detail th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.content-detail tr:nth-child(even) td {
    background-color: #f7fdf9;
}

.content-detail tr:hover td {
    background-color: #eef8f3;
    transition: background-color 0.2s;
}

/* Iframe / Video */
.content-detail iframe {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    aspect-ratio: 16 / 9;
    border: none;
}

/* HR */
.content-detail hr {
    border: 0;
    border-top: 2px solid #e5e5e5;
    margin: 35px 0;
}

/* Pre / Code */
.content-detail pre,
.content-detail code {
    background: #f4f4f4;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 14px;
    color: var(--primary-color);
}

.content-detail pre {
    padding: 16px 20px;
    overflow-x: auto;
    margin: 20px 0;
}




.latest-detail .headingof-detail-blog span {
    font-size: 24px;
    font-weight: 700;
    color: var(--tertiary-color);
    text-transform: capitalize;
    display: block;
    margin-bottom: 20px;
}

.sticky-sidebar {
    position: sticky;
    top: 110px;
    height: fit-content;
    z-index: 10;
}

.para-cont p {
    font-size: 19px;
    font-weight: 400;
    color: var(--bg-white);

}

.data-detail-section {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* removed hover effects */


.data-detail-section .content-detail {
    padding: 10px 15px;
    position: static;
    background: #fff;
}

.img-detail-section img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.data-detail-section .para-cont p {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 8px;
}




.data-detail-section:hover .para-cont p {
    color: var(--tertiary-color);
}

.data-detail-section a {
    z-index: 9;
}

/* removed hover effects */


.date-time-data {
    display: none !important;
}

/* removed redundant styles */

.data-detail-section.prompt {
    margin-top: 0;
}

/* Blogs Banner Ends Here */


.latest-detail .headingof-detail-blog {
    line-height: 1.2;
    margin-bottom: 15px;
}

.questions-about-umrah h1,
.questions-about-umrah h2,
.questions-about-umrah h3,
.questions-about-umrah h4 {
    color: var(--tertiary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.questions-about-umrah p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.questions-about-umrah img {
    border-radius: 12px;
    margin: 20px 0;
}

.blog-banners {
  padding: 150px 0 100px;
  color: #fff;
  text-align: left;
  background-size: cover;
  background-position: center;
  position: relative;
}


/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1400px) {
  .blog-banners {
    padding: 130px 0 90px;
  
}

@media (max-width: 1199px) {
  .blog-banners {
    padding: 110px 0 80px;
  }
                .blog-main-heading h1 {
                  font-size: 34px;
                }
        
                .main-headings h2 {
                  font-size: 30px;
    
        .content-detail h1 {
            font-size: 32px;
        
                .content-detail h2 {
                  font-size: 28px;
                }
                }

@media (max-width: 991px) {
  .blog-banners {
    padding: 100px 0 70px;
  
                .blog-main-heading h1 {
        font-size: 30px;
        }
                .banner-subheading,
                .banner-subheading p {
          font-size: 18px;
          }
                .main-headings h2 {
                  font-size: 28px;
                }
                .sticky-sidebar {
                  position: static;
                  margin-top: 40px;
                }
                .detail-page {
                  padding-top: 40px;
                }
                .content-detail {
                  font-size: 16px;
    
}

@media (max-width: 767px) {
  .blog-banners {
    padding: 80px 0 60px;
    text-align: center;
  }
                .blog-main-heading {
                  text-align: center;
                }
                .blog-main-heading h1 {
        font-size: 26px;
          text-align: center;
        }
                .banner-subheading,
                .banner-subheading p {
          font-size: 16px;
            text-align: center;
        margin-top: 8px;
        }
                .blog-main-heading p {
        font-size: 14px;
          text-align: center;
        }
                .main-headings {
                  text-align: center;
                  margin-bottom: 25px;
                }
                .main-headings h2 {
        font-size: 24px;
          margin: 0 auto;
          padding: 0 50px 0 0;
        }
                .main-headings p {
        text-align: center;
          font-size: 15px;
        }
  .posts-involved {
    text-align: center;
  }
  .latest-posts-blog {
    padding: 40px 0;
  }
  .content-detail h1 {
    font-size: 28px;
  }
  .content-detail h2 {
    font-size: 24px;
  }
  .content-detail h3 {
    font-size: 21px;
  }
  .content-detail blockquote {
    padding: 12px 20px;
    margin: 20px 0;
  }
}

@media (max-width: 575px) {
  .blog-banners {
    padding: 60px 0 40px;
  }
  .blog-main-heading h1 {
    font-size: 22px;
  }
  .main-headings h2 {
    font-size: 20px;
    padding-right: 45px;
  }
  .main-headings h2::after {
    width: 40px;
    height: 30px;
  }
  .post-package .para-post p {
    font-size: 16px;
    height: 45px;
  }
  .paginations {
    gap: 10px;
  }
  .paginations a {
    font-size: 16px;
    padding: 0 4px;
  }
}
