/* ================================================================
 *  MooodyCow Elementor Frontend Styles — v1.34.0
 * ================================================================ */

/* ── Three Block Picture ── */
.mooodycow-tbp-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}
.mooodycow-tbp-wrapper.mooodycow-tbp-reversed {
    flex-direction: row-reverse;
}
.mooodycow-tbp-content {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}
.mooodycow-tbp-media {
    flex: 1 1 0%;
    min-width: 0;
    position: relative;
}
.mooodycow-tbp-header {
    margin-bottom: 30px;
}
.mooodycow-tbp-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.mooodycow-tbp-title {
    margin: 0;
    line-height: 1.1;
}

/* Body text */
.mooodycow-tbp-body {
    margin-top: 16px;
}
.mooodycow-tbp-body p:first-child {
    margin-top: 0;
}
.mooodycow-tbp-body p:last-child {
    margin-bottom: 0;
}

/* Links */
.mooodycow-tbp-links--top-border .mooodycow-tbp-link-row:first-child {
    border-top: 1px solid;
    border-top-color: inherit;
}
.mooodycow-tbp-link-row {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #E0E0E0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    cursor: pointer;
}
.mooodycow-tbp-link-row:hover {
    text-decoration: none;
}
.mooodycow-tbp-link-row.mooodycow-tbp-arrow-right .mooodycow-tbp-arrow {
    margin-left: auto;
    padding-left: 16px;
}
.mooodycow-tbp-link-row.mooodycow-tbp-arrow-left .mooodycow-tbp-arrow {
    margin-right: 16px;
    order: -1;
}
.mooodycow-tbp-link-text {
    flex: 1;
    min-width: 0;
}
.mooodycow-tbp-link-title {
    font-weight: 700;
}
.mooodycow-tbp-link-desc {
    margin-top: 6px;
}
.mooodycow-tbp-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.mooodycow-tbp-link-row:hover .mooodycow-tbp-arrow {
    transform: translateX(4px);
}

/* Image — square container by default */
.mooodycow-tbp-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}
.mooodycow-tbp-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
}

/* Icon Box — centered icon + anchor-based positioning */
.mooodycow-tbp-icon-box {
    --mooodycow-ib-offset-x: 0px;
    --mooodycow-ib-offset-y: 0px;
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
    line-height: 1;
}
.mooodycow-tbp-icon-box:hover {
    text-decoration: none;
}
/* Ensure icon is centered within box */
.mooodycow-tbp-icon-box i,
.mooodycow-tbp-icon-box svg {
    display: block;
    line-height: 1;
}

/* Horizontal anchors */
.mooodycow-tbp-ib-h-left {
    left: calc(0px + var(--mooodycow-ib-offset-x));
    right: auto;
}
.mooodycow-tbp-ib-h-center {
    left: 50%;
    right: auto;
    transform: translateX(calc(-50% + var(--mooodycow-ib-offset-x)));
}
.mooodycow-tbp-ib-h-right {
    right: calc(0px + var(--mooodycow-ib-offset-x));
    left: auto;
}

/* Vertical anchors */
.mooodycow-tbp-ib-v-top {
    top: calc(0px + var(--mooodycow-ib-offset-y));
    bottom: auto;
}
.mooodycow-tbp-ib-v-center {
    top: 50%;
    bottom: auto;
}
/* Combine center vertical with horizontal anchors */
.mooodycow-tbp-ib-v-center.mooodycow-tbp-ib-h-center {
    transform: translate(calc(-50% + var(--mooodycow-ib-offset-x)), calc(-50% + var(--mooodycow-ib-offset-y)));
}
.mooodycow-tbp-ib-v-center.mooodycow-tbp-ib-h-left,
.mooodycow-tbp-ib-v-center.mooodycow-tbp-ib-h-right {
    transform: translateY(calc(-50% + var(--mooodycow-ib-offset-y)));
}
.mooodycow-tbp-ib-v-bottom {
    bottom: calc(0px + var(--mooodycow-ib-offset-y));
    top: auto;
}

/* Responsive */
@media (max-width: 767px) {
    .mooodycow-tbp-wrapper,
    .mooodycow-tbp-wrapper.mooodycow-tbp-reversed {
        flex-direction: column;
    }
    .mooodycow-tbp-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .mooodycow-tbp-media {
        width: 100%;
    }
}


/* ── Case Study Homepage ── */
.mooodycow-csh-container {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    min-height: 440px;
    container-type: inline-size;
}
.mooodycow-csh-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.mooodycow-csh-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: inherit;
    padding: 40px;
    justify-content: flex-end;
}
.mooodycow-csh-text-block {
    margin-bottom: 16px;
}
.mooodycow-csh-quote {
    color: #fff;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.mooodycow-csh-quote p {
    margin: 0;
}
.mooodycow-csh-attribution {
    font-size: 14px;
    color: #E8A87C;
}
.mooodycow-csh-attribution p {
    margin: 0;
}

/* Stats */
.mooodycow-csh-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-self: flex-end;
}
.mooodycow-csh-stat {
    padding: 16px 20px;
    border-radius: 6px;
    text-align: center;
    min-width: 120px;
}
.mooodycow-csh-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #E8A87C;
    line-height: 1.2;
}
.mooodycow-csh-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ccc;
    margin-top: 4px;
    line-height: 1.3;
}

@container (max-width: 480px) {
    .mooodycow-csh-stats {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .mooodycow-csh-stats {
        flex-direction: column;
    }
    .mooodycow-csh-quote {
        max-width: 100% !important;
    }
}

/* ── Latest Insights ── */
.mooodycow-li-wrapper {
    width: 100%;
}

/* Header */
.mooodycow-li-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}
.mooodycow-li-header-left {
    flex: 1;
    min-width: 0;
}
.mooodycow-li-header-right {
    flex-shrink: 0;
}
.mooodycow-li-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.mooodycow-li-title {
    margin: 0;
    line-height: 1.1;
}
.mooodycow-li-cta {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    border-bottom: 3px solid #C0392B;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}
.mooodycow-li-cta:hover {
    text-decoration: none;
}

/* Posts list */
.mooodycow-li-posts--top-border .mooodycow-li-row:first-child {
    border-top: 1px solid #E0E0E0;
}

/* Post row */
.mooodycow-li-row {
    display: flex;
    align-items: center;
    padding: 30px 24px;
    border-bottom: 1px solid #E0E0E0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease, border-radius 0.25s ease;
    cursor: pointer;
    gap: 20px;
}
.mooodycow-li-row:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,0.03);
    border-radius: 8px;
}

/* Meta column */
.mooodycow-li-meta {
    flex: 0 0 160px;
    max-width: 160px;
    min-width: 0;
}
.mooodycow-li-date {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #8899AA;
    text-transform: uppercase;
}
.mooodycow-li-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.06);
    color: #333;
    margin-top: 6px;
}

/* Post title */
.mooodycow-li-post-title {
    flex: 1;
    min-width: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.25s ease;
}
.mooodycow-li-row:hover .mooodycow-li-post-title {
    color: #C0392B;
}

/* Arrow */
.mooodycow-li-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 18px;
    color: #8899AA;
    background-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
    line-height: 1;
}
.mooodycow-li-row:hover .mooodycow-li-arrow {
    background-color: #C0392B;
    color: #fff;
}
.mooodycow-li-arrow i,
.mooodycow-li-arrow svg {
    display: block;
    line-height: 1;
    transform: rotate(-45deg);
}

/* No posts */
.mooodycow-li-no-posts {
    padding: 30px 0;
    text-align: center;
    color: #999;
}

/* Hover Image */
.mooodycow-li-row--has-img {
    position: relative;
    overflow: hidden;
}
.mooodycow-li-row--has-img .mooodycow-li-meta,
.mooodycow-li-row--has-img .mooodycow-li-post-title,
.mooodycow-li-row--has-img .mooodycow-li-arrow {
    position: relative;
    z-index: 2;
}
.mooodycow-li-hover-img {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}
.mooodycow-li-row:hover .mooodycow-li-hover-img {
    opacity: 0.12;
}
/* Position variants */
.mooodycow-li-hover-img--full {
    left: 0;
    right: 0;
    width: 100%;
}
.mooodycow-li-hover-img--right {
    right: 0;
    left: auto;
}
.mooodycow-li-hover-img--left {
    left: 0;
    right: auto;
}
/* Edge fade — soft gradient mask on the inner edge */
.mooodycow-li-hover-img--fade.mooodycow-li-hover-img--right {
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.mooodycow-li-hover-img--fade.mooodycow-li-hover-img--left {
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.mooodycow-li-hover-img--fade.mooodycow-li-hover-img--full {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* Tablet */
@media (max-width: 1024px) {
    .mooodycow-li-meta {
        flex: 0 0 120px;
        max-width: 120px;
    }
    .mooodycow-li-post-title {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .mooodycow-li-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .mooodycow-li-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .mooodycow-li-meta {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .mooodycow-li-arrow {
        align-self: flex-end;
    }
    .mooodycow-li-post-title {
        font-size: 24px;
    }
}

/* ── Model 3 Block ── */
.mooodycow-m3b-grid {
    display: grid;
    grid-template-columns: repeat(var(--mooodycow-m3b-cols, 3), 1fr);
    gap: 24px;
    align-items: start;
}
/* All equal: every card stretches to the tallest */
.mooodycow-m3b-grid.mooodycow-m3b-eq-all {
    align-items: stretch;
}
/* Outer only: all cards start, middle stays independent.
   Use per-card Min Height on cards 1 & 3 to match them. */
.mooodycow-m3b-grid.mooodycow-m3b-eq-outer {
    align-items: start;
}

.mooodycow-m3b-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.mooodycow-m3b-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Watermark */
.mooodycow-m3b-watermark {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.07;
    line-height: 1;
}
.mooodycow-m3b-watermark i,
.mooodycow-m3b-watermark svg {
    display: block;
}

/* Label */
.mooodycow-m3b-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: inherit;
    opacity: 0.55;
    margin-bottom: 12px;
}

/* Title */
.mooodycow-m3b-title {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

/* Body */
.mooodycow-m3b-body {
    flex: 1;
}
.mooodycow-m3b-body p:first-child { margin-top: 0; }
.mooodycow-m3b-body p:last-child { margin-bottom: 0; }
.mooodycow-m3b-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mooodycow-m3b-body li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.mooodycow-m3b-body li + li {
    margin-top: 10px;
}
.mooodycow-m3b-li-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: inherit;
    opacity: 0.45;
    line-height: 1;
    padding-top: 3px;
}

/* Icon Info Box */
.mooodycow-m3b-infobox {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.1);
}
.mooodycow-m3b-infobox-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mooodycow-m3b-infobox-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.15);
}
.mooodycow-m3b-infobox-icon i,
.mooodycow-m3b-infobox-icon svg {
    color: #fff;
    fill: #fff;
}
.mooodycow-m3b-infobox-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mooodycow-m3b-infobox-sub {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Footer — groups info box + button, pushes to bottom */
.mooodycow-m3b-footer {
    margin-top: auto;
    padding-top: 24px;
}

/* Button wrap — standalone (no info box) */
.mooodycow-m3b-footer > .mooodycow-m3b-btn-wrap {
    padding-top: 0;
}

/* Button wrap inside info box — separator line above */
.mooodycow-m3b-infobox .mooodycow-m3b-btn-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.mooodycow-m3b-infobox .mooodycow-m3b-btn--filled,
.mooodycow-m3b-infobox .mooodycow-m3b-btn--outline {
    width: 100%;
    justify-content: center;
}

/* Button base */
.mooodycow-m3b-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.25s ease;
    cursor: pointer;
    color: inherit;
}
.mooodycow-m3b-btn:hover {
    text-decoration: none;
    opacity: 0.85;
}
.mooodycow-m3b-btn-icon {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.3s ease;
}
/* Arrow slides right on card hover */
.mooodycow-m3b-card:hover .mooodycow-m3b-btn-icon {
    transform: translateX(6px);
}

/* Text style */
.mooodycow-m3b-btn--text {
    background: none;
    border: none;
    padding: 0;
}

/* Filled style */
.mooodycow-m3b-btn--filled {
    padding: 14px 24px;
    border-radius: 6px;
    border: none;
    width: 100%;
    justify-content: center;
    background-color: #FFFFFF;
    color: #0F1E3C;
}

/* Outline style */
.mooodycow-m3b-btn--outline {
    padding: 14px 24px;
    border-radius: 6px;
    border: 2px solid currentColor;
    background: transparent;
    width: 100%;
    justify-content: center;
}

/* Tablet — 2 cols max, cards don't break out */
@media (max-width: 1024px) {
    .mooodycow-m3b-grid {
        grid-template-columns: repeat(min(var(--mooodycow-m3b-cols, 3), 2), 1fr) !important;
    }
    .mooodycow-m3b-card {
        min-width: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .mooodycow-m3b-title {
        font-size: 24px;
    }
}

/* Mobile — single column stack */
@media (max-width: 767px) {
    .mooodycow-m3b-grid {
        grid-template-columns: 1fr !important;
    }
    .mooodycow-m3b-title {
        font-size: 26px;
    }
}

/* ── Services Block ── */
.mooodycow-sb-grid {
    display: grid;
    grid-template-columns: repeat(var(--mooodycow-sb-cols, 3), 1fr);
    gap: 24px;
    align-items: start;
}
.mooodycow-sb-grid.mooodycow-sb-eq {
    align-items: stretch;
}

.mooodycow-sb-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}
.mooodycow-sb-card--border-left {
    border-left: 3px solid #1a3a6b;
    border-left-style: solid;
}
.mooodycow-sb-card--border-full {
    border: 3px solid #1a3a6b;
    border-style: solid;
}

/* Image */
.mooodycow-sb-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    flex-shrink: 0;
}
.mooodycow-sb-image-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Card body */
.mooodycow-sb-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
}

/* Title */
.mooodycow-sb-title {
    margin: 20px 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 20px;
}
.mooodycow-sb-desc {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 20px;
}
.mooodycow-sb-center {
    text-align: center;
}

/* Links section — pushed to bottom */
.mooodycow-sb-links {
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Link row */
.mooodycow-sb-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #E8E8E8;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.mooodycow-sb-link:last-child {
    border-bottom: none;
}
.mooodycow-sb-link:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,0.03);
}

.mooodycow-sb-link-text {
    flex: 1;
    min-width: 0;
}
.mooodycow-sb-link-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}
.mooodycow-sb-link-desc {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 0.75;
}

/* Arrow */
.mooodycow-sb-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #8899AA;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
.mooodycow-sb-link:hover .mooodycow-sb-arrow {
    transform: translateX(4px);
}

/* Tablet */
@media (max-width: 1024px) {
    .mooodycow-sb-grid {
        grid-template-columns: repeat(min(var(--mooodycow-sb-cols, 3), 2), 1fr) !important;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .mooodycow-sb-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Case Study 3 Block ── */
.mooodycow-cs3-grid {
    display: grid;
    grid-template-columns: repeat(var(--mooodycow-cs3-cols, 3), 1fr);
    gap: 24px;
    align-items: start;
}
.mooodycow-cs3-grid.mooodycow-cs3-eq {
    align-items: stretch;
}

.mooodycow-cs3-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease;
}
.mooodycow-cs3-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Image */
.mooodycow-cs3-image-wrap {
    flex-shrink: 0;
}
.mooodycow-cs3-image {
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Body */
.mooodycow-cs3-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

/* Meta */
.mooodycow-cs3-meta {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5A6B7D;
    margin-bottom: 12px;
}
.mooodycow-cs3-sep {
    margin: 0 6px;
    opacity: 0.6;
}

/* Title */
.mooodycow-cs3-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.2s ease;
}

/* Excerpt */
.mooodycow-cs3-excerpt {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Arrow — pinned to bottom */
.mooodycow-cs3-arrow-wrap {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mooodycow-cs3-read-more {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}
.mooodycow-cs3-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    color: #1a2a4a;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
.mooodycow-cs3-card:hover .mooodycow-cs3-arrow {
    transform: translateX(4px);
}

/* Banner Button */
.mooodycow-cs3-banner-wrap {
    margin-top: auto;
    padding-top: 16px;
}
.mooodycow-cs3-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background-color: #1a2a4a;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}
.mooodycow-cs3-banner-text {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}
.mooodycow-cs3-banner-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease;
}
.mooodycow-cs3-banner:hover .mooodycow-cs3-banner-icon {
    transform: translateX(4px);
}

/* No posts */
.mooodycow-cs3-no-posts {
    grid-column: 1 / -1;
    padding: 30px 0;
    text-align: center;
    color: #999;
}

/* Tablet */
@media (max-width: 1024px) {
    .mooodycow-cs3-grid {
        grid-template-columns: repeat(min(var(--mooodycow-cs3-cols, 3), 2), 1fr) !important;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .mooodycow-cs3-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Bullet Points ── */
.mooodycow-bp-list {
    display: flex;
    flex-direction: column;
}
.mooodycow-bp-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.mooodycow-bp-item + .mooodycow-bp-item {
    margin-top: 12px;
}
a.mooodycow-bp-item:hover {
    text-decoration: none;
    color: inherit;
}
.mooodycow-bp-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 2px;
}
.mooodycow-bp-icon i,
.mooodycow-bp-icon svg {
    display: block;
    color: #C0392B;
    fill: #C0392B;
}
.mooodycow-bp-text {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}
.mooodycow-bp-highlight {
    color: #C0392B;
    transition: color 0.2s ease;
}

/* ── Horizontal Button ── */
.mooodycow-hb-list {
    display: flex;
    flex-direction: column;
}
.mooodycow-hb-list--top-border .mooodycow-hb-row:first-child {
    border-top: 1px solid #E8E8E8;
    border-top-color: inherit;
}
.mooodycow-hb-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    border-bottom: 1px solid #E8E8E8;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}
.mooodycow-hb-row:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,0.02);
}
.mooodycow-hb-text {
    flex: 1;
    min-width: 0;
}
.mooodycow-hb-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a2a4a;
    margin-bottom: 4px;
    transition: color 0.25s ease;
}
.mooodycow-hb-desc {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.8;
}
.mooodycow-hb-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 22px;
    color: #1a2a4a;
    transition: color 0.25s ease, transform 0.25s ease;
    line-height: 1;
}
.mooodycow-hb-row:hover .mooodycow-hb-arrow {
    transform: translateX(4px);
}
/* Custom icon position — left arrow flips the hover shift direction */
.mooodycow-hb-row--cip .mooodycow-hb-arrow:first-child {
    /* Arrow rendered first = left side */
}
.mooodycow-hb-row--cip:hover .mooodycow-hb-arrow:first-child {
    transform: translateX(-4px);
}

/* ── MoodyCow Button ── */
.mooodycow-btn-wrap {
    display: block;
    line-height: 1;
}
.mooodycow-btn {
    --mooodycow-btn-pr: 28px;
    --mooodycow-btn-pl: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    background-color: #2AABB3;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    border: 0 solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.mooodycow-btn:hover {
    text-decoration: none;
    color: #fff;
}
.mooodycow-btn--icon-left {
    flex-direction: row-reverse;
}
.mooodycow-btn--icon-left .mooodycow-btn-icon {
    order: -1;
}

/* Text */
.mooodycow-btn-text {
    display: inline-block;
}

/* Icon */
.mooodycow-btn-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}
.mooodycow-btn-icon i,
.mooodycow-btn-icon svg {
    display: block;
}

/* Expand right */
.mooodycow-btn--expand-right:hover {
    padding-right: calc(20px + var(--mooodycow-btn-pr));
}
/* Expand left */
.mooodycow-btn--expand-left:hover {
    padding-left: calc(20px + var(--mooodycow-btn-pl));
}
/* Expand both */
.mooodycow-btn--expand-both:hover {
    padding-left: calc(10px + var(--mooodycow-btn-pl));
    padding-right: calc(10px + var(--mooodycow-btn-pr));
}

/* Icon hover shift */
.mooodycow-btn:hover .mooodycow-btn-icon {
    transform: translateX(4px);
}

/* Full width when justified */
.mooodycow-btn-wrap[style*="justify"] .mooodycow-btn,
.mooodycow-btn-wrap .mooodycow-btn--full {
    width: 100%;
    justify-content: center;
}

/* ── MoodyCow Dual Button ── */
.mooodycow-dbtn-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.mooodycow-dbtn {
    --mooodycow-dbtn-pr: 28px;
    --mooodycow-dbtn-exp: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    background-color: #04007C;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    border: 0 solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.mooodycow-dbtn:hover {
    text-decoration: none;
    color: #fff;
}
.mooodycow-dbtn--icon-left {
    flex-direction: row-reverse;
}
.mooodycow-dbtn-text {
    display: inline-block;
}
.mooodycow-dbtn-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}
.mooodycow-dbtn-icon i,
.mooodycow-dbtn-icon svg {
    display: block;
}

/* Expand on hover */
.mooodycow-dbtn--expand:hover {
    padding-right: calc(var(--mooodycow-dbtn-exp) + var(--mooodycow-dbtn-pr));
}
.mooodycow-dbtn:hover .mooodycow-dbtn-icon {
    transform: translateX(4px);
}

/* Stack on mobile */
@media (max-width: 767px) {
    .mooodycow-dbtn-wrap--stack {
        flex-direction: column;
        align-items: stretch;
    }
    .mooodycow-dbtn-wrap--fw-mob .mooodycow-dbtn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Technology Block ── */
.mooodycow-tb-grid {
    display: grid;
    grid-template-columns: repeat(var(--mooodycow-tb-cols, 3), 1fr);
    gap: 20px;
    align-items: start;
}
.mooodycow-tb-grid.mooodycow-tb-eq {
    align-items: stretch;
}
.mooodycow-tb-grid.mooodycow-tb-eq .mooodycow-tb-card {
    height: auto;
    min-height: 320px;
}

.mooodycow-tb-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 320px;
    cursor: pointer;
}

/* Full-card overlay link — covers entire card, sits above all visual layers
   but the inner CTA anchor is raised above it so "Learn More" still registers */
.mooodycow-tb-card-link {
    position: absolute;
    inset: 0;
    z-index: 20;
    text-decoration: none;
    text-indent: -9999px;
    overflow: hidden;
}
.mooodycow-tb-card-link:focus-visible {
    outline: 3px solid #04007C;
    outline-offset: -3px;
    border-radius: 8px;
}
.mooodycow-tb-card--linked .mooodycow-tb-cta {
    position: relative;
    z-index: 21;
}

/* Background image */
.mooodycow-tb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

/* Default gradient overlay */
.mooodycow-tb-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Hover color overlay */
.mooodycow-tb-hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Front face — title at bottom */
.mooodycow-tb-front {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mooodycow-tb-front-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Back face — hover content */
.mooodycow-tb-back {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mooodycow-tb-back-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mooodycow-tb-back-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.mooodycow-tb-cta-wrap {
    margin-top: auto;
    transition: opacity 0.5s ease;
    opacity: 0;
}

/* CTA */
.mooodycow-tb-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}
.mooodycow-tb-cta:hover {
    text-decoration: none;
}
.mooodycow-tb-cta-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}
.mooodycow-tb-cta:hover .mooodycow-tb-cta-icon {
    transform: translateX(3px);
}

/* ── FADE TRANSITION ── */
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-overlay {
    opacity: 0;
}
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-hover-overlay {
    opacity: 0.9;
}
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-front {
    opacity: 0;
    pointer-events: none;
}
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-back {
    opacity: 1;
    pointer-events: auto;
}
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-back-desc,
.mooodycow-tb-trans-fade .mooodycow-tb-card:hover .mooodycow-tb-cta-wrap {
    opacity: 1;
}

/* ── SLIDE UP TRANSITION ── */
/* Gradient stays put — hover overlay fades on top of it, blending together */
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-overlay {
    opacity: 1;
    transform: none;
}
/* Hover overlay: FADE only (no slide) — blends over the gradient */
.mooodycow-tb-trans-slide-up .mooodycow-tb-hover-overlay {
    transform: none;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-hover-overlay {
    transform: none;
    opacity: 0.9;
}
/* Front face: sits above hover overlay so title stays visible during blend */
.mooodycow-tb-trans-slide-up .mooodycow-tb-front {
    z-index: 6;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-front {
    opacity: 0;
    pointer-events: none;
    transition-delay: 0.12s;
}
/* Front title: slides upward while front fades */
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-front-title {
    transform: translateY(-50px);
}
/* Back content: slides up gently, fades in */
.mooodycow-tb-trans-slide-up .mooodycow-tb-back {
    transform: translateY(20px);
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-back-title {
    transform: translateY(10px);
    opacity: 0;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-back-title {
    opacity: 1;
    transform: translateY(0);
}
/* Desc and CTA fade in with staggered delay */
.mooodycow-tb-trans-slide-up .mooodycow-tb-back-desc {
    transition-delay: 0.12s;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-cta-wrap {
    transition-delay: 0.18s;
}
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-back-desc,
.mooodycow-tb-trans-slide-up .mooodycow-tb-card:hover .mooodycow-tb-cta-wrap {
    opacity: 1;
}

/* Tablet */
@media (max-width: 1024px) {
    .mooodycow-tb-grid {
        grid-template-columns: repeat(min(var(--mooodycow-tb-cols, 3), 2), 1fr) !important;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .mooodycow-tb-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── IBM Block ── */
.mooodycow-ibm-wrap {
    display: flex;
    align-items: stretch;
    gap: 40px;
}
.mooodycow-ibm-left {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    flex-direction: column;
}

/* Title */
.mooodycow-ibm-title {
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

/* Description */
.mooodycow-ibm-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Tabs label */
.mooodycow-ibm-tabs-label {
    font-size: 14px;
    color: #8899AA;
    margin-bottom: 8px;
    padding-top: 16px;
}

/* Tabs */
.mooodycow-ibm-tabs {
    display: flex;
    flex-direction: column;
}
.mooodycow-ibm-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 0 solid transparent;
}
.mooodycow-ibm-tab:first-child {
    border-top: 1px solid #E0E0E0;
}
.mooodycow-ibm-tab.is-active {
    border-left: 3px solid #1a2a4a;
    padding-left: 16px;
}
.mooodycow-ibm-tab-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a2a4a;
    transition: color 0.25s ease;
    flex: 1;
}
.mooodycow-ibm-tab-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: #8899AA;
    transition: color 0.25s ease, transform 0.25s ease;
    line-height: 1;
}
.mooodycow-ibm-tab:hover .mooodycow-ibm-tab-arrow,
.mooodycow-ibm-tab.is-active .mooodycow-ibm-tab-arrow {
    transform: translateX(4px);
}

/* Right panel */
.mooodycow-ibm-right {
    flex: 1;
    min-width: 0;
    background-color: #F5F6F8;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.mooodycow-ibm-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: mooodycowIbmFadeIn 0.35s ease;
}
.mooodycow-ibm-panel.is-active {
    display: flex;
}
@keyframes mooodycowIbmFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Panel image */
.mooodycow-ibm-panel-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.mooodycow-ibm-panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Panel desc */
.mooodycow-ibm-panel-desc {
    padding: 20px 20px 0 20px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

/* Panel CTA */
.mooodycow-ibm-panel-cta-wrap {
    padding: 20px;
    margin-top: auto;
}
.mooodycow-ibm-panel-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background-color: #0F1E3C;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    border-radius: 0;
    transition: all 0.25s ease;
    cursor: pointer;
}
.mooodycow-ibm-panel-cta:hover {
    text-decoration: none;
}
.mooodycow-ibm-panel-cta-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease;
}
.mooodycow-ibm-panel-cta:hover .mooodycow-ibm-panel-cta-icon {
    transform: translateX(4px);
}

/* Mobile stack */
@media (max-width: 767px) {
    .mooodycow-ibm-wrap {
        flex-direction: column;
    }
    .mooodycow-ibm-left {
        flex: none;
        max-width: 100%;
    }
    .mooodycow-ibm-right {
        min-height: auto;
    }
}

/* ── FAQ Accordion ── */
.mooodycow-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mooodycow-faq-item {
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Left accent bar — hidden by default, slides in when open */
.mooodycow-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #04007C;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.mooodycow-faq-item.is-open::before {
    transform: scaleY(1);
}

/* Question button — full width, clean reset */
.mooodycow-faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    transition: color 0.25s ease;
}
.mooodycow-faq-question:focus {
    outline: none;
}
.mooodycow-faq-question:focus-visible {
    outline: 2px solid #04007C;
    outline-offset: -2px;
}
.mooodycow-faq-question-text {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a2a4a;
    transition: color 0.25s ease;
}

/* Icon — animated swap between closed and open states */
.mooodycow-faq-icon {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 14px;
    color: #1a2a4a;
    line-height: 1;
    transition: color 0.25s ease, transform 0.3s ease;
}
.mooodycow-faq-icon-closed,
.mooodycow-faq-icon-open {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.3s ease;
}
.mooodycow-faq-icon-closed { opacity: 1; transform: rotate(0deg); }
.mooodycow-faq-icon-open   { opacity: 0; transform: rotate(-90deg); }
.mooodycow-faq-item.is-open .mooodycow-faq-icon-closed { opacity: 0; transform: rotate(90deg); }
.mooodycow-faq-item.is-open .mooodycow-faq-icon-open   { opacity: 1; transform: rotate(0deg); }
.mooodycow-faq-icon i,
.mooodycow-faq-icon svg {
    display: block;
    line-height: 1;
}

/* Answer — uses grid-template-rows trick for smooth height animation */
.mooodycow-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}
.mooodycow-faq-item.is-open .mooodycow-faq-answer {
    grid-template-rows: 1fr;
}
.mooodycow-faq-answer > .mooodycow-faq-answer-inner {
    overflow: hidden;
}
.mooodycow-faq-answer-inner {
    padding: 0 22px 22px 22px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}
.mooodycow-faq-answer-inner p:first-child { margin-top: 0; }
.mooodycow-faq-answer-inner p:last-child  { margin-bottom: 0; }

/* Optional divider above answer */
.mooodycow-faq-has-divider .mooodycow-faq-item.is-open .mooodycow-faq-answer-inner {
    border-top: 1px solid #E0E0E0;
    padding-top: 16px;
    margin-top: 0;
}

/* Right icon variant — flips order */
.mooodycow-faq-icon-right .mooodycow-faq-question {
    /* gap and direction handled by flex order */
}

/* ── Capability Grid ── */
.mooodycow-cg-grid {
    display: grid;
    column-gap: 80px;
    row-gap: 60px;
}
.mooodycow-cg-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mooodycow-cg-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mooodycow-cg-item {
    min-width: 0;
}

.mooodycow-cg-title {
    margin: 0 0 16px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2a4a;
}
.mooodycow-cg-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}
.mooodycow-cg-desc p:first-child { margin-top: 0; }
.mooodycow-cg-desc p:last-child  { margin-bottom: 0; }

/* Custom bullet list styling */
.mooodycow-cg-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mooodycow-cg-desc ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 0;
}
.mooodycow-cg-desc ul li + li {
    margin-top: 8px;
}
.mooodycow-cg-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: var(--mooodycow-cg-bullet-size, 6px);
    height: var(--mooodycow-cg-bullet-size, 6px);
    background-color: #1a2a4a;
    color: #1a2a4a;
    flex-shrink: 0;
}
/* Shape: dot (default) */
.mooodycow-cg-bullet-dot ul li::before {
    border-radius: 50%;
}
/* Shape: square */
.mooodycow-cg-bullet-square ul li::before {
    border-radius: 0;
}
/* Shape: dash */
.mooodycow-cg-bullet-dash ul li::before {
    width: calc(var(--mooodycow-cg-bullet-size, 6px) * 1.8);
    height: 2px;
    top: 0.7em;
    border-radius: 1px;
}
/* Shape: arrow — uses CSS border trick */
.mooodycow-cg-bullet-arrow ul li::before {
    width: 0;
    height: 0;
    background: transparent;
    border-top: calc(var(--mooodycow-cg-bullet-size, 6px) * 0.6) solid transparent;
    border-bottom: calc(var(--mooodycow-cg-bullet-size, 6px) * 0.6) solid transparent;
    border-left: var(--mooodycow-cg-bullet-size, 6px) solid currentColor;
    top: 0.5em;
}
/* Shape: check */
.mooodycow-cg-bullet-check ul li::before {
    width: calc(var(--mooodycow-cg-bullet-size, 6px) * 1.2);
    height: calc(var(--mooodycow-cg-bullet-size, 6px) * 0.6);
    background: transparent;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    top: 0.4em;
    border-radius: 0;
}
/* Shape: custom icon — hide default bullet, render injected icon */
.mooodycow-cg-bullet-icon ul li::before {
    display: none;
}
.mooodycow-cg-bullet-icon ul li {
    padding-left: 22px;
}
.mooodycow-cg-bullet-icon .mooodycow-cg-bullet-icon {
    position: absolute;
    left: 0;
    top: 0.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mooodycow-cg-bullet-icon .mooodycow-cg-bullet-icon i,
.mooodycow-cg-bullet-icon .mooodycow-cg-bullet-icon svg {
    display: block;
    line-height: 1;
}

/* Orphan centering — when the last item has no pair, span the row and center */
.mooodycow-cg-center-orphan.mooodycow-cg-cols-2 .mooodycow-cg-item:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-inline: auto;
}
.mooodycow-cg-center-orphan.mooodycow-cg-cols-3 .mooodycow-cg-item:nth-child(3n+1):last-child {
    grid-column: 1 / -1;
    max-width: 33.333%;
    margin-inline: auto;
}
.mooodycow-cg-center-orphan.mooodycow-cg-cols-3 .mooodycow-cg-item:nth-child(3n+2):last-child {
    grid-column: 2 / -1;
    max-width: 66.666%;
    margin-inline: auto;
}

/* Mobile — stack to one column, orphan rules disabled */
@media (max-width: 767px) {
    .mooodycow-cg-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .mooodycow-cg-center-orphan .mooodycow-cg-item:last-child {
        grid-column: auto;
        max-width: 100%;
        margin-inline: 0;
    }
}

/* ── Two Tone Heading ── */
.mooodycow-tth {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #001953;
}
.mooodycow-tth-segment {
    display: inline;
}

/* ── Stats Block ── */
.mooodycow-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.mooodycow-stat-card {
    background-color: #1F1F1F;
    padding: 36px 28px;
    border-radius: 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mooodycow-stat-number {
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.mooodycow-stat-label {
    font-size: 14px;
    line-height: 1.4;
    color: #A0A0A0;
}

/* Stats responsive */
@media (max-width: 1024px) {
    .mooodycow-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .mooodycow-stat-grid {
        grid-template-columns: 1fr;
    }
    .mooodycow-stat-number {
        font-size: 44px;
    }
}

/* ── Icon Grid ── */
.mooodycow-ig-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.mooodycow-ig-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 28px 16px 24px 16px;
    background-color: #F5F6F8;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}
.mooodycow-ig-item:hover {
    text-decoration: none;
}
.mooodycow-ig-icon {
    margin-bottom: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #001953;
    transition: color 0.25s ease;
}
.mooodycow-ig-icon i,
.mooodycow-ig-icon svg {
    display: block;
    line-height: 1;
    font-size: 36px;
    width: 36px;
    height: 36px;
}
.mooodycow-ig-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #001953;
    transition: color 0.25s ease;
}

/* Icon Grid responsive */
@media (max-width: 1024px) {
    .mooodycow-ig-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .mooodycow-ig-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Horizontal Tabs ── */
.mooodycow-ht-wrap {
    width: 100%;
}
.mooodycow-ht-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    border-bottom: 1px solid #E0E0E0;
    justify-content: flex-start;
    align-items: stretch;
}
.mooodycow-ht-tab {
    position: relative;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 16px 8px;
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
    color: #001953;
    cursor: pointer;
    transition: color 0.25s ease;
    text-align: center;
    text-shadow: none;
    text-decoration: none;
}
.mooodycow-ht-tab:hover,
.mooodycow-ht-tab:focus,
.mooodycow-ht-tab:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    text-decoration: none;
}
.mooodycow-ht-tab:focus { outline: none; }
.mooodycow-ht-tab:focus-visible {
    outline: 2px solid #04007C;
    outline-offset: 4px;
    border-radius: 2px;
}
.mooodycow-ht-tab:hover {
    color: #04007C;
}
.mooodycow-ht-tab.is-active {
    color: #001953;
    font-weight: 700;
}
/* Active underline */
.mooodycow-ht-tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background-color: #04007C;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.mooodycow-ht-tab.is-active::after {
    transform: scaleX(1);
}

/* Content area */
.mooodycow-ht-content {
    margin-top: 50px;
    position: relative;
}
.mooodycow-ht-panel {
    display: none;
    animation: mooodycowHtFadeIn 0.3s ease;
}
.mooodycow-ht-panel.is-active {
    display: block;
}
@keyframes mooodycowHtFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mooodycow-ht-title {
    margin: 0 0 16px 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #001953;
}
.mooodycow-ht-meta {
    font-size: 13px;
    line-height: 1.4;
    color: #8899AA;
    letter-spacing: 0.02em;
}
.mooodycow-ht-meta--above {
    margin-bottom: 12px;
}
.mooodycow-ht-meta--below {
    margin-bottom: 12px;
    margin-top: -8px;
}
.mooodycow-ht-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.mooodycow-ht-desc p:first-child { margin-top: 0; }
.mooodycow-ht-desc p:last-child  { margin-bottom: 0; }

/* Mobile — tabs scroll horizontally if they overflow */
@media (max-width: 767px) {
    .mooodycow-ht-tabs {
        gap: 30px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .mooodycow-ht-tab {
        flex-shrink: 0;
    }
    .mooodycow-ht-title {
        font-size: 28px;
    }
}

/* ── Icon Info Row ── */
.mooodycow-iir {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background-color: #F0F3F8;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}
.mooodycow-iir:hover {
    text-decoration: none;
}
.mooodycow-iir--top {
    flex-direction: column;
    text-align: center;
}

/* Icon box */
.mooodycow-iir-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #DAE0F2;
    transition: background-color 0.25s ease, color 0.25s ease;
    line-height: 1;
}
.mooodycow-iir-icon i,
.mooodycow-iir-icon svg {
    display: block;
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #001953;
    fill: #001953;
    line-height: 1;
    transition: color 0.25s ease, fill 0.25s ease;
}

/* Text */
.mooodycow-iir-text {
    flex: 1;
    min-width: 0;
}
.mooodycow-iir-title {
    margin: 0 0 4px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #001953;
    transition: color 0.25s ease;
}
.mooodycow-iir-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: #5A6A7A;
    margin: 0;
    transition: color 0.25s ease;
}
