/**
 * Tutors Home Kenya — Main Design System & Theme Styles
 * Crafted specifically for human excellence and educational trust.
 */

:root {
    --thk-primary: #0f766e;
    --thk-primary-hover: #0d9488;
    --thk-primary-dark: #115e59;
    --thk-primary-light: #f0fdfa;
    
    --thk-secondary: #0f172a;
    --thk-secondary-light: #1e293b;
    
    --thk-bg-page: #f8fafc;
    --thk-bg-surface: #ffffff;
    --thk-bg-subtle: #f1f5f9;
    
    --thk-border: #e2e8f0;
    --thk-border-focus: #0f766e;
    
    --thk-text-main: #0f172a;
    --thk-text-sub: #475569;
    --thk-text-muted: #64748b;
    
    --thk-success: #16a34a;
    --thk-warning: #d97706;
    --thk-danger: #dc2626;
    
    --thk-radius-sm: 4px;
    --thk-radius: 8px;
    --thk-radius-lg: 12px;
    
    --thk-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --thk-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --thk-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--thk-text-main);
    background-color: var(--thk-bg-page);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--thk-text-main);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--thk-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--thk-primary-hover);
}

.thk-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------------------------------------------
 * Header & Navigation
 * ------------------------------------------------------------------------- */
.thk-site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--thk-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.thk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.thk-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.thk-logo-mark {
    background: var(--thk-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: var(--thk-radius-sm);
    letter-spacing: 0.5px;
}

.thk-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--thk-text-main);
}

.thk-logo-country {
    color: var(--thk-primary);
}

.thk-nav-desktop .thk-nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.thk-nav-desktop .thk-nav-list a {
    color: var(--thk-text-main);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.15s ease;
}

.thk-nav-desktop .thk-nav-list a:hover {
    color: var(--thk-primary);
}

.thk-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.thk-link-login {
    color: var(--thk-text-sub);
    font-size: 14px;
    font-weight: 500;
}

.thk-link-login:hover {
    color: var(--thk-primary);
}

.thk-link-logout {
    color: var(--thk-text-muted);
    font-size: 13px;
}

.thk-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.thk-mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--thk-text-main);
    border-radius: 2px;
}

.thk-mobile-nav-drawer {
    display: none;
    background: #ffffff;
    border-top: 1px solid var(--thk-border);
    padding: 20px;
}

.thk-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thk-mobile-nav-list li {
    margin-bottom: 14px;
}

.thk-mobile-nav-list a {
    color: var(--thk-text-main);
    font-size: 15px;
    font-weight: 500;
}

/* -------------------------------------------------------------------------
 * Buttons & Global Elements
 * ------------------------------------------------------------------------- */
.thk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--thk-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.thk-btn-primary {
    background-color: var(--thk-primary);
    color: #ffffff !important;
}

.thk-btn-primary:hover {
    background-color: var(--thk-primary-hover);
}

.thk-btn-secondary {
    background-color: #ffffff;
    border-color: var(--thk-border);
    color: var(--thk-text-main) !important;
}

.thk-btn-secondary:hover {
    background-color: var(--thk-bg-subtle);
    border-color: #cbd5e1;
}

.thk-btn-danger {
    background-color: var(--thk-danger);
    color: #ffffff !important;
}

.thk-btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.thk-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.thk-btn-block {
    width: 100%;
}

.thk-icon {
    display: inline-block;
    vertical-align: middle;
}

/* -------------------------------------------------------------------------
 * Hero & Search Container (Prominent Search Concept)
 * ------------------------------------------------------------------------- */
.thk-hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 48px 0 60px;
    border-bottom: 1px solid var(--thk-border);
}

.thk-hero-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
}

.thk-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--thk-text-main);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.thk-hero-subtitle {
    font-size: 17px;
    color: var(--thk-text-sub);
    margin: 0;
}

.thk-search-container {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius-lg);
    box-shadow: var(--thk-shadow-lg);
    padding: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.thk-search-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 160px;
    gap: 16px;
    align-items: flex-end;
}

.thk-search-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thk-text-sub);
    margin-bottom: 6px;
}

.thk-search-select, .thk-form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--thk-text-main);
    background-color: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.thk-search-select:focus, .thk-form-control:focus {
    border-color: var(--thk-border-focus);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.thk-search-btn {
    width: 100%;
    height: 44px;
}

/* -------------------------------------------------------------------------
 * Sections & Layouts
 * ------------------------------------------------------------------------- */
.thk-section {
    padding: 64px 0;
}

.thk-bg-surface { background-color: var(--thk-bg-surface); }
.thk-bg-subtle  { background-color: var(--thk-bg-subtle); }

.thk-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.thk-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--thk-text-main);
}

.thk-section-sub {
    font-size: 15px;
    color: var(--thk-text-sub);
    margin: 0;
}

.thk-grid {
    display: grid;
    gap: 24px;
}

.thk-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.thk-grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.thk-grid-2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

/* -------------------------------------------------------------------------
 * Subject & Location Cards
 * ------------------------------------------------------------------------- */
.thk-grid-subjects {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.thk-subject-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.thk-subject-card:hover {
    transform: translateY(-2px);
    border-color: var(--thk-primary);
    box-shadow: var(--thk-shadow);
}

.thk-subject-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--thk-primary-light);
    color: var(--thk-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.thk-subject-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--thk-text-main);
}

.thk-subject-count {
    display: block;
    font-size: 13px;
    color: var(--thk-text-muted);
    margin-top: 4px;
}

.thk-grid-locations {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.thk-location-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.thk-location-card:hover {
    border-color: var(--thk-primary);
    box-shadow: var(--thk-shadow-sm);
}

.thk-location-icon {
    color: var(--thk-primary);
}

.thk-location-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--thk-text-main);
}

.thk-location-count {
    font-size: 12px;
    color: var(--thk-text-muted);
}

/* -------------------------------------------------------------------------
 * How It Works Steps
 * ------------------------------------------------------------------------- */
.thk-step-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 28px;
    position: relative;
}

.thk-step-num {
    width: 36px;
    height: 36px;
    background: var(--thk-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.thk-step-title {
    font-size: 17px;
    margin: 0 0 8px;
}

.thk-step-text {
    font-size: 14px;
    color: var(--thk-text-sub);
    margin: 0;
    line-height: 1.5;
}

/* -------------------------------------------------------------------------
 * Tutor Cards
 * ------------------------------------------------------------------------- */
.thk-tutor-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    box-shadow: var(--thk-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.thk-tutor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--thk-shadow);
}

.thk-tutor-card-img-wrap {
    height: 190px;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.thk-tutor-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thk-badge-verified {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thk-tutor-card-body {
    padding: 20px;
    flex: 1;
}

.thk-tutor-card-title {
    margin: 0 0 4px;
    font-size: 18px;
}

.thk-tutor-card-title a {
    color: var(--thk-text-main);
    text-decoration: none;
}

.thk-tutor-card-title a:hover {
    color: var(--thk-primary);
}

.thk-tutor-card-subjects {
    font-size: 13px;
    font-weight: 600;
    color: var(--thk-primary);
    margin: 0 0 10px;
}

.thk-tutor-card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--thk-text-muted);
    margin-bottom: 12px;
}

.thk-tutor-card-bio {
    font-size: 13.5px;
    color: var(--thk-text-sub);
    margin: 0;
    line-height: 1.5;
}

.thk-tutor-card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--thk-border);
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thk-tutor-rate {
    font-size: 17px;
    font-weight: 700;
    color: var(--thk-text-main);
}

.thk-tutor-rate small {
    font-size: 12px;
    font-weight: normal;
    color: var(--thk-text-muted);
}

/* -------------------------------------------------------------------------
 * Features & CTA
 * ------------------------------------------------------------------------- */
.thk-feature-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 28px;
}

.thk-feature-icon {
    color: var(--thk-primary);
    margin-bottom: 14px;
}

.thk-feature-title {
    font-size: 18px;
    margin: 0 0 8px;
}

.thk-feature-text {
    font-size: 14px;
    color: var(--thk-text-sub);
    margin: 0;
}

.thk-cta-section {
    padding: 60px 0;
}

.thk-cta-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--thk-radius-lg);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.thk-cta-title {
    color: #ffffff;
    font-size: 26px;
    margin: 0 0 8px;
}

.thk-cta-text {
    color: #94a3b8;
    margin: 0;
    font-size: 16px;
}

/* -------------------------------------------------------------------------
 * Directory Page Layout
 * ------------------------------------------------------------------------- */
.thk-page-banner {
    background: #0f172a;
    color: #ffffff;
    padding: 44px 0;
}

.thk-page-title {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 6px;
}

.thk-page-subtitle {
    color: #94a3b8;
    margin: 0;
    font-size: 15px;
}

.thk-directory-layout {
    display: flex;
    gap: 32px;
    padding: 40px 20px 60px;
}

.thk-directory-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.thk-directory-main {
    flex: 1;
}

.thk-filter-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 20px;
    box-shadow: var(--thk-shadow-sm);
}

.thk-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--thk-border);
}

.thk-filter-header h3 {
    margin: 0;
    font-size: 16px;
}

.thk-filter-reset {
    font-size: 12px;
    color: var(--thk-text-muted);
}

.thk-filter-group {
    margin-bottom: 18px;
}

.thk-filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--thk-text-main);
    margin-bottom: 6px;
}

.thk-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.thk-results-count {
    font-size: 15px;
    font-weight: 600;
    color: var(--thk-text-main);
}

.thk-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.thk-page-num {
    padding: 8px 14px;
    border: 1px solid var(--thk-border);
    background: #ffffff;
    border-radius: var(--thk-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.thk-page-num.active {
    background: var(--thk-primary);
    color: #ffffff;
    border-color: var(--thk-primary);
}

/* -------------------------------------------------------------------------
 * Single Profile Layout
 * ------------------------------------------------------------------------- */
.thk-profile-banner {
    padding: 40px 0;
}

.thk-profile-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.thk-profile-header-main {
    display: flex;
    align-items: center;
    gap: 24px;
}

.thk-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: var(--thk-shadow);
}

.thk-badge-verified-lg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 118, 110, 0.2);
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.thk-profile-name {
    color: #ffffff;
    font-size: 26px;
    margin: 0 0 6px;
}

.thk-profile-headline {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
}

.thk-profile-rate-box {
    text-align: right;
    margin-bottom: 12px;
}

.thk-rate-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

.thk-rate-unit {
    font-size: 13px;
    color: #94a3b8;
}

.thk-profile-layout {
    display: flex;
    gap: 32px;
    padding: 40px 20px 60px;
}

.thk-profile-content {
    flex: 1;
}

.thk-profile-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.thk-profile-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    padding: 28px;
    margin-bottom: 24px;
}

.thk-profile-card-title {
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--thk-border);
}

.thk-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thk-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.thk-tag-subject {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #ccfbf1;
}

.thk-tag-level {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.thk-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thk-overview-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--thk-border);
    font-size: 14px;
}

.thk-trust-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.thk-trust-icon {
    color: var(--thk-primary);
    margin-bottom: 10px;
}

/* -------------------------------------------------------------------------
 * Multi-Step Wizard
 * ------------------------------------------------------------------------- */
.thk-wizard-card {
    background: #ffffff;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius-lg);
    box-shadow: var(--thk-shadow);
    padding: 36px;
    max-width: 780px;
    margin: 40px auto 60px;
}

.thk-wizard-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
    position: relative;
}

.thk-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.thk-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--thk-text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.thk-wizard-step.active .thk-step-circle {
    background: var(--thk-primary);
    color: #ffffff;
}

.thk-wizard-step.completed .thk-step-circle {
    background: #16a34a;
    color: #ffffff;
}

.thk-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--thk-text-sub);
}

.thk-step-heading {
    font-size: 20px;
    margin: 0 0 6px;
}

.thk-step-desc {
    font-size: 14px;
    color: var(--thk-text-sub);
    margin: 0 0 24px;
}

.thk-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--thk-border);
}

.thk-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--thk-border);
    border-radius: var(--thk-radius);
    background: #ffffff;
}

.thk-doc-privacy-alert {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    color: #0f766e;
    padding: 14px 16px;
    border-radius: var(--thk-radius);
    font-size: 13.5px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* -------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */
.thk-site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 24px;
    border-top: 1px solid #1e293b;
}

.thk-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.thk-logo-footer .thk-logo-text {
    color: #ffffff;
}

.thk-footer-desc {
    font-size: 14px;
    color: #94a3b8;
    margin: 16px 0;
    line-height: 1.6;
}

.thk-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
}

.thk-footer-contact-item a {
    color: #5eead4;
}

.thk-footer-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thk-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thk-footer-links li {
    margin-bottom: 10px;
}

.thk-footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

.thk-footer-links a:hover {
    color: #ffffff;
}

.thk-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.thk-footer-badges {
    display: flex;
    gap: 16px;
}

.thk-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
}

/* -------------------------------------------------------------------------
 * Responsive Breakpoints
 * ------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .thk-nav-desktop {
        display: none;
    }
    .thk-mobile-menu-toggle {
        display: flex;
    }
    .thk-search-fields-grid {
        grid-template-columns: 1fr;
    }
    .thk-directory-layout, .thk-profile-layout {
        flex-direction: column;
    }
    .thk-directory-sidebar, .thk-profile-sidebar {
        width: 100%;
    }
    .thk-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .thk-profile-header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .thk-profile-header-action {
        width: 100%;
    }
    .thk-profile-rate-box {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .thk-footer-grid {
        grid-template-columns: 1fr;
    }
    .thk-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .thk-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .thk-hero-title {
        font-size: 28px;
    }
}
