.matchmaking-blogs-page {
    background-color: #111111;
    font-family: 'Red Hat Display', sans-serif;
    color: #C99B4B;
    min-height: 100vh;
}

.matchmaking-blogs-header {
    position: relative;
    width: 100%;
    height: 80vh;
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    z-index: 1;
}

/* .matchmaking-blogs-header::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 90vh;
    background-image: url(../images/couple/IMG_4966.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
} */

/* top image css start */
.matchmaking-blogs-header {
    position: relative;
    min-height: 90vh;
    /* Make sure section is tall enough */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Hide anything spilling out */
    padding: 20px;
}

.matchmaking-blogs-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(../images/couple/IMG_4966.jpg);
    background-size: cover;
    background-position: top center;
    /* Ensures top is shown */
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}

/* Responsive: adjust section height to avoid extra space */
@media (max-width: 1024px) {
    .matchmaking-blogs-header {
        min-height: 70vh;
    }
}

@media (max-width: 768px) {
    .matchmaking-blogs-header {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .matchmaking-blogs-header {
        min-height: 50vh;
    }
}


/* top image css end */

.matchmaking-blogs-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    font-weight: 700;
    color: #C99B4B;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.matchmaking-blogs-subtitle {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    color: #E0E0E0;
    max-width: 600px;
    margin: 0 auto;
}

.matchmaking-blogs-container {
    padding: 80px 0;
}

.matchmaking-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.matchmaking-blog-card {
    background: #1E1E1E;
    border-radius: 15px;
    border: 2px solid #333333;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.matchmaking-blog-card:hover {
    transform: translateY(-5px);
    border-color: #C99B4B;
    box-shadow: 0 15px 30px rgba(255, 160, 0, 0.2);
}

/* Fixed image container for responsive images */
.matchmaking-blog-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive image styling - works with any image size */
.matchmaking-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

/* Alternative: If you want to contain the full image instead of cropping */
.matchmaking-blog-img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    background: #1a1a1a;
}

.matchmaking-blog-card:hover .matchmaking-blog-img,
.matchmaking-blog-card:hover .matchmaking-blog-img-contain {
    transform: scale(1.05);
}

/* Fallback placeholder for when no image is provided */
.matchmaking-blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C99B4B, #C99B4B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    font-size: 3rem;
}

.matchmaking-blog-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.matchmaking-blog-category {
    background: #C99B4B;
    color: #111111;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.matchmaking-blog-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #C99B4B;
    margin-bottom: 10px;
    line-height: 1.3;
}

.matchmaking-blog-subheading {
    font-size: 1.1rem;
    font-weight: 500;
    color: #BDBDBD;
    margin-bottom: 15px;
}

.matchmaking-blog-excerpt {
    font-size: 1rem;
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.matchmaking-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #333333;
    margin-top: auto;
}

.matchmaking-blog-date {
    color: #BDBDBD;
    font-size: 0.9rem;
}

/* Fixed Read More button */
.matchmaking-blog-link {
    background: transparent;
    border: 2px solid #C99B4B;
    color: #C99B4B !important;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-block;
}

.matchmaking-blog-link:hover {
    background: #C99B4B;
    color: #111111 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 160, 0, 0.3);
}

/* Unique colors for each card */
.matchmaking-card-one {
    border-left: 4px solid #C99B4B;
}

.matchmaking-card-one .matchmaking-blog-category {
    background: #C99B4B;
}

.matchmaking-card-one .matchmaking-blog-heading {
    color: #C99B4B;
}

.matchmaking-card-one .matchmaking-blog-link {
    border-color: #C99B4B !important;
    color: #C99B4B !important;
}

.matchmaking-card-one .matchmaking-blog-link:hover {
    background: #C99B4B !important;
    color: #111111 !important;
}

.matchmaking-card-two {
    border-left: 4px solid #C99B4B;
}

.matchmaking-card-two .matchmaking-blog-category {
    background: #C99B4B;
}

.matchmaking-card-two .matchmaking-blog-heading {
    color: #C99B4B;
}

.matchmaking-card-two .matchmaking-blog-link {
    border-color: #C99B4B !important;
    color: #C99B4B !important;
}

.matchmaking-card-two .matchmaking-blog-link:hover {
    background: #C99B4B !important;
    color: #111111 !important;
}

.matchmaking-card-three {
    border-left: 4px solid #C99B4B;
}

.matchmaking-card-three .matchmaking-blog-category {
    background: #C99B4B;
}

.matchmaking-card-three .matchmaking-blog-heading {
    color: #C99B4B;
}

.matchmaking-card-three .matchmaking-blog-link {
    border-color: #C99B4B !important;
    color: #C99B4B !important;
}

.matchmaking-card-three .matchmaking-blog-link:hover {
    background: #C99B4B !important;
    color: #111111 !important;
}

.matchmaking-card-four {
    border-left: 4px solid #C99B4B;
}

.matchmaking-card-four .matchmaking-blog-category {
    background: #C99B4B;
}

.matchmaking-card-four .matchmaking-blog-heading {
    color: #C99B4B;
}

.matchmaking-card-four .matchmaking-blog-link {
    border-color: #C99B4B !important;
    color: #C99B4B !important;
}

.matchmaking-card-four .matchmaking-blog-link:hover {
    background: #C99B4B !important;
    color: #111111 !important;
}

.matchmaking-cta-area {
    background: #1E1E1E;
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid #333333;
}

.matchmaking-cta-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #C99B4B;
    margin-bottom: 15px;
}

.matchmaking-cta-text {
    font-size: 1.1rem;
    color: #E0E0E0;
    margin-bottom: 30px;
}

.matchmaking-cta-btn {
    background: linear-gradient(45deg, #C99B4B, #C99B4B);
    border: none;
    color: #111111;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.matchmaking-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 160, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .matchmaking-blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 35px;
    }

    .matchmaking-blog-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .matchmaking-blogs-title {
        font-size: 2.5rem;
    }

    .matchmaking-blogs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .matchmaking-blog-content {
        padding: 25px 20px;
    }

    .matchmaking-blog-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .matchmaking-blog-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .matchmaking-blogs-title {
        font-size: 2rem;
    }

    .matchmaking-blog-image {
        height: 200px;
    }

    .matchmaking-blog-heading {
        font-size: 1.3rem;
    }

    .matchmaking-blogs-container {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .matchmaking-blogs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .matchmaking-blog-image {
        height: 180px;
    }

    .matchmaking-blog-content {
        padding: 20px 15px;
    }
}

/* Single blog page css */

.single-blog-page-wrapper {
    background-color: #111111;
    font-family: 'Red Hat Display', sans-serif;
    color: #E0E0E0;
    min-height: 100vh;
}

.single-blog-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.single-blog-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #C99B4B;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-blog-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #BDBDBD;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.4;
}

.single-blog-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.single-blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.single-blog-featured-image:hover .single-blog-featured-img {
    transform: scale(1.02);
}

/* Blog Content Styling */
.single-blog-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E0E0E0;
    text-align: justify;
}

.single-blog-content-body h1,
.single-blog-content-body h2,
.single-blog-content-body h3,
.single-blog-content-body h4 {
    color: #C99B4B;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.single-blog-content-body p {
    margin-bottom: 25px;
}

.single-blog-content-body ul,
.single-blog-content-body ol {
    padding-left: 20px;
    margin-bottom: 25px;
}

.single-blog-content-body li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #D0D0D0;
}

.single-blog-content-body a {
    color: #C99B4B;
    text-decoration: underline;
    transition: color 0.3s;
}

.single-blog-content-body a:hover {
    color: #C99B4B;
}

.single-blog-content-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.single-blog-cta-section {
    background: linear-gradient(135deg, #1E1E1E, #2a2a2a);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin: 60px auto;
    border: 2px solid #333333;
    position: relative;
    overflow: hidden;
    max-width: 900px;
}

.single-blog-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C99B4B, #C99B4B);
}

.single-blog-cta-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #C99B4B;
    margin-bottom: 15px;
}

.single-blog-cta-text {
    font-size: 1.1rem;
    color: #E0E0E0;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.single-blog-cta-button {
    background: linear-gradient(45deg, #C99B4B, #C99B4B);
    border: none;
    color: #111111;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.single-blog-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 160, 0, 0.4);
    color: #111111;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .single-blog-main-title {
        font-size: 2.8rem;
    }

    .single-blog-content-container {
        padding: 60px 15px;
    }

    .single-blog-featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .single-blog-main-title {
        font-size: 2.2rem;
    }

    .single-blog-subtitle {
        font-size: 1.3rem;
    }

    .single-blog-featured-image {
        height: 300px;
        margin-bottom: 40px;
    }

    .single-blog-cta-section {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .single-blog-main-title {
        font-size: 1.8rem;
    }

    .single-blog-content-container {
        padding: 40px 10px;
    }

    .single-blog-featured-image {
        height: 250px;
    }

    .single-blog-content-body {
        font-size: 1rem;
    }

    .single-blog-cta-title {
        font-size: 1.8rem;
    }
}


/* Blog Article Redesign */

.blog-article-wrapper {
    background: #0f0f0f;
    color: #eaeaea;
    font-family: 'Sora', sans-serif;
    padding: 60px 20px;
}

.blog-article-container {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD369;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    color: #aaaaaa;
    margin-bottom: 40px;
}

.blog-featured-img-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(255, 211, 105, 0.2);
}

.blog-featured-img {
    width: 100% !important;
    height: 80vh !important;
    object-fit: cover !important;
    display: block !important;
}

.blog-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
}

.blog-content-body h2,
.blog-content-body h3 {
    color: #FFD369;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-content-body p {
    margin-bottom: 25px;
}

.blog-content-body ul,
.blog-content-body ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

.blog-content-body li {
    margin-bottom: 10px;
}

.blog-content-body a {
    color: #C99B4B;
    text-decoration: underline;
}

.blog-content-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 25px 0;
}

/* CTA Section */
.blog-cta-box {
    margin: 60px auto 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, #FFD369, #FFB347);
    text-align: center;
    border-radius: 20px;
    max-width: 800px;
    color: #111;
    position: relative;
    overflow: hidden;
}

.blog-cta-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-cta-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta-btn {
    display: inline-block;
    background-color: #111;
    color: #FFD369;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-cta-btn:hover {
    background-color: #222;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.2rem;
    }

    .blog-subtitle {
        font-size: 1.2rem;
    }

    .blog-article-container {
        padding: 30px 20px;
    }

    .blog-cta-heading {
        font-size: 1.6rem;
    }

    .blog-cta-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .blog-subtitle {
        font-size: 1rem;
    }

    .blog-content-body {
        font-size: 1rem;
    }

    .blog-cta-heading {
        font-size: 1.4rem;
    }

    .blog-cta-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}