/* ==============================
   GUIDE CONTAINER & LAYOUT
============================== */
.guide .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-content {
    padding: 25px 0;
}

.share-social-single {
    display: flex;
    align-items: center;
}

.share-social-single svg path{
    fill: #fff;
}

.share-social-single ul {
    list-style: none;
    display: flex;
    -moz-column-gap: 15px;
    column-gap: 15px;
    padding: 0;
    margin: 0;
}

.share-social-single h3, .share-social-single .h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 15px 0 0;
}

.share-social-single ul li a {
    background: linear-gradient(90deg, #C10830 15%, #e6007e 85%);
    border-radius: 100px;
    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
    width: 30px;
    height: 30px;
}

.share-social-single ul li a svg {
    width: 16px;
    height: 16px;
}

.share-social-single ul li {
    padding: 0;
    margin: 0;
}

.guide-content__main-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

@media only screen and (max-width: 1160px) {
    .guide-content__main-row {
        gap: 32px;
    }
}

@media only screen and (max-width: 992px) {
    .guide-content__main-row {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* ==============================
   GUIDE HEADER
============================== */
.guide-header {
    padding: 50px 0 30px;
}

@media (min-width: 768px) {
    .guide-header {
        padding-top: 40px;
    }
}

.guide-header__breadcrumbs {
    margin-bottom: 16px;
    font-size: 14px;
}

.guide-header__breadcrumbs .item.active {
    font-weight: 500;
}

.guide-header__title {
    /* font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px; */
}

/* ==============================
   HEADER NAVIGATION
============================== */
.guide-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    background: #f2f2f2;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    .guide-header__nav {
        padding: 16px;
    }
}

.guide-header__nav-dropdown {
    position: relative;
}

@media only screen and (max-width: 768px) {
    .guide-header__nav-dropdown {
        position: static;
    }
}

.guide-header__nav-dropdown__header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: #000;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 400;
    min-height: 43px;
    line-height: 18px;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
    transition: all .3s ease;
}

.guide-header__nav-dropdown__header:hover{
    background-color: #fff;
    color: #c10830;
}

.post-content__sidebar-cta--mobile{
    display: none;
}



@media only screen and (max-width: 768px) {
    .guide-header__nav-dropdown__header {
        font-size: 14px;
        gap: 8px;
    }
    .post-content__sidebar-cta--mobile{
        display: block;
    }
    .guide-content__sidebar-cta{
        display: none;
    }
}

.guide-header__nav-dropdown__header-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: 0.3s;
}

.opened .guide-header__nav-dropdown__header-icon img {
    transform: rotate(180deg);
}

.guide-header__nav-dropdown__content {
    display: none;
    position: absolute;
    z-index: 20;
    top: 100%;
    min-width: 350px;
    margin-top: 4px;
}

@media only screen and (max-width: 768px) {
    .guide-header__nav-dropdown__content {
        left: 0;
        width: 100%;
        min-width: 0;
    }
}

.guide-header__nav-dropdown__content-inner {
    list-style: none;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border: 1px solid #E0FCF8;
    box-shadow: 0 12px 16px -4px rgba(10,13,18,.08), 0 4px 6px -2px rgba(10,13,18,.03);
    border-radius: 8px;
}

.guide-header__nav-dropdown__content-inner li a{
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    
    text-decoration: none;
    transition: 0.3s;
}

.guide-header__nav-dropdown__content-inner li a.active,
.guide-header__nav-dropdown__content-inner li a:hover {
    background-color: #c10830;
    color: #fff;
}

/* ==============================
   NAVIGATION BUTTONS
============================== */
.guide__nav-btns {
    display: flex;
    gap: 10px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide__nav-btns .guide-nav-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px 8px 14px;
    min-height: 43px;
    border-radius: 50px;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #C10830;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

.guide__nav-btns .guide-nav-button:hover {
    background: #fff;
    color: #C10830;
    filter: brightness(1.2);
}


.guide__nav-btns .guide-nav-button:before {
    content: "";
    width: 16px;
    min-width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8h9.333m0 0L8 3.335m4.666 4.667L8 12.667' stroke='%23333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transition: .3s
}

.guide__nav-btns .guide-nav-button:hover:before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8h9.333m0 0L8 3.335m4.666 4.667L8 12.667' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.guide__nav-btns .guide-nav-button.prev:before {
    transform: rotate(180deg)
}

.guide__nav-btns .guide-nav-button.next:before {
    -ms-flex-order: 2;
    order: 2
}

.guide__nav-btns .guide-nav-button.prev:before { transform: rotate(180deg); }
.guide__nav-btns .guide-nav-button.next:before { order: 2; }

/* ==============================
   GUIDE CONTENT
============================== */
.guide__content {
    flex: 1;
}

.guide__content .wp-block-image{
    text-align: center;
}

.guide__content .wp-block-image img{
    max-height: 480px;
    max-width: 100%;
    width: auto;
}

.guide-content__main-sidebar {
    width: 250px;
    min-width: 250px;
    position: sticky;
    top: 125px;
    display: flex;
    flex-direction: column;
    gap: 14px 16px;
}

.toc-content{
    max-height: 400px;
    overflow-y: auto;
}

@media only screen and (max-width: 992px) {
    .guide-content__main-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}

.guide-content__nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #ccc;
    margin-top: 48px;
}

.wp-block-image figcaption{
    font-style: italic!important;
    display: block;
    margin-top: 10px!important;
    font-size: 14px!important;
}

@media only screen and (max-width: 768px) {
    .guide-content__nav {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}



/* ==============================
   GUIDE CARD
============================== */
.guide-card {
    display: flex;
    flex-direction: column;
    padding: 18px 40px;
    background: #f2f2f2;
    border-radius: 16px;
    
    height: 100%;
    text-decoration: none;
    color: inherit; 
}

.guide-card__content { margin-bottom: 24px; }
.guide-card__chapter { font-weight: 600; text-transform: uppercase; margin-bottom: 12px; color: #c10830; display: block; }
.guide-card__title { font-size: 20px; font-weight: 500; margin-bottom: 10px; text-transform: capitalize; }
.guide-card__link { margin-top: auto; font-weight: 500; color: #c10830; }
.guide-card:hover .guide-card__link { text-decoration: none; opacity: 0.8;}
.guide-card:hover .guide-card__chapter { text-decoration: none; opacity: 0.8;}

/* ==============================
   TABLE OF CONTENTS (TOC)
============================== */
.toc {
    display: flex;
    flex-direction: column;
    gap: 10px 12px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #f2f2f2;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.toc-header:after {
    content: "";
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-left: auto;
    background-image: url(../assets/img/icon-toc-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.3s;
}

.opened .toc-header:after { transform: rotate(180deg); }

.toc-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.toc-content ul li a {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-shortcode__icons-item__icon img{
    width: 100%;
}

.toc-content ul li a:hover,
.toc-content ul li a.active {
    background-color: #c10830;
    color: #fff;
}

/* ==============================
   GUIDE FOOTER
============================== */
.guide-footer {
    padding: 50px 64px 50px;
}

.guide-footer__heading { font-size: 20px; font-weight: 500; margin-bottom: 32px; }

.guide-footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.guide-footer__item { width: calc(50% - 10px); }

.guide-content-socials{
    margin-top: 20px;
}

/* ==============================
   SIDEBAR CTA
============================== */
.guide-content__sidebar-cta {
    padding: 20px; 
    border-radius: 16px; 
    background: #f2f2f2;
    margin-top: 15px;
}

.guide-content__sidebar-cta{
    text-align: center;
}

.sidebar-cta__title { font-size: 20px; font-weight: 600; }
.sidebar-cta__text { font-size: 16px; margin-top: 12px; }
.sidebar-cta__button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid #14e5c5;
    border-radius: 8px;
    color: #14e5c5;
    text-decoration: none;
    font-weight: 500;
}

.button-linkedin:before {
    /* content: ""; */
    /* display: inline-block; */
    width: 16px;
    min-width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    margin-right: 6px;
    transition: .3s;
}

.button-linkedin:before {
    /* background-image: url(../assets/img/icon-button-linkedin.svg); */
}

.guide-content table th{
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    
    text-align: left;
    background: #eaeaea;
    padding: 8px;
}

.guide-content table tr:nth-of-type(2n) td{
    background-color: #fafafa;
}

.guide-content table tr td,
.guide-content table tr th {
    border: 1px solid #ccc;
}

.cta-shortcode {
    box-sizing: border-box;
    padding: 32px; 
    background: #fff;
    border-radius: 16px; 
    margin: 40px 0; 
    box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.1);
}

.cta-shortcode:first-child {
    margin-top: 0;
}

.cta-shortcode:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
    .cta-shortcode {
        padding:32px 16px;
        margin: 24px 0;
    }
}

.cta-shortcode--regular {
    padding: 32px; /* 1.7777777778rem × 18 ≈ 32px */
}

@media only screen and (max-width: 768px) {
    .cta-shortcode--regular {
        padding:32px 16px;
    }
}

.cta-shortcode--regular p {
    display: none;
}

.cta-shortcode--regular .cta-shortcode__inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px; /* 0.8888888889rem × 18 ≈ 16px */
}

@media only screen and (max-width: 768px) {
    .cta-shortcode--regular .cta-shortcode__inner {
        gap:24px;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }
}

.cta-shortcode--regular .cta-shortcode__top {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 16px; /* 0.8888888889rem × 18 ≈ 16px */
}

@media only screen and (max-width: 768px) {
    .cta-shortcode--regular .cta-shortcode__top {
        -ms-flex-direction:column;
        flex-direction: column;
        gap: 24px;
    }
}

.cta-shortcode--large .cta-shortcode__header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 24px; /* 1.3333333333rem × 18 ≈ 24px */
}

.cta-shortcode--large .cta-shortcode__logo {
    width: 110px; /* 6.1111111111rem × 18 ≈ 110px */
    height: auto;
    margin: 0;
}

.cta-shortcode--large .cta-shortcode__logo-wrapper {
    min-width: 120px; /* 6.6666666667rem × 18 ≈ 120px */
}

.cta-shortcode--large .cta-shortcode__button-wrapper {
    min-width: 135px; /* 7.5rem × 18 = 135px */
}

.cta-shortcode--large .cta-shortcode__icons-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 32px; /* 1.7777777778rem × 18 ≈ 32px */
    margin-top: 40px; /* 2.2222222222rem × 18 ≈ 40px */
    padding: 0;
    list-style-type: none;
    margin-bottom: 0;
}

.cta-shortcode--large .cta-shortcode__icons-item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 24px; /* 1.3333333333rem × 18 ≈ 24px */
}

.cta-shortcode--large .cta-shortcode__icons-item__icon {
    position: relative;
    width: 44px; /* 2.4444444444rem × 18 ≈ 44px */
    height: 44px;
    min-width: 44px;
}

.guide-header__nav-dropdown__header-icon{
    flex: 0 0 auto;
}

.post-content__sidebar-cta--mobile{
    padding: 20px;
    border: 1px solid #E0FCF8;
    border-radius: 16px;
    background: #fff;
}

@media screen and (max-width:768px){
    .cta-shortcode--large .cta-shortcode__header{
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .guide-header__nav{
        flex-direction: column;
    }
    .post-content__sidebar-cta--mobile{
        text-align: center;
        margin-top: 25px;
    }
    .guide-content .wp-block-table .has-fixed-layout{
        min-width: 700px;
    }
    .guide-content{
        overflow-x: hidden;
    }
    .guide__content {
        flex: unset;
        width: 100%;
    }
    .guide-footer {
        padding: 25px 0;
    }
    .guide-footer__list{
        flex-direction: column;
    }
    .guide-footer__item{
        width: 100%;
    }
}
@media (max-width: 1499px) {
    .button-linkedin span{
        display: inline !important;
    }
}

.wp-block-heading{
    margin-top: 32px;
    margin-bottom: 16px;
}