p {
    font-size: 18px;
}

h1,
h2,
h3,
h4 {
    margin: 0px !important;
}

.wp-caption-text {
    font-size: 16px !important;
}

/* Start Staff Widget */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s linear 1.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active .text {
    animation: fadeInText 0.6s ease-out forwards;
}

.slide.active img {
    animation: fadeInImage 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.slide:not(.active) .text,
.slide:not(.active) img {
    opacity: 0;
}

.slide.active .text {
    opacity: 1;
}

.text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text strong {
    color: #06435e;
}

.text small {
    display: block;
    margin-bottom: 2rem;
}

.button-group {
    display: flex;
    gap: 20px;
}

/* End Staff Widget */

/* Start Menu */
.menu-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0px 40px;
}

.menu-container.menu-border-on {
    border-bottom: 2px solid #EDF5F8;
}

.menu-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-right: 2px solid #EDF5F8;
    font-weight: bold;
    padding: 30px 0px;
}

.menu-right {
    flex: 3;
    align-items: center;
    padding: 30px 0px;
}

.link,
.ekit-menu-nav-link {
    position: relative;
    text-decoration: none !important;
    display: block;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.3s;
}

.link::after,
.ekit-menu-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background-color: #ea9a27;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.link:hover::after,
.ekit-menu-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

li.elementskit-dropdown-has:has(.ekit-dropdown-open-onclick)
> a.ekit-menu-nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

.active-link::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-row {
    display: flex;
    gap: 40px;
    flex-direction: row;
    flex-wrap: wrap;
}

/* End Menu */

/* Start Action Card */
.abfm-action-card {
    padding: 72px;
    position: relative;
}

.action-card-title {
    margin: 0px !important;
    z-index: 10;
}

.action-card-text {
    margin: 0px;
    padding-bottom: 10px;
    z-index: 10;
}

.abfm-action-card.style-1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-image: linear-gradient(to right, #edf5f8ab 100%, #ffffffab 0%);
}

.abfm-action-card.style-1::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/dots-1v.png');
    background-position: center bottom;
    background-repeat: repeat-x;
    opacity: 0.85;
}

.abfm-action-card.style-1 .action-card-title {
    color: #06435E;
    font-weight: 600;
}

.abfm-action-card.style-1 .action-card-text {
    color: #474747;
}

.abfm-action-card.style-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: #06435E;
}

.abfm-action-card.style-2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-image: url("/wp-content/uploads/2025/06/dots-1-flip.png");
    background-position: right;
    background-repeat: repeat-y;
    transform: scaleX(-1);
    opacity: 0.25;
}

.abfm-action-card.style-2 .text-wrapper {
    display: flex;
    flex-direction: column;
    flex: 2;
    justify-content: flex-start;
    gap: 10px;
}

.abfm-action-card.style-2 .button-wrapper {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.abfm-action-card.style-2 .action-card-title {
    color: #fafafa;
    font-weight: 600;
}

.abfm-action-card.style-2 .action-card-text {
    color: #fafafa;
}

.abfm-quick-cards-widget,
.abfm-testimonial {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
}

.content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 72px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
}

.content-wrapper-style-1 {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* End Action Card */

/* Start Content Section*/
.abfm-content-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 70%;
    gap: 60px;
}

.abfm-content-section.image-right {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
	padding: 2.5rem 0;
}

.content-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.2s forwards;
}

.title {
    margin: 0px !important;
    font-weight: 600;
}

.description {
    margin: 0px !important;
}


.dark-mode {
    background-color: #06435e;
}

.dark-mode::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image: url('../images/dots-1.png');
    opacity: 0.10;
    transform: scaleX(-1);
}

.dark-mode .title,
.dark-mode .description,
.dark-mode .content-details p,
.dark-mode .content-details h1,
.dark-mode .content-details h2,
.dark-mode .content-details h3,
.dark-mode .content-details h4,
.dark-mode .content-details h5,
.dark-mode .content-details h6,
.dark-mode .content-details li,
.dark-mode .content-details span {
    color: #ffffff !important;
}

/* Full Extend Content Section */
.abfm-content-section.full-extend {
    width: 100%;
    gap: 0;
    align-items: stretch;
    min-height: 520px;
    padding: 0;
}

.center-container-full:has(.abfm-content-section.full-extend) {
    padding: 0;
}

.abfm-content-section.full-extend .content-image {
    flex: 1;
    overflow: hidden;
}

.abfm-content-section.full-extend .content-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 0 !important;
    max-height: none !important;
}

.abfm-content-section.full-extend .content-details {
    flex: 1;
    padding: 80px;
    justify-content: center;
    width: auto;
}

/* End Content Section*/

/* Start Profile Section*/
.abfm-profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 32px;
}

.abfm-profile-container.image-left {
    background-image: linear-gradient(to right, #edf5f8ab 34%, #ffffffab 34%);
}

.abfm-profile-container.image-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34%;
    height: 100%;
    transform: scaleX(-1);
    background-image: url('../images/dots-1.png');
    background-repeat: repeat;
    opacity: 0.85;
}

.abfm-profile-container.image-right {
    background-image: linear-gradient(to right, #ffffffab 66%, #edf5f8ab 66%);
}

.abfm-profile-container.image-right::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-image: url('../images/dots-1.png');
    background-repeat: repeat;
    opacity: 0.85;
}

.abfm-profile-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    width: 70%;
}

.abfm-profile-section.image-right {
    flex-direction: row-reverse;
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-image img {
    display: block;
    width: 348px;
    height: 426px;
    object-fit: cover;
    margin: auto;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
}

.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-wrap {
    position: relative;
    display: inline-block;
}

.profile-image-wrap:before,
.profile-image-wrap:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: cover;
    z-index: 1;
}

.profile-image-wrap:before {
    background-image: url('/wp-content/uploads/2025/05/frame-tr.png');
    top: 0;
    right: 0;
}

.profile-image-wrap:after {
    background-image: url('/wp-content/uploads/2025/05/frame-bl.png');
    bottom: 0;
    left: 0;
}

/* Profile Dark Mode */
.abfm-profile-container.profile-dark-mode {
    background-image: none !important;
    background-color: #06435e;
}

.abfm-profile-container.profile-dark-mode::before {
    background-image: url('../images/dots-1.png') !important;
    opacity: 0.10 !important;
    height: 100% !important;
    width: 50% !important;
}

.profile-dark-mode .profile-image-wrap:before,
.profile-dark-mode .profile-image-wrap:after {
    filter: brightness(0) invert(49%) sepia(18%) saturate(893%) hue-rotate(167deg) brightness(92%) contrast(89%);
}

.profile-dark-mode .title,
.profile-dark-mode .description,
.profile-dark-mode .profile-details p,
.profile-dark-mode .profile-details h1,
.profile-dark-mode .profile-details h2,
.profile-dark-mode .profile-details h3,
.profile-dark-mode .profile-details h4,
.profile-dark-mode .profile-details h5,
.profile-dark-mode .profile-details h6,
.profile-dark-mode .profile-details li,
.profile-dark-mode .profile-details span {
    color: #ffffff !important;
}

/* End Profile Section*/

/* Start Quick Card */
.abfm-quick-cards-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-cards-container,
.quick-cards-container-bio {
    display: grid;
    gap: 40px;
    width: 100%;
}

.quick-cards-container {
    grid-template-columns: repeat(3, 1fr);
}

.quick-cards-container-bio {
    grid-template-columns: repeat(4, 1fr);
}

.quick-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #EDF5F8;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
    min-height: 250px;
}

.quick-card-content {
    flex-grow: 1;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

.quick-card:hover {
    cursor: pointer;
    color: #474747;
    background-color: #EDF5F8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.quick-button {
    border-radius: 10px;
    height: 3rem;
    width: 3rem;
    padding: 0;
    background-color: #EA9A27;
    color: #474747 !important;
    margin: 10px 0px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid transparent;
}

.news-item:hover .quick-button,
.quick-card:hover .quick-button,
.card-grid-card-content:hover .quick-button,
.quick-button:hover {
    background-color: transparent !important;
    border-color: #EA9A27;
    box-shadow: none !important;
}

.hover-light:hover {
    color: #fafafa !important;
}

.hover-dark:hover {
    color: #474747 !important;
}

.three-tone-bar {
    position: relative;
    height: 12px;
    border-radius: 8px;
}

.three-tone-bar::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right,
            #105e81 33.33%,
            #4a779f 33.33% 66.66%,
            #8eb0bd 66.66%);
    border-radius: 10px;
}

.card-title {
    margin: 0px !important;
    font-weight: 600;
}

.quick-title {
    text-align: center;
    margin: 0px !important;
}

.abfm-table-description {
    padding: 0px 64px;
}

/* End Quick Card */

/* Start Card Grid */

.card-grid-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #EDF5F8;
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
}

.card-grid-card-image img {
    width: 100%;
    height: 328px;
    object-fit: cover;
    display: block;
}

.card-grid-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.card-grid-card:hover {
    cursor: pointer;
    color: #474747;
    background-color: #EDF5F8;
}

/* End Card Grid */

/* Start Testimonial */
.abfm-testimonial-container {
    display: flex;
    align-items: center;
    background-color: #06435E;
    padding: 64px 0px;
}

.abfm-testimonial-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image: url('../images/dots-1.png');
    background-repeat: repeat;
    transform: scaleX(-1);
    opacity: .1;
    z-index: 0;
}

.abfm-testimonial {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    z-index: 10;
}

.testimonial-image img {
    width: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.testimonial-text-wrapper {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-name {
    font-weight: bold;
    margin-top: 10px;
}

.testimonial-sub {
    font-size: 16px;
}

/* End Testimonial */

/* Base Button */
.abfm-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 20 !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.abfm-button i {
    padding-left: 12px;
}

.abfm-button:hover {
    background-color: transparent !important;
}

.abfm-btn-orange {
    background-color: #EA9A27;
    color: #474747 !important;
    border: 1px solid transparent;
}

.abfm-btn-orange:hover {
    border-color: #EA9A27;
    color: #474747;
}

.abfm-btn-blue {
    background-color: #06435e;
    color: #fafafa;
    border: 1px solid transparent;
}

.abfm-btn-blue:hover {
    border-color: #06435e;
    color: #fafafa;
}

.abfm-btn-light-blue {
    background-color: #4A779F;
    color: #fafafa;
    border: 1px solid transparent;
}

.abfm-btn-light-blue:hover {
    border-color: #4A779F;
    color: #fafafa !important;
}

.breadcrumb-link {
    text-decoration: none !important;
    color: #474747;
}

.breadcrumb-link:hover {
    text-decoration: underline !important;
    color: #474747;
    text-decoration-color: #474747 !important;
}

/* End Button */

/* Start Bio Grid */

.bio-name {
    font-weight: bold;
    font-size: 1em;
    color: #06435E;
    margin: 0 !important;
}

.bio-role,
.bio-term {
    font-size: 0.85em;
    margin: 0 !important;
}

/* End Bio Grid */

/* Start Hero Section */
.hero-split-container {
    display: flex;
    min-height: 620px;
    background-image:
        url('../images/dots-1.png'),
        linear-gradient(to right, #edf5f8 100%, #f7fbfcab 0%);
    background-size: auto, cover;
}

.hero-split-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 46%;
    padding: 40px;
    padding-left: 80px;
}

.hero-split-left-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 65%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-split-right {
    width: 58%;
}

.hero-split-right img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* End Hero Section */

/* Start Badge */
.badge {
    display: flex;
    height: 4px;
    width: 28px;
}

.badge-large {
    display: flex;
    height: 6px;
    width: 48px;
}

.badge-text {
    margin: 0px !important;
    color: #474747;
    letter-spacing: 0.05rem;
}

.badge-segment {
    width: 20px;
}

.left {
    background-color: #105e81;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.middle {
    background-color: #4a779f;
}

.right {
    background-color: #8eb0bd;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.badge-text-light {
    color: #fafafa;
}

/* End Badge */

/* Start Intro Banner Widget */
.abfm-intro-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.abfm-intro-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/At-a-glance.png');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    z-index: 1;
}

.abfm-intro-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 67, 94, 0.9);
    z-index: 2;
}

.intro-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.intro-banner-title {
    margin: 0px !important;
    color: #fafafa;
    font-weight: 600;
    padding-top: 16px;
}

.intro-banner-body {
    margin: 0px !important;
    color: #fafafa;
    font-size: 18px;
    line-height: 1.6;
}

.intro-banner-subtext {
    margin: 0px !important;
    color: #fafafa;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.intro-banner-arrow {
    padding-top: 24px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(234, 154, 39, 0.4);
}

.intro-banner-arrow i {
    color: #EA9A27;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.intro-banner-arrow:hover i {
    transform: translateY(6px);
}

/* End Intro Banner Widget */

.center-container {
    width: 65%;
	padding: 88px 0px;
    margin: 0 auto;
}

.center-container-full {
    width: 100%;
    padding: 88px 0px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: #ddecf1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px 0px;
}

.hero-split-container.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    background-image:
        url('../images/dots-1v.png'),
        linear-gradient(to right, #edf5f8 100%, #f7fbfcab 0%);
    background-size: auto, cover;
    background-position: center bottom, center;
    background-repeat: repeat-x, no-repeat;
}

.hero-split-container.no-image .hero-split-left {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-split-container.no-image .hero-split-right {
    display: none;
}

.post-social-links a i {
    transition: color 0.3s ease;
    color: #8eb0bd;
}

.post-social-links a:hover i {
    color: #fafafa !important;
}

.center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.abfm-text-block {
    width: 100%;
    padding-bottom: 16px;
}

.abfm-text-block h2 {
    margin-bottom: 20px;
}


/* Tablet */
@media (max-width: 1024px) {
    .center-container-full {
        width: 100%;
        padding: 64px 0px;
    }

    .center-container {
        width: 100%;
        padding: 64px 32px;
    }

    .abfm-content-section {
        gap: 10px;
    }

    .abfm-content-section.full-extend .content-details {
        padding: 48px 40px;
    }

    .content-details {
        width: 80%;
    }

    .breadcrumb {
        display: none !important;
    }

    .menu-container {
        flex-direction: column;
    }

    .menu-left {
        border: none;
    }

    .hero-split-container {
        min-height: 200px;
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    .hero-split-container.no-image {
        min-height: 205px;
    }

    .hero-split-right,
    .hero-split-left-inner {
        width: 100%;
        align-items: center;
    }

    .hero-split-left {
        width: 100%;
        padding: 32px;
    }

    .abfm-action-card {
        padding: 64px 32px;
    }

    .abfm-action-card.style-2 .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .abfm-action-card.style-2 .button-wrapper {
        justify-content: center;
        margin-top: 20px;
    }

    .abfm-action-card.style-2::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/dots-1v.png');
        background-position: center bottom;
        background-repeat: repeat-x;
        opacity: 0.10;
    }

    .abfm-profile-section {
        width: 100%;
    }

    .abfm-profile-container {
        padding: 0px 16px;
    }


    .abfm-profile-container.image-right,
    .abfm-profile-container.image-left {
        background-image: linear-gradient(to bottom, #edf5f8ab 34%, #ffffffab 34%);
    }

    .abfm-profile-container.image-right.profile-dark-mode,
    .abfm-profile-container.image-left.profile-dark-mode {
        background-image: none !important;
        background-color: #06435e;
    }

    .abfm-profile-container.image-right::before,
    .abfm-profile-container.image-left::before {
        height: 35%;
        width: 100%;
        background-image: url('../images/dots-1v.png');
        background-position: center bottom;
    }

    .abfm-profile-container.profile-dark-mode::before {
        background-image: url('../images/dots-1v.png') !important;
        height: 35% !important;
        width: 100% !important;
        opacity: 0.10 !important;
    }

    .abfm-testimonial-container::before {
        height: 70%;
        width: 100%;
        background-image: url('../images/dots-1v.png');
        background-position: center bottom;
    }

    .abfm-testimonial {
        gap: 20px;
        flex-direction: column;
    }

    .quick-cards-container-bio {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide {
        transition: opacity 1s ease-in-out;
        align-items: flex-end;
    }

    .abfm-table-description {
        padding: 0px 16px;
    }

    .intro-banner-content {
        width: 80%;
    }
}

@media (max-width: 764px) {
    .center-container-full {
        padding: 32px 0px;
    }

    .center-container {
        padding: 32px 16px;
    }

    .slide {
        flex-direction: column;
        align-items: center;
        padding: 16px;
    }
    
    .dark-mode::before {
        width: 50%;
    }

    .abfm-content-section,
    .abfm-profile-section {
        flex-direction: column !important;
    }

    .abfm-content-section.full-extend .content-image img {
        min-height: 320px;
    }

    .abfm-content-section.full-extend .content-details {
        padding: 40px 24px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .quick-cards-container,
    .quick-cards-container-bio {
        grid-template-columns: 1fr;
    }

    .content-details {
        width: 100%;
    }

    .breadcrumb {
        display: none !important;
    }

    .menu-left {
        border-bottom: 2px solid #EDF5F8;
    }

    .hero-split-left,
    .menu-container {
        padding: 32px 16px;
    }

    .hero-split-right img {
        height: 240px;
    }

    .abfm-action-card {
        padding: 16px;
    }

    .abfm-testimonial-container {
        padding: 32px 8px;
    }

    .abfm-table-description {
        padding: 0px 8px;
    }

    .intro-banner-content {
        width: 90%;
        padding: 40px 16px;
    }

    .abfm-intro-banner {
        min-height: 500px;
    }

.dark-mode::before {
        width: 100%;
        background-image: url('../images/dots-1v.png');
        background-position: center bottom;
        background-repeat: repeat-x;
        opacity: 0.10;
    }
}

.action-card-text p {
    margin: 0;
}

.abfm-text-block a,
.intro-banner-content a {
    text-decoration: underline;
    text-decoration-color: #EA9A27;
    text-underline-offset: 4px;
}

/* ============================================================
   Accordion
   ============================================================ */

.abfm-accordion-toolbar {
    text-align: center;
    margin-bottom: 16px;
}

.abfm-accordion-expand-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
    color: #06435e;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 8px 0;
}

.abfm-expand-icon {
    font-size: 1rem;
}

/* Icon spin-swap animation (plus ↔ minus) */
@keyframes abfm-icon-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(0.2);
    }

    100% {
        transform: rotate(340deg) scale(1);
    }
}

.abfm-toggle-icon {
    display: inline-block;
}

.abfm-toggle-icon.abfm-spinning {
    animation: abfm-icon-spin 0.35s ease;
}

.abfm-accordion {
    border-top: 1px solid #e0e4e8;
}

.abfm-accordion-panel {
    background: #ffffff;
    border-bottom: 1px solid #e0e4e8;
    transition: background 0.2s ease;
}

.abfm-accordion-panel.is-open {
    background: #edf5f8;
}

.abfm-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.abfm-accordion-header:hover {
    background: #edf5f8;
}

.abfm-accordion-title {
    flex: 1;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #06435e;
    padding-right: 16px;
}

.abfm-accordion-toggle-btn {
    background: #ea9a27 !important;
    border-radius: 8px;
    box-shadow: 0 0 18px 0 #06435e33;
    max-height: 2.625rem;
    max-width: 2.625rem;
    padding: .8rem;
}

.abfm-accordion-toggle-btn:hover {
    background: #d4890f;
}

.abfm-accordion-body {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: clamp(2rem, 5.3333333333vw, 4.5rem);
    padding-right: clamp(2rem, 5.3333333333vw, 4.5rem);
    transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}

.abfm-accordion-panel.is-open .abfm-accordion-body {
    max-height: 2000px;
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.abfm-accordion-text {
    color: #474747;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.abfm-accordion-links {
    margin-top: 16px;
}