
:root {
    --blue: #1769e0;
    --blue-dark: #1054b8;
    --navy: #101b2d;
    --text: #172033;
    --muted: #68758a;
    --border: #e1e8f1;
    --light: #f5f8fc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
}

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

img {
    display: block;
    max-width: 100%;
}

/* ===== MENU ===== */

.site-header {
    position: relative;
    z-index: 20;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.header-inner {
    width: min(1440px, 100%);
    min-height: clamp(64px, 7vw, 82px);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    color: #fff;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand span {
    color: #65a3ff;
}

.brand small {
    margin-left: 7px;
    color: #aabbd2;
    font-size: .55em;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 30px);
}

.main-nav a,
.mobile-nav a {
    color: #d8e2f0;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 600;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: #70aaff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
}

/* ===== NAGŁÓWEK ZE ZDJĘCIEM ===== */

.hero {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(23,105,224,.24), transparent 42%),
        linear-gradient(125deg, #101b2d, #172b48);
}

.hero-inner {
    width: min(1440px, 100%);
    min-height: clamp(380px, 42vw, 510px);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 82px) clamp(18px, 5vw, 72px);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(28px, 5vw, 65px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin-bottom: clamp(14px, 2vw, 22px);
    color: #7eb2ff;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 700px;
    margin: 0 0 20px;
    font-size: clamp(34px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: #c4d1e2;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(22px, 3vw, 34px);
}

.hero-tags span {
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;
    color: #dceaff;
    background: rgba(255,255,255,.06);
    font-size: clamp(11px, 1vw, 13px);
}

.hero-image {
    position: relative;
    overflow: hidden;
    min-height: clamp(230px, 27vw, 350px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    box-shadow: 0 25px 65px rgba(0,0,0,.28);
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    font-size: clamp(10px, .9vw, 12px);
    font-weight: 800;
    letter-spacing: 1.5px;
}

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

.section-heading {
    margin-bottom: clamp(24px, 3.5vw, 42px);
}

.section-label {
    display: block;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: clamp(10px, .9vw, 12px);
    font-weight: 800;
    letter-spacing: 1.8px;
}

.section-heading h2,
.tools-cta h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(25px, 3.2vw, 38px);
    line-height: 1.2;
    letter-spacing: -.7px;
}

.section-heading p,
.tools-cta p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px, 1.2vw, 16px);
}

/* ===== KATEGORIE ===== */

.articles-section {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 78px) clamp(18px, 5vw, 72px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}


.category-card {
    position: relative;
    min-height: clamp(180px, 18vw, 220px);
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid #2b405d;
    border-radius: 15px;
    background: linear-gradient(145deg, #1c2d45, #142238);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #1769e0;
    box-shadow: 0 12px 30px rgba(10, 35, 70, .2);
}

.category-number {
    display: inline-block;
    margin-bottom: 18px;
    color: #79adff;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 800;
    letter-spacing: 1px;
}

.category-card h3 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: clamp(17px, 1.6vw, 21px);
}

.category-card p {
    max-width: 340px;
    margin: 0;
    color: #c0cede;
    font-size: clamp(13px, 1.1vw, 15px);
}

.card-arrow {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: #79adff;
    font-size: 24px;
    font-weight: 700;
}

/* ===== KARTY ARTYKUŁÓW ===== */

.articles-list {
    width: 100%;
    padding: clamp(48px, 6vw, 78px) clamp(18px, 5vw, 72px);
    background: var(--light);
}

.articles-list > .section-heading,
.article-grid {
    width: min(1296px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.article-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(24,55,95,.1);
}

.article-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dce4ee;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.045);
}

.article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(18px, 2.2vw, 26px);
}

.article-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 17px;
}

.article-category {
    color: var(--blue);
    font-size: clamp(11px, .95vw, 13px);
    font-weight: 700;
}

.article-status {
    padding: 4px 9px;
    border-radius: 20px;
    color: #7a6331;
    background: #fff5d9;
    font-size: clamp(10px, .85vw, 11px);
    font-weight: 700;
}

.article-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.35;
}

.article-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: clamp(13px, 1.1vw, 15px);
}

.article-link {
    margin-top: auto;
    color: #8290a4;
    font-size: clamp(12px, 1vw, 13px);
    font-weight: 700;
}

/* ===== SEKCJA NARZĘDZI ===== */

.tools-cta {
    width: min(1296px, calc(100% - clamp(36px, 10vw, 144px)));
    margin: clamp(48px, 6vw, 76px) auto;
    padding: clamp(26px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 18px;
    background: #edf4ff;
}

.tools-cta h2 {
    font-size: clamp(23px, 2.8vw, 33px);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    text-align: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

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

.button-primary {
    color: #fff;
    background: var(--blue);
}

.button-primary:hover {
    background: var(--blue-dark);
}

.button-outline {
    color: var(--blue);
    background: #fff;
}

.button-outline:hover {
    color: #fff;
    background: var(--blue);
}

/* ===== STOPKA ===== */

/* STOPKA */
.speed-footer {
    width: 100%;
    margin-top: 0;
    padding: 0;
    border-top: 3px solid var(--blue);
    background: var(--navy);
    color: #cbd5e1;
}
.speed-footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.speed-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: clamp(22px, 4vw, 50px);
    padding: clamp(30px, 4vw, 48px) 0 40px;
}
.speed-footer-brand { max-width: 340px; }
.speed-footer-logo {
    display: inline-block;
    color: var(--white);
    font-size: clamp(23px, 1.6rem + .35vw, 30px);
    font-weight: 800;
    letter-spacing: -.05em;
    text-decoration: none;
}
.speed-footer-logo span { color: #5b9aff; }
.speed-footer-brand p {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: clamp(12px, .8rem, 14px);
    line-height: 1.7;
}
.speed-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.speed-footer-nav h3 {
    margin: 4px 0 8px;
    color: var(--white);
    font-size: clamp(13px, .82rem, 15px);
    font-weight: 700;
}
.speed-footer-nav a {
    color: #94a3b8;
    font-size: clamp(12px, .8rem, 14px);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.speed-footer-nav a:hover { color: #8bb8ff; transform: translateX(3px); }
.speed-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 65px;
    padding: 15px 0;
    border-top: 1px solid rgba(148,163,184,.16);
    color: #718096;
    font-size: clamp(10px, .7rem, 12px);
}
.speed-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #94a3b8;
    font-size: clamp(9px, .65rem, 11px);
    font-weight: 700;
    letter-spacing: .1em;
}
.speed-footer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3987ff;
    box-shadow: 0 0 10px rgba(57,135,255,.7);
}



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

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .main-nav {
        gap: 14px;
    }

    .category-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tools-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

@media (max-width: 650px) {
    .header-inner {
        min-height: 64px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 16px;
        border-top: 1px solid rgba(255,255,255,.1);
        background: var(--navy);
    }

    .mobile-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        font-size: clamp(14px, 3.8vw, 16px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: clamp(42px, 10vw, 62px);
        padding-bottom: clamp(42px, 10vw, 62px);
    }

    .hero h1 {
        font-size: clamp(32px, 9vw, 44px);
        letter-spacing: -1px;
    }

    .hero-image {
        min-height: clamp(210px, 58vw, 300px);
    }

    .category-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 165px;
    }

    .article-card {
        min-height: 0;
    }

    .article-image {
        aspect-ratio: 16 / 9;
    }

    .tools-cta {
        width: calc(100% - 28px);
        margin: 38px auto;
        padding: clamp(20px, 6vw, 28px);
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

  
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: clamp(29px, 8.5vw, 34px);
    }

    .article-top {
        align-items: flex-start;
        flex-direction: column;
    }
}



.article-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: #1769e0;
    color: #fff;
    border: 1px solid #1769e0;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.article-button:hover {
    background: #0d4fae;
    border-color: #0d4fae;
    color: #fff;
    transform: translateY(-2px);
}




/* STOPKA ARTSITES CNC */

.speed-footer {
    margin-top: 0;
    color: #c4d1e2;
    background: #101b2d;
}

.speed-footer-inner {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 55px) clamp(18px, 4vw, 50px) 20px;
}

.speed-footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: clamp(25px, 4vw, 55px);
    padding-bottom: clamp(28px, 4vw, 42px);
}

.speed-footer-brand,
.speed-footer-nav {
    min-width: 0;
}

.speed-footer-logo {
    display: inline-flex;
    align-items: baseline;
    color: #fff;
    font-size: clamp(23px, 2.3vw, 29px);
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.speed-footer-logo span {
    color: #65a3ff;
}

.speed-footer-logo em {
    margin-left: 7px;
    color: #aabbd2;
    font-size: .55em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
}

.speed-footer-brand p {
    max-width: 280px;
    margin: 14px 0 0;
    color: #aebed2;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.7;
}

.speed-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.speed-footer-nav h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(15px, 1.2vw, 17px);
}

.speed-footer-nav a {
    color: #aebed2;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease;
}

.speed-footer-nav a:hover {
    color: #79adff;
}

.speed-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #8fa1b8;
    font-size: clamp(11px, .9vw, 13px);
}

.speed-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8dbbff;
    font-size: clamp(10px, .85vw, 12px);
    font-weight: 700;
    letter-spacing: 1px;
}

.speed-footer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1769e0;
}

/* TABLETY I TELEFONY */

@media (max-width: 750px) {
    .speed-footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .speed-footer-brand:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .speed-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .speed-footer-brand:first-child {
        grid-column: auto;
    }

    .speed-footer-bottom {
        align-items: flex-start;
        flex-direction: column; 
    }
}


.article-photo {
    width: 80%;
    max-width: 760px;
    margin: 26px auto 30px;
}

.article-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 12px;
}
.article-photo figcaption {
    margin-top: 8px;
    color: #68758a;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 650px) {
    .article-photo {
        width: 100%;
    }
}


/* Tabele i bloki kodu – artykuły o programowaniu CNC */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid #dce5ef;
    border-radius: 10px;
}

.programming-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
}

.programming-table th {
    padding: 14px 16px;
    background: #142b45;
    color: #fff;
    text-align: left;
}

.programming-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5ebf2;
}

.programming-table tr:last-child td {
    border-bottom: 0;
}

.programming-table tbody tr:nth-child(even) {
    background: #f3f7fc;
}

.programming-table code,
.programming-list code {
    padding: 3px 6px;
    border-radius: 4px;
    background: #eaf2fc;
    color: #145da0;
    font-weight: 700;
}

.table-note {
    color: #68778a;
    font-size: 14px;
}

.program-code {
    overflow: hidden;
    margin: 24px 0;
    border: 1px solid #294968;
    border-radius: 12px;
    background: #0e1c2d;
}

.program-code-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: #193550;
    color: #d9eaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}

.program-code .code-language {
    color: #83baff;
}

.program-code pre {
    overflow-x: auto;
    margin: 0;
    padding: 24px 20px;
    color: #9ed5ff;
    font-size: 16px;
    line-height: 1.7;
}

.program-code code {
    font-family: Consolas, Monaco, monospace;
}

.programming-list {
    padding-left: 24px;
}

.programming-list li {
    margin-bottom: 9px;
}

.article-info-box,
.article-tip-box {
    margin: 26px 0;
    padding: 20px 22px;
    border-radius: 10px;
    line-height: 1.7;
}

.article-info-box {
    border-left: 4px solid #1769e0;
    background: #edf4fc;
}

.article-tip-box {
    border-left: 4px solid #e39a32;
    background: #fff7eb;
}

@media (max-width: 600px) {
    .programming-table {
        font-size: 14px;
    }

    .program-code pre {
        font-size: 14px;
        padding: 18px 14px;
    }

    .program-code-header {
        flex-wrap: wrap;
    }
}

/* Schemat toru narzędzia w artykułach CNC */

.program-diagram {
    margin: 28px 0;
}

.program-diagram svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.diagram-caption {
    margin: 10px 0 0;
    color: #68778a;
    font-size: 13px;
    text-align: center;
}


/* Podsumowanie i FAQ – artykuły programowania CNC */

.article-summary-grid,
.related-programming-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.article-summary-card {
    padding: 22px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #f5f8fc;
}

.summary-number {
    display: inline-block;
    margin-bottom: 12px;
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.article-summary-card h3 {
    margin: 0 0 8px;
}

.article-summary-card p {
    margin: 0;
    color: #53677e;
    font-size: 15px;
}

.programming-faq details {
    margin: 12px 0;
    padding: 18px 20px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #fff;
}

.programming-faq summary {
    color: #173d65;
    font-weight: 700;
    cursor: pointer;
}

.programming-faq details p {
    margin: 14px 0 0;
    color: #53677e;
}

.related-programming-card {
    display: block;
    padding: 24px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #f5f8fc;
    color: #172338;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease,
                border-color .2s ease;
}

.related-programming-card:hover {
    transform: translateY(-3px);
    border-color: #1769e0;
    box-shadow: 0 10px 28px rgba(20, 45, 75, .1);
}

.related-programming-card span {
    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.related-programming-card h3 {
    margin: 12px 0;
}

.related-programming-card p {
    color: #53677e;
    font-size: 15px;
}

.related-programming-card strong {
    color: #1769e0;
}

.programming-back-link {
    display: inline-flex;
    margin: 24px 0 40px;
    padding: 12px 20px;
    border: 1px solid #1769e0;
    border-radius: 8px;
    color: #1769e0;
    font-weight: 700;
    text-decoration: none;
}

.programming-back-link:hover {
    background: #1769e0;
    color: #fff;
}

@media (max-width: 700px) {
    .article-summary-grid,
    .related-programming-grid {
        grid-template-columns: 1fr;
    }
}



/* Fotografie w artykułach programowania CNC */

.article-photo {
    width: 82%;
    max-width: 820px;
    margin: 32px auto 38px;
    padding: 0;
}

.article-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 35, 60, .13);
}

.article-photo figcaption {
    margin-top: 11px;
    color: #68778a;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 700px) {
    .article-photo {
        width: 100%;
        margin: 24px auto 30px;
    }

    .article-photo img {
        border-radius: 9px;
    }
}


/* Mniejszy obraz główny na smartfonach */
@media (max-width: 700px) {
    .programming-hero img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
    }
}



/* Pełne wyświetlanie grafik G90 i G91 */
.program-diagram img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 12px;
}