/* ==========================================================================
   UIPCC front-end theme
   Bootstrap 5.3.8 is loaded before this file; this file owns the visual layer.
   ========================================================================== */

:root {
    --uipcc-orange: #ef5024;
    --uipcc-orange-dark: #d43f16;
    --uipcc-blue: #2e3192;
    --uipcc-ink: #1f2328;
    --uipcc-muted: #6b7280;
    --uipcc-line: #e5e7eb;
    --uipcc-surface: #f5f7f8;
    --uipcc-black: #0b0d0f;
    --uipcc-white: #ffffff;
    --uipcc-radius: 16px;
    --uipcc-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --uipcc-container: 1200px;
    --uipcc-header-height: 76px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--uipcc-ink);
    background: var(--uipcc-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--uipcc-orange);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--uipcc-orange-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--uipcc-ink);
    overflow-wrap: anywhere;
}

p {
    margin-top: 0;
}

:focus-visible {
    outline: 3px solid var(--uipcc-orange);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--uipcc-container);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 24px);
}

.section {
    padding-block: clamp(56px, 8vw, 96px);
}

.section--muted {
    background: var(--uipcc-surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--uipcc-orange);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--uipcc-orange);
}

.section-title {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-lead {
    max-width: 62ch;
    margin: 16px 0 0;
    color: var(--uipcc-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Buttons and text links
   -------------------------------------------------------------------------- */

.btn {
    border-radius: 999px;
}

.btn-brand,
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-brand {
    background: var(--uipcc-orange);
    border-color: var(--uipcc-orange);
    color: var(--uipcc-white);
}

.btn-brand:hover {
    background: var(--uipcc-orange-dark);
    border-color: var(--uipcc-orange-dark);
    color: var(--uipcc-white);
    transform: translateY(-1px);
}

.btn-outline-brand {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--uipcc-white);
}

.btn-outline-brand:hover {
    background: var(--uipcc-white);
    border-color: var(--uipcc-white);
    color: var(--uipcc-ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--uipcc-orange);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--uipcc-orange-dark);
}

/* --------------------------------------------------------------------------
   Accessibility helpers
   -------------------------------------------------------------------------- */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background: var(--uipcc-white);
    clip: auto !important;
    clip-path: none;
    color: var(--uipcc-ink);
    display: block;
    font-size: 0.875rem;
    height: auto;
    left: 16px;
    line-height: normal;
    padding: 12px 16px;
    text-decoration: none;
    top: 16px;
    width: auto;
    z-index: 100000;
    border-radius: 8px;
    box-shadow: var(--uipcc-shadow);
}

.skip-link {
    position: absolute;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: var(--uipcc-admin-offset, 0px);
    z-index: 1030;
    background: rgba(11, 13, 15, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--uipcc-header-height);
}

.site-branding {
    flex: 0 0 auto;
    min-width: 0;
}

.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img,
.custom-logo {
    width: auto;
    height: 44px;
    max-width: 100%;
}

.site-nav {
    min-width: 0;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list li {
    margin: 0;
}

.site-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--uipcc-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .is-active > a {
    background: var(--uipcc-orange);
    color: var(--uipcc-white);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--uipcc-white);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.admin-bar .site-header {
    top: var(--uipcc-admin-offset, var(--wp-admin--admin-bar--height, 32px));
}

.nav-backdrop {
    display: none;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--uipcc-white);
    background: var(--uipcc-black) url("../images/banner.jpg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 10, 14, 0.94) 0%, rgba(7, 10, 14, 0.78) 42%, rgba(7, 10, 14, 0.42) 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    min-height: clamp(560px, 72vh, 760px);
    padding-block: clamp(56px, 8vw, 88px);
}

.hero__copy {
    min-width: 0;
    max-width: 560px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #fca88f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--uipcc-orange);
}

.hero__title {
    margin: 0 0 12px;
    color: var(--uipcc-white);
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.hero__cn {
    margin: 0 0 20px;
    color: #e5e7eb;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 0.08em;
}

.hero__lead {
    max-width: 52ch;
    margin: 0 0 28px;
    color: #d1d5db;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.75;
}

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

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    color: #9ca3af;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__panels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    min-height: 440px;
}

.hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding: 22px;
    border-radius: var(--uipcc-radius);
    overflow: hidden;
    isolation: isolate;
    color: var(--uipcc-white);
    text-decoration: none;
    background-color: var(--uipcc-black);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-panel__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--panel-image);
    background-position: center;
    background-size: cover;
    transition: transform 0.6s ease;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 13, 15, 0.08) 0%, rgba(11, 13, 15, 0.88) 100%);
}

.hero-panel:hover,
.hero-panel:focus-visible,
.hero-panel.is-hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.hero-panel:hover .hero-panel__bg,
.hero-panel:focus-visible .hero-panel__bg,
.hero-panel.is-hover .hero-panel__bg {
    transform: scale(1.05);
}

.hero-panel--crude {
    --panel-image: url("../images/1.jpg");
}

.hero-panel--base {
    --panel-image: url("../images/2.jpg");
}

.hero-panel--coal {
    --panel-image: url("../images/3.jpg");
}

.hero-panel--plastics {
    --panel-image: url("../images/4.jpg");
}

.hero-panel__index {
    margin-bottom: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.hero-panel__title {
    margin: 0;
    color: var(--uipcc-white);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-panel__meta {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    line-height: 1.45;
}

.hero-panel__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--uipcc-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Welcome
   -------------------------------------------------------------------------- */

.welcome {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    overflow: hidden;
    border-radius: 24px;
    background: var(--uipcc-white);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.welcome__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(32px, 4vw, 52px);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(145deg, #363aa8 0%, #2e3192 48%, #22256c 100%);
    color: var(--uipcc-white);
}

.welcome__intro::before {
    content: "";
    position: relative;
    z-index: 1;
    display: block;
    width: 40px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--uipcc-orange);
}

.welcome__intro::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
    pointer-events: none;
}

.welcome__intro > * {
    position: relative;
    z-index: 1;
}

.welcome__heading {
    margin: 0;
    color: var(--uipcc-white);
    font-size: clamp(3rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.welcome__dot {
    color: var(--uipcc-orange);
}

.welcome__title {
    max-width: 18ch;
    margin: 22px 0 0;
    color: var(--uipcc-white);
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.welcome__subtitle {
    max-width: 28ch;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 500;
    line-height: 1.55;
}

.welcome__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 4vw, 52px);
    color: var(--uipcc-muted);
    font-size: 1.0625rem;
    line-height: 1.85;
}

.welcome__label {
    margin: 0 0 16px;
    color: var(--uipcc-orange);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.welcome__lead {
    margin-bottom: 18px;
    color: var(--uipcc-ink);
    font-size: clamp(1.375rem, 1.8vw, 1.625rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.012em;
}

.welcome__body p:last-of-type {
    margin-bottom: 24px;
}

.welcome__body .btn {
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   News cards
   -------------------------------------------------------------------------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: var(--uipcc-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--uipcc-shadow);
}

.news-card__date {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--uipcc-orange);
    font-weight: 800;
}

.news-card__date strong {
    font-size: 1.5rem;
    line-height: 1;
}

.news-card__date span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 16px 0 10px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.news-card h3 a {
    color: var(--uipcc-ink);
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--uipcc-orange);
}

.news-card p {
    margin: 0 0 18px;
    color: var(--uipcc-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.news-card .text-link {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   News archive
   -------------------------------------------------------------------------- */

.section-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.section-heading--split > div {
    max-width: 760px;
}

.news-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    overflow: hidden;
    margin-bottom: clamp(24px, 3vw, 40px);
    padding: clamp(28px, 4vw, 52px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(145deg, #363aa8 0%, #2e3192 48%, #22256c 100%);
    color: var(--uipcc-white);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.news-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
    pointer-events: none;
}

.news-feature > * {
    position: relative;
    z-index: 1;
}

.news-feature__date {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(0px, 3vw, 32px);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.news-feature__label {
    margin-bottom: 12px;
    color: var(--uipcc-orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.news-feature__date strong {
    color: var(--uipcc-white);
    font-size: clamp(3.5rem, 5.6vw, 4.75rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.news-feature__month {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-feature h3 {
    margin: 0 0 14px;
    color: var(--uipcc-white);
    font-size: clamp(1.6rem, 2.7vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-feature h3 a {
    color: inherit;
    text-decoration: none;
}

.news-feature h3 a:hover {
    color: #ffd8cc;
}

.news-feature p {
    max-width: 58ch;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.75;
}

.news-feature .btn-outline-brand {
    border-color: rgba(255, 255, 255, 0.55);
}

.news-archive-list {
    border-top: 1px solid var(--uipcc-line);
}

.news-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
    padding-block: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--uipcc-line);
}

.news-row__date strong {
    display: block;
    color: var(--uipcc-orange);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.news-row__date span {
    display: block;
    margin-top: 5px;
    color: var(--uipcc-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-row__body h3 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.news-row__body h3 a {
    color: var(--uipcc-ink);
    text-decoration: none;
}

.news-row__body h3 a:hover {
    color: var(--uipcc-orange);
}

.news-row__body p {
    max-width: 68ch;
    margin: 0;
    color: var(--uipcc-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-row__more {
    align-self: end;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   About / business scope
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.split__media {
    min-width: 0;
}

.split__media img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--uipcc-shadow);
    object-fit: cover;
}

.split__body {
    min-width: 0;
}

.split__body p {
    color: var(--uipcc-muted);
    line-height: 1.8;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.scope-block {
    margin-top: clamp(48px, 7vw, 80px);
}

.scope-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--uipcc-line);
    border-radius: 16px;
    background: var(--uipcc-white);
    color: var(--uipcc-ink);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.scope-card:hover {
    transform: translateY(-3px);
    border-color: var(--uipcc-orange);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    color: var(--uipcc-ink);
}

.scope-card__index {
    padding-top: 3px;
    color: var(--uipcc-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.scope-card__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

.scope-card__title small {
    display: inline-block;
    margin-left: 4px;
    color: var(--uipcc-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.scope-card--disabled {
    cursor: default;
    background: var(--uipcc-surface);
}

.scope-card--disabled:hover {
    transform: none;
    border-color: var(--uipcc-line);
    box-shadow: none;
}

.scope-card--disabled .scope-card__index {
    color: var(--uipcc-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: var(--uipcc-white);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card__index {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--uipcc-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.value-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.value-card p {
    margin: 0;
    color: var(--uipcc-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.value-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--uipcc-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
    .value-card:hover {
        transform: translateY(-4px);
        border-color: transparent;
        box-shadow: var(--uipcc-shadow);
    }

    .value-card:hover::after {
        transform: scaleX(1);
    }
}

[data-reveal].is-revealed {
    animation: uipcc-reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) backwards;
}

@keyframes uipcc-reveal-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal].is-revealed {
        animation: none;
    }

    .value-card,
    .value-card::after {
        transition: none;
    }

    .value-card:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(64px, 9vw, 110px);
    color: var(--uipcc-white);
    background: var(--uipcc-black) url("../images/3.jpg") center / cover no-repeat;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.58));
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta h2 {
    max-width: 18ch;
    margin: 0;
    color: var(--uipcc-white);
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta p {
    max-width: 52ch;
    margin: 14px 0 0;
    color: #d1d5db;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Page hero / breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(72px, 10vw, 120px) clamp(56px, 8vw, 88px);
    color: var(--uipcc-white);
    background-color: var(--uipcc-black);
    background-image: linear-gradient(90deg, rgba(7, 10, 14, 0.94), rgba(7, 10, 14, 0.58)), var(--page-hero-image, url("../images/banner.jpg"));
    background-position: center;
    background-size: cover;
}

.page-hero__kicker {
    margin: 0 0 12px;
    color: #fca88f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 20ch;
    margin: 0;
    color: var(--uipcc-white);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-hero__lead {
    max-width: 62ch;
    margin: 16px 0 0;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
}

.breadcrumbs {
    padding-block: 16px;
    border-bottom: 1px solid var(--uipcc-line);
    background: var(--uipcc-white);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--uipcc-muted);
    font-size: 0.82rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.breadcrumbs li + li::before {
    content: "/";
    color: #cbd5e1;
}

.breadcrumbs a {
    color: var(--uipcc-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--uipcc-orange);
}

.breadcrumbs [aria-current="page"] {
    color: var(--uipcc-ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Product archive / category
   -------------------------------------------------------------------------- */

.products-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: calc(var(--uipcc-header-height) + 16px);
    min-width: 0;
}

.sidebar-card {
    padding: 22px;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: var(--uipcc-white);
}

.sidebar-card h2,
.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--uipcc-ink);
    font-size: 0.88rem;
    line-height: 1.35;
    text-decoration: none;
}

.category-list a:hover,
.category-list .is-active a {
    background: var(--uipcc-surface);
    box-shadow: inset 3px 0 0 var(--uipcc-orange);
    color: var(--uipcc-orange);
    font-weight: 700;
}

.category-list .count {
    color: var(--uipcc-muted);
    font-size: 0.72rem;
}

.products-main {
    min-width: 0;
}

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.products-toolbar h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.products-toolbar p {
    margin: 0;
    color: var(--uipcc-muted);
    font-size: 0.88rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: var(--uipcc-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--uipcc-shadow);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--uipcc-surface);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 13, 15, 0.84);
    color: var(--uipcc-white);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
}

.product-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.product-card__body h3 a {
    color: var(--uipcc-ink);
    text-decoration: none;
}

.product-card__body h3 a:hover {
    color: var(--uipcc-orange);
}

.product-card__body p {
    margin: 0 0 18px;
    color: var(--uipcc-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.product-card__body .text-link {
    margin-top: auto;
}

.product-card--cta {
    grid-column: 1 / -1;
    border-color: var(--uipcc-black);
    background: var(--uipcc-black);
}

.product-card--cta .product-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "kicker button"
        "title button"
        "text button";
    align-items: center;
    gap: 4px 24px;
    padding: 28px;
}

.product-card--cta .section-kicker {
    grid-area: kicker;
    margin: 0;
}

.product-card--cta h3 {
    grid-area: title;
    margin: 0;
    color: var(--uipcc-white);
    font-size: 1.35rem;
}

.product-card--cta p {
    grid-area: text;
    max-width: 70ch;
    margin: 0;
    color: #9ca3af;
}

.product-card--cta .btn-brand {
    grid-area: button;
    margin-top: 0;
    align-self: center;
}

@media (max-width: 767.98px) {
    .product-card--cta .product-card__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.product-main {
    min-width: 0;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

.product-hero__media {
    min-width: 0;
}

.product-hero__media img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.product-hero__meta {
    min-width: 0;
}

.product-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--uipcc-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.product-hero__excerpt {
    margin: 0 0 24px;
    color: var(--uipcc-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.entry-content {
    max-width: 72ch;
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 2em 0 0.6em;
    color: var(--uipcc-ink);
    line-height: 1.25;
}

.entry-content p {
    margin: 0 0 1.2em;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.entry-content li {
    margin-bottom: 0.45em;
}

.entry-content img {
    margin: 1.5em 0;
    border-radius: 14px;
}

.entry-content .imgr {
    float: left;
    margin: 0 1.5em 1em 0;
}

.entry-content .img {
    float: right;
    margin: 0 0 1em 1.5em;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--uipcc-line);
    text-align: left;
    vertical-align: top;
}

.entry-content th {
    background: var(--uipcc-surface);
    font-weight: 700;
}

.specs {
    margin-top: 40px;
}

.specs h2 {
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--uipcc-line);
    border-radius: 14px;
}

.specs-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--uipcc-line);
    text-align: left;
    vertical-align: top;
}

.specs-table th {
    background: var(--uipcc-surface);
    font-weight: 700;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: 0;
}

.inquiry-card {
    margin-top: 24px;
    padding: 24px;
    border-radius: 18px;
    background: var(--uipcc-black);
    color: var(--uipcc-white);
}

.inquiry-card h2,
.inquiry-card h3 {
    margin: 0 0 10px;
    color: var(--uipcc-white);
    font-size: 1.1rem;
}

.inquiry-card p {
    margin: 0 0 18px;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.65;
}

.related-products {
    margin-top: 56px;
}

.related-products h2 {
    margin: 0 0 20px;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* --------------------------------------------------------------------------
   News list / single
   -------------------------------------------------------------------------- */

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-single {
    max-width: 760px;
}

.news-single__meta {
    color: var(--uipcc-muted);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.related-news {
    margin-top: 56px;
}

.related-news h2 {
    margin: 0 0 20px;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    margin: 0 0 18px;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.contact-block {
    padding: 18px 0;
    border-bottom: 1px solid var(--uipcc-line);
}

.contact-block:first-of-type {
    padding-top: 0;
}

.contact-block h3 {
    margin: 0 0 8px;
    color: var(--uipcc-orange);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-block p,
.contact-block a {
    margin: 0;
    color: var(--uipcc-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    text-decoration: none;
}

.contact-block a:hover {
    color: var(--uipcc-orange);
}

.map-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(46, 49, 146, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 49, 146, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.map-placeholder span {
    position: relative;
    color: var(--uipcc-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form-wrap {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--uipcc-line);
    border-radius: 20px;
    background: var(--uipcc-white);
    box-shadow: var(--uipcc-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    min-width: 0;
}

.form-field label {
    color: var(--uipcc-ink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.form-field label span {
    color: var(--uipcc-orange);
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: var(--uipcc-white);
    color: var(--uipcc-ink);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--uipcc-orange);
    box-shadow: 0 0 0 4px rgba(239, 80, 36, 0.12);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 20px;
    color: var(--uipcc-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.form-check input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.form-note {
    margin: 14px 0 0;
    color: var(--uipcc-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.contact-form-notice {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-form-notice--success {
    border-color: #a6f4c5;
    background: #ecfdf3;
    color: #05603a;
}

.contact-form-notice--error {
    border-color: #fecdca;
    background: #fef3f2;
    color: #b42318;
}

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form altcha-widget {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 4px 0 18px;
}

/* --------------------------------------------------------------------------
   Search / 404 / empty states
   -------------------------------------------------------------------------- */

.search-panel {
    margin-bottom: 32px;
}

.search-count {
    margin: 0 0 24px;
    color: var(--uipcc-muted);
    font-size: 0.9rem;
}

.result-list {
    display: grid;
    gap: 16px;
}

.result-card {
    padding: 24px;
    border: 1px solid var(--uipcc-line);
    border-radius: 18px;
    background: var(--uipcc-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--uipcc-shadow);
}

.result-card__type {
    margin: 0 0 8px;
    color: var(--uipcc-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.result-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.result-card h3 a {
    color: var(--uipcc-ink);
    text-decoration: none;
}

.result-card h3 a:hover {
    color: var(--uipcc-orange);
}

.result-card p {
    margin: 0 0 14px;
    color: var(--uipcc-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.search-form {
    display: flex;
    gap: 8px;
    max-width: 560px;
}

.search-field {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font: inherit;
}

.search-submit {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid var(--uipcc-orange);
    border-radius: 12px;
    background: var(--uipcc-orange);
    color: var(--uipcc-white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-submit:hover {
    background: var(--uipcc-orange-dark);
}

.empty-state {
    padding: 64px 24px;
    border: 1px dashed var(--uipcc-line);
    border-radius: 20px;
    background: var(--uipcc-surface);
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.empty-state p {
    max-width: 52ch;
    margin: 0 auto 20px;
    color: var(--uipcc-muted);
}

.error-404 {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}

.error-404__code {
    margin: 0;
    color: var(--uipcc-orange);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.error-404 .error-404__code {
    color: var(--uipcc-orange);
}

.error-404 h1 {
    margin: 8px 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.error-404 p {
    color: var(--uipcc-muted);
    line-height: 1.75;
}

.error-404 .search-form {
    margin: 24px auto 0;
}

.error-404__actions {
    margin-top: 24px;
}

.pagination-wrap {
    margin-top: 40px;
}

.pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--uipcc-line);
    border-radius: 10px;
    color: var(--uipcc-ink);
    text-decoration: none;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    border-color: var(--uipcc-orange);
    background: var(--uipcc-orange);
    color: var(--uipcc-white);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    padding-block: 64px 0;
    border-top: 4px solid var(--uipcc-orange);
    background: var(--uipcc-black);
    color: #9ca3af;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 48px;
}

.footer-col {
    min-width: 0;
}

.footer-col h2 {
    margin: 0 0 16px;
    color: var(--uipcc-white);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-col a:hover {
    color: var(--uipcc-orange);
}

.footer-address address {
    margin: 0;
    color: #9ca3af;
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.7;
}

.footer-address p {
    margin: 0 0 12px;
}

.footer-address strong {
    color: var(--uipcc-white);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   WordPress core content helpers
   -------------------------------------------------------------------------- */

.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    color: var(--uipcc-muted);
    font-size: 0.82rem;
}

.sticky {
    border-left: 4px solid var(--uipcc-orange);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100vh - var(--uipcc-header-height));
        overflow-y: auto;
        padding: 12px clamp(16px, 4vw, 24px) 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: var(--uipcc-black);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .site-nav a {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-backdrop {
        display: block;
        position: fixed;
        inset: var(--uipcc-header-height) 0 0;
        z-index: 1029;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.48);
        cursor: pointer;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 48px 56px;
    }

    .hero__copy {
        max-width: none;
    }

    .hero__title {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }

    .hero__panels {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
    }

    .hero-panel {
        min-height: 220px;
    }

    .hero-panel:hover,
    .hero-panel:focus-visible {
        transform: translateY(-3px);
    }

    .welcome {
        grid-template-columns: 1fr;
    }

    .welcome__intro {
        padding: 36px 32px;
    }

    .welcome__body {
        padding: 32px;
    }

    .welcome__title,
    .welcome__subtitle {
        max-width: none;
    }

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

    .split {
        grid-template-columns: 1fr;
    }

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

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

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

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-hero__media img {
        max-height: 420px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-address {
        grid-column: 1 / -1;
    }

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

@media (max-width: 767.98px) {
    .news-grid,
    .news-list,
    .product-grid,
    .related-grid,
    .scope-grid {
        grid-template-columns: 1fr;
    }

    .news-feature {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px;
        border-radius: 20px;
    }

    .news-feature__date {
        align-self: start;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        padding-right: 0;
        padding-bottom: 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .news-feature__label {
        margin: 0;
    }

    .news-feature__date strong {
        font-size: 3rem;
    }

    .news-feature__month {
        margin: 0;
    }

    .news-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 18px 20px;
    }

    .news-row__more {
        grid-column: 2;
        align-self: start;
    }

    .news-row__date strong {
        font-size: 1.9rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .specs .table-responsive {
        border: 0;
        overflow: visible;
    }

    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table {
        min-width: 0;
    }

    .specs-table thead {
        display: none;
    }

    .specs-table tr {
        margin-bottom: 12px;
        overflow: hidden;
        border: 1px solid var(--uipcc-line);
        border-radius: 14px;
        background: var(--uipcc-white);
    }

    .specs-table tr:last-child {
        margin-bottom: 0;
    }

    .specs-table td {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 12px;
        padding: 12px 14px;
        border-bottom: 1px solid var(--uipcc-line);
        text-align: left;
    }

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

    .specs-table td::before {
        content: attr(data-label);
        color: var(--uipcc-ink);
        font-weight: 700;
    }

    .entry-content .imgr,
    .entry-content .img {
        float: none;
        margin: 1em 0;
    }
}

@media (max-width: 575.98px) {
    :root {
        --uipcc-header-height: 68px;
    }

    .site-logo img,
    .custom-logo {
        height: 38px;
    }

    .hero__inner {
        padding-block: 40px 48px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__lead {
        font-size: 0.95rem;
    }

    .hero__actions .btn-brand,
    .hero__actions .btn-outline-brand {
        width: 100%;
    }

    .hero__facts {
        gap: 6px 16px;
        margin-top: 24px;
        font-size: 0.7rem;
    }

    .hero-panel {
        min-height: 160px;
        padding: 16px;
    }

    .hero-panel__title {
        font-size: 0.85rem;
    }

    .hero-panel__meta {
        display: none;
    }

    .hero-panel__more {
        margin-top: 8px;
        font-size: 0.66rem;
    }

    .section {
        padding-block: 56px;
    }

    .welcome {
        border-radius: 20px;
    }

    .welcome__intro {
        padding: 30px 24px;
    }

    .welcome__intro::before {
        width: 32px;
        margin-bottom: 16px;
    }

    .welcome__heading {
        font-size: 2.75rem;
    }

    .welcome__title {
        margin-top: 14px;
        font-size: 1.125rem;
    }

    .welcome__subtitle {
        margin-top: 6px;
        font-size: 0.95rem;
    }

    .welcome__body {
        padding: 26px 24px 30px;
        font-size: 1rem;
    }

    .welcome__lead {
        font-size: 1.25rem;
    }

    .welcome__body {
        font-size: 1rem;
    }

    .welcome__body > p:first-child {
        font-size: 1.125rem;
    }

    .page-hero {
        padding-block: 56px 48px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero__lead {
        font-size: 0.95rem;
    }

    .section-heading--split {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-feature {
        padding: 24px;
        border-radius: 18px;
    }

    .news-feature h3 {
        font-size: 1.45rem;
    }

    .news-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px 16px;
    }

    .news-row__date strong {
        font-size: 1.7rem;
    }

    .news-card,
    .product-card__body {
        padding: 18px;
    }

    .contact-form-wrap {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-address {
        grid-column: auto;
    }

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

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

    .breadcrumbs li {
        white-space: nowrap;
    }

    .breadcrumbs li[aria-current="page"]::before {
        content: none;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: var(--uipcc-admin-offset, var(--wp-admin--admin-bar--height, 46px));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
