/*
TalkItOver Client changes
*/

/* ── Global link hover ── */
a:hover {
    color: #2c4a8a;
}
.entryWrap a:hover {
    color: #2c4a8a;
    text-decoration: underline;
    border-bottom: none;
}

/* ── Content reading font ── */
.entryWrap p,
.entryWrap li,
.entryWrap td,
.entryWrap blockquote,
.hMainText p,
.hMainText li {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

/* ── Book an appointment button ── */
.book-appointment .talkitover a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #7aa841;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    box-shadow: 0 2px 8px rgba(122, 168, 65, 0.35);
    text-shadow: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}
.book-appointment .talkitover a:hover {
    background: #669133;
    box-shadow: 0 4px 14px rgba(122, 168, 65, 0.45);
    color: #fff !important;
    border: none;
    text-shadow: none;
}

/* ── Talk It Over button (services pages) ── */
.entryWrap .talkitover a,
.hMainText .talkitover a {
    display: inline-block;
    background: #7aa841;
    color: #fff !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 32px;
    border-radius: 24px;
    border: none !important;
    box-shadow: 0 2px 8px rgba(122, 168, 65, 0.35);
    text-shadow: none;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.entryWrap .talkitover a:hover,
.hMainText .talkitover a:hover {
    background: #669133;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(122, 168, 65, 0.45);
    border: none !important;
    text-shadow: none;
}

/* ── In-page Book an appointment button ── */
.book a {
    display: inline-block;
    background: #7aa841;
    color: #fff !important;
    font-size: 15px;
    font-weight: bold;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 32px;
    border-radius: 24px;
    border: none !important;
    box-shadow: 0 2px 8px rgba(122, 168, 65, 0.35);
    text-shadow: none;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.book a:hover {
    background: #669133;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(122, 168, 65, 0.45);
    border: none !important;
    text-shadow: none;
}

/* ── How It Works page ── */
.tio-hiw-intro {
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.tio-hiw-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f5fb;
    border-left: 4px solid #476694;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 28px;
    color: #3a5070;
    line-height: 1.6;
}
.tio-hiw-note-icon {
    font-size: 16px;
    line-height: 1.4;
    flex-shrink: 0;
}
.tio-hiw-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.tio-hiw-mode {
    border: 1px solid #e4e8ed;
    border-radius: 8px;
    overflow: hidden;
}
.tio-hiw-mode-title {
    background: #eef2f8;
    color: #2c3e6b;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 18px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #496ba9 !important;
}
.tio-hiw-steps {
    padding: 16px 18px;
    background: #fff;
}
.tio-hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.tio-hiw-step:last-child { margin-bottom: 0; }
.tio-hiw-step-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #7aa841;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.tio-hiw-step-text {
    line-height: 1.6;
    color: #444;
}
.tio-hiw-step-text em {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 2px;
    font-style: italic;
}
@media screen and (max-width: 600px) {
    .tio-hiw-modes { grid-template-columns: 1fr; }
}

/* ── Fees page ── */
.tio-fees-intro {
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}
.entryWrap .tio-fees-table {
    width: auto;
    max-width: 560px;
    border-collapse: collapse;
    margin: 0 0 28px 0;
    font-size: 13px;
    border: 1px solid #e0e4ea;
}
.entryWrap .tio-fees-table th {
    background: #496ba9;
    color: #fff;
    padding: 12px 18px;
    text-align: left;
    font-weight: 600;
    border: none;
    text-shadow: none;
}
.entryWrap .tio-fees-table th:not(:first-child),
.entryWrap .tio-fees-table td:not(:first-child) {
    text-align: center;
    white-space: nowrap;
}
.entryWrap .tio-fees-table .tio-fees-section td {
    background: #eef2f8;
    color: #2c3e6b;
    font-weight: 600;
    padding: 10px 18px;
    border-top: 2px solid #496ba9;
    border-bottom: 1px solid #c8d9ee;
    text-align: center;
    letter-spacing: 0.02em;
}
.entryWrap .tio-fees-table .tio-fees-section-phone td {
    background: #f3f9ee;
    color: #3a5c1a;
    font-weight: 600;
    padding: 10px 18px;
    border-top: 2px solid #7aa841;
    border-bottom: 1px solid #c3dfa0;
    text-align: center;
    letter-spacing: 0.02em;
}
.entryWrap .tio-fees-table tr.tio-fees-row td {
    padding: 11px 18px;
    border-bottom: 1px solid #e8ecf0;
    color: #444;
    vertical-align: middle;
}
.entryWrap .tio-fees-table tr.tio-fees-row:last-child td {
    border-bottom: none;
}
.entryWrap .tio-fees-table tr.tio-fees-row td:not(:first-child) {
    text-align: center;
    color: #555;
}
.entryWrap .tio-fees-table tr.tio-fees-row:nth-child(even) td {
    background: #fafbfc;
}
.tio-fees-fee {
    font-weight: 600;
    color: #2c3740 !important;
}
.tio-fees-flexi {
    background: #f8f9fa;
    border: 1px solid #e4e8ed;
    border-left: 4px solid #7aa841;
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.tio-fees-flexi h3 {
    font-weight: bold !important;
    color: #2c3740 !important;
    margin: 0 0 10px !important;
    border: none !important;
}
.tio-fees-flexi ul {
    margin: 0;
    padding-left: 18px;
}
.tio-fees-flexi li {
    line-height: 1.8;
    color: #555;
}
.tio-fees-notes {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
/* ── Footer ── */
.footer {
    font-size: 12px !important;
    color: #666;
    line-height: 1.8 !important;
    letter-spacing: 0 !important;
    padding: 18px 0 12px;
}
.footer .tio-footer-locations {
    color: #888;
    margin-bottom: 6px;
}
.tio-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    margin: 6px 0 10px;
}
.tio-footer-links a {
    color: #496ba9;
    text-decoration: none;
    padding: 0 10px;
    border-right: 1px solid #ccc;
    line-height: 1.4;
}
.tio-footer-links a:last-child {
    border-right: none;
}
.tio-footer-links a:hover {
    color: #2c4a8a;
    text-decoration: underline;
}
@media screen and (max-width: 600px) {
    .tio-footer-links a {
        padding: 0 8px;
        font-size: 11px;
    }
}

@media screen and (max-width: 600px) {
    .entryWrap .tio-fees-table {
        width: 100%;
        max-width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .entryWrap .tio-fees-table th,
    .entryWrap .tio-fees-table td { padding: 9px 12px; }
    .entryWrap .tio-fees-table th:not(:first-child),
    .entryWrap .tio-fees-table td:not(:first-child) { white-space: normal; }
}

/* ── Contact Us page ── */
.tio-contact-intro {
    line-height: 1.7;
    color: #555;
    margin-bottom: 6px;
}
.tio-contact-primary {
    display: flex;
    gap: 14px;
    margin: 28px 0 6px;
    flex-wrap: wrap;
}
.tio-contact-primary a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.tio-contact-primary a.tio-phone span,
.tio-contact-primary a.tio-email span {
    font-weight: 400;
    letter-spacing: 0.05em;
}
.tio-contact-primary a.tio-phone {
    background: #1a5fa8;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(26,95,168,0.3);
}
.tio-contact-primary a.tio-phone:hover {
    background: #154d8a;
    box-shadow: 0 4px 12px rgba(26,95,168,0.4);
    color: #fff !important;
}
.tio-contact-primary a.tio-email {
    background: #f0f5fb;
    color: #476694 !important;
    border: 1px solid #c8d9ee !important;
}
.tio-contact-primary a.tio-email:hover {
    background: #e2ecf8;
    color: #2e4d80 !important;
}
h3.tio-contact-direct-label {
    font-size: 17px !important;
    color: #2c3e6b !important;
    margin: 32px 0 14px !important;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    border: none !important;
    letter-spacing: 0 !important;
}
.tio-contact-note {
    font-size: 11px !important;
    color: #aaa !important;
    font-style: italic;
    margin: 4px 0 24px !important;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
}
.tio-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0 10px;
}
.tio-contact-card {
    background: #f8f9fa;
    border: 1px solid #e4e8ed;
    border-left: 4px solid #7aa841;
    border-radius: 6px;
    padding: 16px 18px;
}
.tio-contact-card h3 {
    font-weight: bold !important;
    color: #2c3740 !important;
    margin: 0 0 6px !important;
    letter-spacing: 0 !important;
    border: none !important;
}
.tio-contact-card p {
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
}
.tio-contact-card a {
    color: #476694 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: bold;
}
.tio-contact-card a:hover {
    color: #7aa841 !important;
}
@media screen and (max-width: 600px) {
    .tio-contact-grid { grid-template-columns: 1fr; }
    .tio-contact-primary { flex-direction: column; }
    .tio-contact-primary a { justify-content: center; }
}

/* ── Training page CTA ── */
.tio-cta {
    background: linear-gradient(135deg, #496ba9 0%, #2e4d80 100%);
    border-radius: 8px;
    padding: 32px 28px;
    margin: 28px 0 10px;
    text-align: center;
    color: #fff;
}
.tio-cta p {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
    color: #fff !important;
    line-height: 1.5;
}
.tio-cta-heading {
    font-size: 18px !important;
    font-weight: bold;
    color: #fff !important;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
}
.tio-cta-sub {
    font-size: 14px !important;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 0 22px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
}
.tio-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.tio-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap;
}
.tio-cta-btn-call {
    background: #7aa841;
    color: #fff !important;
}
.tio-cta-btn-call:hover {
    background: #669133;
    color: #fff !important;
}
.tio-cta-btn-email {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
}
.tio-cta-btn-email:hover {
    background: rgba(255,255,255,0.25);
    color: #fff !important;
}
@media screen and (max-width: 480px) {
    .tio-cta { padding: 24px 16px; }
    .tio-cta-actions { flex-direction: column; align-items: center; }
    .tio-cta-btn { width: 100%; justify-content: center; }
}

/* ── Client logo gallery ── */
.gallery.gallery-columns-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
}
.gallery.gallery-columns-4 .gallery-item {
    flex: 0 0 calc(25% - 12px);
    margin: 0;
    box-sizing: border-box;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    min-height: 90px;
}
.gallery.gallery-columns-4 .gallery-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
}
@media screen and (max-width: 768px) {
    .gallery.gallery-columns-4 .gallery-item {
        flex: 0 0 calc(33.333% - 11px);
    }
}
@media screen and (max-width: 480px) {
    .gallery.gallery-columns-4 .gallery-item {
        flex: 0 0 calc(50% - 8px);
    }
}


a.home_links {
    color: #476694;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.2s ease;
}
a.home_links:hover {
    color: #2c4a8a;
    text-decoration: underline;
    border-bottom: none;
}

a.tioarticle,
.entryWrap a.tioarticle {
    color: #476694;
    font-weight: bold;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.2s ease;
}
a.tioarticle:hover,
.entryWrap a.tioarticle:hover {
    color: #2c4a70;
    text-decoration: underline;
    border-bottom: none;
}

.entryWrap strong {color: #555; font-weight: bold}

/*.entryWrap table {margin: 20px; border: 1px solid #AAA; border-bottom: 0;} ennis backup*/
.entryWrap table {margin: 20px; border: 2px solid #85BE3B; border-bottom: 1; font-size: 12px}
.entryWrap table caption{padding: 10px; font-weight: bold; font-size: 15px; text-shadow: none}
.entryWrap table th{background: #B6D463; color: #FFF; text-shadow: none; padding: 5px 10px; border-bottom: 1px solid #666; text-shadow: none}
.entryWrap table td{padding: 5px 10px; border-bottom: 0px solid #bbb}
.entryWrap table tr{border-bottom:  1px solid #476694 }

/* ── Sidebar headings ── */
.lsidebar h3,
.rsidebar h3,
.rsidebar span.rbTitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7aa841;
    border-bottom: 2px solid #85be3b;
    border-left: none;
    padding: 6px 0 8px 0;
    margin: 0 0 8px;
    display: block;
    background: none;
}

/* ── Left sidebar fonts & links ── */
.lsidebar ul {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
}
.lMenu ul li {
    height: auto;
    overflow: visible;
}
.lMenu ul li a {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #476694;
    padding: 6px 14px;
    display: block;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}
.lMenu ul li a:hover {
    background: #f0f5fb;
    color: #2c3e6b;
}
.lMenu ul li.current-menu-item,
.lMenu ul li.current-menu-parent {
    height: auto;
    background: none;
    border: none;
}
.lMenu ul li.current-menu-item a,
.lMenu ul li.current-menu-parent a {
    background: #eef2f8;
    color: #2c3e6b;
    font-weight: bold;
    border: none;
    text-shadow: none;
}

/* ── tioBox & articles sidebar sections ── */
.lMenu {
    margin-top: 0;
}
.articles, .tioBox {
    margin-top: 12px;
}
.articles, .lMenu, .tioBox {
    background: #fff;
    border: 1px solid #c9c9c9;
    box-shadow: none;
    border-radius: 6px;
}
.articles ul, .tioBox ul {
    border-top: none;
    padding: 12px 14px;
}
.tioBox ul {
    list-style: none;
    margin-left: 0;
    list-style-image: none;
}
.tioBox ul li,
.articles ul li {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}
.articles ul li a {
    color: #476694;
    text-decoration: none;
}
.articles ul li a:hover {
    color: #2c4a8a;
    text-decoration: underline;
}
.tioBox ul li::before,
.articles ul li::before {
    content: "·";
    position: absolute;
    left: 2px;
    color: #7aa841;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
}

/* ── Homepage h2 headings ── */
.hMainText h2 {
    color: #6D97C7;
    border-bottom: 2px solid #85be3b;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 0;
    margin: 0 0 8px;
}

/* ── Homepage & entry bullet points (replace PNG) ── */
.hMainText ul li,
.entryWrap ul li {
    background-image: none;
    padding-left: 14px;
    position: relative;
    line-height: 1.7;
}
.hMainText ul li::before,
.entryWrap ul li::before {
    content: "·";
    position: absolute;
    left: 2px;
    color: #7aa841;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
}

/* ── Family Life Cycle section ── */
.hFLCImage {
    margin-top: 24px;
    text-align: center;
}

.tio-flc-container {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.tio-flc-container img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.tio-flc-caption {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 10px 0 0;
    font-style: italic;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* ── Right sidebar boxes ── */
.rsidebar {
    margin-top: 0;
}
.rsidebar div {
    background: #fff;
    border: 1px solid #c9c9c9;
    box-shadow: none;
    border-radius: 6px;
    overflow: hidden;
}
.rsidebar img {
    width: 100%;
    height: auto;
    padding: 0;
    border-top: none;
    display: block;
}

/* ── About Us page ── */
.tio-about-section {
    margin-bottom: 28px;
}
.tio-about-section h2 {
    margin-top: 28px !important;
}
.tio-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}
.tio-stat-card {
    background: #f0f5fb;
    border: 1px solid #c8d9ee;
    border-top: 3px solid #496ba9;
    border-radius: 6px;
    padding: 16px 14px;
    text-align: center;
}
.tio-stat-number {
    font-size: 22px;
    font-weight: 700;
    color: #496ba9;
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
}
.tio-stat-label {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}
.tio-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 28px;
}
.tio-value-card {
    background: #fff;
    border: 1px solid #e4e8ed;
    border-left: 4px solid #7aa841;
    border-radius: 6px;
    padding: 16px 16px;
}
.tio-value-title {
    font-size: 13px;
    font-weight: 700;
    color: #2c3740;
    margin-bottom: 6px;
    display: block;
}
.tio-value-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .tio-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tio-values-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 480px) {
    .tio-stats-grid { grid-template-columns: 1fr; }
}

/* ── LifeCycle menu ── */
#lcMenu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    padding: 10px 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #e8ecf0;
}
#lcMenu li {
    display: inline-block;
    background: none;
    border-radius: 20px;
    vertical-align: middle;
}
#lcMenu li a {
    display: block;
    padding: 6px 14px;
    font-size: 12px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #555 !important;
    text-shadow: none;
    line-height: normal;
    border-radius: 20px;
    border: 1px solid #dde2e8;
    background: #f8f9fa;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#lcMenu li a:hover {
    background: #eef2f8;
    border-color: #b0bfd0;
    color: #2c3e6b !important;
    text-shadow: none;
}
#lcMenu li.current-menu-item,
#lcMenu li.current-menu-parent {
    background: none;
}
#lcMenu li.current-menu-item a,
#lcMenu li.current-menu-parent a {
    background: #496ba9;
    border-color: #496ba9;
    color: #fff !important;
    font-weight: bold;
    text-shadow: none;
}
#lcMenu li.dummyLink a {
    background: none;
    border: none;
    color: #888 !important;
    font-style: italic;
    font-weight: normal;
    cursor: default;
    text-transform: none;
    font-size: 12px;
    padding: 6px 8px;
}
#lcMenu li.dummyLink a:hover {
    background: none;
    border: none;
    color: #888 !important;
}

/* ── Main navigation menu ── */
.headMenuWrap {
    background: #3a7cc7;
    border: none;
    box-shadow: none;
    height: auto;
}
.headMenu {
    height: auto;
    border: none;
    padding: 0;
}
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    line-height: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-shadow: none;
}
#menu > li {
    float: none;
}
#menu > li > a {
    height: auto;
    padding: 12px 14px;
    line-height: normal;
    color: rgba(255,255,255,0.9) !important;
    text-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}
#menu > li > a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
}
#menu > li > a span {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    text-shadow: none !important;
}
#menu > li > a:hover span {
    border-bottom: none !important;
}
#menu li.current-menu-item > a {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
}
#menu li.current-menu-item > a span {
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    text-shadow: none !important;
}
#menu li.current-menu-item > a:hover span {
    border-bottom: none !important;
}

/* ── Dropdown sub-menu ── */
#menu ul.sub-menu {
    background: #fff;
    border: 1px solid #e0e6f0;
    border-top: 3px solid #3a7cc7;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 6px 6px;
    min-width: 200px;
    padding: 6px 0;
}
#menu li:hover ul { top: 100%; margin-top: -2px; }
#menu li ul.sub-menu li {
    float: none;
    display: block;
}
#menu li ul.sub-menu li a {
    display: block;
    height: auto;
    line-height: 1.4;
    padding: 9px 16px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: #3a5070 !important;
    text-shadow: none;
    white-space: normal;
    background: none;
}
#menu li ul.sub-menu li a:hover {
    background: #f5f5f5;
    color: #333 !important;
}
#menu li ul.sub-menu li a span {
    color: inherit !important;
    text-shadow: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
}
#menu li ul.sub-menu li a:hover span {
    border-bottom: none !important;
}
#menu li ul.sub-menu li.current-menu-item a {
    background: #f5f5f5;
    color: #333 !important;
    font-weight: bold;
}

/*Make dummy Link*/
#menu li.dummyLink a, #menu ul.sub-menu li.dummyLink a{cursor: default; border: 0}
#menu li.dummyLink a:hover, #menu ul.sub-menu li.dummyLink a:hover{border:0; cursor: default}
#menu li.dummyLink a:hover span, #menu ul.sub-menu li.dummyLink a:hover span, #menu li ul.sub-menu li.dummyLink a:hover span{border: 0; cursor: default}
#menu li.dummyLink a:hover span{border-bottom: 2px solid #fff5bf}

/*ennis linkedin    <a class="lin" href="<?php echo $options['urlLi']; ?>">LinkedIn</a> */


/* ============================================================
   RESPONSIVE LAYOUT
   ============================================================ */

/* Prevent horizontal overflow from fixed-width legacy elements */
html { overflow-x: hidden; }

/* Make wrapper fluid */
.wrapper {
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

/* .content is the shared flex container for all column layouts */
.content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 20px;
}

/* Lifecycle menu must span full width above the columns */
#lcMenu { flex: 0 0 100%; text-align: center; }

/* Fix column sizing for flex children */
.lsidebar  { flex: 0 0 210px; }
.rsidebar  { flex: 0 0 238px; }
.hContent  { flex: 1 1 auto; min-width: 0; }
.innerContent { flex: 1 1 auto; min-width: 0; }

/* Constrain fixed-width columns that are siblings of .content (not flex children) */
.hContent, .innerContent, .rsidebar {
    max-width: 100%;
    box-sizing: border-box;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
    background: #1a3d6b;
    border: none;
    border-radius: 6px;
    padding: 8px 11px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.nav-toggle:hover { background: #152f52; }

/* Submenu toggle button — hidden on desktop, shown only in mobile media query */
.sub-toggle { display: none; }

/* Book appointment button - replace absolute positioning */
.headTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    height: auto;
}
.book-appointment { padding-right: 10px; flex-shrink: 0; }

/* ── Author info box ── */
#authorinfo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 24px;
    border-top: 1px solid #e4e8ed;
    padding-top: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}
.authorImg {
    flex: 0 0 75px;
    width: 75px !important;
    display: block !important;
}
.authorImg img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e4e8ed !important;
    display: block;
}
.authorDesc {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin-left: 0 !important;
    display: block !important;
}
.authorDesc h6 {
    margin: 0 0 6px 0 !important;
    font-size: 14px;
    color: #2c3e6b;
    font-weight: bold;
}
.authorDesc p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* ── Services pages two-action CTA ── */
.tio-service-cta {
    background: #f4f8ff;
    border: 1px solid #c8d9ee;
    border-radius: 8px;
    padding: 24px;
    margin-top: 28px;
    text-align: center;
}
.tio-service-cta-label {
    font-weight: bold;
    color: #2c3e6b;
    margin: 0 0 14px 0;
    font-size: 14px;
}
.tio-service-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.tio-service-cta-btn {
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none !important;
    letter-spacing: 0.02em;
    transition: background 0.2s, box-shadow 0.2s;
}
.tio-service-cta-how {
    background: #fff;
    color: #3a7cc7 !important;
    border: 2px solid #3a7cc7 !important;
}
.tio-service-cta-how:hover {
    background: #e8f0fb;
    color: #2a5c9a !important;
}
.tio-service-cta-book {
    background: #7aa841;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(122,168,65,0.3);
}
.tio-service-cta-book:hover {
    background: #669133;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(122,168,65,0.4);
}
@media screen and (max-width: 480px) {
    .tio-service-cta-actions { flex-direction: column; align-items: center; }
    .tio-service-cta-btn { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ── For Counsellors pages CTA ── */
.tio-fc-cta {
    background: #f0f6ff;
    border: 1px solid #c8d9ee;
    border-left: 4px solid #3a7cc7;
    border-radius: 6px;
    padding: 20px 24px;
    margin-top: 28px;
    text-align: center;
}
.tio-fc-cta .tio-fc-cta-headline {
    font-weight: bold;
    color: #2c3e6b;
    margin: 0 0 12px 0;
    font-size: 14px;
}
.tio-fc-cta-btn {
    display: inline-block;
    background: #3a7cc7;
    color: #fff !important;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none !important;
    border: none !important;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(58,124,199,0.3);
    transition: background 0.2s;
}
.tio-fc-cta-btn:hover {
    background: #2a5c9a;
    color: #fff !important;
    text-decoration: none !important;
}
.tio-fc-cta-btn-book {
    background: #7aa841;
    box-shadow: 0 2px 8px rgba(122,168,65,0.3);
}
.tio-fc-cta-btn-book:hover {
    background: #669133;
}
@media screen and (max-width: 480px) {
    .tio-fc-cta-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
}

/* ── POSH article CTA ── */
.tio-posh-article-cta {
    background: #f0f6ff;
    border-left: 4px solid #3a7cc7;
    border-radius: 4px;
    padding: 14px 20px 14px 28px;
    margin-top: 28px;
    font-size: 13px;
    color: #444;
}
.tio-posh-article-cta a {
    color: #3a7cc7;
    font-weight: bold;
    text-decoration: none;
}
.tio-posh-article-cta a:hover {
    text-decoration: underline;
}

/* ── POSH page ── */
.entryWrap p.tio-posh-intro {
    line-height: 1.75;
    color: #444;
    margin-bottom: 28px;
    padding: 16px 20px 16px 28px;
    background: #f4f8ff;
    border-left: 4px solid #3a7cc7;
    border-radius: 4px;
}

.tio-posh-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.tio-posh-card {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 8px;
    padding: 18px 20px;
}

.tio-posh-card h3 {
    font-size: 14px;
    font-weight: bold;
    color: #3a7cc7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fb;
}

.tio-posh-card ul {
    margin: 0;
    padding-left: 18px;
}

.tio-posh-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #444;
}

.tio-posh-card ul li a {
    color: #3a7cc7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.tio-posh-card ul li a:hover {
    text-decoration: underline;
    color: #2a5c9a;
}

.tio-posh-resources {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.tio-posh-resource-card {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 8px;
    padding: 18px 20px;
}

.tio-posh-resource-card h3 {
    font-size: 14px;
    font-weight: bold;
    color: #3a7cc7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fb;
}

.tio-posh-resource-card ul {
    margin: 0;
    padding-left: 18px;
}

.tio-posh-resource-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tio-posh-resource-card ul li a {
    color: #3a7cc7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.tio-posh-resource-card ul li a:hover {
    text-decoration: underline;
    color: #2a5c9a;
}

.tio-posh-faq-link {
    display: block;
    text-align: center;
    margin: 12px 0;
}

.tio-posh-faq-link img {
    max-width: 120px;
    height: auto;
}

.tio-posh-testimonial blockquote {
    margin: 0 0 12px 0;
    padding: 12px 14px;
    background: #f9fafb;
    border-left: 3px solid #85be3b;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.tio-posh-testimonial .tio-posh-attrib {
    font-size: 12px;
    font-weight: bold;
    color: #3a7cc7;
    margin-top: 8px;
}

.tio-posh-testimonial .tio-posh-read-more a {
    font-size: 12px;
    color: #7aa841;
    font-weight: bold;
    text-decoration: none;
}

.tio-posh-logos-section {
    margin-bottom: 28px;
}

.tio-posh-logos-section h3 {
    font-size: 14px;
    font-weight: bold;
    color: #3a7cc7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px 0;
}

.tio-posh-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tio-posh-logos img {
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: opacity 0.2s, filter 0.2s;
}

.tio-posh-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.tio-posh-cta {
    background: linear-gradient(135deg, #1a5fa8 0%, #3a7cc7 100%);
    color: #fff;
    border-radius: 10px;
    padding: 32px 32px 28px;
    text-align: center;
    margin-top: 8px;
}

.tio-posh-cta p {
    margin: 0 0 8px 0;
    color: #fff;
}

.tio-posh-cta .tio-posh-cta-headline {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.tio-posh-cta .tio-posh-cta-sub {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.tio-posh-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.tio-posh-cta-btn {
    display: inline-block;
    background: #fff;
    color: #1a5fa8 !important;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none !important;
    border: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
}

.tio-posh-cta-btn:hover {
    background: #e8f0fb;
    color: #1a5fa8 !important;
    text-decoration: none !important;
}

/* ── Contact form ── */
.tio-contact-form {
    margin-top: 16px;
}
.tio-form-row {
    margin-bottom: 16px;
}
.tio-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tio-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tio-form-group label {
    font-size: 13px;
    font-weight: bold;
    color: #444;
    letter-spacing: 0.02em;
}
.tio-required {
    color: #c0392b;
    margin-left: 2px;
}
.tio-optional {
    color: #999;
    font-weight: normal;
    font-size: 12px;
}
.tio-form-group input,
.tio-form-group select,
.tio-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c8d9ee;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.tio-form-group input:focus,
.tio-form-group select:focus,
.tio-form-group textarea:focus {
    border-color: #3a7cc7;
    box-shadow: 0 0 0 3px rgba(58, 124, 199, 0.1);
}
.tio-form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.tio-form-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.tio-form-submit {
    background: #7aa841;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 32px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(122, 168, 65, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.tio-form-submit:hover {
    background: #669133;
    box-shadow: 0 4px 14px rgba(122, 168, 65, 0.45);
}
.tio-form-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}
.tio-form-success {
    background: #f0f9eb;
    border: 1px solid #b7d99a;
    border-left: 4px solid #7aa841;
    border-radius: 6px;
    padding: 16px 20px;
    color: #3a5c1a;
    margin-bottom: 20px;
}
.tio-form-error {
    background: #fff5f5;
    border: 1px solid #f5c6c6;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: 14px 20px;
    color: #7b1a1a;
    margin-bottom: 16px;
    font-size: 14px;
}
@media screen and (max-width: 600px) {
    .tio-form-row-half { grid-template-columns: 1fr; }
    .tio-form-submit-row { flex-direction: column; align-items: flex-start; }
    .tio-form-submit { width: 100%; text-align: center; }
}

/* ── Entry wrap heading spacing ── */
.entryWrap h1.pagetitle {
    margin-bottom: 18px !important;
    padding-bottom: 8px !important;
}
.entryWrap h2 {
    margin: 28px 0 12px !important;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e8f4;
    color: #1a5fa8 !important;
    font-size: 17px !important;
    font-weight: bold !important;
}
.entryWrap h2:first-child {
    margin-top: 8px !important;
}
.entryWrap h3 {
    margin: 24px 0 8px !important;
    color: #2c3e6b !important;
    font-size: 15px !important;
    font-weight: bold !important;
    border: none !important;
}
.entryWrap h3:first-child {
    margin-top: 8px !important;
}
.entryWrap h4,
.entryWrap h5,
.entryWrap h6 {
    margin: 20px 0 6px !important;
    color: #2c3e6b !important;
    font-size: 14px !important;
    font-weight: bold !important;
    border: none !important;
}
.entryWrap strong {
    color: inherit !important;
    font-weight: bold;
}
.entryWrap p.tio-policy-intro {
    background: #f4f7fb;
    border-left: 4px solid #496ba9;
    padding: 16px 20px 16px 28px;
    color: #444;
    line-height: 1.75;
    margin-top: 16px;
    margin-bottom: 28px;
    border-radius: 4px;
}

/* ── Support group cards ── */
.tio-support-group {
    border: 1px solid #dde6f0;
    border-left: 4px solid #3a7cc7;
    border-radius: 6px;
    padding: 18px 22px;
    margin-bottom: 16px;
    background: #fff;
}
.tio-support-group h3 {
    color: #1a5fa8;
    font-size: 16px;
    margin: 0 0 10px !important;
    font-weight: bold;
}
.tio-support-group p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}
.tio-support-group p:last-child {
    margin-bottom: 0;
}

/* ── Testimonial story list ── */
.tio-story-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}
.tio-story-list li {
    border: 1px solid #dde6f0;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.tio-story-list li:hover {
    background: #f4f8ff;
    box-shadow: 0 2px 10px rgba(58, 124, 199, 0.1);
}
.tio-story-list li a.tioarticle {
    display: block;
    padding: 13px 16px;
    font-size: 14px !important;
    color: #1a5fa8 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}
.tio-story-list li a.tioarticle:hover {
    color: #1a5fa8 !important;
}

/* ── Article table ── */
.tio-table {
    width: auto;
    max-width: 90%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(58, 124, 199, 0.1);
}
.tio-table th {
    background: #1a5fa8;
    color: #fff;
    font-weight: bold;
    text-align: left;
    padding: 12px 16px;
    letter-spacing: 0.03em;
}
.tio-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #dde6f0;
    color: #333;
    vertical-align: top;
}
.tio-table tr:nth-child(even) td {
    background: #f4f8ff;
}
.tio-table tr:last-child td {
    border-bottom: none;
}
.tio-table tr:hover td {
    background: #e8f0fb;
}

/* ── Category article card grid ── */
.tio-cat-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c2c2c;
    border-bottom: 2px solid #e0e8f4;
    padding-bottom: 10px;
}
.tio-article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}
.tio-article-card {
    background: #fff;
    border: 1px solid #dde6f0;
    border-radius: 8px;
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s ease;
}
.tio-article-card:hover {
    box-shadow: 0 4px 16px rgba(58, 124, 199, 0.12);
}
.tio-article-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}
.tio-article-card h3 a {
    color: #1a5fa8;
    text-decoration: none;
}
.tio-article-card h3 a:hover {
    text-decoration: underline;
}
.tio-article-card-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}
.tio-article-card-excerpt p {
    margin: 0;
    padding: 0;
}
.tio-article-card-link {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #3a7cc7 !important;
    text-decoration: none !important;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
.tio-article-card-link:hover {
    color: #1a5fa8 !important;
    text-decoration: underline !important;
}

/* ---- Tablet (max-width: 768px) ---- */
@media screen and (max-width: 768px) {
    /* Remove fixed-height body background image — it was designed for desktop header height
       and places its green decorative line at ~160px, colliding with tablet content */
    body { background-image: none !important; background-color: #f0f2f5; }

    /* Give header a clean white background and a proper green bottom border */
    .header { background: #fff; border-bottom: 4px solid #85be3b; }

    .wrapper { padding: 0 10px; }

    /* Make .wrapper the flex column so order works across .header / .hContent / .innerContent / .rsidebar / .content
       (.hContent and .innerContent are siblings of .content under .wrapper, not children of it,
        so previous order rules on .content's flex had no effect on them) */
    .wrapper { display: flex; flex-direction: column; align-items: stretch; }
    .header       { order: 0; flex: 0 0 auto; }
    .hContent     { order: 1; flex: 0 0 auto; width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin-top: 12px; }
    .innerContent { order: 1; flex: 0 0 auto; width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin-top: 12px; }
    .content      { order: 2; flex: 0 0 auto; width: 100% !important; flex-direction: column; box-sizing: border-box; }
    .lsidebar     { flex: 0 0 auto; width: 100% !important; max-width: 100% !important; }
    .rsidebar     { order: 3; flex: 0 0 auto; width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    .footer       { order: 99; flex: 0 0 auto; }

    /* Sidebar accordion — h3 becomes a tap-to-expand toggle */
    .lsidebar h3.sb-toggle {
        cursor: pointer;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px !important;
        margin-bottom: 0;
        user-select: none;
    }
    .lsidebar h3.sb-toggle::after {
        content: '▼';
        font-size: 14px;
        color: #7aa841;
        flex-shrink: 0;
        margin-left: 8px;
        font-style: normal;
        font-weight: normal;
        letter-spacing: 0;
        text-transform: none;
    }
    .lsidebar h3.sb-toggle.sb-open::after {
        content: '▲';
    }

    /* Reduce gap between sidebar sections on mobile */
    .lsidebar .articles,
    .lsidebar .tioBox { margin-top: 8px !important; }

    /* Right sidebar becomes a horizontal grid of service banners */
    .rsidebar {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .rsidebar > div { width: 45%; }

    /* Header */
    .headTitle { flex-direction: row; align-items: center; min-height: auto; padding: 10px 0; }
    .book-appointment { margin-left: auto; padding: 0 10px 0 0; }

    /* Lifecycle menu wraps */
    #lcMenu li { display: inline-block; }
    #lcMenu { text-align: center; }

    /* Hamburger — show on tablet/mobile */
    .nav-toggle { display: block; }

    /* Header becomes positioning context for the dropdown */
    .header { position: relative; z-index: 1000; }

    /* Nav panel — drops as overlay below header */
    .headMenuWrap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        height: auto !important;
        overflow: visible !important;
        background: #1a3d6b !important;
        border-top: 3px solid #7aa841;
        border-bottom: none !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .headMenuWrap.nav-open { display: block; }

    /* Stack nav items vertically */
    #menu {
        flex-direction: column;
        align-items: stretch;
        padding: 4px 0 8px;
        height: auto !important;
        line-height: normal;
        white-space: normal;
        overflow-x: visible;
    }
    #menu > li > a {
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.12) !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        float: none !important;
        height: auto !important;
        line-height: normal !important;
        font-size: 14px !important;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
        letter-spacing: 0.06em;
        color: #fff !important;
        text-shadow: none !important;
        transition: background 0.15s ease;
    }
    #menu > li > a:hover,
    #menu > li > a:active { background: rgba(122,168,65,0.2) !important; color: #fff !important; }
    #menu > li:last-child > a { border-bottom: none !important; }
    #menu li.current-menu-item > a { background: rgba(122,168,65,0.25) !important; color: #fff !important; border-left: 3px solid #7aa841; padding-left: 17px !important; }

    /* Sub-toggle — circular button */
    .sub-toggle {
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 50%;
        color: #fff;
        width: 30px;
        height: 30px;
        font-size: 16px;
        font-weight: bold;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 10px;
        min-height: 0;
        transition: background 0.15s ease;
    }
    .sub-toggle:hover { background: rgba(122,168,65,0.35); border-color: #7aa841; color: #fff; }

    /* Sub-menus — white card panel, high contrast */
    #menu ul.sub-menu {
        display: none !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
        background: #ffffff !important;
        border: none !important;
        border-left: 5px solid #7aa841 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 4px 0 !important;
        margin: 0 !important;
    }
    #menu ul.sub-menu.sub-open { display: block !important; }
    #menu ul.sub-menu li { float: none !important; display: block !important; background: none !important; }
    #menu ul.sub-menu li a,
    #menu ul.sub-menu li a span {
        display: block !important;
        padding: 13px 20px 13px 24px !important;
        color: #1a3d6b !important;
        font-size: 14px !important;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: 0.01em !important;
        text-transform: none !important;
        border-bottom: 1px solid #e8ecf2 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        height: auto !important;
        line-height: 1.5 !important;
        float: none !important;
        white-space: normal !important;
        text-shadow: none !important;
        background: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }
    #menu ul.sub-menu li a span { padding: 0 !important; border: none !important; display: inline !important; }
    #menu ul.sub-menu li a:hover,
    #menu ul.sub-menu li a:hover span { background: #f0f7e8 !important; color: #3a6614 !important; }
    #menu ul.sub-menu li:last-child a { border-bottom: none !important; }

    /* Author box: stack vertically on tablet/mobile */
    #authorinfo { flex-direction: column; gap: 12px; }
    .authorImg { flex: 0 0 auto; width: 75px !important; }
    .authorDesc { width: 100% !important; margin-left: 0 !important; }

    /* Article card grid: single column on tablet */
    .tio-article-grid { grid-template-columns: 1fr; }

    /* POSH page grids */
    .tio-posh-grid,
    .tio-posh-resources { grid-template-columns: 1fr; }

    /* POSH logos: smaller on tablet */
    .tio-posh-logos img { height: 36px; max-width: 90px; }

    /* Remove desktop left margin — sidebar stacks above on tablet, not beside */
    .entryWrap { margin-left: 0; }

    /* Content reading font: slightly smaller on tablet */
    .entryWrap p, .entryWrap li, .entryWrap td, .entryWrap blockquote,
    .hMainText p, .hMainText li { font-size: 14px; line-height: 1.7; }

    /* Homepage section heading */
    .hMainText h2 { font-size: 15px; }

    /* Contact direct label */
    .tio-contact-direct-label { font-size: 15px; }

    /* CTA heading */
    .tio-cta-heading { font-size: 16px !important; }

    /* FLC container: constrain and allow scroll if image overflows */
    .hFLCImage { text-align: left; }
    .tio-flc-container { display: block; width: 100%; box-sizing: border-box; overflow-x: auto; }

}

/* ---- Mobile (max-width: 480px) ---- */
@media screen and (max-width: 480px) {
    body { font-size: 14px; }

    .wrapper { padding: 0 6px; }

    /* Sidebar banners: single column */
    .rsidebar > div { width: 100%; }

    /* Nivo slider: hide on phone — fixed 500px width doesn't scale */
    #slider-wrapper, #slider { display: none !important; }

    /* Two-row header on phone:
       Row 1 → full-width logo
       Row 2 → book button + hamburger spread across full width */
    .headTitle {
        flex-wrap: wrap !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 6px 0 4px !important;
    }
    .headLogo {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .headTitle > div:not(.headLogo) {
        flex: 0 0 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 2px 0 4px !important;
    }
    .book-appointment { display: block !important; }
    .book-appointment a { font-size: 11px !important; padding: 7px 14px !important; }

    /* Mobile logo — tagline-free version, 2× retina asset displayed at 180px wide */
    .headLogo h1 {
        width: 100% !important;
        height: 52px !important;
        background-image: url('images/logo-mobile.jpg') !important;
        background-size: 180px auto !important;
        background-position: 0 4px !important;
    }

    /* Re-declare flex ordering explicitly on phone — do not rely on tablet inheritance */
    .wrapper      { display: flex !important; flex-direction: column !important; }
    .header       { order: 0 !important; }
    .hContent     { order: 1 !important; margin-top: 12px !important; padding-top: 8px !important; }
    .innerContent { order: 1 !important; margin-top: 12px !important; padding-top: 8px !important; }
    .content      { order: 2 !important; padding-top: 0 !important; }
    .rsidebar     { order: 3 !important; }
    .footer       { order: 99 !important; }

    /* Entry area */
    .entryWrap { margin-left: 0; padding: 10px; }

    /* Tables scroll horizontally */
    .entryWrap table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 5px 0;
    }

    /* POSH CTA: stack buttons full width */
    .tio-posh-cta { padding: 24px 16px; }
    .tio-posh-cta-actions { flex-direction: column; align-items: center; }
    .tio-posh-cta-btn { width: 100%; text-align: center; }

    /* POSH logos: smaller on mobile */
    .tio-posh-logos img { height: 28px; max-width: 70px; }

    /* Pagination */
    #nav-below span.nav-previous,
    #nav-below span.nav-next { width: auto; display: block; text-align: left; margin-bottom: 8px; }

    /* Content reading font: compact on mobile */
    .entryWrap p, .entryWrap li, .entryWrap td, .entryWrap blockquote,
    .hMainText p, .hMainText li { font-size: 13px; line-height: 1.6; }

    /* Homepage section heading */
    .hMainText h2 { font-size: 13px; }

    /* Policy intro: tighter padding on mobile */
    .entryWrap p.tio-policy-intro { padding: 12px 14px 12px 18px; border-left-width: 3px; }

    /* FLC caption */
    .tio-flc-caption { font-size: 12px; }

    /* Contact direct label */
    .tio-contact-direct-label { font-size: 14px; }

    /* CTA heading and sub */
    .tio-cta-heading { font-size: 14px !important; }
    .tio-cta-sub { font-size: 12px !important; }

    /* Footer links: tighter on small screens */
    .tio-footer-links a { padding: 0 6px; font-size: 10px; }

}
