/* This stylesheet is enqueued only for Blog/Videos archives and their Posts. */
.smhe-archive {
    --smhe-ink: var(--e-global-color-primary, #313131);
    --smhe-body: var(--e-global-color-d8ac1fd, #454A4E);
    --smhe-cream: var(--e-global-color-df7f1dc, #F7F5F2);
    --smhe-line: var(--e-global-color-303b9a2, #E7E3E0);
    color: var(--smhe-body);
    font-family: var(--e-global-typography-text-font-family, Inter), sans-serif;
    font-size: 16px;
    line-height: 1.75;
    background: #fff;
}
.smhe-archive *, .smhe-archive *::before, .smhe-archive *::after { box-sizing: border-box; }
.smhe-archive .smhe-container { width: calc(100% - 80px); max-width: var(--container-max-width, 1290px); margin-inline: auto; }
.smhe-archive .smhe-hero { background: linear-gradient(110deg, #D39C49, #F1EADF); padding: 84px 0 80px; text-align: center; }
.smhe-archive .smhe-hero-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; background: var(--smhe-cream); color: #052B4A; border-radius: 50%; }
.smhe-archive h1 { font-family: var(--e-global-typography-primary-font-family, Poppins), sans-serif; font-size: var(--e-global-typography-primary-font-size, 52px); font-weight: var(--e-global-typography-primary-font-weight, 700); line-height: 1.23; letter-spacing: 0; color: #000; margin: 0; overflow-wrap: anywhere; }
.smhe-archive .smhe-intro { font-size: 24px; font-weight: 500; line-height: 1.5; color: #000; margin: 24px 0 0; }
.smhe-archive .smhe-search { display: flex; align-items: center; gap: 8px; max-width: 900px; margin: 36px auto 0; padding: 6px; border: 1px solid var(--smhe-ink); border-radius: 36px; background: #fff; }
.smhe-archive .smhe-search input[type="search"] { flex: 1; min-width: 0; width: 100%; padding: 10px 18px; border: 0; border-radius: 30px; background: #fff; font: inherit; color: var(--smhe-ink); box-shadow: none; }
.smhe-archive .smhe-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(90deg, #C29346 0%, #FFE9BB 20%, #D1A559 50%, #FFE9BB 80%, #D1A559 100%);
    border: none !important; padding: 10px 20px !important; border-radius: 30px !important;
    font-size: 14px !important; color: #000000; text-decoration: none;
    font-family: inherit; font-weight: 600; line-height: 24px; min-height: 44px; cursor: pointer;
}
.smhe-archive .smhe-button:hover, .smhe-archive .smhe-button:focus-visible { background: linear-gradient(90deg, #b57c38 0%, #fdd896 22%, #b57c38 50%, #fdd896 80%, #b57c38 100%) !important; color: #000; }
.smhe-archive a:focus-visible, .smhe-archive button:focus-visible, .smhe-archive input:focus-visible { outline: 3px solid #052B4A; outline-offset: 3px; }
.smhe-archive .smhe-topics { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px auto 0; }
.smhe-archive .smhe-topic { padding: 8px 16px; border: 1px solid #D39C49; border-radius: 30px; background: #fff; color: var(--smhe-ink); text-decoration: none; font-size: 14px; line-height: 26px; font-weight: 500; }
.smhe-archive .smhe-topic:hover, .smhe-archive .smhe-topic.is-active { background: #D39C49; color: #000; }
.smhe-archive .smhe-results { padding-block: 72px 96px; }
.smhe-archive .smhe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.smhe-archive .smhe-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--smhe-line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgb(5 43 74 / 7%); }
.smhe-archive .smhe-image { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--smhe-cream); }
.smhe-archive .smhe-image img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.smhe-archive .smhe-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 64px; color: #D39C49; }
.smhe-archive .smhe-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.smhe-archive .smhe-date { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.smhe-archive .smhe-card h2 { font-family: var(--e-global-typography-secondary-font-family, Poppins), sans-serif; font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: 0; margin: 0 0 16px; overflow-wrap: anywhere; }
.smhe-archive .smhe-card h2 a { color: var(--smhe-ink); text-decoration: none; }
.smhe-archive .smhe-card h2 a:hover { text-decoration: none !important; }
.smhe-archive p { color: #000000 !important; font-size: 16px !important; font-family: Inter !important; }
.smhe-archive .smhe-excerpt { font-size: 16px; line-height: 1.75; margin: 0 0 24px; }
.smhe-archive .smhe-read { margin-top: auto; }
.smhe-archive .smhe-pagination { margin-top: 48px; }
.smhe-archive .smhe-pagination ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.smhe-archive .smhe-pagination a, .smhe-archive .smhe-pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--smhe-line); border-radius: 24px; color: var(--smhe-ink); text-decoration: none; }
.smhe-archive .smhe-pagination .current, .smhe-archive .smhe-pagination a:hover { background: #D39C49; color: #000; border-color: #D39C49; }
.smhe-archive .smhe-pagination .dots { border-color: transparent; }
.smhe-archive .smhe-results-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.smhe-archive .smhe-results-note p { margin: 0; }
.smhe-archive .smhe-results-note a { color: var(--smhe-ink); text-decoration: underline; text-underline-offset: 4px; }
.smhe-archive .smhe-empty { text-align: center; padding: 32px 0; }
.smhe-archive .smhe-empty h2 { font-family: var(--e-global-typography-secondary-font-family, Poppins), sans-serif; font-size: 32px; color: var(--smhe-ink); }

/* Only the two existing single-post content wrappers, never header/footer widgets. */
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) { padding: 80px 40px 96px !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) > .e-con-inner { max-width: var(--container-max-width, 1290px); width: 100%; gap: 0; padding: 0 !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-heading:has(h1) { width: 100%; max-width: 1100px !important; margin: 0 auto 48px !important; padding: 0 !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) h1 { font-family: var(--e-global-typography-primary-font-family, Poppins), sans-serif; font-size: var(--e-global-typography-primary-font-size, 52px) !important; font-weight: var(--e-global-typography-primary-font-weight, 700) !important; line-height: 1.23 !important; letter-spacing: 0; color: var(--e-global-color-primary, #313131); text-align: center; overflow-wrap: anywhere; }
body.smhe-single .blogpost-content-wrapper .elementor-element-5ae7128 { padding: 0 !important; margin: 0 0 48px; }
body.smhe-single .blogpost-content-wrapper .elementor-element-5ae7128 img { display: block; width: 100%; height: auto; border-radius: 16px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content { width: 100%; margin: 0 auto 48px; padding: 0 !important; font-family: var(--e-global-typography-text-font-family, Inter), sans-serif; color: var(--e-global-color-d8ac1fd, #454A4E); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
body.smhe-blog-single .blogpost-content-wrapper .elementor-widget-theme-post-content,
body.smhe-videos-single .videopost-content-wrapper .elementor-widget-theme-post-content { width: 100% !important; max-width: 100% !important; margin-inline: auto !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) p { color: #000000 !important; font-size: 16px !important; font-family: Inter !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content p { line-height: 1.75 !important; margin: 0 0 1.25em !important; padding: 0 !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content :is(h2,h3,h4) { font-family: var(--e-global-typography-secondary-font-family, Poppins), sans-serif; color: var(--e-global-color-primary, #313131); line-height: 1.35; font-weight: 600; margin: 1.6em 0 .6em; scroll-margin-top: 110px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content h2 { font-size: 36px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content h3 { font-size: 28px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content h4 { font-size: 22px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content :is(ul,ol) { margin: 0 0 1.5em; padding-left: 1.5em; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content li { margin-bottom: .4em; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content :is(figure,.wp-caption) { max-width: 100%; margin-inline: 0; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content a { text-underline-offset: 4px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content :is(iframe,video) { display: block; max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .smh_video_wrapper { width: 100%; padding: 0 !important; height: auto !important; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .smh_video_wrapper iframe { position: static !important; height: auto !important; }
body.smhe-single .elementor-widget-theme-post-content .smhe-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
body.smhe-single .elementor-widget-theme-post-content .smhe-player iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
body.smhe-single .elementor-widget-theme-post-content .smhe-player [hidden] { display: none !important; }
body.smhe-single .elementor-widget-theme-post-content .smhe-video-poster { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 !important; margin: 0; border: none !important; border-radius: 0; background: transparent !important; cursor: pointer; }
body.smhe-single .elementor-widget-theme-post-content .smhe-video-poster img { display: block; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; border-radius: 0; }
body.smhe-single .elementor-widget-theme-post-content .smhe-play-icon { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(56px, 6vw, 80px); aspect-ratio: 1; background: #D39C49; color: #000; border-radius: 50%; box-shadow: 0 4px 20px #0005; }
body.smhe-single .elementor-widget-theme-post-content .smhe-video-poster:hover .smhe-play-icon { box-shadow: 0 0 0 5px #fff8, 0 4px 20px #0005; }
body.smhe-single .elementor-widget-theme-post-content .smhe-video-poster:focus-visible { outline: 3px solid #D39C49; outline-offset: -5px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content table { display: block; max-width: 100%; overflow-x: auto; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-post-navigation { white-space: normal; gap: 24px; }
body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-post-navigation :is(.elementor-post-navigation__link,.post-navigation__prev--title,.post-navigation__next--title) { white-space: normal; overflow-wrap: anywhere; }
body.smhe-single .blogpost-content-wrapper .smhe-toc { margin: 0 0 40px; border: 1px solid #E7E3E0; border-left: 4px solid #D39C49; border-radius: 16px; background: #F7F5F2; overflow: hidden; }
body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq) > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; color: #313131; }
body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq) > summary::-webkit-details-marker { display: none; }
body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq) > summary::after { content: '+'; color: #D39C49; font-size: 24px; flex-shrink: 0; }
body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq)[open] > summary::after { content: '−'; }
body.smhe-single .blogpost-content-wrapper .smhe-toc nav { max-height: 420px; overflow: auto; padding: 0 22px 22px; }
body.smhe-single .blogpost-content-wrapper .smhe-toc nav > ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 32px; margin: 0; }
body.smhe-single .blogpost-content-wrapper .smhe-toc nav ol ol { margin: 8px 0 0; font-size: 14px; }
body.smhe-single .blogpost-content-wrapper .smhe-toc a { color: #454A4E; text-decoration: none; }
body.smhe-single .blogpost-content-wrapper .smhe-toc a:hover { text-decoration: underline; }
body.smhe-single .blogpost-content-wrapper .smhe-faq { margin: 12px 0; border: 1px solid #E7E3E0; border-radius: 12px; background: #F7F5F2; }
body.smhe-single .blogpost-content-wrapper .smhe-faq-answer { padding: 0 22px 18px; }
body.smhe-single .blogpost-content-wrapper .smhe-faq-answer p:last-child { margin-bottom: 0; }
body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq) summary:focus-visible { outline: 3px solid #D39C49; outline-offset: -3px; }
@media (max-width: 1024px) {
    .smhe-archive .smhe-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 24px; }
    .smhe-archive .smhe-hero { padding-block: 64px; }
    .smhe-archive h1 { font-size: 45px; }
    .smhe-archive .smhe-intro { font-size: 22px; }
    .smhe-archive .smhe-results { padding-block: 56px 72px; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) { padding-block: 64px 72px !important; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) h1 { font-size: 45px !important; }
}
@media (max-width: 767px) {
    .smhe-archive .smhe-container { width: calc(100% - 40px); }
    .smhe-archive .smhe-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .smhe-archive .smhe-hero { padding-block: 48px; }
    .smhe-archive h1 { font-size: 36px; }
    .smhe-archive .smhe-intro { font-size: 18px; margin-top: 20px; }
    .smhe-archive .smhe-hero-icon { width: 60px; height: 60px; margin-bottom: 20px; }
    .smhe-archive .smhe-search { margin-top: 28px; gap: 0; }
    .smhe-archive .smhe-search input[type="search"] { padding-inline: 12px; }
    .smhe-archive .smhe-topics { gap: 8px; }
    .smhe-archive .smhe-topic { padding-inline: 12px; }
    .smhe-archive .smhe-results { padding-block: 40px 60px; }
    .smhe-archive .smhe-card-body { padding: 22px; }
    .smhe-archive .smhe-card h2 { font-size: 22px; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) { padding: 48px 20px 60px !important; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) h1 { font-size: 36px !important; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-heading:has(h1) { margin-bottom: 32px !important; }
    body.smhe-single .blogpost-content-wrapper .elementor-element-5ae7128 { margin-bottom: 32px; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content h2 { font-size: 30px; }
    body.smhe-single :is(.blogpost-content-wrapper, .videopost-content-wrapper) .elementor-widget-theme-post-content h3 { font-size: 24px; }
    body.smhe-single .blogpost-content-wrapper .smhe-toc nav > ol { grid-template-columns: minmax(0,1fr); }
    body.smhe-single .blogpost-content-wrapper :is(.smhe-toc,.smhe-faq) > summary { padding: 16px; }
    body.smhe-single .blogpost-content-wrapper .smhe-toc nav { padding: 0 16px 18px; max-height: 360px; }
    body.smhe-single .blogpost-content-wrapper .smhe-faq-answer { padding: 0 16px 18px; }
}
