/*
Theme Name: Kancelaria Michał Kubacki
Theme URI: https://adwokat-kubacki.pl/
Author: Kancelaria Adwokacka Michał Kubacki
Author URI: https://adwokat-kubacki.pl/
Description: Samodzielny motyw kancelarii Michała Kubackiego. Bez Bravady i bez zewnętrznego motywu nadrzędnego.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mkc-kancelaria
*/

/* =========================================================
   KANCELARIA ADWOKACKA MICHAŁ KUBACKI
   PEŁNY CSS – WŁASNY NAGŁÓWEK I WŁASNE MENU MOBILNE
   ========================================================= */

:root {
    --mkc-navy: #111d30;
    --mkc-navy-deep: #09111f;
    --mkc-gold: #b79755;
    --mkc-gold-light: #ddc99d;
    --mkc-cream: #f4f0e7;
    --mkc-light: #faf8f4;
    --mkc-white: #ffffff;
    --mkc-text: #262c34;
    --mkc-muted: #60676f;
    --mkc-header-height: 88px;
    --mkc-admin-offset: 0px;
}


/* =========================================================
   PODSTAWY SAMODZIELNEGO MOTYWU WORDPRESS
   ========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    background: var(--mkc-navy);
}

img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body.admin-bar:has(.mkc-site) {
    --mkc-admin-offset: 32px;
}

@media (max-width: 782px) {
    body.admin-bar:has(.mkc-site) {
        --mkc-admin-offset: 46px;
    }
}

body:has(.mkc-mobile-nav[open]) {
    overflow: hidden !important;
}


/* =========================================================
   PODSTAWY
   ========================================================= */

.mkc-site,
.mkc-site * {
    box-sizing: border-box;
}

.mkc-site {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: var(--mkc-header-height) 0 0 !important;
    overflow-x: clip;
    background: var(--mkc-navy);
    color: var(--mkc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.mkc-main {
    width: 100%;
    margin: -1px 0 0 !important;
    padding: 0 !important;
    background: var(--mkc-navy);
}

.mkc-site h1,
.mkc-site h2,
.mkc-site h3,
.mkc-site p {
    margin-top: 0;
}

.mkc-site h1,
.mkc-site h2,
.mkc-site h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.mkc-site a,
.mkc-site a:link,
.mkc-site a:visited,
.mkc-site a:hover,
.mkc-site a:focus,
.mkc-site a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration: none !important;
}

.mkc-shell {
    width: min(1160px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

#start,
#specjalizacje,
#o-mnie,
#kontakt {
    scroll-margin-top: calc(var(--mkc-header-height) + 22px);
}


/* =========================================================
   WŁASNY STAŁY NAGŁÓWEK
   ========================================================= */

.mkc-header {
    position: fixed;
    z-index: 100000;
    top: var(--mkc-admin-offset);
    right: 0;
    left: 0;
    height: var(--mkc-header-height);
    margin: 0;
    padding: 0;
    background: var(--mkc-cream);
    border: 0;
    box-shadow: none;
}

.mkc-header-inner {
    width: min(1160px, calc(100% - 48px));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto;
    padding: 0;
}

.mkc-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.mkc-brand img {
    display: block;
    width: auto;
    max-width: 255px;
    max-height: 60px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.mkc-desktop-nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 39px;
    margin: 0 0 0 auto;
    padding: 0;
}

.mkc-desktop-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    color: var(--mkc-navy);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease;
}

.mkc-desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--mkc-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.mkc-desktop-nav a:hover,
.mkc-desktop-nav a:focus {
    color: #967632;
}

.mkc-desktop-nav a:hover::after,
.mkc-desktop-nav a:focus::after {
    transform: scaleX(1);
}

body:has(#specjalizacje:target) .mkc-desktop-nav a[href="#specjalizacje"],
body:has(#o-mnie:target) .mkc-desktop-nav a[href="#o-mnie"],
body:has(#kontakt:target) .mkc-desktop-nav a[href="#kontakt"] {
    color: #967632;
}

body:has(#specjalizacje:target) .mkc-desktop-nav a[href="#specjalizacje"]::after,
body:has(#o-mnie:target) .mkc-desktop-nav a[href="#o-mnie"]::after,
body:has(#kontakt:target) .mkc-desktop-nav a[href="#kontakt"]::after {
    transform: scaleX(1);
}


/* =========================================================
   WŁASNE MENU MOBILNE – BEZ „SZUKAJ”
   ========================================================= */

.mkc-mobile-nav {
    display: none;
}

@media (max-width: 800px) {

    :root {
        --mkc-header-height: 74px;
    }

    .mkc-header-inner {
        width: calc(100% - 30px);
        gap: 14px;
    }

    .mkc-brand img {
        max-width: 218px;
        max-height: 50px;
    }

    .mkc-desktop-nav {
        display: none;
    }

    .mkc-mobile-nav {
        position: relative;
        flex: 0 0 46px;
        display: block;
        width: 46px;
        height: 100%;
        margin: 0 0 0 auto;
        padding: 0;
    }

    .mkc-mobile-nav > summary {
        position: relative;
        z-index: 100004;
        display: block;
        width: 46px;
        height: 100%;
        margin: 0;
        padding: 0;
        cursor: pointer;
        list-style: none;
        outline: none;
    }

    .mkc-mobile-nav > summary::-webkit-details-marker {
        display: none;
    }

    .mkc-mobile-nav > summary::marker {
        display: none;
        content: "";
    }

    .mkc-mobile-nav > summary span {
        position: absolute;
        left: 7px;
        display: block;
        height: 2px;
        background: var(--mkc-navy);
        border-radius: 2px;
        transform-origin: center;
        transition: top 0.2s ease, width 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    }

    .mkc-mobile-nav > summary span:nth-child(1) {
        top: 25px;
        width: 32px;
    }

    .mkc-mobile-nav > summary span:nth-child(2) {
        top: 35px;
        width: 25px;
    }

    .mkc-mobile-nav > summary span:nth-child(3) {
        top: 45px;
        width: 18px;
    }

    .mkc-mobile-nav[open] > summary span:nth-child(1) {
        top: 36px;
        width: 32px;
        transform: rotate(45deg);
    }

    .mkc-mobile-nav[open] > summary span:nth-child(2) {
        width: 0;
        opacity: 0;
    }

    .mkc-mobile-nav[open] > summary span:nth-child(3) {
        top: 36px;
        width: 32px;
        transform: rotate(-45deg);
    }

    .mkc-mobile-nav[open]::before {
        content: "";
        position: fixed;
        z-index: 100001;
        top: calc(var(--mkc-admin-offset) + var(--mkc-header-height));
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(4, 9, 17, 0.72);
    }

    .mkc-mobile-nav-panel {
        display: none;
    }

    .mkc-mobile-nav[open] .mkc-mobile-nav-panel {
        position: fixed;
        z-index: 100002;
        top: calc(var(--mkc-admin-offset) + var(--mkc-header-height));
        right: 0;
        bottom: 0;
        display: block;
        width: min(88vw, 390px);
        margin: 0;
        padding: 36px 28px calc(30px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        background-color: #0b1629;
        background-image:
            radial-gradient(circle at 88% 7%, rgba(183, 151, 85, 0.16), transparent 34%),
            linear-gradient(145deg, #111d30 0%, #09111f 100%);
        box-shadow: -20px 0 48px rgba(0, 0, 0, 0.30);
        animation: mkc-menu-in 0.24s ease both;
    }

    @keyframes mkc-menu-in {
        from {
            opacity: 0;
            transform: translateX(42px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mkc-mobile-nav-label {
        margin: 0 0 17px;
        color: var(--mkc-gold);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        letter-spacing: 0.20em;
    }

    .mkc-mobile-nav-panel nav {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .mkc-mobile-nav-panel nav a {
        position: relative;
        display: block;
        width: 100%;
        margin: 0;
        padding: 21px 38px 21px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        color: var(--mkc-white);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 27px;
        font-weight: 400;
        line-height: 1.15;
        letter-spacing: -0.02em;
        text-align: left;
        text-decoration: none !important;
        text-decoration-line: none !important;
        -webkit-text-decoration: none !important;
    }

    .mkc-mobile-nav-panel nav a:link,
    .mkc-mobile-nav-panel nav a:visited,
    .mkc-mobile-nav-panel nav a:hover,
    .mkc-mobile-nav-panel nav a:focus,
    .mkc-mobile-nav-panel nav a:active {
        text-decoration: none !important;
        text-decoration-line: none !important;
        -webkit-text-decoration: none !important;
    }

    .mkc-mobile-nav-panel nav a:last-child {
        border-bottom: 0;
    }

    .mkc-mobile-nav-panel nav a::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 4px;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--mkc-gold);
        border-right: 2px solid var(--mkc-gold);
        transform: translateY(-50%) rotate(45deg);
    }

    .mkc-mobile-nav-panel nav a:hover,
    .mkc-mobile-nav-panel nav a:focus {
        color: var(--mkc-gold-light);
    }
}




/* Twarde usunięcie przerwy pomiędzy nagłówkiem i granatową sekcją */
.mkc-header + .mkc-main {
    margin-top: -1px !important;
}

.mkc-main > .mkc-hero:first-child,
.mkc-hero {
    margin-top: 0 !important;
    border-top: 0 !important;
}

/* =========================================================
   HERO – BEZ PRZERWY POD NAGŁÓWKIEM
   ========================================================= */

.mkc-hero {
    position: relative;
    min-height: max(690px, calc(100vh - var(--mkc-header-height)));
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(183, 151, 85, 0.11), transparent 32%),
        linear-gradient(135deg, var(--mkc-navy) 0%, var(--mkc-navy-deep) 100%);
    color: var(--mkc-white);
}

.mkc-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: 10%;
    width: 240px;
    height: 240px;
    border-right: 1px solid rgba(183, 151, 85, 0.28);
    border-bottom: 1px solid rgba(183, 151, 85, 0.28);
    pointer-events: none;
}

.mkc-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 96px;
    padding-bottom: 96px;
}

.mkc-eyebrow,
.mkc-label {
    margin-bottom: 20px;
    color: var(--mkc-gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.19em;
}

.mkc-hero h1 {
    max-width: 900px;
    margin-bottom: 30px;
    color: var(--mkc-white);
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.99;
}

.mkc-hero h1 span {
    color: var(--mkc-gold-light);
    font-style: italic;
}

.mkc-hero-text {
    max-width: 680px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.77);
    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   PRZYCISKI
   ========================================================= */

.mkc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.mkc-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.045em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mkc-button:hover {
    transform: translateY(-2px);
}

.mkc-button-primary {
    background: var(--mkc-gold);
    color: var(--mkc-navy) !important;
}

.mkc-button-primary:hover {
    background: #c7aa70;
}

.mkc-button-light {
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--mkc-white) !important;
}

.mkc-button-light:hover {
    border-color: var(--mkc-white);
    background: rgba(255, 255, 255, 0.07);
}

.mkc-button-outline {
    border-color: rgba(17, 29, 48, 0.42);
    color: var(--mkc-navy) !important;
}

.mkc-button-outline:hover {
    background: var(--mkc-navy);
    color: var(--mkc-white) !important;
}


/* =========================================================
   WPROWADZENIE
   ========================================================= */

.mkc-introduction {
    padding: 110px 0;
    background: var(--mkc-cream);
}

.mkc-introduction-grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 45px;
}

.mkc-introduction h2 {
    max-width: 900px;
    margin-bottom: 30px;
    color: var(--mkc-navy);
    font-size: clamp(38px, 5vw, 59px);
    line-height: 1.1;
}

.mkc-large-text {
    max-width: 790px;
    margin-bottom: 0;
    color: var(--mkc-muted);
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   NAGŁÓWKI SEKCJI
   ========================================================= */

.mkc-section-heading {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: end;
    gap: 45px;
    margin-bottom: 65px;
}

.mkc-section-heading .mkc-label {
    margin-bottom: 7px;
}

.mkc-section-heading h2 {
    margin-bottom: 0;
    color: var(--mkc-navy);
    font-size: clamp(40px, 5.5vw, 66px);
    line-height: 1.05;
}


/* =========================================================
   OBSZARY PRAKTYKI
   ========================================================= */

.mkc-practice {
    padding: 115px 0 125px;
    background: var(--mkc-light);
}

.mkc-accordion {
    border-top: 1px solid rgba(17, 29, 48, 0.21);
}

.mkc-practice-item {
    margin: 0;
    border-bottom: 1px solid rgba(17, 29, 48, 0.21);
}

.mkc-practice-item summary {
    position: relative;
    display: block;
    padding: 29px 80px 29px 0;
    color: var(--mkc-navy);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mkc-practice-item summary::-webkit-details-marker {
    display: none;
}

.mkc-practice-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--mkc-gold);
    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
}

.mkc-practice-item[open] summary::after {
    content: "\2212";
}

.mkc-practice-item summary:hover {
    padding-left: 12px;
    color: #94732e;
}

.mkc-practice-item summary span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 3.3vw, 45px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.mkc-practice-content {
    max-width: 810px;
    margin-left: 33%;
    padding: 1px 0 40px;
}

.mkc-practice-content > p {
    margin-bottom: 22px;
    color: #515961;
    font-size: 17px;
    line-height: 1.8;
}

.mkc-practice-content > p:last-child {
    margin-bottom: 0;
}

.mkc-practice-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mkc-practice-content li {
    position: relative;
    padding: 11px 0 11px 19px;
    border-top: 1px solid rgba(17, 29, 48, 0.12);
    color: #616870;
    font-size: 14px;
    line-height: 1.5;
}

.mkc-practice-content li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--mkc-gold);
}


/* =========================================================
   O MNIE
   ========================================================= */

.mkc-about {
    padding: 115px 0;
    background: var(--mkc-cream);
}

.mkc-about-heading {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: end;
    gap: 45px;
    margin-bottom: 58px;
}

.mkc-about-heading .mkc-label {
    margin-bottom: 9px;
}

.mkc-person-heading {
    margin: 0;
    color: var(--mkc-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.mkc-person-role,
.mkc-person-name {
    display: block !important;
    width: 100%;
    color: var(--mkc-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.mkc-person-role {
    margin-bottom: 4px;
    font-size: clamp(29px, 3.1vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.mkc-person-name {
    font-size: clamp(42px, 5.4vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.mkc-about-body {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 95px;
}

.mkc-about-logo {
    padding-right: 35px;
}

.mkc-about-logo img {
    display: block;
    width: 100%;
    max-width: 470px;
    height: auto;
    margin-bottom: 30px;
}

.mkc-about-logo p {
    margin-bottom: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(17, 29, 48, 0.18);
    color: var(--mkc-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.mkc-about-content > p {
    color: #565e66;
    font-size: 17px;
    line-height: 1.8;
}

.mkc-about-content > p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SPOSÓB DZIAŁANIA
   ========================================================= */

.mkc-process {
    padding: 115px 0;
    background: var(--mkc-navy);
    color: var(--mkc-white);
}

.mkc-section-heading-dark h2 {
    color: var(--mkc-white);
}

.mkc-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.mkc-process-item {
    padding: 39px 42px 10px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.mkc-process-item + .mkc-process-item {
    padding-left: 42px;
}

.mkc-process-item:last-child {
    border-right: 0;
}

.mkc-process-item h3 {
    margin-bottom: 18px;
    color: var(--mkc-white);
    font-size: 28px;
}

.mkc-process-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.75;
}


/* =========================================================
   KONTAKT
   ========================================================= */

.mkc-contact {
    padding: 115px 0;
    background: #ece5d8;
}

.mkc-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: stretch;
}

.mkc-contact-content h2 {
    margin: 17px 0 26px;
    color: var(--mkc-navy);
    font-size: clamp(40px, 5vw, 59px);
    line-height: 1.08;
}

.mkc-contact-content > p:not(.mkc-label) {
    color: #586069;
    font-size: 16px;
    line-height: 1.8;
}

.mkc-contact-data {
    display: grid;
    gap: 23px;
    margin: 35px 0;
    padding: 27px 0;
    border-top: 1px solid rgba(17, 29, 48, 0.18);
    border-bottom: 1px solid rgba(17, 29, 48, 0.18);
}

.mkc-contact-data span {
    display: block;
    margin-bottom: 7px;
    color: var(--mkc-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.mkc-contact-data strong {
    color: var(--mkc-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.mkc-contact-data a {
    color: var(--mkc-navy);
}

.mkc-contact-data a:hover {
    color: #94732e;
}

.mkc-map {
    min-height: 590px;
    overflow: hidden;
}

.mkc-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 590px;
}


/* =========================================================
   TABLETY
   ========================================================= */

@media (max-width: 900px) {

    .mkc-introduction-grid,
    .mkc-section-heading,
    .mkc-about-heading,
    .mkc-about-body,
    .mkc-contact-grid {
        grid-template-columns: 1fr;
    }

    .mkc-practice-content {
        max-width: 760px;
        margin-left: 0;
    }

    .mkc-about-body,
    .mkc-contact-grid {
        gap: 50px;
    }

    .mkc-about-heading {
        gap: 18px;
        margin-bottom: 42px;
    }

    .mkc-process-grid {
        grid-template-columns: 1fr;
    }

    .mkc-process-item,
    .mkc-process-item + .mkc-process-item {
        padding: 32px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    }

    .mkc-process-item:last-child {
        border-bottom: 0;
    }

    .mkc-map,
    .mkc-map iframe {
        min-height: 470px;
    }
}


/* =========================================================
   TELEFONY
   ========================================================= */

@media (max-width: 600px) {

    .mkc-shell {
        width: calc(100% - 30px);
    }

    .mkc-brand img {
        max-width: 205px;
        max-height: 48px;
    }

    .mkc-hero {
        min-height: calc(100svh - var(--mkc-header-height));
    }

    .mkc-hero::after {
        display: none;
    }

    .mkc-hero-content {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .mkc-eyebrow {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 11px;
        line-height: 1.55;
        letter-spacing: 0.17em;
    }

    .mkc-hero h1 {
        max-width: 100%;
        margin-bottom: 29px;
        font-size: clamp(43px, 13.2vw, 58px);
        line-height: 1.02;
    }

    .mkc-hero-text {
        max-width: 100%;
        margin-bottom: 32px;
        font-size: 16px;
        line-height: 1.75;
    }

    .mkc-buttons {
        flex-direction: column;
    }

    .mkc-button {
        width: 100%;
        min-height: 58px;
    }

    .mkc-introduction,
    .mkc-practice,
    .mkc-about,
    .mkc-process,
    .mkc-contact {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .mkc-section-heading {
        margin-bottom: 40px;
    }

    .mkc-practice-item summary {
        padding: 23px 55px 23px 0;
    }

    .mkc-practice-item summary:hover {
        padding-left: 0;
    }

    .mkc-practice-item summary span {
        font-size: 28px;
    }

    .mkc-practice-content {
        padding-bottom: 32px;
    }

    .mkc-practice-content ul {
        grid-template-columns: 1fr;
    }

    .mkc-about-logo {
        padding-right: 0;
    }

    .mkc-person-role {
        margin-bottom: 3px;
        font-size: clamp(27px, 8vw, 34px);
    }

    .mkc-person-name {
        font-size: clamp(38px, 11.2vw, 50px);
        white-space: nowrap;
    }

    .mkc-map,
    .mkc-map iframe {
        min-height: 390px;
    }

    .mkc-contact-data strong {
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .mkc-mobile-nav[open] .mkc-mobile-nav-panel {
        width: min(90vw, 380px);
        padding: 30px 24px calc(26px + env(safe-area-inset-bottom));
    }

    .mkc-mobile-nav-panel nav a {
        padding-top: 19px;
        padding-bottom: 19px;
        font-size: 25px;
    }
}

@media (max-width: 380px) {

    .mkc-brand img {
        max-width: 180px;
    }

    .mkc-person-name {
        font-size: 36px;
    }
}/* Wyrównanie nagłówka „Adwokat Michał Kubacki”
   z tekstem rozpoczynającym się od „Jestem adwokatem” */

@media (min-width: 901px) {

    .mkc-about-heading,
    .mkc-about-body {
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 1.15fr) !important;

        column-gap: 95px !important;
    }
}
