    .join-hero {

        background-size: cover;
        background-position: center;
        padding: 64px 0;
        color: #0e1626;
    }

    .join-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(14, 22, 38, 0.08);
        padding: 26px;
    }

    .role-pill {
        padding: 8px 16px;
        border-radius: 20px;
        background: #f0f0f0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .role-pill.active {
        background: #007bff;
        color: #fff;
    }

    .step-box {
        padding: 18px;
        border-radius: 10px;
        border: 1px solid #f0f0f0;
        background: #fafafa;
        margin-top: 12px;
    }

    .small-muted {
        color: #6b7280;
        font-size: 13px;
        float: left;
    }

    .brand-accent {
        color: #0b84ff;
        font-weight: 700;
    }

    .ec-hide {
        display: none !important;
    }

    .btn-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .right-buttons {
        display: flex;
        gap: 8px;
    }


    .alert-inline {
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    .alert-success {
        background: #ecf9f2;
        color: #0a7a3a;
        border: 1px solid #d1f0db;
    }

    .alert-error {
        background: #fff3f3;
        color: #9b2a2a;
        border: 1px solid #ffd7d7;
    }

    @media (max-width: 768px) {
        .join-hero {
            padding: 30px 0;
        }

        .header-bottom-layout {
            flex-direction: row;
            gap: 8px
        }

        .main-menu {
            display: none
        }
    }

    /* Small tweaks for right panel content blocks so they swap cleanly */
    .role-content {
        display: block
    }

    .role-content .benefits-list {
        padding-left: 18px;
        color: #444
    }

    .benefits-list {
        list-style-position: outside;
        /* keeps bullets outside */
        padding-left: 20px;
        /* ensures bullets/text are indented */
        text-align: left;
        /* aligns text to the left */
    }

    .sidebar-profile {
        padding: 20px;
        border-bottom: 1px solid #eee;
    }

    .profile-img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

    .role {
        font-size: 14px;
        color: #777;
        margin: 5px 0;
    }

    .badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
    }

    .badge.approved {
        background: #e6f7ec;
        color: #1a8f3a;
    }

    .badge.pending {
        background: #fff3cd;
        color: #856404;
    }

    .badge.free {
        background: #e6f9f9;
        color: #0c8b8b;
    }

    .off-canvas-menu ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

    .off-canvas-menu ul li {
        margin: 12px 0;
    }

    .off-canvas-menu ul li a {
        display: block;
        padding: 10px 15px;
        color: #081c37;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        transition: 0.3s;
    }

    .off-canvas-menu ul li a:hover,
    .off-canvas-menu ul li a.active {
        background: #f0f5ff;
        color: #1a4dc3;
    }

    .off-canvas-footer {
        padding: 15px;
        border-top: 1px solid #eee;
    }

    .off-canvas-footer .tip {
        font-size: 12px;
        color: #888;
        margin-bottom: 10px;
    }


    .role-radio {
        /* visually hide but keep accessible */
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .role-pill {
        display: inline-block;
        padding: 8px 16px;
        border-radius: 20px;
        background: #f0f0f0;
        color: #111;
        cursor: pointer;
        user-select: none;
        transition: all .2s ease;
        margin-right: 12px;
    }

    .role-radio:checked+.role-pill {
        background: #007bff;
        color: #fff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, .15);
    }
.video-container {
    width: 100%;
    height: 180px;            /* fixed height to match image cards */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;         /* black background for better look */
    overflow: hidden;
    border-radius: 5px;
}

.video-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;      /* 🔥 ensures it fits without cropping */
}


/* Card Container */
.photographer-card {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.photographer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Image Frame */
.photographer-thumb {
    width: 100%;
    aspect-ratio: 4 / 5; /* consistent size */
    overflow: hidden;
    background-color: #f2f2f2;
}

.photographer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Zoom */
.photographer-card:hover .photographer-thumb img {
    transform: scale(1.05);
}

/* Author Info */
.author-info {
    padding: 15px;
    text-align: center;
}

.author-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

/* Social Section */
.socials {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Share Button */
.share-button {
    background: #fff;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Social Links Hidden */
.social-links-container {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

/* Show on Hover */
.socials:hover .social-links-container {
    display: flex;
}

/* Icons */
.social-links-container a {
    background: #fff;
    padding: 6px;
    border-radius: 50%;
    text-align: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.social-links-container a:hover {
    background: #4C6EF5;
    color: #fff;
}


.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px; /* space for icon */
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    font-size: 16px;
}

.toggle-password:hover {
    color: #4C6EF5;
}

img {
    pointer-events: none;
}

#pwa-install-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;

    background: #ffffff;
    border-radius: 14px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);

    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

#pwa-install-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#pwa-install-banner img {
    flex-shrink: 0;
    border-radius: 10px;
}

.pwa-banner-text {
    flex: 1;
    min-width: 0;
}

.pwa-banner-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.pwa-banner-text span {
    display: block;
    font-size: 13px;
    color: #666;
}

#pwa-install-btn {
    border: 0;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

#pwa-dismiss-btn {
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #777;
    padding: 5px;
}

@media (max-width: 600px) {

    #pwa-install-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
        gap: 10px;
    }

    .pwa-banner-text span {
        font-size: 12px;
    }

    #pwa-install-btn {
        padding: 9px 13px;
        font-size: 13px;
    }

}



/* ==========================================
   Event Clickers - Photographer Share
========================================== */

.ec-photographer-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ec-photographer-share a,
.ec-photographer-share button {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f5f5f5;
    color: #555;

    font-size: 15px;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.3s ease;
}

.ec-photographer-share a:hover,
.ec-photographer-share button:hover {
    background: #222;
    color: #fff;

    transform: translateY(-2px);
}

.ec-photographer-share button {
    padding: 0;
    font-family: inherit;
}







/* =========================================================
   BLOG DETAIL
   ========================================================= */

.blog-detail-hero {
    position: relative;
    padding: 95px 0 85px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #081c37 0%,
            #004540 100%
        );
}

.blog-detail-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    top: -240px;
    right: -100px;
    background: rgba(38, 166, 154, 0.12);
}

.blog-detail-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    background: rgba(228, 122, 21, 0.08);
}

.blog-detail-heading {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    color: #fff;
    font-family: var(--dm-sans-font);
    font-size: 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.blog-detail-meta i {
    color: var(--theme-color-2);
}

.blog-detail-heading h1 {
    margin: 0;
    color: #fff;
    font-family: var(--outfit-font);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 700;
}


/* =========================================================
   DETAIL AREA
   ========================================================= */

.blog-detail-section {
    padding: 100px 0 120px;
    background: #f7f9f8;
}

.blog-detail-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 28, 55, 0.09);
}

.blog-detail-content {
    padding: 70px 80px;
    font-family: var(--dm-sans-font);
    color: var(--body-color);
    font-size: 17px;
    line-height: 1.9;
}


/* =========================================================
   QUILL GENERATED HTML
   ========================================================= */

.blog-detail-content p {
    margin: 0 0 22px;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6 {
    color: var(--theme-color-3);
    font-family: var(--outfit-font);
    font-weight: 700;
    line-height: 1.3;
}

.blog-detail-content h1 {
    margin: 35px 0 18px;
    font-size: 38px;
}

.blog-detail-content h2 {
    margin: 32px 0 16px;
    font-size: 32px;
}

.blog-detail-content h3 {
    margin: 28px 0 15px;
    font-size: 26px;
}

.blog-detail-content h4 {
    margin: 25px 0 12px;
    font-size: 22px;
}

.blog-detail-content strong {
    color: var(--theme-color-3);
    font-weight: 700;
}

.blog-detail-content a {
    color: var(--theme-color);
    font-weight: 600;
}

.blog-detail-content a:hover {
    color: var(--theme-color-2);
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 20px 0 25px;
    padding-left: 30px;
}

.blog-detail-content li {
    margin-bottom: 10px;
}

.blog-detail-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    border-left: 4px solid var(--theme-color);
    background: #f2f7f6;
    color: var(--theme-color-3);
    border-radius: 0 12px 12px 0;
    font-size: 20px;
    line-height: 1.7;
}

.blog-detail-content pre {
    overflow-x: auto;
    margin: 30px 0;
    padding: 20px;
    background: var(--theme-color-3);
    color: #fff;
    border-radius: 10px;
}

.blog-detail-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 35px auto;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(8, 28, 55, 0.12);
}

.blog-detail-content iframe {
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 12px;
}

.blog-detail-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.blog-detail-content table th,
.blog-detail-content table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.blog-detail-content table th {
    background: var(--theme-color-3);
    color: #fff;
}

.blog-detail-content hr {
    margin: 35px 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}


/* =========================================================
   BLOG FOOTER
   ========================================================= */

.blog-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 80px;
    padding: 30px 0 40px;
    border-top: 1px solid #e9eceb;
}

.blog-detail-category {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--dm-sans-font);
}

.blog-detail-category span {
    color: var(--gray-color);
}

.blog-detail-category strong {
    color: var(--theme-color-3);
}


/* =========================================================
   RELATED BLOG
   ========================================================= */

.blog-related-section {
    padding-top: 90px;
}

.blog-related-heading {
    margin-bottom: 40px;
}

.blog-related-heading h2 {
    margin: 10px 0 0;
    color: var(--theme-color-3);
    font-family: var(--outfit-font);
    font-size: 40px;
    font-weight: 700;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .blog-detail-content {
        padding: 50px 45px;
    }

    .blog-detail-footer {
        margin: 0 45px;
    }

}

@media (max-width: 767px) {

    .blog-detail-hero {
        padding: 65px 0;
    }

    .blog-detail-heading h1 {
        font-size: 34px;
    }

    .blog-detail-section {
        padding: 55px 0 70px;
    }

    .blog-detail-card {
        border-radius: 16px;
    }

    .blog-detail-content {
        padding: 35px 22px;
        font-size: 16px;
        line-height: 1.8;
    }

    .blog-detail-content h1 {
        font-size: 30px;
    }

    .blog-detail-content h2 {
        font-size: 27px;
    }

    .blog-detail-content h3 {
        font-size: 23px;
    }

    .blog-detail-footer {
        margin: 0 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-related-section {
        padding-top: 60px;
    }

    .blog-related-heading h2 {
        font-size: 30px;
    }

}


/* =========================================================
   HOME LATEST BLOG - MODERN COMPACT CARDS
   ========================================================= */

.latest-blog-section-2 .latest-home-blog-row {
    row-gap: 30px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.latest-home-blog-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(20, 45, 80, 0.08);
    box-shadow: 0 12px 35px rgba(20, 45, 80, 0.07);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}


.latest-home-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(20, 45, 80, 0.13);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.latest-home-blog-thumb {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: #eef2f5;
}


.latest-home-blog-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}


.latest-home-blog-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease;
}


.latest-home-blog-card:hover .latest-home-blog-thumb img {
    transform: scale(1.06);
}


/* ---------------------------------------------------------
   DATE BADGE
   --------------------------------------------------------- */

.latest-home-blog-date {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 62px;
    height: 68px;
    border-radius: 10px;
    background: #071d3a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    z-index: 2;
}


.latest-home-blog-date .day {
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    color: #ff8618;
}


.latest-home-blog-date .month {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.latest-home-blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 25px 25px;
}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.latest-home-blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
}


.latest-home-blog-author,
.latest-home-blog-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    line-height: 1;
    color: #1d1d1d;
}


.latest-home-blog-author i,
.latest-home-blog-category i {
    font-size: 15px;
    color: #071d3a;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.latest-home-blog-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 61px;
}


.latest-home-blog-title a {
    color: #09203f;
    transition: color 0.25s ease;
}


.latest-home-blog-title a:hover {
    color: #f47c16;
}


/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.latest-home-blog-bottom {
    margin-top: auto;
    padding-top: 22px;
}


/* ---------------------------------------------------------
   READ MORE BUTTON
   --------------------------------------------------------- */

.latest-home-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    min-width: 154px;
    height: 48px;

    padding: 5px 6px 5px 19px;

    border: 1px solid #dfe4e9;
    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;

    color: #09203f;
    background: #ffffff;

    transition: all 0.3s ease;
}


.latest-home-read-btn:hover {
    color: #ffffff;
    background: #09203f;
    border-color: #09203f;
}


/* ---------------------------------------------------------
   READ MORE ICON
   --------------------------------------------------------- */

.latest-home-read-icon {
    width: 37px;
    height: 37px;

    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #09203f;
    color: #ff8618;

    transition: all 0.3s ease;
}


.latest-home-read-btn:hover .latest-home-read-icon {
    background: #ff8618;
    color: #ffffff;
}


.latest-home-read-icon i {
    font-size: 14px;
}


/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.latest-home-blog-empty {
    padding: 50px 20px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .latest-home-blog-thumb {
        height: 235px;
    }

    .latest-home-blog-title {
        font-size: 20px;
    }

}


@media (max-width: 767px) {

    .latest-home-blog-thumb {
        height: 230px;
    }

    .latest-home-blog-content {
        padding: 21px 20px 22px;
    }

    .latest-home-blog-title {
        font-size: 19px;
    }

}


@media (max-width: 575px) {

    .latest-home-blog-thumb {
        height: 225px;
    }

}


/* =========================================================
   BLOG LIST PAGE - SAME CARD DESIGN
   ========================================================= */

.blog-section .latest-home-blog-row {
    display: flex;
    align-items: stretch;
}

.blog-section .latest-home-blog-row > [class*="col-"] {
    margin-bottom: 30px;
}

.blog-section .latest-home-blog-card {
    height: 100%;
}


/* Keep all blog images exactly the same size */

.blog-section .latest-home-blog-thumb {
    height: 245px;
}


/* Keep title area aligned */

.blog-section .latest-home-blog-title {
    min-height: 61px;
}


/* Slightly more breathing room before pagination */

.blog-section .project-pagination {
    margin-top: 15px;
}








/* ============================================================
   EVENTCLICKERS - BLOG DETAIL PAGE
   UNIQUE CSS
   ============================================================ */


/* ============================================================
   EXISTING HERO - KEEP SAME DESIGN
   ============================================================ */

.blog-detail-hero {
    position: relative;
    padding: 75px 0 65px;
    background: #f8f8f4;
    overflow: hidden;
}


.blog-detail-heading {
    max-width: 1050px;
    margin: 0 auto;
}


.blog-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 18px;
}


.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #59616b;
    font-size: 14px;
    font-weight: 500;
}


.blog-detail-meta i {
    color: #071d3a;
    font-size: 15px;
}


.blog-detail-heading h1 {
    max-width: 1000px;
    margin: 0;

    color: #071d3a;
    font-size: 48px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.7px;
}


/* ============================================================
   MAIN ARTICLE SECTION
   ============================================================ */

.blog-detail-section {
    padding: 80px 0 115px;
    background: #ffffff;
}


/* ============================================================
   ARTICLE CARD
   ============================================================ */

.ec-blog-article {
    position: relative;

    background: #ffffff;

    border: 1px solid rgba(7, 29, 58, 0.08);
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 15px 50px rgba(7, 29, 58, 0.07);
}


/* ============================================================
   ARTICLE TOP BAR
   ============================================================ */

.ec-blog-article-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 42px;

    background: #f8f8f4;

    border-bottom: 1px solid #e8ebed;
}


.ec-blog-article-top-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #071d3a;

    font-size: 13px;
    font-weight: 600;
}


.ec-blog-article-top-left i {
    color: #ff8618;
}


.ec-blog-article-top-right span {
    display: inline-flex;

    padding: 7px 13px;

    border-radius: 50px;

    background: #071d3a;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   QUILL ARTICLE CONTENT
   ============================================================ */

.ec-blog-content {
    padding: 48px 55px 40px;

    color: #363e47;

    font-size: 17px;
    line-height: 1.85;
}


/* Paragraphs */

.ec-blog-content p {
    margin: 0 0 22px;
}


/* ============================================================
   QUILL FIRST IMAGE
   This makes the first image entered in Quill look like
   an article hero image.
   ============================================================ */

.ec-blog-content > p:first-child img,
.ec-blog-content > img:first-child {
    width: 100%;
    max-width: 100%;

    height: 420px;

    object-fit: cover;

    margin: 0 0 38px;

    border-radius: 16px;

    display: block;

    box-shadow:
        0 15px 40px rgba(7, 29, 58, 0.12);
}


/* ============================================================
   OTHER QUILL IMAGES
   ============================================================ */

.ec-blog-content img {
    max-width: 100%;
    height: auto;

    display: block;

    margin: 30px auto;

    border-radius: 13px;

    box-shadow:
        0 10px 28px rgba(7, 29, 58, 0.09);
}


/* Prevent first image from being overridden */

.ec-blog-content > p:first-child img {
    margin-left: 0;
    margin-right: 0;
}


/* ============================================================
   HEADINGS FROM QUILL
   ============================================================ */

.ec-blog-content h1,
.ec-blog-content h2,
.ec-blog-content h3,
.ec-blog-content h4,
.ec-blog-content h5,
.ec-blog-content h6 {
    margin-top: 35px;
    margin-bottom: 17px;

    color: #071d3a;

    line-height: 1.3;

    font-weight: 700;
}


.ec-blog-content h1 {
    font-size: 34px;
}


.ec-blog-content h2 {
    font-size: 29px;
}


.ec-blog-content h3 {
    font-size: 25px;
}


.ec-blog-content h4 {
    font-size: 21px;
}


/* ============================================================
   QUILL TEXT
   ============================================================ */

.ec-blog-content strong {
    color: #071d3a;
}


.ec-blog-content em {
    color: #4f5760;
}


/* ============================================================
   QUILL LINKS
   ============================================================ */

.ec-blog-content a {
    color: #f47c16;
    text-decoration: underline;
}


.ec-blog-content a:hover {
    color: #071d3a;
}


/* ============================================================
   QUILL LISTS
   ============================================================ */

.ec-blog-content ul,
.ec-blog-content ol {
    margin: 0 0 25px;
    padding-left: 27px;
}


.ec-blog-content li {
    margin-bottom: 8px;
}


/* ============================================================
   QUILL BLOCKQUOTE
   ============================================================ */

.ec-blog-content blockquote {
    margin: 32px 0;

    padding: 25px 28px;

    background: #f8f8f4;

    border-left: 4px solid #ff8618;

    border-radius: 0 12px 12px 0;

    color: #071d3a;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}


/* ============================================================
   QUILL ALIGNMENT
   ============================================================ */

.ec-blog-content .ql-align-center {
    text-align: center;
}


.ec-blog-content .ql-align-right {
    text-align: right;
}


.ec-blog-content .ql-align-justify {
    text-align: justify;
}


/* ============================================================
   ARTICLE INFORMATION
   ============================================================ */

.ec-blog-article-info {
    margin: 5px 55px 0;

    padding: 23px 0;

    border-top: 1px solid #e5e8eb;
    border-bottom: 1px solid #e5e8eb;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.ec-blog-article-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}


.ec-blog-info-label {
    color: #8d959e;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}


.ec-blog-info-value {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #071d3a;

    font-size: 14px;
    font-weight: 600;
}


.ec-blog-info-value i {
    color: #ff8618;
}


/* ============================================================
   ARTICLE FOOTER
   ============================================================ */

.ec-blog-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 27px 55px 32px;
}


.ec-blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
}


.ec-blog-author-icon {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #071d3a;

    color: #ff8618;

    font-size: 20px;
}


.ec-blog-author-content span {
    display: block;

    margin-bottom: 2px;

    color: #9299a1;

    font-size: 12px;
}


.ec-blog-author-content strong {
    display: block;

    color: #071d3a;

    font-size: 15px;
}


/* ============================================================
   BACK BUTTON
   ============================================================ */

.ec-blog-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 5px 6px 5px 19px;

    min-height: 48px;

    border: 1px solid #dfe3e7;

    border-radius: 50px;

    color: #071d3a;

    background: #ffffff;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}


.ec-blog-back-btn:hover {
    color: #ffffff;

    background: #071d3a;

    border-color: #071d3a;
}


.ec-blog-back-icon {
    width: 37px;
    height: 37px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #071d3a;
    color: #ff8618;

    transition: all 0.3s ease;
}


.ec-blog-back-btn:hover .ec-blog-back-icon {
    background: #ff8618;
    color: #ffffff;
}


/* ============================================================
   RELATED BLOG SECTION
   ============================================================ */

.ec-related-blog-section {
    margin-top: 95px;
}


.ec-related-blog-heading {
    margin-bottom: 35px;
}


.ec-related-subtitle {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 10px;
}


.ec-related-subtitle span {
    color: #071d3a;

    font-size: 14px;
    font-weight: 600;
}


.ec-related-blog-heading h2 {
    margin: 0;

    color: #071d3a;

    font-size: 34px;
    line-height: 1.25;

    font-weight: 700;
}


/* ============================================================
   RELATED CARD
   ============================================================ */

.ec-detail-related-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(7, 29, 58, 0.08);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(7, 29, 58, 0.06);

    transition: all 0.35s ease;
}


.ec-detail-related-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(7, 29, 58, 0.12);
}


/* ============================================================
   RELATED IMAGE
   ============================================================ */

.ec-detail-related-thumb {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #eef1f3;
}


.ec-detail-related-thumb a {
    display: block;

    width: 100%;
    height: 100%;
}


.ec-detail-related-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.ec-detail-related-card:hover .ec-detail-related-thumb img {
    transform: scale(1.06);
}


/* ============================================================
   RELATED DATE
   ============================================================ */

.ec-detail-related-date {
    position: absolute;

    right: 13px;
    bottom: 13px;

    width: 61px;
    height: 66px;

    border-radius: 10px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    background: #071d3a;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18);
}


.ec-detail-related-date .day {
    color: #ff8618;

    font-size: 26px;
    line-height: 1;

    font-weight: 700;
}


.ec-detail-related-date .month {
    margin-top: 5px;

    color: #ffffff;

    font-size: 12px;
    line-height: 1;

    font-weight: 600;

    text-transform: uppercase;
}


/* ============================================================
   RELATED CONTENT
   ============================================================ */

.ec-detail-related-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px 23px 24px;
}


.ec-detail-related-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 13px;
}


.ec-detail-related-meta span {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #656d76;

    font-size: 13px;
}


.ec-detail-related-meta i {
    color: #071d3a;
}


/* ============================================================
   RELATED TITLE
   ============================================================ */

.ec-detail-related-content h3 {
    margin: 0;

    min-height: 58px;

    font-size: 20px;
    line-height: 1.45;

    font-weight: 700;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


.ec-detail-related-content h3 a {
    color: #071d3a;

    transition: color 0.25s ease;
}


.ec-detail-related-content h3 a:hover {
    color: #f47c16;
}


/* ============================================================
   RELATED BUTTON
   ============================================================ */

.ec-detail-related-bottom {
    margin-top: auto;

    padding-top: 20px;
}


.ec-detail-related-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    min-width: 145px;
    height: 46px;

    padding: 4px 5px 4px 17px;

    border: 1px solid #dfe3e7;

    border-radius: 50px;

    background: #ffffff;

    color: #071d3a;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}


.ec-detail-related-btn:hover {
    color: #ffffff;

    background: #071d3a;

    border-color: #071d3a;
}


.ec-detail-related-icon {
    width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #071d3a;

    color: #ff8618;

    transition: all 0.3s ease;
}


.ec-detail-related-btn:hover .ec-detail-related-icon {
    background: #ff8618;
    color: #ffffff;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199px) {

    .blog-detail-heading h1 {
        font-size: 42px;
    }

    .ec-blog-content {
        padding-left: 45px;
        padding-right: 45px;
    }

    .ec-blog-article-info {
        margin-left: 45px;
        margin-right: 45px;
    }

    .ec-blog-article-footer {
        padding-left: 45px;
        padding-right: 45px;
    }

}


@media (max-width: 991px) {

    .blog-detail-hero {
        padding: 60px 0 50px;
    }

    .blog-detail-heading h1 {
        font-size: 36px;
    }

    .blog-detail-section {
        padding: 60px 0 90px;
    }

    .ec-blog-article-top {
        padding-left: 32px;
        padding-right: 32px;
    }

    .ec-blog-content {
        padding: 38px 32px 30px;
        font-size: 16px;
    }

    .ec-blog-content > p:first-child img,
    .ec-blog-content > img:first-child {
        height: 360px;
    }

    .ec-blog-article-info {
        margin-left: 32px;
        margin-right: 32px;
    }

    .ec-blog-article-footer {
        padding-left: 32px;
        padding-right: 32px;
    }

}


@media (max-width: 767px) {

    .blog-detail-hero {
        padding: 48px 0 40px;
    }

    .blog-detail-meta {
        gap: 12px 17px;
    }

    .blog-detail-meta span {
        font-size: 13px;
    }

    .blog-detail-heading h1 {
        font-size: 30px;
    }

    .blog-detail-section {
        padding: 45px 0 70px;
    }

    .ec-blog-article {
        border-radius: 18px;
    }

    .ec-blog-article-top {
        padding: 15px 22px;
    }

    .ec-blog-content {
        padding: 28px 22px 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .ec-blog-content > p:first-child img,
    .ec-blog-content > img:first-child {
        height: 280px;
        margin-bottom: 28px;
        border-radius: 12px;
    }

    .ec-blog-content h2 {
        font-size: 25px;
    }

    .ec-blog-content h3 {
        font-size: 21px;
    }

    .ec-blog-article-info {
        margin-left: 22px;
        margin-right: 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .ec-blog-article-footer {
        padding: 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .ec-related-blog-section {
        margin-top: 65px;
    }

    .ec-related-blog-heading h2 {
        font-size: 28px;
    }

}


@media (max-width: 575px) {

    .blog-detail-heading h1 {
        font-size: 27px;
    }

    .ec-blog-content > p:first-child img,
    .ec-blog-content > img:first-child {
        height: 225px;
    }

    .ec-detail-related-thumb {
        height: 220px;
    }

}


/* ============================================================
   BLOG DETAIL HERO - DARK BLUE PREMIUM DESIGN
   ============================================================ */

.blog-detail-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 0 85px;

    background:
        linear-gradient(
            135deg,
            #081c37 0%,
            #0b2547 55%,
            #102d50 100%
        );

    isolation: isolate;
}


/* ============================================================
   ORANGE GLOW
   ============================================================ */

.blog-detail-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -170px;
    top: -210px;

    border-radius: 50%;

    background: rgba(228, 122, 21, 0.12);

    filter: blur(8px);

    pointer-events: none;
}


/* ============================================================
   TEAL GLOW
   ============================================================ */

.blog-detail-hero::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    left: -190px;
    bottom: -220px;

    border-radius: 50%;

    background: rgba(38, 166, 154, 0.08);

    filter: blur(10px);

    pointer-events: none;
}


/* ============================================================
   SMALL DECORATIVE GLOW
   ============================================================ */

.blog-detail-hero-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    right: 22%;
    bottom: -125px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.025);

    filter: blur(5px);

    pointer-events: none;
}


/* ============================================================
   CONTENT
   ============================================================ */

.blog-detail-heading {
    position: relative;

    z-index: 3;

    max-width: 1050px;

    margin: 0 auto;

    text-align: center;
}


/* ============================================================
   META
   ============================================================ */

.blog-detail-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 24px;

    margin-bottom: 22px;
}


.blog-detail-meta span {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 14px;

    font-weight: 500;

    transition: color 0.25s ease;
}


.blog-detail-meta span:hover {
    color: #ffffff;
}


.blog-detail-meta i {
    color: #e47a15;

    font-size: 16px;
}


/* ============================================================
   TITLE
   ============================================================ */

.blog-detail-heading h1 {
    max-width: 1000px;

    margin: 0 auto;

    color: #ffffff;

    font-size: 50px;

    line-height: 1.16;

    font-weight: 700;

    letter-spacing: -0.8px;
}


/* ============================================================
   CENTERED ORANGE ACCENT
   ============================================================ */

.blog-detail-heading h1::after {
    content: "";

    display: block;

    width: 62px;
    height: 4px;

    margin: 25px auto 0;

    border-radius: 10px;

    background: #e47a15;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199px) {

    .blog-detail-hero {
        padding: 75px 0 70px;
    }

    .blog-detail-heading h1 {
        font-size: 44px;
    }

}


@media (max-width: 991px) {

    .blog-detail-hero {
        padding: 65px 0 60px;
    }

    .blog-detail-heading h1 {
        font-size: 38px;
    }

}


@media (max-width: 767px) {

    .blog-detail-hero {
        padding: 52px 0 50px;
    }

    .blog-detail-meta {
        gap: 12px 18px;

        margin-bottom: 18px;
    }

    .blog-detail-meta span {
        font-size: 13px;
    }

    .blog-detail-heading h1 {
        font-size: 31px;

        line-height: 1.22;

        letter-spacing: -0.3px;
    }

    .blog-detail-heading h1::after {
        width: 50px;
        height: 3px;

        margin-top: 20px;
    }

}


@media (max-width: 575px) {

    .blog-detail-hero {
        padding: 45px 0 43px;
    }

    .blog-detail-heading h1 {
        font-size: 27px;
        line-height: 1.22;
    }

}


/* =========================================
   MOBILE OFF-CANVAS LOGIN BUTTON
========================================= */

.mobile-login-item {
    margin-top: 12px;
    margin-bottom: 8px;
}

.mobile-login-item .header-btn-wrap {
    display: block !important;
    width: 100%;
}

.mobile-login-item .e-primary-btn {
    width: 100%;
    min-height: 52px;
    padding: 8px 12px 8px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    background: #ed7d0b;
    color: #ffffff;
}

/* Arrow circle */
.mobile-login-item .icon-wrap {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #123b5d;
    color: #ffffff;

    flex-shrink: 0;
}

/* Hide duplicate arrow */
.mobile-login-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-login-item .icon i:first-child {
    display: none;
}

.mobile-login-item .icon i:last-child {
    display: block;
    font-size: 14px;
}

/* Hover */
.mobile-login-item .e-primary-btn:hover {
    background: #d96f05;
    color: #ffffff;
}