/* write all the css for these widgets here  */

/* ── Content FAQ Section ─────────────────────────────────────────── */
.ibw-content-faqs {
    width: 100%;
    margin: 0;
    background-color: #edf1f4;
    padding: 64px 24px;
}

.ibw-content-faqs-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #111;
    text-align: center;
    margin: 0 0 40px;
    padding: 0;
}

.ibw-content-faqs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1340px;
    margin: 0 auto;
}

/* each accordion item — white card with border */
.ibw-content-faq {
    background: #fff;
    border: 1px solid #dde1e5;
    border-radius: 3px;
    overflow: hidden;
}

.ibw-content-faq summary {
    list-style: none;
}

.ibw-content-faq summary::-webkit-details-marker {
    display: none;
}

/* summary row — default (closed) */
.ibw-content-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* open item: dark red header */
.ibw-content-faq[open] .ibw-content-faq-question {
    background-color: #8c0030;
    color: #fff;
}

.ibw-faq-title-text {
    flex: 1;
}

/* icon container */
.ibw-faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c0030;
    transition: color 0.2s ease;
}

.ibw-content-faq[open] .ibw-faq-icon {
    color: #fff;
}

.ibw-faq-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    display: block;
}

.ibw-faq-icon-opened {
    display: none;
}

.ibw-faq-icon-closed {
    display: flex;
}

.ibw-content-faq[open] .ibw-faq-icon-opened {
    display: flex;
}

.ibw-content-faq[open] .ibw-faq-icon-closed {
    display: none;
}

.ibw-content-faq-answer {
    padding: 20px 24px 24px;
    font-size: 15px;
    line-height: 1.75;
    color: black;
    background: #edf1f4;
    border: 1px solid #d5d8dc;
    margin-top: 1px;
    overflow: hidden;
    transition: padding 0.5s ease;
    font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 34px;
}

/* collapsed state set by JS */
.ibw-content-faq-answer.ibw-faq-collapsing {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
}

.ibw-content-faq-answer p {
    margin: 0 0 10px;
}

.ibw-content-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ibw-content-faqs {
        padding: 40px 16px;
    }

    .ibw-content-faqs-title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .ibw-content-faq-question {
        font-size: 14px;
        line-height: 20px;
        padding: 16px 18px;
    }

    .ibw-content-faq-answer {
        padding: 16px 18px 20px;
        font-size: 14px;
        line-height: 20px;
    }
}

.ibw-post-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.ibw-post-hero {
    margin: 0 0 32px;
}

.ibw-hero-section {
    position: relative;
    min-height: 560px;
    background-color: #0a2640;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.ibw-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 6, 16, 0.72) 0%, rgba(1, 12, 28, 0.58) 50%, rgba(2, 14, 32, 0.28) 100%);
}

.ibw-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px;
}

.ibw-hero-inner {
    width: 60%;
}

.ibw-hero-eyebrow {
    margin: 0 0 14px;
    color: #e10063;
    font-size: 38px;
    line-height: 1;
    font-weight: 400;
    padding-bottom: 20px;
}

.ibw-hero-title {
    margin: 0 0 25px;
    font-size: 62px;
    line-height: 1.08;
    font-weight: 600;
    color: #fff !important;
}

.ibw-hero-text {
    margin: 0;
    font-size: 24px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    max-width: 56ch;
}

.ibw-hero-text p {
    margin: 0;
}

.ibw-hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.ibw-hero-action-btn {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s !important;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.ibw-hero-action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5px;
    display: block;
    pointer-events: none;
}

.ibw-hero-action-btn:hover,
.ibw-hero-action-btn:focus-visible {
    background-color: #c36 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    outline: none;
}

.ibw-post-body {
    flex: 1;
    min-width: 0;
}

.ibw-right-sidebar {
    width: 360px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .ibw-hero-section {
        min-height: 460px;
    }

    .ibw-hero-container {
        padding: 36px 24px;
    }

    .ibw-hero-inner {
        width: 100%;
    }

    .ibw-hero-eyebrow {
        font-size: 30px;
    }

    .ibw-hero-title {
        font-size: 44px;
    }

    .ibw-hero-text {
        font-size: 18px;
    }

    .ibw-post-layout {
        flex-direction: column;
    }

    .ibw-right-sidebar {
        width: 100%;
    }
}

.ibw-sidebar-cta {
    margin-top: 20px;
}

.ibw-sidebar-card {
    padding-top: 28px;
    padding-bottom: 32px;
    padding-right: 0px;
    padding-left: 0px;
}

/* Unified heading for all sidebar cards */
.ibw-related-title,
.ibw-sidebar-heading {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: #111;
}

.ibw-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ibw-related-list li {
    margin: 0 0 10px;
}

.ibw-related-list li:last-child {
    margin-bottom: 0;
}

.ibw-related-list li a {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid #d65b7a;
    color: #5f5f5f;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.3;
}

.ibw-related-list li a:hover {
    color: #c0003c;
    border-bottom-color: #c0003c;
}

.ibw-related-articles-list {
    display: grid;
    gap: 18px;
}

.ibw-related-article-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: #2a2a2a;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e8ef;
}

.ibw-related-article-thumb {
    width: 52px;
    height: 52px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    background-color: #e7ebf3;
    flex-shrink: 0;
}

.ibw-related-article-thumb--empty {
    background-image: linear-gradient(135deg, #d5dbe8, #eef1f6);
}

.ibw-related-article-title {
    font-size: 16px;
    line-height: 1.35;
    color: black;
}

.ibw-related-article-title {
    font-size: 16px;
    line-height: 1.35;
    color: black;
}

.ibw-related-article-title:hover {
    color: red;
}

.ibw-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ibw-tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #e84b79;
    color: black !important;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    background: #fff;
}

.ibw-tag-chip:hover {
    color: #c0003c !important;
    border-color: #c0003c;
}

.ibw-sidebar-cta {
    background: #b00045;
    color: #fff;
    padding: 28px 24px 30px;
    margin-bottom: 20px;
}

.ibw-sidebar-cta-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
}

.ibw-sidebar-cta-text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.ibw-sidebar-cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #b00045;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.ibw-sidebar-cta-button:hover {
    background: #f0e0e6;
    color: #8a0034;
}

.ibw-sidebar-faq:last-child {
    border-bottom: 0;
}

.ibw-sidebar-faq summary {
    list-style: none;
}

.ibw-sidebar-faq summary::-webkit-details-marker {
    display: none;
}

.ibw-sidebar-faq-question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 20px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #111;
    cursor: pointer;
}

.ibw-sidebar-faq-question::after {
    content: "+";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #d8dbe3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: #b00045;
}

.ibw-sidebar-faq[open] .ibw-sidebar-faq-question::after {
    content: "−";
}

.ibw-sidebar-faq-answer {
    padding: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #5f5f5f;
}

.ibw-sidebar-faq-answer p {
    margin: 0;
    opacity: 0.95;
}

.ibw-sidebar-faqs {
    /* wrapper inside .ibw-sidebar-card */
}

.ibw-sidebar-faq {
    border-bottom: 1px solid #e7e7e7;
}

.ibw-sidebar-faq:last-child {
    border-bottom: 0;
}

.ibw-sidebar-faq summary {
    list-style: none;
}

.ibw-sidebar-faq summary::-webkit-details-marker {
    display: none;
}

.ibw-sidebar-faq-question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    user-select: none;
}

.ibw-sidebar-faq-question::after {
    content: "+";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #d8dbe3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #b00045;
}

.ibw-sidebar-faq[open] .ibw-sidebar-faq-question::after {
    content: "\2212";
}

.ibw-sidebar-faq-answer {
    padding: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #5f6470;
}

.ibw-sidebar-faq-answer p {
    margin: 0;
}

@media (max-width: 1024px) {
    .ibw-sidebar-cta-title {
        font-size: 20px;
    }
}

/* ── Footer CTA Banner ──────────────────────────────────────── */
.ibw-footer-cta {
    background-color: transparent;
    background-image: linear-gradient(70deg, #00456E 0%, #A40035 100%);
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.ibw-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 50px;
    padding-top: 50px;
    max-width: 1320px;
    margin: 0 auto;
}

.ibw-footer-cta-text {
    flex: 1;
}

.ibw-footer-cta-heading {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.ibw-footer-cta-subtext {
    font-family: "Inter", Sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 24px;
    color: white;
    margin-top: 10px;
}

.ibw-footer-cta-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ibw-footer-cta-btn:hover,
.ibw-footer-cta-btn:focus-visible {
    background-color: #f0f0f0;
    transform: scale(1.08);
    outline: none;
}

.ibw-footer-cta-btn svg {
    width: 10px;
    height: 18px;
    display: block;
}

.ibw-footer-cta-btn .ibw-cta-arrow {
    fill: #A40035;
}

@media (max-width: 1024px) {
    .ibw-footer-cta-heading {
        font-size: 36px;
    }

    .ibw-footer-cta-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ibw-footer-cta-subtext {
        font-size: 20px;
    }

}

@media (max-width: 768px) {
    .ibw-footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .ibw-footer-cta-btn {
        align-self: flex-start;
    }



     .ibw-footer-cta-heading {
        font-size: 24px !important;
        line-height: 30px;
    }

    .ibw-footer-cta-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ibw-footer-cta-subtext {
               font-size: 16px;
        line-height: 24px;
    }

}