/*
 * The Swim Factory: site CSS that used to live in the Simple Custom CSS and JS
 * plugin (snippets 733, 704 and 591, in the order they were printed).
 * Moved here unchanged during the November 2026 cleanup, apart from removing
 * one stray closing brace at the end of snippet 591.
 * Loaded by wp-content/mu-plugins/2-tsf-custom-code.php, after the theme CSS.
 */

/* Snippet 733, "blog page" */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 34px 0px 80px;
}
.page-id-722 h1.page-title {
    font-size: 3.4rem;
    margin-top: 20px;
}
.grid-item {
    background: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
p.excerpt_ss {
    font-size: 16px;
}
.grid-item img {
    width: 100%;
    height: auto;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin-bottom: 70px;
    gap: 10px;
}
.site-header .bottom-header .menu .menu-item a,
.site-footer .footer-contents .footer-menu .menu .menu-item a{
    padding: 0px 13px;
}
.single-post main#primary {
	max-width: 1000px;
	padding: 50px 20px 80px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.single-post h1.entry-title {
    font-size: 2.2rem;
}
.single-post .entry-meta {
    margin-bottom: 15px;
}
.single-post .entry-meta span.byline {
    display: none;
}
.single-post aside#secondary {
    display: none;
}
h3.post_title_ss {
    margin-top: 8px;
}
/* Responsive for Mobile */
@media (max-width: 768px) { /* tablets & phones */
    .archive-grid {
        grid-template-columns: 1fr; /* 1 column mobile */
    }
}

/* Snippet 704, "overflow" */
html, body {
    overflow-x: hidden !important;
}

.mb-0 {
    margin-bottom: 0 !important;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    font-family: museo-slab, sans-serif;
}

/* Snippet 591, "CSS-AN" */
#error-page {
   margin-top: 0px !important;
}
body {
    margin: 0px !important;
    padding: 0px !important;
    max-width: 100% !important;
}

.page-id-27 h2.mt-2.mb-0.bold
{
    margin-bottom: -20px !important;
    margin-top: 20px !important;
}
.title_with_img {
    display: flex;
    justify-content: space-between;
}
.img_area {
    width: 10%;
}
.section-content .jackrabbit table tr:first-child td:nth-child(5) {
    display: none;
}
h1.mb-0.bold {
    font-size: 28px;
    line-height: 28px;
    text-transform: uppercase;
    color: #ffffff;
}

/*
 * Phone menu, rebuilt November 2026.
 * Markup: create_mobile_header_menu() in the theme's inc/template-functions.php.
 * Behaviour: /assets/js/custom/functions.js.
 *
 * The panel starts under the pink bar (the script sets "top") and runs to the
 * bottom of the screen, scrolling on its own when the list is longer than the
 * screen. The theme's old rule made it a full screen tall starting 288px down,
 * so the bottom of the list could never be reached.
 */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    opacity: 1;
    z-index: 100000;
}

html.tsf-menu-open,
html.tsf-menu-open body {
    overflow: hidden !important;
}
html.tsf-menu-open body {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

.tsf-mobile-menu {
    display: block;
    position: fixed;
    top: 288px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background-color: #2a6e90;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.tsf-mobile-menu[hidden] {
    display: none !important;
}
@media (min-width: 992px) {
    .tsf-mobile-menu {
        display: none !important;
    }
}

.tsf-mobile-menu__list,
.tsf-mobile-menu__sub {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tsf-mobile-menu__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.tsf-mobile-menu__row {
    display: flex;
    align-items: stretch;
}
.tsf-mobile-menu__link,
.tsf-mobile-menu__sub a {
    display: block;
    color: #fff;
    font-family: "Miso Bold", Miso, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
}
.tsf-mobile-menu__link {
    flex: 1 1 auto;
    padding: 16px 24px;
    font-size: 24px;
    min-height: 56px;
}
.tsf-mobile-menu__link:hover,
.tsf-mobile-menu__sub a:hover {
    color: #fff;
}
.tsf-mobile-menu__item.is-current > .tsf-mobile-menu__link,
.tsf-mobile-menu__item.is-current > .tsf-mobile-menu__row > .tsf-mobile-menu__link,
.tsf-mobile-menu__subitem.is-current > a {
    background-color: #c90c78;
}
.tsf-mobile-menu__toggle {
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}
.tsf-mobile-menu__toggle svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}
.tsf-mobile-menu__toggle svg path {
    stroke: #fff !important;
    fill: none !important;
}
.tsf-mobile-menu__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.tsf-mobile-menu__sub {
    background-color: rgba(0, 0, 0, 0.15);
}
.tsf-mobile-menu__sub a {
    padding: 13px 24px 13px 40px;
    font-size: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.tsf-mobile-menu a:focus-visible,
.tsf-mobile-menu__toggle:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}
.mobile-menu-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 6px;
    border-radius: 4px;
}
