/*
Theme Name: Madibeng Connect Child
Theme URI: https://www.madibengconnect.co.za/
Description: Madibeng Connect Child Theme
Author: Madibeng Connect
Template: madibengconnect
Version: 1.0.0
*/

/* ==========================================================
   ROOT VARIABLES
   ========================================================== */

:root {

    --mc-white: #ffffff;
    --mc-black: #101828;
    --mc-heading: #101828;
    --mc-text: #344054;
    --mc-muted: #667085;

    --mc-background: #f8fafc;
    --mc-surface: #ffffff;

    --mc-border: #e4e7ec;
    --mc-border-dark: #d0d5dd;

    --mc-radius: 16px;
    --mc-radius-sm: 10px;
    --mc-radius-lg: 20px;

    --mc-shadow-sm:
        0 4px 14px rgba(16, 24, 40, 0.04);

    --mc-shadow:
        0 10px 30px rgba(16, 24, 40, 0.06);

    --mc-shadow-lg:
        0 18px 45px rgba(16, 24, 40, 0.09);

    --mc-transition:
        all 0.25s ease;
}


/* ==========================================================
   GENERAL
   ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--mc-background);
    color: var(--mc-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ==========================================================
   BOX SIZING
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ==========================================================
   IMAGES
   ========================================================== */

img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   LINKS
   ========================================================== */

a {
    color: var(--mc-black);
    text-decoration: none;
    transition: var(--mc-transition);
}

a:hover {
    color: #344054;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.mc-container {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================
   HEADINGS
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--mc-heading);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 5vw, 54px);
}

h2 {
    font-size: clamp(28px, 4vw, 38px);
}

h3 {
    font-size: 22px;
}


/* ==========================================================
   PARAGRAPHS
   ========================================================== */

p {
    color: var(--mc-text);
}


/* ==========================================================
   EYEBROW
   ========================================================== */

.mc-eyebrow {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 11px;

    border: 1px solid var(--mc-border);
    border-radius: 999px;

    background: #f2f4f7;
    color: var(--mc-muted);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.mc-button,
.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;
    padding: 0 19px;

    border: 1px solid var(--mc-black);
    border-radius: var(--mc-radius-sm);

    background: var(--mc-black);
    color: var(--mc-white);

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mc-button:hover,
.mc-btn:hover {
    border-color: #1d2939;
    background: #1d2939;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(16, 24, 40, 0.14);
}

.mc-button:focus,
.mc-btn:focus {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(16, 24, 40, 0.12);
}


/* ==========================================================
   SECONDARY BUTTON
   ========================================================== */

.mc-button-secondary {
    border-color: var(--mc-border-dark);
    background: #ffffff;
    color: var(--mc-black);
}

.mc-button-secondary:hover {
    border-color: var(--mc-black);
    background: #f9fafb;
    color: var(--mc-black);
}


/* ==========================================================
   ==========================================================
   HEADER
   ==========================================================
   ========================================================== */

.mc-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid var(--mc-border);

    box-shadow:
        0 2px 10px rgba(16, 24, 40, 0.03);
}

.mc-header .mc-container {
    width: min(1200px, calc(100% - 40px));
}

.mc-header-inner {
    display: flex;
    align-items: center;

    min-height: 78px;

    gap: 30px;
}


/* ==========================================================
   HEADER LOGO
   ========================================================== */

.mc-logo {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    color: var(--mc-black);
}

.mc-logo:hover {
    color: var(--mc-black);
}

.mc-logo img,
.mc-logo .custom-logo {
    display: block;

    width: auto;
    max-width: 190px;
    max-height: 52px;
}

.mc-logo-text {
    display: block;

    color: var(--mc-black);

    font-size: 22px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: -0.5px;
}


/* ==========================================================
   HEADER NAVIGATION
   ========================================================== */

.mc-nav {
    display: flex;
    align-items: center;

    flex: 1 1 auto;

    min-width: 0;
}

.mc-menu {
    display: flex;
    align-items: center;

    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mc-menu li {
    position: relative;

    margin: 0;
    padding: 0;
}

.mc-menu li a {
    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 0 12px;

    border-radius: 8px;

    color: var(--mc-text);

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}

.mc-menu li a:hover {
    background: #f2f4f7;
    color: var(--mc-black);
}

.mc-menu .current-menu-item > a,
.mc-menu .current_page_item > a,
.mc-menu .current-menu-ancestor > a {
    color: var(--mc-black);
}


/* ==========================================================
   HEADER RIGHT
   ========================================================== */

.mc-header-right {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    gap: 10px;
}


/* ==========================================================
   HEADER SEARCH BUTTON
   ========================================================== */

.mc-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid transparent;
    border-radius: 10px;

    background: transparent;
    color: var(--mc-black);

    font-size: 17px;

    cursor: pointer;

    transition: var(--mc-transition);
}

.mc-search-btn:hover {
    background: #f2f4f7;
    border-color: var(--mc-border);
}

.mc-search-btn:focus {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(16, 24, 40, 0.10);
}


/* ==========================================================
   HEADER SUBMIT BUTTON
   ========================================================== */

.mc-header .mc-btn {
    min-height: 44px;

    padding: 0 17px;

    border-radius: 9px;

    font-size: 13px;
}


/* ==========================================================
   MOBILE TOGGLE
   ========================================================== */

.mc-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid var(--mc-border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--mc-black);

    font-size: 18px;

    cursor: pointer;
}


/* ==========================================================
   CARDS
   ========================================================== */

.mc-card {
    overflow: hidden;

    background: var(--mc-white);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);

    transition: var(--mc-transition);
}

.mc-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--mc-shadow);
}


/* ==========================================================
   SURFACE
   ========================================================== */

.mc-surface {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}


/* ==========================================================
   FORM ELEMENTS
   ========================================================== */

input,
select,
textarea {
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}


/* ==========================================================
   WORDPRESS CONTENT
   ========================================================== */

.entry-content {
    color: var(--mc-text);
}

.entry-content > * {
    max-width: 100%;
}


/* ==========================================================
   WORDPRESS ADMIN BAR
   ========================================================== */

body.admin-bar {
    --mc-admin-bar-height: 32px;
}


/* ==========================================================
   SELECTION
   ========================================================== */

::selection {
    background: #101828;
    color: #ffffff;
}


/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f2f4f7;
}

::-webkit-scrollbar-thumb {
    background: #d0d5dd;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #98a2b3;
}


/* ==========================================================
   ==========================================================
   BUSINESSES ARCHIVE
   ==========================================================
   ========================================================== */

.mc-businesses,
.mc-business-archive,
.businesses-page {
    padding: 70px 0 90px;

    background: var(--mc-background);
}


/* ==========================================================
   DIRECTORY HEADER
   ========================================================== */

.mc-businesses-header,
.mc-business-archive-header {
    max-width: 850px;

    margin: 0 auto 40px;

    text-align: center;
}

.mc-businesses-header h1,
.mc-business-archive-header h1 {
    margin-bottom: 14px;

    color: var(--mc-heading);

    font-size: clamp(36px, 5vw, 52px);

    letter-spacing: -1px;
}

.mc-businesses-header p,
.mc-business-archive-header p {
    max-width: 700px;

    margin: 0 auto;

    color: var(--mc-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   DIRECTORY SEARCH / FILTER AREA
   ========================================================== */

.mc-business-search,
.mc-business-filters,
.business-search,
.business-filters {
    width: 100%;

    margin-bottom: 45px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}


/* ==========================================================
   SEARCH FORM
   ========================================================== */

.mc-business-search form,
.mc-business-filters form,
.business-search form,
.business-filters form {
    width: 100%;
}

.mc-business-search input[type="search"],
.mc-business-search input[type="text"],
.business-search input[type="search"],
.business-search input[type="text"] {
    display: block;

    width: 100%;

    min-height: 52px;

    padding: 0 17px;

    border: 1px solid var(--mc-border-dark);
    border-radius: var(--mc-radius-sm);

    background: #ffffff;
    color: var(--mc-black);

    font-size: 15px;
}

.mc-business-search input[type="search"]:focus,
.mc-business-search input[type="text"]:focus,
.business-search input[type="search"]:focus,
.business-search input[type="text"]:focus {
    border-color: var(--mc-black);

    box-shadow:
        0 0 0 3px rgba(16, 24, 40, 0.07);
}


/* ==========================================================
   FILTER GRID
   ========================================================== */

.mc-business-filters-grid,
.mc-filter-grid,
.business-filter-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}

.mc-business-filters label,
.mc-filter-group label,
.business-filter-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--mc-heading);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.mc-business-filters select,
.mc-filter-group select,
.business-filter-group select {
    display: block;

    width: 100%;

    min-height: 50px;

    padding: 0 14px;

    border: 1px solid var(--mc-border-dark);
    border-radius: var(--mc-radius-sm);

    background: #ffffff;
    color: var(--mc-text);

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
}

.mc-business-filters select:focus,
.mc-filter-group select:focus,
.business-filter-group select:focus {
    border-color: var(--mc-black);

    box-shadow:
        0 0 0 3px rgba(16, 24, 40, 0.07);
}


/* ==========================================================
   FILTER ACTIONS
   ========================================================== */

.mc-business-filter-actions,
.mc-filter-actions,
.business-filter-actions {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 16px;
}

.mc-business-filter-actions .mc-button,
.mc-business-filter-actions button,
.mc-filter-actions .mc-button,
.mc-filter-actions button,
.business-filter-actions .mc-button,
.business-filter-actions button {
    min-height: 46px;
}


/* ==========================================================
   SEARCH RESULTS HEADER
   ========================================================== */

.mc-business-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.mc-business-results-header h2 {
    margin: 0;

    font-size: 24px;
}

.mc-business-results-count {
    color: var(--mc-muted);

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================
   BUSINESS GRID
   ========================================================== */

.mc-business-grid,
.business-grid,
.mc-businesses-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}


/* ==========================================================
   BUSINESS CARD
   ========================================================== */

.mc-business-card-item,
.business-card,
.mc-directory-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mc-business-card-item:hover,
.business-card:hover,
.mc-directory-card:hover {
    transform: translateY(-5px);

    border-color: #d0d5dd;

    box-shadow: var(--mc-shadow);
}


/* ==========================================================
   BUSINESS CARD IMAGE
   ========================================================== */

.mc-business-card-image,
.business-card-image,
.mc-directory-card-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #f2f4f7;
}

.mc-business-card-image a,
.business-card-image a,
.mc-directory-card-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.mc-business-card-image img,
.business-card-image img,
.mc-directory-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.mc-business-card-item:hover
.mc-business-card-image img,
.business-card:hover
.business-card-image img,
.mc-directory-card:hover
.mc-directory-card-image img {
    transform: scale(1.04);
}


/* ==========================================================
   BUSINESS CARD CONTENT
   ========================================================== */

.mc-business-card-content,
.business-card-content,
.mc-directory-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    min-width: 0;

    padding: 22px;
}

.mc-business-card-category,
.business-card-category,
.mc-directory-card-category {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 10px;
    padding: 5px 9px;

    border: 1px solid var(--mc-border);
    border-radius: 999px;

    background: #f9fafb;
    color: var(--mc-muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mc-business-card-title,
.business-card-title,
.mc-directory-card-title {
    margin: 0 0 9px;

    color: var(--mc-heading);

    font-size: 21px;
    font-weight: 800;

    line-height: 1.25;
}

.mc-business-card-title a,
.business-card-title a,
.mc-directory-card-title a {
    color: inherit;
}

.mc-business-card-title a:hover,
.business-card-title a:hover,
.mc-directory-card-title a:hover {
    color: var(--mc-muted);
}

.mc-business-card-description,
.business-card-description,
.mc-directory-card-description {
    margin: 0 0 16px;

    color: var(--mc-muted);

    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   BUSINESS CARD META
   ========================================================== */

.mc-business-card-meta,
.business-card-meta,
.mc-directory-card-meta {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: auto;

    padding-top: 15px;

    border-top: 1px solid var(--mc-border);
}

.mc-business-card-meta-item,
.business-card-meta-item,
.mc-directory-card-meta-item {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: var(--mc-text);

    font-size: 13px;
    line-height: 1.5;
}

.mc-business-card-meta-item i,
.business-card-meta-item i,
.mc-directory-card-meta-item i {
    flex: 0 0 17px;

    width: 17px;

    padding-top: 2px;

    color: var(--mc-muted);

    text-align: center;
}


/* ==========================================================
   BUSINESS CARD FOOTER
   ========================================================== */

.mc-business-card-footer,
.business-card-footer,
.mc-directory-card-footer {
    margin-top: 18px;
}

.mc-business-card-footer .mc-button,
.business-card-footer .mc-button,
.mc-directory-card-footer .mc-button {
    width: 100%;
}


/* ==========================================================
   EMPTY BUSINESS RESULTS
   ========================================================== */

.mc-business-empty,
.business-empty {
    padding: 60px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);

    box-shadow: var(--mc-shadow-sm);
}

.mc-business-empty h2,
.business-empty h2 {
    margin-bottom: 10px;

    font-size: 28px;
}

.mc-business-empty p,
.business-empty p {
    max-width: 550px;

    margin: 0 auto;

    color: var(--mc-muted);
}


/* ==========================================================
   CLEAR FILTER
   ========================================================== */

.mc-business-clear,
.business-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 17px;

    border: 1px solid var(--mc-border-dark);
    border-radius: var(--mc-radius-sm);

    background: #ffffff;
    color: var(--mc-black);

    font-size: 13px;
    font-weight: 700;
}

.mc-business-clear:hover,
.business-clear:hover {
    border-color: var(--mc-black);

    background: #f9fafb;

    color: var(--mc-black);
}


/* ==========================================================
   ==========================================================
   BUSINESS SINGLE PAGE
   ==========================================================
   ========================================================== */

.mc-business-single {
    padding: 70px 0 90px;
    background: var(--mc-background);
}


/* ==========================================================
   BUSINESS HERO IMAGE
   ========================================================== */

.mc-business-hero-image {
    overflow: hidden;

    margin-bottom: 30px;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);

    background: #ffffff;
    box-shadow: var(--mc-shadow-sm);
}

.mc-business-hero-image img {
    display: block;

    width: 100%;
    max-height: 520px;

    object-fit: cover;
}


/* ==========================================================
   BUSINESS HEADER
   ========================================================== */

.mc-business-header {
    margin-bottom: 35px;
}

.mc-business-title h1 {
    margin: 0;

    color: var(--mc-heading);

    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.12;
}


/* ==========================================================
   BUSINESS LAYOUT
   ========================================================== */

.mc-business-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    gap: 40px;

    align-items: start;
}

.mc-business-main {
    min-width: 0;
}


/* ==========================================================
   BUSINESS CONTENT
   ========================================================== */

.mc-business-section {
    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}

.mc-business-section h2 {
    margin-bottom: 20px;

    color: var(--mc-heading);

    font-size: 26px;
}

.mc-business-description {
    color: var(--mc-text);

    font-size: 16px;
    line-height: 1.8;
}

.mc-business-description p {
    margin-top: 0;
    margin-bottom: 18px;
}


/* ==========================================================
   BUSINESS CONTACT CARD
   ========================================================== */

.mc-business-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}

.mc-business-card h2 {
    margin-bottom: 25px;

    color: var(--mc-heading);

    font-size: 23px;
}


/* ==========================================================
   BUSINESS DETAILS
   ========================================================== */

.mc-business-detail {
    padding: 16px 0;

    border-bottom: 1px solid var(--mc-border);
}

.mc-business-detail:first-of-type {
    padding-top: 0;
}

.mc-business-detail:last-of-type {
    border-bottom: 0;
}

.mc-business-detail strong {
    display: block;

    margin-bottom: 5px;

    color: var(--mc-muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-business-detail span,
.mc-business-detail a {
    color: var(--mc-text);

    font-size: 15px;
    line-height: 1.5;
}

.mc-business-detail a:hover {
    color: var(--mc-black);
    text-decoration: underline;
}


/* ==========================================================
   BUSINESS SOCIALS
   ========================================================== */

.mc-business-socials {
    padding-top: 20px;
}

.mc-business-socials > strong {
    display: block;

    margin-bottom: 10px;

    color: var(--mc-muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-business-social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.mc-business-social-links a {
    display: inline-flex;
    align-items: center;

    padding: 9px 13px;

    border: 1px solid var(--mc-border);
    border-radius: 8px;

    background: #f9fafb;
    color: var(--mc-text);

    font-size: 13px;
    font-weight: 700;
}

.mc-business-social-links a:hover {
    border-color: var(--mc-border-dark);
    background: #f2f4f7;
    color: var(--mc-black);
}


/* ==========================================================
   ==========================================================
   EVENTS
   ==========================================================
   ========================================================== */

.mc-single-event {
    padding: 70px 0 90px;
    background: var(--mc-background);
}

.mc-event-back {
    margin-bottom: 30px;
}

.mc-event-back a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--mc-muted);

    font-size: 14px;
    font-weight: 700;
}

.mc-event-back a:hover {
    color: var(--mc-black);
    transform: translateX(-3px);
}


/* ==========================================================
   EVENT HERO
   ========================================================== */

.mc-single-event-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    gap: 50px;

    align-items: center;

    margin-bottom: 60px;
}

.mc-single-event-image {
    overflow: hidden;

    min-height: 420px;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);

    background: #ffffff;

    box-shadow: var(--mc-shadow);
}

.mc-single-event-img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;
}

.mc-single-event-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 420px;

    background:
        linear-gradient(
            135deg,
            #f2f4f7,
            #e4e7ec
        );

    color: #98a2b3;

    font-size: 72px;
}


/* ==========================================================
   EVENT INTRO
   ========================================================== */

.mc-single-event-intro {
    min-width: 0;
}

.mc-single-event-intro h1 {
    margin: 10px 0 28px;

    color: var(--mc-heading);

    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;

    line-height: 1.05;
    letter-spacing: -1.5px;
}

.mc-single-event-date,
.mc-single-event-time,
.mc-single-event-venue {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin: 14px 0;

    color: var(--mc-text);

    font-size: 16px;
    font-weight: 600;
}

.mc-single-event-date i,
.mc-single-event-time i,
.mc-single-event-venue i {
    flex: 0 0 22px;

    width: 22px;

    padding-top: 3px;

    color: var(--mc-muted);

    text-align: center;
}


/* ==========================================================
   EVENT CONTENT LAYOUT
   ========================================================== */

.mc-single-event-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    gap: 40px;

    align-items: start;
}

.mc-single-event-content {
    min-width: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}

.mc-single-event-content h2 {
    margin-bottom: 22px;

    color: var(--mc-heading);

    font-size: 28px;
}

.mc-event-description {
    color: var(--mc-text);

    font-size: 16px;
    line-height: 1.8;
}

.mc-event-description p {
    margin-top: 0;
    margin-bottom: 20px;
}

.mc-event-description p:last-child {
    margin-bottom: 0;
}

.mc-event-description img {
    max-width: 100%;
    height: auto;

    border-radius: var(--mc-radius);
}


/* ==========================================================
   EVENT DETAILS CARD
   ========================================================== */

.mc-event-info-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);
}

.mc-event-info-card h3 {
    margin-bottom: 22px;

    color: var(--mc-heading);

    font-size: 23px;
}

.mc-event-info-row {
    display: grid;

    grid-template-columns: 28px minmax(0, 1fr);

    gap: 12px;

    padding: 17px 0;

    border-bottom: 1px solid var(--mc-border);
}

.mc-event-info-row:first-of-type {
    padding-top: 0;
}

.mc-event-info-row:last-of-type {
    border-bottom: 0;
}

.mc-event-info-row > i {
    padding-top: 3px;

    color: var(--mc-muted);

    font-size: 16px;
}

.mc-event-info-row strong {
    display: block;

    margin-bottom: 4px;

    color: var(--mc-muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-event-info-row span,
.mc-event-info-row a {
    display: block;

    color: var(--mc-text);

    font-size: 15px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.mc-event-info-row a:hover {
    color: var(--mc-black);
    text-decoration: underline;
}


/* ==========================================================
   EVENT ACTIONS
   ========================================================== */

.mc-event-actions {
    display: grid;

    gap: 10px;

    margin-top: 22px;
}

.mc-event-actions .mc-button {
    width: 100%;
}


/* ==========================================================
   EVENT META
   ========================================================== */

.mc-event-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.mc-event-meta-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    border: 1px solid var(--mc-border);
    border-radius: 999px;

    background: #ffffff;

    color: var(--mc-text);

    font-size: 13px;
    font-weight: 700;
}

.mc-event-meta-item i {
    color: var(--mc-muted);
}


/* ==========================================================
   EVENT LOCATION
   ========================================================== */

.mc-event-location {
    margin-top: 25px;

    padding: 24px;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    background: #ffffff;
}

.mc-event-location h3 {
    margin-bottom: 10px;

    font-size: 20px;
}

.mc-event-location p {
    margin: 0;

    color: var(--mc-text);
}


/* ==========================================================
   EVENTS ARCHIVE
   ========================================================== */

.mc-events-archive {
    padding: 70px 0 90px;
}

.mc-events-archive-header {
    max-width: 760px;

    margin-bottom: 45px;
}

.mc-events-archive-header h1 {
    margin-bottom: 15px;
}

.mc-events-archive-header p {
    max-width: 680px;

    margin: 0;

    color: var(--mc-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   EVENT GRID
   ========================================================== */

.mc-events-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* ==========================================================
   EVENT CARD
   ========================================================== */

.mc-event-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);

    box-shadow: var(--mc-shadow-sm);

    transition: var(--mc-transition);
}

.mc-event-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--mc-shadow);
}


/* ==========================================================
   EVENT CARD IMAGE
   ========================================================== */

.mc-event-card-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #f2f4f7;
}

.mc-event-card-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.mc-event-card-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.mc-event-card:hover .mc-event-card-img {
    transform: scale(1.04);
}

.mc-event-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #f2f4f7,
            #e4e7ec
        );

    color: #98a2b3;

    font-size: 48px;
}


/* ==========================================================
   EVENT CARD CONTENT
   ========================================================== */

.mc-event-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 24px;
}

.mc-event-date {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color: var(--mc-muted);

    font-size: 13px;
    font-weight: 700;
}

.mc-event-card-title {
    margin-bottom: 12px;

    font-size: 24px;
    line-height: 1.2;
}

.mc-event-card-title a {
    color: var(--mc-heading);
}

.mc-event-card-title a:hover {
    color: var(--mc-muted);
}

.mc-event-card-description {
    margin-bottom: 16px;

    color: var(--mc-muted);

    font-size: 14px;
    line-height: 1.65;
}

.mc-event-card-description p {
    margin: 0;
}

.mc-event-venue,
.mc-event-time {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 8px;

    color: var(--mc-text);

    font-size: 14px;
}

.mc-event-venue i,
.mc-event-time i {
    width: 18px;

    color: var(--mc-muted);

    text-align: center;
}


/* ==========================================================
   EVENT CARD FOOTER
   ========================================================== */

.mc-event-card-footer {
    margin-top: auto;

    padding-top: 22px;
}

.mc-event-card-footer .mc-button {
    width: 100%;
}


/* ==========================================================
   EMPTY EVENTS
   ========================================================== */

.mc-events-empty {
    max-width: 700px;

    margin: 0 auto;

    padding: 70px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);

    box-shadow: var(--mc-shadow-sm);
}

.mc-events-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f2f4f7;
    color: var(--mc-muted);

    font-size: 28px;
}

.mc-events-empty h2 {
    margin-bottom: 12px;

    font-size: 28px;
}

.mc-events-empty p {
    max-width: 520px;

    margin: 0 auto 25px;

    color: var(--mc-muted);
}


/* ==========================================================
   EVENT PAGINATION
   ========================================================== */

.mc-events-pagination {
    margin-top: 45px;

    text-align: center;
}

.mc-events-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mc-events-pagination li {
    margin: 0;
    padding: 0;
}

.mc-events-pagination a,
.mc-events-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    min-height: 42px;

    padding: 0 13px;

    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-sm);

    background: #ffffff;
    color: var(--mc-text);

    font-size: 13px;
    font-weight: 700;
}

.mc-events-pagination a:hover {
    border-color: var(--mc-black);

    background: var(--mc-black);
    color: #ffffff;
}

.mc-events-pagination .current {
    border-color: var(--mc-black);

    background: var(--mc-black);
    color: #ffffff;
}


/* ==========================================================
   ==========================================================
   FOOTER
   ==========================================================
   ========================================================== */

.mc-footer {
    margin-top: 70px;

    background: #101828;

    color: #ffffff;
}

.mc-footer .mc-container {
    width: min(1200px, calc(100% - 40px));
}


/* ==========================================================
   FOOTER GRID
   ========================================================== */

.mc-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    padding: 65px 0 55px;
}


/* ==========================================================
   FOOTER ABOUT
   ========================================================== */

.mc-footer-about {
    max-width: 420px;
}

.mc-footer-logo {
    margin-bottom: 20px;
}

.mc-footer-logo img,
.mc-footer-logo .custom-logo {
    display: block;

    width: auto;
    max-width: 190px;
    max-height: 55px;

    filter: brightness(0) invert(1);
}

.mc-footer-about h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 24px;
}

.mc-footer-about p {
    margin: 0;

    color: #98a2b3;

    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================================
   FOOTER HEADINGS
   ========================================================== */

.mc-footer-links h4,
.mc-footer-contact h4 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.04em;
}


/* ==========================================================
   FOOTER LISTS
   ========================================================== */

.mc-footer-menu,
.mc-footer-contact ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.mc-footer-menu li,
.mc-footer-contact li {
    margin: 0;
    padding: 0;
}

.mc-footer-menu li + li,
.mc-footer-contact li + li {
    margin-top: 9px;
}

.mc-footer-menu a,
.mc-footer-contact a {
    display: inline-block;

    color: #98a2b3;

    font-size: 14px;
    line-height: 1.5;
}

.mc-footer-menu a:hover,
.mc-footer-contact a:hover {
    color: #ffffff;

    transform: translateX(2px);
}


/* ==========================================================
   FOOTER BOTTOM
   ========================================================== */

.mc-footer-bottom {
    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    text-align: center;
}

.mc-footer-bottom p {
    margin: 0;

    color: #667085;

    font-size: 12px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {

    .mc-header-inner {
        gap: 18px;
    }

    .mc-menu li a {
        padding: 0 8px;

        font-size: 13px;
    }

    .mc-business-grid,
    .business-grid,
    .mc-businesses-grid {
        gap: 22px;
    }

    .mc-footer-grid {
        gap: 45px;
    }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .mc-container {
        width: min(100% - 32px, 720px);
    }


    /* HEADER */

    .mc-header-inner {
        min-height: 70px;
    }

    .mc-nav {
        display: none;
    }

    .mc-header-right {
        margin-left: auto;
    }

    .mc-mobile-toggle {
        display: inline-flex;
    }

    .mc-header .mc-btn {
        display: none;
    }


    /* BUSINESS */

    .mc-business-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* EVENTS */

    .mc-events-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mc-single-event-hero {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .mc-single-event-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .mc-single-event-image,
    .mc-single-event-img {
        min-height: 360px;
    }

    .mc-single-event-placeholder {
        min-height: 360px;
    }


    /* FOOTER */

    .mc-footer-grid {
        grid-template-columns:
            1.3fr 1fr;

        gap: 40px;
    }

    .mc-footer-about {
        grid-column: 1 / -1;

        max-width: 600px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .mc-container {
        width: calc(100% - 28px);
    }


    /* HEADER */

    .mc-header .mc-container {
        width: calc(100% - 28px);
    }

    .mc-header-inner {
        min-height: 66px;
    }

    .mc-logo img,
    .mc-logo .custom-logo {
        max-width: 150px;
        max-height: 44px;
    }

    .mc-logo-text {
        font-size: 19px;
    }

    .mc-header-right {
        gap: 5px;
    }

    .mc-search-btn,
    .mc-mobile-toggle {
        width: 40px;
        height: 40px;
    }


    /* DIRECTORY */

    .mc-businesses,
    .mc-business-archive,
    .businesses-page {
        padding: 45px 0 65px;
    }

    .mc-businesses-header,
    .mc-business-archive-header {
        margin-bottom: 30px;
    }

    .mc-businesses-header h1,
    .mc-business-archive-header h1 {
        margin-bottom: 10px;

        font-size: 34px;
    }

    .mc-businesses-header p,
    .mc-business-archive-header p {
        font-size: 15px;
    }

    .mc-business-search,
    .mc-business-filters,
    .business-search,
    .business-filters {
        margin-bottom: 32px;

        padding: 18px;

        border-radius: 14px;
    }

    .mc-business-filters-grid,
    .mc-filter-grid,
    .business-filter-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    /* IMPORTANT:
       MOBILE DIRECTORY = ONE COLUMN
       This prevents the search/filter/card layout
       from being crushed on smaller screens.
    */

    .mc-business-grid,
    .business-grid,
    .mc-businesses-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .mc-business-results-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;

        margin-bottom: 18px;
    }

    .mc-business-results-header h2 {
        font-size: 21px;
    }


    /* BUSINESS CARDS */

    .mc-business-card-content,
    .business-card-content,
    .mc-directory-card-content {
        padding: 19px;
    }

    .mc-business-card-title,
    .business-card-title,
    .mc-directory-card-title {
        font-size: 20px;
    }


    /* BUSINESS SINGLE */

    .mc-business-single {
        padding: 45px 0 65px;
    }

    .mc-business-hero-image {
        margin-bottom: 25px;

        border-radius: 14px;
    }

    .mc-business-hero-image img {
        max-height: 350px;
    }

    .mc-business-title h1 {
        font-size: 32px;
    }

    .mc-business-section,
    .mc-business-card {
        padding: 22px;

        border-radius: 14px;
    }

    .mc-business-description {
        font-size: 15px;
    }


    /* EVENTS */

    .mc-single-event {
        padding: 45px 0 65px;
    }

    .mc-events-archive {
        padding: 45px 0 65px;
    }

    .mc-events-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .mc-single-event-image,
    .mc-single-event-img {
        min-height: 320px;
    }

    .mc-single-event-placeholder {
        min-height: 320px;
    }

    .mc-single-event-intro h1 {
        font-size: 42px;
    }

    .mc-single-event-content {
        padding: 24px;
    }

    .mc-event-info-card {
        padding: 24px;
    }

    .mc-event-card-content {
        padding: 22px;
    }


    /* FOOTER */

    .mc-footer {
        margin-top: 50px;
    }

    .mc-footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 0 35px;
    }

    .mc-footer-about {
        grid-column: auto;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .mc-container {
        width: calc(100% - 24px);
    }

    .mc-header .mc-container {
        width: calc(100% - 24px);
    }


    /* HEADER */

    .mc-header-inner {
        min-height: 62px;
    }

    .mc-logo img,
    .mc-logo .custom-logo {
        max-width: 135px;
        max-height: 40px;
    }

    .mc-logo-text {
        font-size: 18px;
    }

    .mc-search-btn,
    .mc-mobile-toggle {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }


    /* DIRECTORY */

    .mc-businesses,
    .mc-business-archive,
    .businesses-page {
        padding: 35px 0 55px;
    }

    .mc-businesses-header h1,
    .mc-business-archive-header h1 {
        font-size: 30px;
    }

    .mc-businesses-header p,
    .mc-business-archive-header p {
        font-size: 14px;
    }

    .mc-business-search,
    .mc-business-filters,
    .business-search,
    .business-filters {
        padding: 15px;
    }

    .mc-business-filter-actions,
    .mc-filter-actions,
    .business-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mc-business-filter-actions > *,
    .mc-filter-actions > *,
    .business-filter-actions > * {
        width: 100%;
    }


    /* BUSINESS */

    .mc-business-title h1 {
        font-size: 29px;
    }

    .mc-business-section,
    .mc-business-card {
        padding: 20px;
    }


    /* EVENTS */

    .mc-single-event {
        padding: 35px 0 55px;
    }

    .mc-events-archive {
        padding: 35px 0 55px;
    }

    .mc-single-event-image,
    .mc-single-event-img {
        min-height: 240px;
    }

    .mc-single-event-placeholder {
        min-height: 240px;

        font-size: 55px;
    }

    .mc-single-event-intro h1 {
        font-size: 36px;

        letter-spacing: -0.8px;
    }

    .mc-single-event-content {
        padding: 20px;
    }

    .mc-event-info-card {
        padding: 20px;
    }

    .mc-event-card-content {
        padding: 20px;
    }

    .mc-event-card-title {
        font-size: 22px;
    }

    .mc-events-empty {
        padding: 50px 20px;
    }


    /* FOOTER */

    .mc-footer-grid {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .mc-footer-about p {
        font-size: 13px;
    }

    .mc-footer-bottom {
        padding: 18px 0;
    }

    .mc-footer-bottom p {
        font-size: 11px;
    }
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(16, 24, 40, 0.20);
    outline-offset: 2px;
}


/* ==========================================================
   PREVENT HORIZONTAL OVERFLOW
   ========================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/*====================================================
MADIBENG CONNECT
MOBILE NAVIGATION VISIBILITY
====================================================*/

/* Hidden by default */
.mc-mobile-navigation {
    display: none;
}

/* Desktop - NEVER show mobile navigation */
@media (min-width: 993px) {

    .mc-mobile-navigation {
        display: none !important;
    }

    .mc-mobile-toggle {
        display: none !important;
    }

}

/* Mobile */
@media (max-width: 992px) {

    .mc-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mc-mobile-navigation {
        display: none;
    }

    body.mc-menu-open .mc-mobile-navigation {
        display: block;
    }

}

/* ==========================================================
   ==========================================================
   SUBMIT BUSINESS / LISTING FORM
   ==========================================================
   ========================================================== */

.mc-submit-listing {
    padding: 70px 0 90px;
    background: var(--mc-background);
}

.mc-submit-header {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.mc-submit-header h1 {
    margin: 0 0 14px;
    color: var(--mc-heading);
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.mc-submit-header p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--mc-muted);
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   FORM WRAPPER
   ========================================================== */

.mc-submit-form {
    width: 100%;
}

.mc-submit-section {
    margin-bottom: 28px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);
    box-shadow: var(--mc-shadow-sm);
}

.mc-submit-section:last-child {
    margin-bottom: 0;
}

.mc-submit-section-header {
    margin-bottom: 25px;
}

.mc-submit-section-header h2 {
    margin: 0 0 6px;
    color: var(--mc-heading);
    font-size: 24px;
    line-height: 1.25;
}

.mc-submit-section-header p {
    margin: 0;
    color: var(--mc-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   LISTING PACKAGE AREA
   ========================================================== */

.mc-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.mc-package-option {
    position: relative;
    min-width: 0;
}

.mc-package-option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mc-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 230px;
    padding: 26px;
    background: #ffffff;
    border: 2px solid var(--mc-border);
    border-radius: var(--mc-radius);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.mc-package-card:hover {
    transform: translateY(-3px);
    border-color: var(--mc-border-dark);
    box-shadow: var(--mc-shadow);
}

.mc-package-option input[type="radio"]:focus-visible + .mc-package-card {
    outline: 3px solid rgba(16, 24, 40, 0.16);
    outline-offset: 3px;
}


/* Selected package */

.mc-package-option input[type="radio"]:checked + .mc-package-card {
    border-color: var(--mc-black);
    background: #f9fafb;
    box-shadow: 0 0 0 1px var(--mc-black), var(--mc-shadow);
}


/* ==========================================================
   PACKAGE BADGE
   ========================================================== */

.mc-package-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    margin-bottom: 15px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--mc-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-package-option input[type="radio"]:checked + .mc-package-card
.mc-package-badge {
    background: var(--mc-black);
    color: #ffffff;
}


/* ==========================================================
   PACKAGE TITLE
   ========================================================== */

.mc-package-card h3 {
    margin: 0 0 7px;
    color: var(--mc-heading);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.mc-package-card > p {
    margin: 0 0 18px;
    color: var(--mc-muted);
    font-size: 14px;
    line-height: 1.55;
}


/* ==========================================================
   PACKAGE FEATURES
   ========================================================== */

.mc-package-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.mc-package-features li {
    position: relative;
    padding-left: 22px;
    color: var(--mc-text);
    font-size: 13px;
    line-height: 1.5;
}

.mc-package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mc-black);
    font-weight: 800;
}


/* ==========================================================
   PACKAGE PRICE
   ========================================================== */

.mc-package-price {
    margin: 0 0 18px;
    color: var(--mc-heading);
    font-size: 25px;
    font-weight: 800;
}

.mc-package-price small {
    color: var(--mc-muted);
    font-size: 12px;
    font-weight: 600;
}


/* ==========================================================
   PREMIUM / FEATURED
   ========================================================== */

.mc-package-card-premium {
    border-color: #d0d5dd;
}

.mc-package-card-featured {
    border-color: #98a2b3;
}

.mc-package-featured-label {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--mc-black);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ==========================================================
   FORM GRID
   ========================================================== */

.mc-submit-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mc-submit-field {
    min-width: 0;
}

.mc-submit-field-full {
    grid-column: 1 / -1;
}


/* ==========================================================
   LABELS
   ========================================================== */

.mc-submit-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--mc-heading);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.mc-submit-field label .required,
.mc-submit-required {
    color: #667085;
}


/* ==========================================================
   INPUTS
   ========================================================== */

.mc-submit-field input[type="text"],
.mc-submit-field input[type="email"],
.mc-submit-field input[type="tel"],
.mc-submit-field input[type="url"],
.mc-submit-field input[type="number"],
.mc-submit-field input[type="search"],
.mc-submit-field select,
.mc-submit-field textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--mc-border-dark);
    border-radius: var(--mc-radius-sm);
    background: #ffffff;
    color: var(--mc-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mc-submit-field textarea {
    min-height: 140px;
    resize: vertical;
}

.mc-submit-field input::placeholder,
.mc-submit-field textarea::placeholder {
    color: #98a2b3;
}

.mc-submit-field input:focus,
.mc-submit-field select:focus,
.mc-submit-field textarea:focus {
    border-color: var(--mc-black);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.07);
}


/* ==========================================================
   HELP TEXT
   ========================================================== */

.mc-submit-help {
    display: block;
    margin-top: 6px;
    color: var(--mc-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* ==========================================================
   IMAGE UPLOAD
   ========================================================== */

.mc-submit-upload {
    padding: 22px;
    border: 1px dashed var(--mc-border-dark);
    border-radius: var(--mc-radius-sm);
    background: #f9fafb;
}

.mc-submit-upload input[type="file"] {
    display: block;
    width: 100%;
    color: var(--mc-text);
    font-family: inherit;
    font-size: 13px;
}

.mc-submit-upload input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 1px solid var(--mc-border-dark);
    border-radius: 8px;
    background: #ffffff;
    color: var(--mc-black);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


/* ==========================================================
   SOCIAL MEDIA
   ========================================================== */

.mc-social-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* ==========================================================
   SUBMIT ACTION
   ========================================================== */

.mc-submit-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.mc-submit-actions .mc-button,
.mc-submit-actions button[type="submit"] {
    min-height: 50px;
    padding: 0 24px;
}


/* ==========================================================
   FORM NOTICE
   ========================================================== */

.mc-submit-notice {
    margin-bottom: 25px;
    padding: 15px 18px;
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-sm);
    background: #f9fafb;
    color: var(--mc-text);
    font-size: 13px;
    line-height: 1.6;
}

.mc-submit-notice strong {
    color: var(--mc-heading);
}


/* ==========================================================
   SUCCESS MESSAGE
   ========================================================== */

.mc-submit-success {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px 35px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);
    box-shadow: var(--mc-shadow);
}

.mc-submit-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f2f4f7;
    color: var(--mc-black);
    font-size: 26px;
    font-weight: 800;
}

.mc-submit-success h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.mc-submit-success p {
    max-width: 520px;
    margin: 0 auto 25px;
    color: var(--mc-muted);
}


/* ==========================================================
   VALIDATION / ERRORS
   ========================================================== */

.mc-submit-error {
    margin-top: 7px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.mc-submit-field.has-error input,
.mc-submit-field.has-error select,
.mc-submit-field.has-error textarea {
    border-color: #f04438;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .mc-package-grid {
        grid-template-columns: 1fr;
    }

    .mc-social-fields {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .mc-submit-listing {
        padding: 45px 0 65px;
    }

    .mc-submit-header {
        margin-bottom: 30px;
    }

    .mc-submit-header h1 {
        font-size: 34px;
    }

    .mc-submit-header p {
        font-size: 15px;
    }

    .mc-submit-section {
        padding: 22px;
        margin-bottom: 20px;
        border-radius: 14px;
    }

    .mc-submit-section-header {
        margin-bottom: 20px;
    }

    .mc-submit-section-header h2 {
        font-size: 21px;
    }

    .mc-submit-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mc-submit-field-full {
        grid-column: auto;
    }

    .mc-package-card {
        min-height: 0;
        padding: 22px;
    }

    .mc-submit-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mc-submit-actions .mc-button,
    .mc-submit-actions button[type="submit"] {
        width: 100%;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .mc-submit-listing {
        padding: 35px 0 55px;
    }

    .mc-submit-header h1 {
        font-size: 30px;
    }

    .mc-submit-header p {
        font-size: 14px;
    }

    .mc-submit-section {
        padding: 20px;
    }

    .mc-package-card {
        padding: 20px;
    }

    .mc-package-card h3 {
        font-size: 19px;
    }

    .mc-package-card > p {
        font-size: 13px;
    }

    .mc-submit-success {
        padding: 35px 20px;
    }

}