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

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1;
}

/* Tailwind CSS Custom Properties - Color Palette */
:root {
    --surface-container-high: #e6e9e8;
    --secondary-fixed: #d9e6de;
    --surface-container-lowest: #ffffff;
    --text-primary: #1A2E1F;
    --surface-container: #eceeed;
    --surface: #f8faf9;
    --on-primary: #ffffff;
    --tertiary: #655b44;
    --primary-fixed-dim: #68de80;
    --tertiary-fixed-dim: #d3c5a8;
    --inverse-on-surface: #eff1f0;
    --surface-tint: #006e2d;
    --error-container: #ffdad6;
    --primary-fixed: #85fb9a;
    --background: #f8faf9;
    --on-secondary-fixed-variant: #3e4944;
    --inverse-primary: #68de80;
    --error: #C62828;
    --on-tertiary-fixed-variant: #4f4630;
    --surface-dim: #d8dada;
    --tertiary-fixed: #f0e1c3;
    --on-tertiary-container: #fffbff;
    --border-subtle: #D4DDD7;
    --on-primary-container: #f7fff2;
    --on-surface: #191c1c;
    --on-secondary-fixed: #131e19;
    --on-tertiary-fixed: #221b08;
    --surface-variant: #e1e3e2;
    --surface-container-highest: #e1e3e2;
    --inverse-surface: #2e3131;
    --secondary-fixed-dim: #bdcac2;
    --primary-dark: #006B2D;
    --on-error: #ffffff;
    --text-secondary: #5A6B5E;
    --surface-bright: #f8faf9;
    --on-error-container: #93000a;
    --primary-container: #00873a;
    --primary: #006b2c;
    --tertiary-container: #7f735b;
    --on-tertiary: #ffffff;
    --on-surface-variant: #3e4a3e;
    --on-secondary: #ffffff;
    --on-background: #191c1c;
    --secondary: #55615b;
    --on-secondary-container: #5b6761;
    --on-primary-fixed-variant: #005320;
    --secondary-container: #d9e6de;
    --surface-container-low: #f2f4f3;
    --outline-variant: #bdcaba;
    --outline: #6e7a6d;
    --on-primary-fixed: #002109;
}

/* Base Styles */
body.kedr-theme {
    background-color: var(--surface);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: inherit;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* Typography */
.kedr-theme h1,
.kedr-theme h2,
.kedr-theme h3,
.kedr-theme h4,
.kedr-theme h5,
.kedr-theme h6 {
    font-family: 'Outfit', system-ui, sans-serif;
}

/* Header Styles */
.kedr-header {
    background-color: rgba(248, 250, 249, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kedr-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    .kedr-header-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.kedr-brand {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.kedr-brand:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.kedr-brand-text {
    display: none;
}

@media (min-width: 640px) {
    .kedr-brand-text {
        display: inline;
    }
}

/* Navigation */
.kedr-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

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

.kedr-nav-link {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, border-color 0.2s;
}

.kedr-nav-link:active {
    transform: scale(0.95);
}

.kedr-nav-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
    border-bottom-color: transparent;
}

.kedr-nav-link-secondary {
    color: var(--secondary);
    border-bottom: none;
    padding-bottom: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.kedr-nav-link-secondary:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Header Actions */
.kedr-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kedr-phone {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

@media (min-width: 640px) {
    .kedr-phone {
        display: flex;
    }
}

.kedr-phone:hover {
    color: var(--primary);
}

.kedr-phone-icon {
    font-size: 18px;
}

.kedr-divider {
    display: none;
    width: 1px;
    height: 20px;
    background-color: var(--border-subtle);
}

@media (min-width: 640px) {
    .kedr-divider {
        display: block;
    }
}

.kedr-social-link {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.kedr-social-link:hover {
    color: var(--primary);
}

.kedr-social-icon {
    width: 20px;
    height: 20px;
}

.kedr-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.kedr-search-btn:hover {
    color: var(--primary);
}

/* Main Content */
.kedr-main {
    padding-top: 96px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}



.kedr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .kedr-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Hero Section */
.kedr-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .kedr-hero {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kedr-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kedr-hero-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

@media (min-width: 768px) {
    .kedr-hero-title {
        font-size: 48px;
        line-height: 56px;
    }
}

.kedr-hero-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.kedr-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .kedr-hero-buttons {
        flex-direction: row;
    }
}

.kedr-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
}

.kedr-btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.kedr-btn-primary:hover {
    opacity: 0.9;
}

.kedr-btn-secondary {
    background-color: var(--surface-container-lowest);
    color: var(--primary);
    border: 1px solid var(--border-subtle);
}

.kedr-btn-secondary:hover {
    background-color: var(--secondary-container);
}

.kedr-hero-image {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .kedr-hero-image {
        height: 500px;
    }
}

.kedr-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trust Markers */
.kedr-trust-markers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-trust-markers {
        grid-template-columns: repeat(5, 1fr);
    }
}

.kedr-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.kedr-trust-icon {
    color: var(--primary);
    font-size: 32px;
}

.kedr-trust-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

/* Shifts Section */
.kedr-shifts-section {
    background-color: var(--surface-container-lowest);
    padding: 20px;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .kedr-shifts-section {
        padding: 48px;
    }
}

.kedr-section-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .kedr-section-title {
        font-size: 36px;
        line-height: 44px;
    }
}

.kedr-shifts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-shifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kedr-shifts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kedr-shift-card {
    background-color: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s;
}

.kedr-shift-card-nearest {
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 107, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.kedr-shift-card-normal {
    border: 1px solid var(--border-subtle);
}

.kedr-shift-card-normal:hover {
    border-color: rgba(0, 107, 44, 0.5);
}

.kedr-shift-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-fixed-dim);
    color: var(--on-primary-fixed-variant);
    padding: 4px 12px;
    border-radius: 0 0 0 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.kedr-shift-date {
    display: inline-block;
    background-color: var(--secondary-fixed);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

.kedr-shift-date-secondary {
    background-color: var(--surface-container);
    color: var(--text-secondary);
}

.kedr-shift-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.kedr-shift-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    margin-top: auto;
}

/* Infrastructure Section */
.kedr-infrastructure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .kedr-infrastructure-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kedr-infrastructure-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.kedr-infrastructure-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.kedr-infrastructure-item:hover img {
    transform: scale(1.05);
}

.kedr-infrastructure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.kedr-infrastructure-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--surface-container-lowest);
    margin: 0;
}

.kedr-infrastructure-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0 0 0;
}

/* Booking Form */
.kedr-booking-section {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .kedr-booking-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.kedr-booking-form {
    background-color: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kedr-form-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 24px 0;
    text-align: center;
}

.kedr-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kedr-form-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

.kedr-form-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: var(--surface-bright);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.kedr-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 44, 0.2);
}

.kedr-form-submit {
    margin-top: 16px;
    background-color: var(--primary);
    color: var(--on-primary);
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.kedr-form-submit:hover {
    opacity: 0.9;
}

.kedr-form-submit:disabled {
    background-color: var(--border-subtle) !important;
    color: var(--text-secondary) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.kedr-form-checkbox-group {
    margin-top: 12px;
    margin-bottom: 8px;
}

.kedr-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.kedr-form-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background-color: var(--surface-bright);
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
}

.kedr-form-policy-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kedr-form-policy-link:hover {
    text-decoration: none;
}

/* Footer */
.kedr-footer {
    background-color: var(--surface-container);
    border-top: 1px solid var(--border-subtle);
    border-radius: 12px 12px 0 0;
    transition: opacity 0.2s;
}

.kedr-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
    position: relative;
}

@media (min-width: 768px) {
    .kedr-footer-inner {
        grid-template-columns: repeat(3, 1fr);
        padding: 80px 40px;
    }
}

.kedr-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kedr-footer-brand-name {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
    color: var(--primary);
}

.kedr-footer-copyright {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.kedr-footer-policy {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s, text-decoration 0.2s;
}

.kedr-footer-policy:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.kedr-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kedr-footer-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--secondary);
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s, text-decoration 0.2s;
}

.kedr-footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.kedr-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* Developer Credit - Bottom Right */
.kedr-footer-developer {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

@media (min-width: 768px) {
    .kedr-footer-developer {
        bottom: 24px;
        right: 40px;
    }
}

.kedr-developer-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.kedr-developer-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Utility Classes */
.full-width-breakout {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.full-width-breakout .px-margin-mobile {
    padding-left: 40px !important;
    padding-right: 40px !important;
}


@media (max-width: 767px) {
    .kedr-hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .kedr-hidden-desktop {
        display: none !important;
    }
}

.kedr-col-span-2 {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .kedr-col-span-2 {
        grid-column: span 1;
    }
}

/* Mobile Menu Toggle */
.kedr-mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.kedr-mobile-menu-toggle:hover {
    color: var(--primary);
}

.kedr-mobile-menu-toggle .material-symbols-outlined {
    font-size: 28px;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .kedr-nav.kedr-mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--surface-container-lowest);
        flex-direction: column;
        padding: 16px;
        gap: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 40;
    }
    
    .kedr-nav.kedr-mobile-nav.kedr-mobile-nav-open {
        display: flex;
    }
    
    .kedr-mobile-extras {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-subtle);
        margin-top: 8px;
    }
    
    .kedr-mobile-phone {
        display: flex !important;
        justify-content: center;
        padding: 12px;
        background-color: var(--surface-container);
        border-radius: 8px;
    }
    
    .kedr-mobile-socials {
        display: flex;
        justify-content: center;
        gap: 16px;
    }
    
    .kedr-mobile-socials .kedr-social-link,
    .kedr-mobile-socials .kedr-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--surface-container);
        border-radius: 50%;
    }
}

@media (min-width: 768px) {
    .kedr-mobile-menu-toggle {
        display: none !important;
    }
    
    .kedr-mobile-extras {
        display: none !important;
    }
}

/* Breadcrumbs (Browsein) & Page Heading */
.browsein {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.browsein .browsein {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.browsein .browsein a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

/* Smooth micro-interaction line under breadcrumb links */
.browsein .browsein a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.browsein .browsein a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.browsein h1 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 0 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .browsein {
        gap: 12px;
    }
    
    .browsein h1 {
        font-size: 44px;
        line-height: 52px;
    }
}

/* ==========================================================================
   Tailwind Utility Classes for Custom Pages (e.g. /about.html)
   ========================================================================== */

/* Layout & Spacing Defaults */
:root {
    --max-width: 1200px;
}

/* Grids & Flex */
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-grow { flex-grow: 1; }

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:flex-row { flex-direction: row; }
    
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
}

.order-1 { order: 1; }
.order-2 { order: 2; }

/* Gaps */
.gap-6 { gap: 24px; }
.gap-3 { gap: 12px; }
.gap-gutter { gap: 24px; }

/* Sizing & Positions */
.max-w-max-width { max-width: var(--max-width); }
.max-w-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-16 { width: 64px; }
.h-16 { height: 64px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-48 { height: 192px; }
.h-64 { height: 256px; }
.min-h-\[400px\] { min-height: 400px; }

@media (min-width: 768px) {
    .md\:h-full { height: 100%; }
}

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }

/* Padding & Margins */
.px-margin-mobile { padding-left: 16px; padding-right: 16px; }
.py-section-gap-mobile { padding-top: 48px; padding-bottom: 48px; }
.pb-section-gap-mobile { padding-bottom: 48px; }

.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 16px; }
.p-8 { padding: 32px; }
.pl-6 { padding-left: 24px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }

@media (min-width: 768px) {
    
    .md\:p-6 { padding: 24px; }
}

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.my-8 { margin-top: 32px; margin-bottom: 32px; }

@media (min-width: 768px) {
    .md\:px-margin-desktop { padding-left: 0px; padding-right: 0px; }
    .md\:py-section-gap-desktop { padding-top: 80px; padding-bottom: 80px; }
    .md\:pb-section-gap-desktop { padding-bottom: 80px; }
    .md\:p-12 { padding: 48px; }
}

/* Typography & Fonts */
.font-headline-xl-mobile { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; }
.text-headline-xl-mobile { font-size: 32px; line-height: 40px; }
.font-headline-lg-mobile { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; }
.text-headline-lg-mobile { font-size: 28px; line-height: 36px; }
.font-headline-md { font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; }
.text-headline-md { font-size: 24px; line-height: 32px; }

.font-body-lg { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; }
.text-body-lg { font-size: 18px; line-height: 28px; }
.font-body-md { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; }
.text-body-md { font-size: 16px; line-height: 24px; }

.font-label-sm { font-family: 'Inter', system-ui, sans-serif; font-weight: 600; }
.text-label-sm { font-size: 14px; line-height: 20px; letter-spacing: 0.02em; }

@media (min-width: 768px) {
    .md\:font-headline-xl { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; }
    .md\:text-headline-xl { font-size: 48px; line-height: 56px; }
    .md\:font-headline-lg { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; }
    .md\:text-headline-lg { font-size: 36px; line-height: 44px; }
}

.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-brand-primary { color: var(--primary); }

.text-3xl { font-size: 30px; line-height: 36px; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Colors, Borders & Backgrounds */
.bg-surface-lowest { background-color: var(--surface-container-lowest); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface { background-color: var(--surface); }
.bg-surface-variant { background-color: var(--surface-variant); }
.bg-brand-primary-light { background-color: #E8F5ED; }

.border { border: 1px solid transparent; }
.border-border-subtle { border-color: var(--border-subtle); }
.border-brand-primary\/20 { border-color: rgba(0, 107, 44, 0.2); }
.border-l-4 { border-left: 4px solid transparent; }
.border-brand-primary { border-color: var(--primary); }

.hover\:border-brand-primary { transition: border-color 0.25s ease; }
.hover\:border-brand-primary:hover { border-color: var(--primary); }

.rounded-2xl { border-radius: 12px; }
.rounded-3xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }

.transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, text-decoration-color 0.2s ease;
}

/* Reviews Block Utility Classes */
.mb-12 { margin-bottom: 48px; }
.max-w-2xl { max-width: 672px; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bg-white { background-color: #ffffff; }
.rounded-xl { border-radius: 12px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.hover\:shadow-md { transition: box-shadow 0.2s ease; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.transition-shadow {
    transition: box-shadow 0.2s ease;
}
.gap-1 { gap: 4px; }
.text-\[\#00923F\] { color: #00923F; }
.text-right { text-align: right; }




/* ==========================================================================
   Tailwind Utility Classes & Custom Styles for /smena.html Page
   ========================================================================== */

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mb-section-gap-mobile {
    margin-bottom: 48px;
}
.cursor-pointer {
    cursor: pointer;
}
.justify-between {
    justify-content: space-between;
}
.mb-2 {
    margin-bottom: 8px;
}
.inline-block {
    display: inline-block;
}
.bg-primary-container\/10 {
    background-color: rgba(0, 135, 58, 0.1) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}
.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}
.bg-surface-bright {
    background-color: var(--surface-bright) !important;
}
.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}
.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}
.rounded-lg {
    border-radius: 8px;
}
.mt-auto {
    margin-top: auto;
}
.border-primary {
    border-color: var(--primary) !important;
}
.border-\[1\.5px\] {
    border-width: 1.5px;
}
.shadow-\[0_0_15px_rgba\(0\,146\,63\,0\.1\)\] {
    box-shadow: 0 0 15px rgba(0, 146, 63, 0.1);
}
.hover\:bg-primary-container\/5:hover {
    background-color: rgba(0, 135, 58, 0.05) !important;
}
.-top-3 {
    top: -12px;
}
.right-4 {
    right: 16px;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.text-on-primary {
    color: var(--on-primary) !important;
}
.hover\:bg-primary-dark:hover {
    background-color: var(--primary-dark) !important;
}
.shrink-0 {
    flex-shrink: 0;
}
.gap-8 {
    gap: 32px;
}
.items-start {
    align-items: flex-start;
}
.gap-4 {
    gap: 16px;
}
.w-12 {
    width: 48px;
}
.h-12 {
    height: 48px;
}
.mb-1 {
    margin-bottom: 4px;
}
.gap-2 {
    gap: 8px;
}
.hover\:text-primary-dark:hover {
    color: var(--primary-dark) !important;
}
.w-6 {
    width: 24px;
}
.h-6 {
    height: 24px;
}
.col-span-2 {
    grid-column: span 2 / span 2;
}
.row-span-2 {
    grid-row: span 2 / span 2;
}
.h-32 {
    height: 128px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid #D4DDD7;
}
.hover\:border-primary {
    transition: border-color 0.25s ease;
}
.hover\:border-primary:hover {
    border-color: var(--primary) !important;
}
.group:hover .group-hover\:border-primary {
    border-color: var(--primary) !important;
}
.group:hover .group-hover\:bg-primary-container\/5 {
    background-color: rgba(0, 135, 58, 0.05) !important;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .md\:mb-section-gap-desktop {
        margin-bottom: 80px;
    }
    .md\:pt-32 {
        padding-top: 128px;
    }
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .md\:h-auto {
        height: auto;
    }
    .md\:h-48 {
        height: 192px;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Back to Top Button (Floating Action Button)
   ========================================================================== */

.kedr-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 107, 44, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.2s ease,
                box-shadow 0.2s ease;
}

.kedr-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.kedr-back-to-top:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(0, 107, 44, 0.4);
    transform: translateY(-2px);
}

.kedr-back-to-top:active {
    transform: translateY(0) scale(0.95);
}

.kedr-back-to-top .material-symbols-outlined {
    font-size: 24px;
}

@media (max-width: 767px) {
    .kedr-back-to-top {
        bottom: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
    }
    .kedr-back-to-top .material-symbols-outlined {
        font-size: 20px;
    }
}

/* ==========================================================================
   Summer Shifts 2026 CMS & Tailwind Utility Mappings
   ========================================================================== */

.bg-surface-container-lowest {
    background-color: var(--surface-container-lowest) !important;
}
.hover\:border-primary\/50 {
    transition: border-color 0.2s ease;
}
.hover\:border-primary\/50:hover {
    border-color: rgba(0, 107, 44, 0.5) !important;
}
.top-0 {
    top: 0 !important;
}
.right-0 {
    right: 0 !important;
}
.bg-primary-fixed-dim {
    background-color: var(--primary-fixed-dim) !important;
}
.text-on-primary-fixed-variant {
    color: var(--on-primary-fixed-variant) !important;
}
.rounded-bl-lg {
    border-bottom-left-radius: 8px !important;
}
.text-\[11px\] {
    font-size: 11px !important;
}
.bg-secondary-fixed {
    background-color: var(--secondary-fixed) !important;
}
.self-start {
    align-self: flex-start !important;
}
.font-display {
    font-family: 'Outfit', system-ui, sans-serif !important;
}
.font-body {
    font-family: 'Inter', system-ui, sans-serif !important;
}

/* ==========================================================================
   Program & Timeline Mappings (/program.html)
   ========================================================================== */

body.kedr-theme ::selection {
    background-color: var(--primary) !important;
    color: var(--on-primary) !important;
}
.mt-8 {
    margin-top: 32px !important;
}
.bg-cover {
    background-size: cover !important;
}
.bg-center {
    background-position: center !important;
}
.bg-surface\/70 {
    background-color: rgba(248, 250, 249, 0.7) !important;
}
.backdrop-blur-sm {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
.max-w-4xl {
    max-width: 896px !important;
}
.left-\[28px\] {
    left: 28px !important;
}
.top-4 {
    top: 16px !important;
}
.bottom-4 {
    bottom: 16px !important;
}
.w-px {
    width: 1px !important;
}
.space-y-8 > * + * {
    margin-top: 32px !important;
}
.left-\[20px\] {
    left: 20px !important;
}
.w-4 {
    width: 16px !important;
}
.h-4 {
    height: 16px !important;
}
.border-2 {
    border-width: 2px !important;
}
.mt-1\.5 {
    margin-top: 6px !important;
}
.z-10 {
    z-index: 10 !important;
}
.group:hover .group-hover\:bg-primary {
    background-color: var(--primary) !important;
}
.ml-16 {
    margin-left: 64px !important;
}
.p-12 {
    padding: 48px !important;
}
.flex-row {
    flex-direction: row !important;
}
.flex-1 {
    flex: 1 1 0% !important;
}
.flex-shrink-0 {
    flex-shrink: 0 !important;
}
.inline-flex {
    display: inline-flex !important;
}
.px-8 {
    padding-left: 32px !important;
    padding-right: 32px !important;
}
.py-4 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.text-left {
    text-align: left !important;
}
.opacity-0 {
    opacity: 0 !important;
}

@media (min-width: 768px) {
    .md\:mt-12 {
        margin-top: 48px !important;
    }
    .md\:min-h-\[500px\] {
        min-height: 500px !important;
    }
    .md\:p-16 {
        padding: 64px !important;
    }
    .md\:left-1\/2 {
        left: 50% !important;
    }
    .md\:-ml-px {
        margin-left: -1px !important;
    }
    .md\:justify-between {
        justify-content: space-between !important;
    }
    .md\:-ml-\[8px\] {
        margin-left: -8px !important;
    }
    .md\:ml-0 {
        margin-left: 0 !important;
    }
    .md\:w-\[45\%\] {
        width: 45% !important;
    }
    .md\:text-right {
        text-align: right !important;
    }
    .md\:pr-12 {
        padding-right: 48px !important;
    }
    .pl-12 {
        padding-left: 48px !important;
    }
    .md\:pl-12 {
        padding-left: 48px !important;
    }
    .md\:text-left {
        text-align: left !important;
    }
}
