/* Every selector and variable is scoped to RHM Resource Tabs. */
.rhmrt { --rhm-tab-bg:#f6f4ed; --rhm-tab-color:#52644d; --rhm-tab-hover-bg:#ebe8de; --rhm-tab-hover-color:#35462f; --rhm-tab-active-bg:#e7eadf; --rhm-tab-active-color:#35462f; --rhm-accent-color:#738466; --rhm-panel-bg:#fff; --rhm-card-bg:#fff; --rhm-border-color:#ece9df; --rhm-heading-color:#3d5137; --rhm-title-color:#3d5137; --rhm-subtitle-color:#71766b; --rhm-description-color:#51564d; --rhm-button-bg:#52644d; --rhm-button-color:#fff; --rhm-button-hover-bg:#35462f; --rhm-button-hover-color:#fff; --rhm-tab-font:inherit; --rhm-heading-font:inherit; --rhm-title-font:inherit; --rhm-body-font:inherit; --rhm-button-font:inherit; --rhm-tab-size:17px; --rhm-heading-size:28px; --rhm-title-size:20px; --rhm-body-size:16px; --rhm-button-size:15px; --rhm-tab-weight:600; --rhm-heading-weight:600; --rhm-title-weight:600; --rhm-body-weight:400; --rhm-button-weight:600; --rhm-nav-width:260px; --rhm-gap:32px; --rhm-card-gap:24px; --rhm-card-padding:24px; --rhm-card-radius:8px; --rhm-tab-radius:6px; --rhm-image-height:220px; --rhm-button-radius:999px; --rhm-columns:3; --rhm-image-fit:contain; --rhm-alignment:left; width:100%; min-width:0; color:var(--rhm-description-color); }
.rhmrt *, .rhmrt *::before, .rhmrt *::after { box-sizing:border-box; }
.rhmrt [hidden] { display:none !important; }
.rhmrt .rhmrt__heading, .rhmrt .rhmrt__category { padding:0; margin:0 0 24px; font-family:var(--rhm-heading-font); font-size:var(--rhm-heading-size); font-weight:var(--rhm-heading-weight); line-height:1.25; color:var(--rhm-heading-color); overflow-wrap:anywhere; }
.rhmrt .rhmrt__category { margin-bottom:24px; }
.rhmrt .rhmrt__layout { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--rhm-gap); align-items:start; }
.rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__layout { grid-template-columns:var(--rhm-nav-width) minmax(0,1fr); }
.rhmrt.rhmrt--ready.rhmrt--right .rhmrt__layout { grid-template-columns:minmax(0,1fr) var(--rhm-nav-width); }
.rhmrt.rhmrt--right .rhmrt__nav { order:2; }
.rhmrt .rhmrt__nav { display:flex; flex-direction:column; gap:8px; min-width:0; }
.rhmrt.rhmrt--top .rhmrt__nav { flex-direction:row; flex-wrap:wrap; }
.rhmrt .rhmrt__tab { appearance:none; display:block; width:100%; position:relative; border:0; border-radius:var(--rhm-tab-radius); padding:17px 20px; margin:0; cursor:pointer; text-align:left; background:var(--rhm-tab-bg); color:var(--rhm-tab-color); font-family:var(--rhm-tab-font); font-size:var(--rhm-tab-size); font-weight:var(--rhm-tab-weight); line-height:1.4; overflow-wrap:anywhere; transition:background-color .18s ease,color .18s ease; }
.rhmrt.rhmrt--top .rhmrt__tab { width:auto; }
.rhmrt .rhmrt__tab:hover { background:var(--rhm-tab-hover-bg); color:var(--rhm-tab-hover-color); }
.rhmrt .rhmrt__tab[aria-selected="true"] { background:var(--rhm-tab-active-bg); color:var(--rhm-tab-active-color); box-shadow:inset 4px 0 0 var(--rhm-accent-color); }
.rhmrt.rhmrt--top .rhmrt__tab[aria-selected="true"] { box-shadow:inset 0 -3px 0 var(--rhm-accent-color); }
.rhmrt .rhmrt__panels { min-width:0; background:var(--rhm-panel-bg); }
.rhmrt .rhmrt__panel { padding:0; margin:0 0 32px; min-width:0; }
.rhmrt.rhmrt--ready .rhmrt__panel { margin:0; }
.rhmrt .rhmrt__grid { display:grid; grid-template-columns:repeat(var(--rhm-columns),minmax(0,1fr)); gap:var(--rhm-card-gap); }
.rhmrt .rhmrt__card { display:flex; flex-direction:column; min-width:0; padding:var(--rhm-card-padding); background:var(--rhm-card-bg); border:1px solid var(--rhm-border-color); border-radius:var(--rhm-card-radius); text-align:var(--rhm-alignment); }
.rhmrt .rhmrt__image-wrap { height:var(--rhm-image-height); margin:0 0 20px; width:100%; }
.rhmrt .rhmrt__image { display:block; width:100%; max-width:100%; height:100%; object-fit:var(--rhm-image-fit); margin:0; border:0; }
.rhmrt .rhmrt__title { padding:0; margin:0 0 8px; color:var(--rhm-title-color); font-family:var(--rhm-title-font); font-size:var(--rhm-title-size); font-weight:var(--rhm-title-weight); line-height:1.35; overflow-wrap:anywhere; }
.rhmrt .rhmrt__subtitle { padding:0; margin:0 0 12px; color:var(--rhm-subtitle-color); font-family:var(--rhm-body-font); font-size:var(--rhm-body-size); font-weight:var(--rhm-body-weight); line-height:1.55; overflow-wrap:anywhere; }
.rhmrt .rhmrt__description, .rhmrt .rhmrt__empty { padding:0; margin:0 0 18px; color:var(--rhm-description-color); font-family:var(--rhm-body-font); font-size:var(--rhm-body-size); font-weight:var(--rhm-body-weight); line-height:1.65; overflow-wrap:anywhere; }
.rhmrt .rhmrt__description p { padding:0; margin:0 0 12px; }
.rhmrt .rhmrt__description p:last-child { margin-bottom:0; }
.rhmrt .rhmrt__description ul, .rhmrt .rhmrt__description ol { margin:0 0 12px; padding:0 0 0 24px; }
.rhmrt .rhmrt__description a { color:var(--rhm-button-bg); text-decoration:underline; }
.rhmrt .rhmrt__buttons { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:auto; padding-top:16px; justify-content:flex-start; }
.rhmrt[style*="--rhm-alignment:center"] .rhmrt__buttons { justify-content:center; }
.rhmrt .rhmrt__button { display:inline-flex; justify-content:center; align-items:center; max-width:100%; padding:10px 18px; border:1px solid var(--rhm-button-bg); border-radius:var(--rhm-button-radius); background:var(--rhm-button-bg); color:var(--rhm-button-color); text-decoration:none; font-family:var(--rhm-button-font); font-size:var(--rhm-button-size); font-weight:var(--rhm-button-weight); line-height:1.4; overflow-wrap:anywhere; text-align:center; transition:background-color .18s ease,color .18s ease,border-color .18s ease; }
.rhmrt.rhmrt--button-outline .rhmrt__button, .rhmrt .rhmrt__button--secondary { background:transparent; color:var(--rhm-button-bg); }
.rhmrt .rhmrt__button:hover { background:var(--rhm-button-hover-bg); color:var(--rhm-button-hover-color); border-color:var(--rhm-button-hover-bg); }
.rhmrt.rhmrt--button-text .rhmrt__button:not(.rhmrt__button--secondary) { background:transparent; border-color:transparent; padding:4px 0; color:var(--rhm-button-bg); border-radius:0; text-decoration:underline; text-underline-offset:4px; }
.rhmrt.rhmrt--button-text .rhmrt__button:not(.rhmrt__button--secondary):hover { color:var(--rhm-button-hover-bg); }
.rhmrt .rhmrt__tab:focus-visible, .rhmrt .rhmrt__button:focus-visible, .rhmrt .rhmrt__panel:focus-visible, .rhmrt .rhmrt__description a:focus-visible { outline:3px solid var(--rhm-accent-color); outline-offset:3px; }
.rhmrt .rhmrt__sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1100px) { .rhmrt .rhmrt__grid { grid-template-columns:repeat(min(var(--rhm-columns),2),minmax(0,1fr)); } }
@media (max-width:767px) {
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__layout, .rhmrt.rhmrt--ready.rhmrt--right .rhmrt__layout { grid-template-columns:minmax(0,1fr); }
    .rhmrt .rhmrt__layout { gap:24px; }
    .rhmrt .rhmrt__nav { flex-direction:row; flex-wrap:wrap; order:0; }
    .rhmrt.rhmrt--right .rhmrt__nav { order:0; }
    .rhmrt .rhmrt__tab { width:auto; flex:1 1 160px; padding:13px 16px; }
    .rhmrt .rhmrt__tab[aria-selected="true"] { box-shadow:inset 0 -3px 0 var(--rhm-accent-color); }
    .rhmrt .rhmrt__grid { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) { .rhmrt .rhmrt__tab, .rhmrt .rhmrt__button { transition:none; } }

/* 1.1: full-width sanitized descriptions and uniform carousel/grid cards. */
.rhmrt .rhmrt__card > *, .rhmrt .rhmrt__description-full > *, .rhmrt .rhmrt__description-preview {
    max-width:100%; min-width:0; width:100%; float:none; position:static;
}
.rhmrt .rhmrt__description { flex:none; align-self:stretch; width:100%; max-width:none; min-width:0; white-space:normal; }
.rhmrt .rhmrt__description-full { display:block; width:100%; min-width:0; }
.rhmrt .rhmrt__description-preview { margin:0 0 10px; padding:0; }
.rhmrt .rhmrt__description-full p, .rhmrt .rhmrt__description-full li { width:auto; max-width:none; float:none; }
.rhmrt .rhmrt__description-full blockquote { margin:0 0 12px; padding:0 0 0 14px; border-left:3px solid var(--rhm-border-color); }
.rhmrt .rhmrt__image-link { display:block; width:100%; height:100%; border:0; background:transparent; text-decoration:none; }
.rhmrt .rhmrt__viewport { width:100%; min-width:0; }
.rhmrt .rhmrt__track { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rhmrt .rhmrt__panel--carousel .rhmrt__viewport { overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
.rhmrt .rhmrt__panel--carousel .rhmrt__viewport::-webkit-scrollbar { display:none; }
.rhmrt .rhmrt__panel--carousel .rhmrt__track { display:flex; flex-wrap:nowrap; align-items:flex-start; gap:var(--rhm-card-gap); }
.rhmrt .rhmrt__panel--carousel .rhmrt__card { flex:0 0 calc((100% - var(--rhm-card-gap) * 2) / 3); scroll-snap-align:start; }
.rhmrt .rhmrt__panel--all .rhmrt__viewport { overflow:visible; }
.rhmrt .rhmrt__panel--all .rhmrt__track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
.rhmrt .rhmrt__toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin:0 0 20px; }
.rhmrt .rhmrt__arrows { display:flex; align-items:center; gap:10px; }
.rhmrt .rhmrt__control { appearance:none; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border:1px solid var(--rhm-button-bg); border-radius:var(--rhm-button-radius); background:var(--rhm-button-bg); color:var(--rhm-button-color); font-family:var(--rhm-button-font); font-size:var(--rhm-button-size); font-weight:var(--rhm-button-weight); line-height:1.4; cursor:pointer; }
.rhmrt .rhmrt__prev, .rhmrt .rhmrt__next { min-width:44px; padding:8px 12px; font-size:20px; }
.rhmrt .rhmrt__control:hover:not(:disabled) { background:var(--rhm-button-hover-bg); color:var(--rhm-button-hover-color); border-color:var(--rhm-button-hover-bg); }
.rhmrt .rhmrt__control:disabled { opacity:.4; cursor:default; }
.rhmrt .rhmrt__counter { color:var(--rhm-description-color); font-family:var(--rhm-body-font); font-size:var(--rhm-body-size); white-space:nowrap; }
.rhmrt .rhmrt__more { appearance:none; display:inline-block; width:auto; margin:12px 0 0; padding:4px 0; background:transparent; border:0; color:var(--rhm-button-bg); font-family:var(--rhm-button-font); font-size:var(--rhm-button-size); font-weight:var(--rhm-button-weight); line-height:1.5; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.rhmrt .rhmrt__more:hover { color:var(--rhm-button-hover-bg); }
.rhmrt .rhmrt__control:focus-visible, .rhmrt .rhmrt__more:focus-visible, .rhmrt .rhmrt__image-link:focus-visible { outline:3px solid var(--rhm-accent-color); outline-offset:3px; }
.rhmrt .rhmrt__image-link:focus-visible { outline-offset:-3px; }
@media (max-width:767px) {
    .rhmrt .rhmrt__track, .rhmrt .rhmrt__panel--all .rhmrt__track { grid-template-columns:minmax(0,1fr); }
    .rhmrt .rhmrt__panel--carousel .rhmrt__card { flex-basis:100%; }
    .rhmrt .rhmrt__toolbar { gap:10px; }
}

.rhmrt .rhmrt__description-body { display:flow-root; width:100%; }
.rhmrt .rhmrt__description-body--animating { overflow:hidden; }
.rhmrt .rhmrt__back-top { display:none; margin:24px auto 0; }
.rhmrt .rhmrt__nav { scroll-margin-top:100px; }
@media(max-width:767px) { .rhmrt .rhmrt__panel--all .rhmrt__back-top:not([hidden]) { display:flex; } }

/* Responsive iframe media uses the card width instead of image-height settings. */
.rhmrt .rhmrt__embed { position:relative; width:100%; aspect-ratio:16 / 9; margin:0 0 20px; overflow:hidden; border-radius:4px; background:#000; }
.rhmrt .rhmrt__embed--portrait { aspect-ratio:9 / 16; }
.rhmrt .rhmrt__embed--square { aspect-ratio:1; }
.rhmrt .rhmrt__embed iframe { position:absolute; inset:0; display:block; width:100%; height:100%; max-width:100%; border:0; }

/* Keep the original mobile sequence; share the desktop header and card rows. */
.rhmrt .rhmrt__panel-header { display:contents; }
@media (min-width:768px) {
    .rhmrt.rhmrt--ready:not(.rhmrt--top) {
        display:grid;
        grid-template-columns:var(--rhm-nav-width) minmax(0,1fr);
        grid-template-rows:auto auto;
        gap:24px var(--rhm-gap);
        align-items:start;
    }
    .rhmrt.rhmrt--ready.rhmrt--right { grid-template-columns:minmax(0,1fr) var(--rhm-nav-width); }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) > .rhmrt__heading { grid-column:1; grid-row:1; align-self:center; margin:0; }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__layout,
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__panels { display:contents; }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__nav { grid-column:1; grid-row:2; }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__panel {
        display:grid; grid-column:2; grid-row:1 / span 2;
        grid-template-rows:subgrid; row-gap:24px; align-items:start;
    }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__panel-header {
        display:flex; align-self:stretch; align-items:center; justify-content:space-between; gap:20px; min-width:0;
    }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__category { flex:1 1 0; min-width:0; margin:0; }
    .rhmrt.rhmrt--ready:not(.rhmrt--top) .rhmrt__toolbar { flex:0 0 auto; flex-wrap:nowrap; justify-content:flex-end; margin:0; gap:24px; }
    .rhmrt.rhmrt--ready.rhmrt--right > .rhmrt__heading,
    .rhmrt.rhmrt--ready.rhmrt--right .rhmrt__nav { grid-column:2; }
    .rhmrt.rhmrt--ready.rhmrt--right .rhmrt__panel { grid-column:1; }
}

/* Keep Divi/FitVids wrappers from reducing an embedded player to zero height. */
.rhmrt .rhmrt__card > .rhmrt__embed { position:relative !important; }
.rhmrt .rhmrt__embed > .fluid-width-video-wrapper {
    position:absolute !important; inset:0 !important;
    width:100% !important; height:100% !important;
    padding:0 !important; margin:0 !important;
}
.rhmrt .rhmrt__embed iframe.rhmrt__player {
    position:absolute !important; inset:0 !important;
    width:100% !important; height:100% !important;
    display:block !important; margin:0 !important; border:0;
}
