/* ===== Hide Jetpack sharing & likes ===== */
.sharedaddy,
.sd-sharing,
.sd-like,
.jetpack-likes-widget-wrapper,
.sd-block,
.wp-block-jetpack-sharing-buttons {
    display: none !important;
}

/* ===== Smooth Page Transition ===== */
body {
    animation: pageFade 0.35s ease;
}

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

/* ===== Transparent Header ===== */
.site-header {
    background: transparent !important;
    box-shadow: none;
}

/* ===== Main Navigation Menu Text ===== */
.main-navigation a,
.site-header .main-navigation a {
    color: #00325A;
    font-weight: 1000;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 8px;
    box-sizing: border-box;
    background-color: transparent;
}

/* ===== Hover Effect ===== */
.main-navigation a:hover {
    color: #5FAFB4 !important;
}

/* ===== Active / Selected Page ===== */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .menu-item-has-children.active > a {
    color: #5FAFB4 !important;
    font-weight: 700;
}

/* ===== Center-Out Animated Underline ===== */
.main-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #5FAFB4;
    transition: width 0.35s cubic-bezier(0.25,0.8,0.25,1), opacity 0.35s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.main-navigation a:hover::after {
    width: 100%;
    opacity: 1;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    width: 100%;
    height: 3px;
    opacity: 1;
}

/* ===== Editorial Links (improved discoverability) ===== */
.site-main :is(p, li, h1, h2, h3, h4, h5) a:not(.wp-block-button__link) {
    color: #00325A;
    text-decoration: none;
    border-radius: 3px;
    position: relative;

    background-image: linear-gradient(#5FAFB4,#5FAFB4);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;

    transition:
        color .3s ease,
        background-size .35s ease,
        background-color .3s ease;
}

.site-main :is(p, li, h1, h2, h3, h4, h5) a:not(.wp-block-button__link):hover {
    color: #5FAFB4;
    background-size: 100% 2px;
    background-color: rgba(95,175,180,0.15);
}

/* ===== External links ===== */
.site-main a.external-link:not(.wp-block-button__link) {
    color: #00325A;
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    transition:
        color .35s ease,
        background-color .35s ease;
}

.site-main a.external-link:not(.wp-block-button__link):hover {
    color: #5FAFB4;
    background-color: rgba(95,175,180,0.18);
}

/* ===== Accessibility ===== */
.site-main a:focus {
    outline: 2px dashed rgba(95,175,180,0.6);
    outline-offset: 2px;
}

/* ===== Scroll Reveal Animation (optional for sections) ===== */
.fade-up {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Homepage Stats Section ===== */
.stats-section {
    display: flex;
    justify-content: space-evenly;
    margin: 40px auto;
    max-width: 1200px;
    gap: 100px;
    text-align: center;
    flex-wrap: wrap;
}

.stats-section .stats-card {
    flex: 0 1 auto;
}

.stats-section .stats-card h2 {
    font-size: 72px !important;
    color: #00325A !important;
    margin: 0;
    font-weight: 800 !important;
    line-height: 1.05;
    transition: transform .35s ease;
}

.stats-section .stats-card p {
    font-size: 20px !important;
    color: #5FAFB4 !important;
    margin: 10px 0 0;
    font-weight: 500 !important;
}

/* subtle number interaction only */
.stats-section .stats-card:hover h2 {
    transform: scale(1.06);
}

/* ===== Image Hover Zoom (very subtle) ===== */
.image-hover {
    overflow: hidden;
}

.image-hover img {
    transition: transform .45s ease;
}

.image-hover:hover img {
    transform: scale(1.04);
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 820px) {

    .stats-section {
        flex-direction: column;
        gap: 40px;
    }

    .main-navigation a {
        padding: 6px 10px;
    }

    .main-navigation a:hover,
    .main-navigation .current-menu-item > a {
        color: #5FAFB4 !important;
    }

    .site-main a.external-link:not(.wp-block-button__link) {
        padding: 1px 3px;
    }
}

/* ===== Hide raw JS text at bottom ===== */
body > script,
body > div:last-child {
    display: none !important;
}

/* ===== Hide Theme Credit ===== */
.site-info {
    display: none !important;
}/* Editorial typography boost */
body {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.65;
}
/* Fixed top-right compact panel */
.minds-dashboard-buttons {
    position: fixed;
    top: 0px;            /* adjust to match your header */
    right: 20px;          /* distance from right edge */
    display: flex;
    justify-content: flex-end; /* align buttons right inside panel */
    align-items: center;
    gap: 10px;            /* spacing between buttons */
    flex-wrap: nowrap;     /* keep buttons in one line */
    width: auto;           /* fit content */
    max-width: 280px;      /* smaller panel width */
    z-index: 9999;
    background: #ffffff;
    padding: 5px 10px;     /* smaller panel padding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-20px); /* slide-in from above */
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;    /* prevent wrapping */
}

/* Slide-in animation */
.minds-dashboard-buttons.slide-in {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons styling */
.minds-dashboard-btn {
    background: #5FAFB4;
    color: #fff !important;
    padding: 8px 15px;      /* smaller buttons */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;        /* smaller font */
    white-space: nowrap;     /* prevent text wrapping inside button */
    transition: background 0.3s, transform 0.2s;
}

.minds-dashboard-btn:hover {
    background: #00325A;
    transform: translateY(-2px);
}

.minds-dashboard-logout {
    background: #00325A;
}

.minds-dashboard-logout:hover {
    background: #5FAFB4;
}

/* Responsive for mobile */
@media (max-width: 4000px) {
    .minds-dashboard-buttons {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90%;
    }
    .minds-dashboard-buttons a {
        flex: 1 1 auto;
        text-align: center;
    }
}
/* Make content full-width on this page only */
.page-id-485 .entry-content {
    max-width: 1200px !important;
    width: 100% !important;
}
/* Expand page width for Members page */
.page-id-485 .site-content,
.page-id-485 .content-area,
.page-id-485 .container {
    max-width: 1600px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}
/* Expand Members page width */
.page-id-485 .site-content,
.page-id-485 .content-area,
.page-id-485 .entry-content {
    max-width: 1550px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}
/* Make Looker Studio embeds look native */
iframe[src*="lookerstudio"] {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
}
/* Clean Looker Studio embed edges */
iframe[src*="lookerstudio"] {
    transform: scale(1.02);
    transform-origin: top center;
}
/* Improve Google Drive embed appearance */
iframe[src*="drive.google.com"] {
    background: #ffffff;
    border-radius: 16px;
}

/* Make document cards breathe more */
.minds-tab iframe {
    padding-top: 6px;
}
/* Improve Google Drive embed appearance */
iframe[src*="drive.google.com"] {
    background: #ffffff;
    border-radius: 16px;
}

/* Make document cards breathe more */
.minds-tab iframe {
    padding-top: 6px;
}

/* Subtle hover effect for the library container */
.minds-tab div {
    transition: box-shadow 0.25s ease;
}
.page-id-486 .site-content {
    max-width: none !important;
    width: 100% !important;
}

.page-id-486 .content-area {
    max-width: none !important;
    width: 100% !important;
}

.page-id-486 .entry-content {
    max-width: none !important;
}
/* Hide ONLY the big top Forgot Password button */
.um-login form > div[style*="text-align:center"] {
    display: none !important;
}