.site-content{
    overflow: hidden;
}
.container-post {
    position: relative;
    max-width: 1372px;
    margin: 0 auto;
    padding: 80px 0 0 0;
}

/* Dot before News */
#breadcrumbs span > span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #9E9E9E; /* dot gray */
    border-radius: 50%;
    margin-right: 12px; /* distance with News */
    vertical-align: middle;
  }
  
  /* Dot before last item */
  #breadcrumbs .breadcrumb_last::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FF7A00; /* dot orange */
    border-radius: 50%;
    margin: 0 12px;
    vertical-align: middle;
  }
.breadcrumb{margin-bottom: 60px;}
.breadcrumb a{align-items:center;gap:12px;color:var(--color-grey);font-weight:700}
.breadcrumb_last{align-items:center;gap:12px;color:var(--color-text);font-weight:700}

/* Mobile breadcrumb - 2 lines */
@media (max-width: 480px) {
    
    .breadcrumb {
        display: flex;
        flex-direction: column;
        gap: 8px;
        line-height: 1.4;
        padding: 0 30px 0 30px;
    }
    
    /* Reset default breadcrumb layout for mobile */
    .breadcrumb a,
    .breadcrumb span {
        /* display: block; */
        width: fit-content;
    }
    
    /* First line - gray dot + News category */
    .breadcrumb a:not(.breadcrumb_last) {
        /* display: flex; */
        align-items: center;
        margin-bottom: 0;
    }
    
    /* Second line - orange dot + current page */
    .breadcrumb_last {
        display: flex;
        align-items: center;
        margin-top: 15px;
    }
    
    /* Ensure dots display properly in mobile layout */
    #breadcrumbs span > span::before {
        margin-right: 10px;
    }
    
    #breadcrumbs .breadcrumb_last::before {
        margin: 0;
        width: 10px;
    }
}

/* Article Card */
.container-post .article-card {
    position: relative;
    background: var(--color-white);
    border-radius: 6px 6px 6px 6px;
    padding: 80px;
    margin: 0 0 100px;
}

.article-header{
    max-width: 800px;
}
.article-header .meta {
    font-size: 16px;
    line-height: 28px;
    display: flex;
    gap: 40px;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
}

.article-header p {
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: var(--font-size-lead-in);
    line-height: 30px;
    letter-spacing: 0;
}

/* Excerpt + Share rail layout */
.excerpt-and-share{
    display:flex;
    align-items:flex-start;
    gap:24px;
    position: relative;
}

.excerpt-and-share .excerpt-wrapper{
    flex:1 1 auto;
}

.share-rail-vertical{
    display:flex;
    flex-direction:column;
    gap:12px;
    position:absolute;
    right: -300px;
    top: 0;
    z-index: 1;
}

.share-rail-mobile{
    display:flex;
    flex-direction:column;
    gap: 5px;
    position:absolute;
    left: calc(100% + 230px);
    top: 0;
    z-index: 1;
}

/* Normalize AddToAny buttons appearance to match mock */
.a2a_kit.share-rail-vertical a{ 
    width:45px; height:45px; 
    display:flex; align-items:center; justify-content:center;
    border-radius:8px;
}
.a2a_kit.share-rail-vertical img{
    padding: 0;
}
.a2a_kit.share-rail-mobile img{
    padding: 10px 0 30px 0;
}

/* Responsive positioning for share-rail-vertical */

@media (max-width: 1401px) {
    .share-rail-vertical {
        right: -200px;
    }
}

@media (max-width: 1200px) {
    .share-rail-vertical {
        right: -100px;
    }
}

@media (max-width: 1100px) {
    .share-rail-vertical {
        right: -80px;
    }
}

@media (max-width: 992px){
    .excerpt-and-share{flex-direction:column;}
    .share-rail-mobile{position:static; flex-direction:row;}
    .share-rail-vertical{display:none;}
}

@media (min-width: 993px){
    .share-rail-mobile{display:none;}
}

/* Show share-rail-mobile when no excerpt at screens < 1400px */
@media (min-width: 993px) and (max-width: 1400px) {
    .share-rail-mobile.show-no-excerpt {
        display: flex !important;
        position: static;
        flex-direction: row;
        margin-bottom: 20px;
    }
    /* Only hide share-rail-vertical when there's no excerpt */
    .article-header .share-rail-mobile.show-no-excerpt ~ .excerpt-and-share .share-rail-vertical {
        display: none;
    }
}

.post-content{
    max-width: 990px;
}

.post-content h4, .post-content h5{
    margin-top: 40px;
}

/* .post-content p {
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
} */

.post-content p{
    max-width: 800px;
    width: 100%;
}

.article-header h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 20px;
    text-transform: capitalize
}

.double-arrow-up{
    padding: 15px 0 35px 0;
    width: 75px;
}

 /* select class content-lead, content-lead-body, content-body */
/* .content-lead{
    font-size: var(--font-size-lead-in) !important;
    line-height: 30px !important;
    min-width: 0vh !important;
    letter-spacing: 0 !important;
    font-weight: 700;
    margin-top: 40px !important;
} */

/* .content-lead-body{
    font-size: 16px !important;
    line-height: 28px !important;
    min-width: 0vh !important;
    letter-spacing: 0 !important;
    font-weight: 700;
    margin-top: 40px !important;
} */

.content-body{
    color: #000000 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.post-content ul{
    margin: 0;
}
.zig {
    width: 74px;
    height: var(--font-size-lead-in);
    margin: 6px 0 24px
}

.article-card .hero {
    margin: 20px 0
}

.article-card .hero img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.section {
    max-width: 800px;
    margin: 0 0 24px
}

.section h2 {
    font-size: var(--font-size-lead-in);
    line-height: 28px;
    margin: 0 0 12px;
    text-transform: capitalize
}

.section h3 {
    font-size: 16px;
    line-height: 28px;
    margin: 0 0 8px
}

.section p {
    font-size: var(--font-size-title);
    line-height: 24px;
    margin: 0 0 8px
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 20px 0
}

.image-grid img {
    height: 301px;
    object-fit: cover;
    border-radius: 12px
}

/* .post-content .wp-block-group{
 margin: 40px 0 0 0 !important;
 gap: 40px;
}

.post-content .wp-block-group .wp-block-image{
    margin: 0 !important;
} */

.video {
    position: relative;
    margin: 24px 0
}

.video img {
    width: 100%;
    height: 628px;
    object-fit: cover;
    border-radius: 12px
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 0;
    cursor: pointer
}

.back-link{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-button);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 55px;
    margin-bottom: 15px;
}

/* Hover effect: move arrow 10px to the left like .button in styleguide */
.back-link img{
    transition: transform .5s; /* match .button transition timing */
}
.back-link:hover img{
    transform: translateX(-10px);
}

/* Style for custom copy link button */
.wb-copy-link-btn {
    cursor: pointer;
}

.copy-link-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease-in;
}

.copy-link-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-link-modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease-out;
}

.copy-link-modal-header {
    padding: 20px 20px 10px 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.copy-link-modal-body {
    padding: 10px 20px 20px 20px;
    font-size: 16px;
    color: #000;
}

.copy-link-modal-footer {
    padding: 15px 20px;
    text-align: right;
}

.copy-link-modal-ok {
    background-color: var(--color-button);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
    text-decoration: none !important;
}

/* .copy-link-modal-ok:hover {
    background-color: #b08956;
} */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media(max-width: 767.98px){
    .breadcrumb {
        padding: 0 30px 0 30px;
    }
    .container-post .article-card{
        padding: 30px;
    }
    .container-post .article-card {
        border-radius: 50px 50px 50px 50px;
    }
    .article-card .hero img {
        height: auto; 
    }
    .article-card .hero {
        margin: 10px 0
    }
    /* .content-lead{
        margin-top: 30px !important;
    } */
    .post-content .wp-block-group{
        margin: 40px 0 0 0 !important;
    }
    .back-link{
        margin-top: 45px;
        margin-bottom: 45px;
    }
    .double-arrow-up{
        padding: 10px 0 25px 0;
        width: 55px;
    }
    .article-header h1 {
        font-size: 28px;
        line-height: 32px;
        letter-spacing: 1px;
    }
    .article-header .meta {
        margin-top: 30px;
        margin-bottom: 17px;
        gap: 18px;
    }
    .article-header p{
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0;
    }
    .post-content p{
        font-size: 14px;
        line-height: 24px;
    }
    
    .content-body{
        font-size: 12px !important;
       
    } 
    
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 30px 0 0 0;
    }
    .container-post {
        padding: 60px 30px 0 30px;
    }
    
    /* Decorative background similar to news-landing */
    .container-post::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 750px;
    left: -100px;
    background-image: url(../../assets/images/news-landing-bkg.png);
    background-repeat: no-repeat;
    background-size: 540px auto;
    background-position: top 0px left 0;
    pointer-events: none;
    }
}

@media (min-width: 768px) and (max-width: 1312px) {
    .container-post .article-card{
        padding: 40px;
    }
}

@media (min-width: 1372px) {
    .container-post::before {
        left:calc(1px - ((100vw - 1372px)/2 + 0px));
    }
}

@media (min-width: 1600px) {
    .container-post {
        max-width: 1852px;
        padding: 0 30px 0 30px;
    }

    .article-header{
        max-width: 1312px;
    }

    .post-content{
        max-width: 1312px;
    }

    .post-content p, .article-header p{
        max-width: 1000px;
        width: 100%;
    }

    .share-rail-vertical{
        right: -140px;
        top: -50px;
    }
    .article-card .hero img {
        width: 100%;      
        max-width: 1312px;   
        height: auto;
      }
}

@media (min-width: 1800px) {
    .share-rail-vertical{
        right: -140px;
        top: -50px;
    }
}