/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Masters Ocean Custom Design */
:root {
    --mo-primary: #001e40;
    --mo-primary-container: #003366;
    --mo-accent: #003366;
    --mo-on-primary: #ffffff;
    --mo-bg: #f8f9ff;
    --mo-surface: #ffffff;
    --mo-text: #0b1c30;
    --mo-text-muted: #43474f;
    --mo-outline: rgba(115, 119, 128, 0.15);
    --mo-headline-font: 'Manrope', sans-serif;
    --mo-body-font: 'Inter', sans-serif;
    --mo-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mo-wrapper {
    background-color: var(--mo-bg);
    color: var(--mo-text);
    font-family: var(--mo-body-font);
    overflow-x: hidden;
}

.mo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.mo-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--mo-outline);
}

.mo-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mo-logo {
    font-family: var(--mo-headline-font);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--mo-primary);
}

.mo-nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .mo-nav-links { display: flex; }
}

.mo-nav-link {
    text-decoration: none;
    color: var(--mo-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--mo-transition);
}

.mo-nav-link.mo-active {
    color: var(--mo-primary);
    border-bottom: 2px solid var(--mo-primary);
    padding-bottom: 4px;
}

/* Buttons */
.mo-btn {
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--mo-transition);
    font-family: var(--mo-headline-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mo-btn:active { transform: scale(0.96); }

.mo-btn-primary {
    background: var(--mo-primary-container);
    color: white;
}

.mo-btn-accent {
    background: var(--mo-primary-container);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
}

/* Hero Section */
.mo-hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.mo-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mo-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.95) 0%, rgba(248, 249, 255, 0.4) 100%);
}

.mo-hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .mo-hero-grid { grid-template-columns: 1.4fr 1fr; }
}

.mo-badge {
    background: #00316e;
    color: #629aff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 24px;
}

.mo-hero-title {
    font-family: var(--mo-headline-font);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -2px;
}

@media (min-width: 768px) {
    .mo-hero-title { font-size: 64px; }
}

.mo-text-accent { color: var(--mo-primary-container); }

.mo-hero-desc {
    font-size: 18px;
    color: var(--mo-text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.mo-desc-highlight {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #515f74;
}

/* Search Card */
.mo-search-card {
    background: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 30, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mo-search-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .mo-search-inputs { flex-direction: row; }
}

.mo-input-group {
    position: relative;
    flex: 1;
}

.mo-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #737780;
}

.mo-select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    background: #eff4ff;
    border-radius: 12px;
    font-weight: 600;
    appearance: none;
}

.mo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
}

.mo-chip {
    background: #dce9ff;
    border: none;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-chip:hover { background: #d3e4fe; }

/* Bento Cards */
.mo-hero-visuals { display: none; }

@media (min-width: 1024px) {
    .mo-hero-visuals { display: block; }
}

.mo-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mo-bento-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--mo-outline);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.mo-bento-card.mo-dark {
    background: var(--mo-primary-container);
    color: white;
    border: none;
}

.mo-bento-card.mo-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    min-height: 100px;
    background: #d5e3fc;
}

.mo-icon-filled {
    font-variation-settings: 'FILL' 1;
    font-size: 40px;
    color: var(--mo-primary-container);
}

.mo-dark .mo-icon-filled { color: white; }

.mo-bento-card h3 {
    margin: 12px 0 4px;
    font-family: var(--mo-headline-font);
    font-weight: 700;
}

.mo-bento-card p {
    font-size: 13px;
    opacity: 0.8;
}

.mo-avatar-group {
    display: flex;
    margin-right: 16px;
}

.mo-avatar-group img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    margin-right: -12px;
}

/* Stats Section */
.mo-stats {
    background: #eff4ff;
    padding: 80px 0;
}

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

@media (min-width: 768px) {
    .mo-stats-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.mo-stats-title h2 {
    font-family: var(--mo-headline-font);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.mo-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.mo-stat-value {
    font-family: var(--mo-headline-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--mo-primary-container);
}

.mo-stat-label {
    font-weight: 600;
    color: #515f74;
    font-size: 14px;
}

/* Footer */
.mo-footer {
    padding: 60px 0;
    border-top: 1px solid var(--mo-outline);
}

.mo-footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .mo-footer-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.mo-footer-logo {
    font-weight: 800;
    margin-bottom: 8px;
}

.mo-footer-info p {
    font-size: 12px;
    color: var(--mo-text-muted);
}

.mo-footer-links {
    display: flex;
    gap: 24px;
}

.mo-footer-links a {
    text-decoration: none;
    font-size: 12px;
    color: var(--mo-text-muted);
}

/* Mobile Nav Bar */
.mo-mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 0 24px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 20px rgba(0,30,64,0.08);
    z-index: 1000;
}

@media (min-width: 768px) {
    .mo-mobile-nav { display: none; }
}

.mo-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.mo-nav-item.active {
    color: var(--mo-primary);
    background: #f0f7ff;
    padding: 6px 16px;
    border-radius: 12px;
}

.material-symbols-outlined {
    font-variation-settings: 'wght' 400;
}

/* Masters Ocean Deep Blue Theme (#003366) Variables */
:root {
    --mo-deep-blue: #003366;
    --mo-deep-blue-hover: #002244;
    --mo-blue-light: #e6f0fa;
    --mo-text-main: #111827;
    --mo-text-muted: #4b5563;
    --mo-text-light: #9ca3af;
    --mo-bg-gray: #f9fafb;
    --mo-card-bg: #ffffff;
    --mo-border: #e5e7eb;
    --mo-accent-orange: #f59e0b;
    --mo-font-headline: 'Manrope', sans-serif;
    --mo-font-body: 'Inter', sans-serif;
    --mo-transition: all 0.2s ease-in-out;
}

.mo-page-wrapper {
    background-color: var(--mo-bg-gray);
    color: var(--mo-text-main);
    font-family: var(--mo-font-body);
    padding: 40px 0 80px;
    box-sizing: border-box;
}

.mo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.mo-page-header {
    margin-bottom: 40px;
}

.mo-header-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .mo-header-top {
        flex-direction: row;
        align-items: flex-end;
    }
}

.mo-page-title {
    font-family: var(--mo-font-headline);
    font-size: 36px;
    font-weight: 800;
    color: var(--mo-deep-blue);
    margin: 0 0 8px;
    letter-spacing: -1px;
}

.mo-page-desc {
    font-size: 16px;
    color: var(--mo-text-muted);
    margin: 0;
}

/* Custom Dropdown UI */
.mo-sort-wrapper {
    position: relative;
}

.mo-sort-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--mo-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.mo-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.mo-dropdown-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: var(--mo-card-bg);
    border: 1px solid var(--mo-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mo-text-main);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 150px;
    transition: var(--mo-transition);
}

.mo-dropdown-btn:hover { border-color: var(--mo-text-light); }
.mo-dropdown.open .mo-dropdown-btn { 
    border-color: var(--mo-deep-blue);
    box-shadow: 0 0 0 2px var(--mo-blue-light);
}

.mo-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: var(--mo-card-bg);
    border: 1px solid var(--mo-border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.mo-dropdown.open .mo-dropdown-menu { display: flex; }

.mo-dropdown-item {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--mo-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--mo-transition);
}

.mo-dropdown-item:hover, .mo-dropdown-item.active {
    background: var(--mo-blue-light);
    color: var(--mo-deep-blue);
}

/* Filter Bar */
.mo-filter-bar {
    background: var(--mo-card-bg);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .mo-filter-bar {
        flex-direction: row;
        align-items: flex-end;
    }
}

.mo-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mo-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mo-text-muted);
}

.mo-filter-region {
    flex: 0 0 auto;
    min-width: 200px;
}

.mo-filter-specialty {
    flex: 1;
}

/* Specialty Chips */
.mo-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mo-filter-chip {
    background: var(--mo-bg-gray);
    border: 1px solid var(--mo-border);
    color: var(--mo-text-muted);
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-filter-chip:hover {
    background: #e5e7eb;
}

.mo-filter-chip.selected {
    background: var(--mo-deep-blue);
    border-color: var(--mo-deep-blue);
    color: white;
}

.mo-filter-chip.mo-chip-add {
    border-style: dashed;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mo-filter-chip.mo-chip-add .material-symbols-outlined {
    font-size: 18px;
}

/* Provider List & Cards */
.mo-provider-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mo-provider-card {
    background: var(--mo-card-bg);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--mo-border);
    transition: var(--mo-transition);
}

.mo-provider-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,51,102,0.1);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .mo-provider-card {
        flex-direction: row;
    }
}

.mo-card-visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .mo-card-visual {
        width: 280px;
        height: auto;
        min-height: 100%;
    }
}

.mo-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mo-provider-card:hover .mo-card-visual img {
    transform: scale(1.05);
}

/* Card Content Area */
.mo-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.mo-card-header-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .mo-card-header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.mo-title-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mo-provider-name {
    font-family: var(--mo-font-headline);
    font-size: 22px;
    font-weight: 800;
    color: var(--mo-text-main);
    margin: 0;
}

.mo-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--mo-blue-light);
    color: var(--mo-deep-blue);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
}

.mo-badge-verified .material-symbols-outlined {
    font-size: 14px;
    font-variation-settings: 'FILL' 1;
}

.mo-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mo-star {
    color: var(--mo-accent-orange);
    font-variation-settings: 'FILL' 1;
    font-size: 20px;
}

.mo-score {
    font-weight: 700;
    font-size: 16px;
    color: var(--mo-text-main);
}

.mo-reviews {
    color: var(--mo-text-light);
    font-size: 13px;
    font-weight: 500;
}

.mo-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mo-tag {
    background: var(--mo-bg-gray);
    color: var(--mo-deep-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--mo-border);
}

.mo-provider-intro {
    font-size: 15px;
    color: var(--mo-text-muted);
    line-height: 1.6;
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Bottom (Fees & Updated Buttons) */
.mo-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--mo-border);
}

@media (min-width: 640px) {
    .mo-card-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.mo-fee-info {
    display: flex;
    flex-direction: column;
}

.mo-fee-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mo-text-light);
}

.mo-fee-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--mo-deep-blue);
}

/* Buttons Container */
.mo-action-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

@media (min-width: 640px) {
    .mo-action-buttons {
        width: auto;
    }
}

.mo-btn {
    border-radius: 8px;
    font-family: var(--mo-font-headline);
    font-weight: 700;
    cursor: pointer;
    transition: var(--mo-transition);
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.mo-btn:active {
    transform: scale(0.97);
}

/* Left: Outline Button (Smaller) */
.mo-btn-outline {
    background: transparent;
    color: var(--mo-deep-blue);
    border: 1px solid var(--mo-deep-blue);
    padding: 10px 16px;
    font-size: 13px;
    flex: 1; /* For mobile full width */
}

.mo-btn-outline:hover {
    background: var(--mo-blue-light);
}

/* Right: Solid Button (Larger/Prominent) */
.mo-btn-primary {
    background: var(--mo-deep-blue);
    color: white;
    border: 1px solid var(--mo-deep-blue);
    padding: 12px 24px;
    font-size: 15px;
    flex: 2; /* Takes more space on mobile */
    box-shadow: 0 4px 6px -1px rgba(0, 51, 102, 0.2);
}

.mo-btn-primary:hover {
    background: var(--mo-deep-blue-hover);
    box-shadow: 0 6px 8px -1px rgba(0, 51, 102, 0.3);
}

@media (min-width: 640px) {
    .mo-btn-outline { flex: none; width: auto; }
    .mo-btn-primary { flex: none; width: auto; }
}

/* Pagination */
.mo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 60px;
}

.mo-page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mo-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mo-card-bg);
    border: 1px solid var(--mo-border);
    border-radius: 8px;
    color: var(--mo-text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-page-btn:hover:not(:disabled) {
    background: var(--mo-bg-gray);
    color: var(--mo-deep-blue);
}

.mo-page-btn.current {
    background: var(--mo-deep-blue);
    color: white;
    border-color: var(--mo-deep-blue);
}

.mo-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mo-page-dots {
    color: var(--mo-text-light);
    font-weight: 600;
}

/* Masters Ocean Detail Profile Theme (#003366) Variables */
:root {
    --mo-deep-blue: #003366;
    --mo-deep-blue-hover: #002244;
    --mo-blue-light: #e6f0fa;
    --mo-safe-green: #059669; /* For Safe call */
    --mo-safe-green-light: #ecfdf5;
    --mo-text-main: #111827;
    --mo-text-muted: #4b5563;
    --mo-text-light: #9ca3af;
    --mo-bg-gray: #f8f9ff;
    --mo-card-bg: #ffffff;
    --mo-border: #e5e7eb;
    --mo-accent-orange: #f59e0b;
    --mo-font-headline: 'Manrope', sans-serif;
    --mo-font-body: 'Inter', sans-serif;
    --mo-transition: all 0.2s ease-in-out;
}

.text-deep-blue { color: var(--mo-deep-blue) !important; font-variation-settings: 'FILL' 1;}
.mt-4 { margin-top: 16px; }

.mo-profile-wrap {
    background-color: var(--mo-bg-gray);
    color: var(--mo-text-main);
    font-family: var(--mo-font-body);
    padding-bottom: 80px;
    box-sizing: border-box;
}

.mo-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero Section */
.mo-hero {
    position: relative;
    margin-bottom: 48px;
}

.mo-hero-bg {
    position: relative;
    width: 100%;
    height: 360px;
}

.mo-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.mo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3) 50%, transparent);
}

.mo-hero-content {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    z-index: 10;
}

.mo-hero-avatar {
    width: 120px;
    height: 120px;
    background: white;
    padding: 4px;
    border-radius: 12px;
    flex-shrink: 0;
}

.mo-hero-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.mo-hero-info { color: white; display: flex; flex-direction: column; gap: 8px;}

.mo-hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mo-hero-title {
    font-family: var(--mo-font-headline);
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    color: white;
}

.mo-badge-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--mo-deep-blue);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.mo-badge-verified .material-symbols-outlined { font-size: 14px; font-variation-settings: 'FILL' 1; }

.mo-hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mo-hero-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mo-deep-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.mo-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.9;
    flex-wrap: wrap;
}

.mo-hero-rating { display: flex; align-items: center; gap: 4px; }
.mo-star { color: var(--mo-accent-orange); font-variation-settings: 'FILL' 1; font-size: 18px; }
.mo-hero-location { display: flex; align-items: center; gap: 4px; }
.mo-hero-location .material-symbols-outlined { font-size: 16px; }
.mo-meta-divider { opacity: 0.5; }

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
    .mo-hero-bg { height: 280px; }
    .mo-hero-content { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
    .mo-hero-avatar { width: 80px; height: 80px; margin-bottom: -10px;}
    .mo-hero-title { font-size: 24px; }
}

/* 2-Column Layout CSS Grid */
.mo-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .mo-layout-grid {
        grid-template-columns: 1fr 380px;
    }
}

.mo-main-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.mo-section-title {
    font-family: var(--mo-font-headline);
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-text-main);
    margin: 0 0 24px 0;
}

.mo-card {
    background: var(--mo-card-bg);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--mo-border);
}

.mo-about-card { display: flex; flex-direction: column; gap: 32px; }

.mo-desc-text {
    font-size: 16px;
    color: var(--mo-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Certifications */
.mo-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.mo-cert-item {
    background: var(--mo-bg-gray);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.mo-cert-item span { font-size: 12px; font-weight: 700; color: var(--mo-text-main); }
.mo-cert-icon {
    width: 48px; height: 48px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--mo-deep-blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Map Placeholder */
.mo-subsection-title {
    font-family: var(--mo-font-headline);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-top: 32px;
    border-top: 1px solid var(--mo-border);
}

.mo-map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e5e7eb;
    border: 2px dashed #9ca3af;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mo-text-light);
    font-weight: 600;
    margin-bottom: 24px;
}

.mo-map-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mo-bg-gray);
    padding: 16px;
    border-radius: 8px;
}

.mo-map-text { font-size: 14px; font-weight: 600; color: var(--mo-text-muted); }

/* Gallery */
.mo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .mo-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.mo-gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-gallery-img:hover { filter: brightness(0.9); transform: scale(1.02); }

/* Reviews */
.mo-review-list { display: flex; flex-direction: column; gap: 24px; }

.mo-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.mo-reviewer { display: flex; align-items: center; gap: 12px; }
.mo-reviewer-avt {
    width: 40px; height: 40px;
    background: var(--mo-blue-light);
    color: var(--mo-deep-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
}

.mo-reviewer-name { font-size: 14px; font-weight: 700; color: var(--mo-text-main); }
.mo-reviewer-job { font-size: 12px; color: var(--mo-text-light); }
.mo-review-stars { display: flex; }

/* Sticky Sidebar */
.mo-sidebar { position: relative; }

.mo-sticky-card {
    position: sticky;
    top: 20px; /* offset from top of screen */
}

/* Mobile Sidebar logic (moves to bottom by natural DOM flow, but make buttons stick to bottom optionally) */
@media (max-width: 1023px) {
    .mo-sticky-card {
        position: static; 
    }
}

.mo-fee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mo-fee-label { font-size: 14px; font-weight: 600; color: var(--mo-text-muted); }
.mo-fee-price { text-align: right; }
.mo-fee-price strong { display: block; font-size: 24px; color: var(--mo-deep-blue); font-weight: 800;}
.mo-fee-price span { font-size: 10px; font-weight: 700; color: var(--mo-text-light); text-transform: uppercase;}

.mo-benefits-list {
    list-style: none; padding: 0; margin: 0 0 32px 0;
    display: flex; flex-direction: column; gap: 12px;
}

.mo-benefits-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 14px; color: var(--mo-text-muted); line-height: 1.4;
}

.mo-benefits-list li .material-symbols-outlined { color: var(--mo-deep-blue); font-size: 20px;}

.mo-action-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mo-btn {
    width: 100%;
    border-radius: 12px;
    font-family: var(--mo-font-headline);
    font-weight: 700; font-size: 16px;
    padding: 16px;
    cursor: pointer;
    border: none;
    transition: var(--mo-transition);
    display: flex; justify-content: center; align-items: center; gap: 8px;
}

.mo-btn:active { transform: scale(0.97); }

.mo-btn-primary { background: var(--mo-deep-blue); color: white; }
.mo-btn-primary:hover { background: var(--mo-deep-blue-hover); shadow: 0 4px 6px rgba(0,51,102,0.2); }

.mo-btn-safe { background: var(--mo-safe-green-light); color: var(--mo-safe-green); border: 1px solid var(--mo-safe-green); }
.mo-btn-safe:hover { background: #d1fae5; }
.mo-btn-safe .material-symbols-outlined { font-size: 20px; }

.mo-helper-text {
    font-size: 11px;
    color: var(--mo-text-light);
    text-align: center;
    margin: 4px 0 0 0;
    line-height: 1.5;
}

.border-top { border-top: 1px solid var(--mo-border); padding-top: 24px; margin-top: 24px; }
.mo-business-hours { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--mo-text-muted); text-transform: uppercase;}

/* Trust Card */
.mo-trust-card {
    display: flex; flex-direction: row; gap: 16px; align-items: center;
    background: var(--mo-bg-gray); padding: 24px;
}
.mo-trust-card strong { font-size: 14px; color: var(--mo-deep-blue); display: block; margin-bottom: 4px;}
.mo-trust-card p { font-size: 12px; color: var(--mo-text-muted); margin: 0;}

/* Modal (Lightbox) CSS */
.mo-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mo-lightbox-overlay.show {
    display: flex;
    opacity: 1;
}

.mo-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.mo-lightbox-overlay.show .mo-lightbox-img {
    transform: scale(1);
}

.mo-lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-lightbox-close:hover { color: var(--mo-accent-orange); }

/* Mobile Sticky Bottom Bar override (Optional enhancement) */
@media (max-width: 1023px) {
    /* To make the action area stick to the bottom on mobile effortlessly */
    .mo-action-area {
        position: sticky;
        bottom: 0px;
        background: white;
        padding: 16px 20px;
        margin: 0 -32px; /* Negate padding of mo-card */
        border-top: 1px solid var(--mo-border);
        z-index: 50;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    }
}

/* Masters Ocean Registration Theme Variables */
:root {
    --mo-deep-blue: #003366;
    --mo-deep-blue-hover: #002244;
    --mo-primary-light: #e6f0fa;
    --mo-bg-gray: #f3f4f6;
    --mo-card-bg: #ffffff;
    --mo-input-bg: #f8fafc;
    --mo-border: #e2e8f0;
    --mo-text-main: #0f172a;
    --mo-text-muted: #64748b;
    --mo-text-light: #94a3b8;
    --mo-font-headline: 'Manrope', sans-serif;
    --mo-font-body: 'Inter', sans-serif;
    --mo-transition: all 0.2s ease-in-out;
}

.mo-auth-wrapper {
    background-color: var(--mo-bg-gray);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px 80px;
    font-family: var(--mo-font-body);
    box-sizing: border-box;
}

.mo-auth-card {
    width: 100%;
    max-width: 768px; /* limits width on PC */
    background: var(--mo-card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 10px 15px -3px rgba(0,0,0,0.02);
    overflow: hidden;
}

/* Toggle Buttons */
.mo-toggle-group {
    display: flex;
    padding: 8px;
    background: var(--mo-input-bg);
    gap: 8px;
}

.mo-toggle-btn {
    flex: 1;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--mo-font-headline);
    color: var(--mo-text-muted);
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-toggle-btn:hover { background: rgba(255,255,255,0.5); }
.mo-toggle-btn.active {
    background: var(--mo-deep-blue);
    color: white;
    box-shadow: 0 2px 4px rgba(0,51,102,0.1);
}

/* Forms Container */
.mo-form-container {
    padding: 32px 24px;
}

@media (min-width: 768px) {
    .mo-form-container { padding: 48px; }
}

.mo-form.hidden { display: none; }

.mo-form-header {
    margin-bottom: 32px;
}

.mo-form-header h2 {
    font-family: var(--mo-font-headline);
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-text-main);
    margin: 0 0 8px 0;
}

.mo-form-header p {
    font-size: 14px;
    color: var(--mo-text-muted);
    margin: 0;
}

.mo-form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .mo-form-row { flex-direction: row; }
}

.mo-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mo-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mo-text-main);
}

/* Inputs */
.mo-form-group input, 
.mo-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--mo-input-bg);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: var(--mo-text-main);
    font-family: var(--mo-font-body);
    transition: var(--mo-transition);
    box-sizing: border-box;
}

.mo-form-group input:focus, 
.mo-form-group textarea:focus {
    outline: none;
    border-color: var(--mo-deep-blue);
    background: white;
    box-shadow: 0 0 0 3px var(--mo-primary-light);
}

.mo-form-group input::placeholder, 
.mo-form-group textarea::placeholder {
    color: var(--mo-text-light);
}

.mo-form-group textarea { resize: vertical; }

/* Input with Button (Address) */
.mo-input-with-btn {
    display: flex;
    gap: 8px;
}

.mo-addr-btn {
    white-space: nowrap;
    padding: 0 24px;
    background: var(--mo-border);
    color: var(--mo-text-muted);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-addr-btn:hover { background: #cbd5e1; color: var(--mo-text-main); }

/* Specialty Chips */
.mo-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.mo-chip {
    background: var(--mo-input-bg);
    border: 1px solid var(--mo-border);
    color: var(--mo-deep-blue);
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mo-transition);
}

.mo-chip:hover { background: #e2e8f0; }

.mo-chip.active {
    background: var(--mo-primary-light);
    border-color: var(--mo-deep-blue);
    box-shadow: inset 0 0 0 1px var(--mo-deep-blue);
}

/* Drag & Drop Zone */
.mo-drop-zone {
    border: 2px dashed var(--mo-border);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(248,250,252, 0.5);
    cursor: pointer;
    transition: var(--mo-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mo-drop-zone:hover, .mo-drop-zone.dragover {
    background: var(--mo-input-bg);
    border-color: var(--mo-deep-blue);
}

.mo-drop-zone .material-symbols-outlined {
    font-size: 40px;
    color: var(--mo-text-light);
    transition: var(--mo-transition);
}

.mo-drop-zone:hover .material-symbols-outlined,
.mo-drop-zone.dragover .material-symbols-outlined {
    color: var(--mo-deep-blue);
}

.mo-drop-text-main { font-size: 14px; font-weight: 600; color: var(--mo-text-muted); margin: 0;}
.mo-drop-text-sub { font-size: 12px; color: var(--mo-text-light); margin: 0; }

/* Submit Area */
.mo-form-submit-area {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.mo-submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--mo-deep-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--mo-font-headline);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--mo-transition);
    box-shadow: 0 4px 6px -1px rgba(0,51,102,0.2);
}

.mo-submit-btn:hover { background: var(--mo-deep-blue-hover); transform: translateY(-2px);}
.mo-submit-btn:active { transform: translateY(0); }

.mo-login-link {
    font-size: 14px;
    color: var(--mo-text-muted);
    margin: 0;
}

.mo-login-link a {
    color: var(--mo-deep-blue);
    font-weight: 700;
    text-decoration: none;
}

.mo-login-link a:hover { text-decoration: underline; text-underline-offset: 4px; }
