:root {
    --a14-navy: #101827;
    --a14-blue: #1d4ed8;
    --a14-cyan: #06b6d4;
    --a14-green: #14b8a6;
    --a14-slate: #475569;
    --a14-muted: #f1f5f9;
    --a14-panel: #ffffff;
    --a14-line: rgba(15, 23, 42, 0.12);
    --a14-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --a14-radius-lg: 30px;
    --a14-radius-md: 20px;
    --a14-shell: 1180px;
}

html { scroll-behavior: smooth; }

body.a14-it-child-theme {
    background: #f8fafc;
    color: var(--a14-navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

body.a14-it-child-theme a { color: var(--a14-blue); }
body.a14-it-child-theme a:hover { color: #0f766e; }

.a14-shell {
    width: min(calc(100% - 40px), var(--a14-shell));
    margin-inline: auto;
}

.a14-site {
    max-width: none;
    background: transparent;
}

.a14-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--a14-line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-bar .a14-header { top: 32px; }

.a14-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.a14-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.a14-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--a14-blue), var(--a14-cyan));
    color: #fff !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(29, 78, 216, 0.28);
}

.a14-brand-text { display: grid; line-height: 1.15; }
.a14-site-title { color: var(--a14-navy) !important; font-size: 1.05rem; font-weight: 850; text-decoration: none; }
.a14-site-description { color: var(--a14-slate); font-size: 0.8rem; margin-top: 3px; }
.a14-branding .custom-logo { max-height: 58px; width: auto; }

.a14-navigation ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.a14-navigation li { position: relative; margin: 0; }
.a14-navigation li.menu-item-has-children::after,
.a14-navigation li.page_item_has_children::after {
    content: "";
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}
.a14-navigation li.menu-item-has-children:hover::after,
.a14-navigation li.menu-item-has-children:focus-within::after,
.a14-navigation li.page_item_has_children:hover::after,
.a14-navigation li.page_item_has_children:focus-within::after {
    display: block;
}
.a14-navigation a {
    display: block;
    color: var(--a14-navy) !important;
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 750;
}
.a14-navigation a:hover,
.a14-navigation .current-menu-item > a,
.a14-navigation .current_page_item > a {
    background: #e0f2fe;
    color: #075985 !important;
}

.a14-navigation ul ul {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 230px;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--a14-line);
    border-radius: 18px;
    box-shadow: var(--a14-shadow);
    padding: 8px;
}
.a14-navigation li:hover > ul,
.a14-navigation li:focus-within > ul { display: block; }
.a14-navigation ul ul a { border-radius: 12px; }

.a14-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--a14-muted);
    padding: 11px;
    cursor: pointer;
}
.a14-menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    background: var(--a14-navy);
    margin: 5px 0;
    border-radius: 99px;
}

.a14-main { overflow: hidden; }

.a14-hero {
    position: relative;
    padding: clamp(70px, 10vw, 128px) 0 clamp(48px, 7vw, 86px);
    background:
        radial-gradient(circle at 12% 22%, rgba(6, 182, 212, 0.22), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(29, 78, 216, 0.18), transparent 34%),
        linear-gradient(135deg, #f8fafc 0%, #eff6ff 54%, #ecfeff 100%);
}
.a14-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -18% 35%;
    height: 260px;
    background: linear-gradient(90deg, rgba(20,184,166,.18), rgba(29,78,216,.16));
    transform: rotate(-5deg);
    border-radius: 999px;
    filter: blur(24px);
    pointer-events: none;
}

.a14-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

.a14-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #0f766e;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}
.a14-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--a14-green), var(--a14-blue));
}

.a14-hero h1 {
    font-size: clamp(2.35rem, 6vw, 5.35rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    margin: 0;
    max-width: 860px;
    color: var(--a14-navy);
}
.a14-hero-lede {
    font-size: clamp(1.06rem, 2vw, 1.28rem);
    color: var(--a14-slate);
    max-width: 700px;
    margin: 24px 0 0;
}

.a14-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.a14-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.a14-button:hover { transform: translateY(-2px); }
.a14-button-primary {
    background: linear-gradient(135deg, var(--a14-blue), #0891b2);
    color: #fff !important;
    box-shadow: 0 20px 42px rgba(29,78,216,.28);
}
.a14-button-secondary {
    background: rgba(255,255,255,.78);
    color: var(--a14-navy) !important;
    border: 1px solid rgba(15,23,42,.16);
}
.a14-button-light {
    background: #fff;
    color: var(--a14-navy) !important;
    box-shadow: 0 18px 38px rgba(15,23,42,.18);
    white-space: nowrap;
}

.a14-quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    font-weight: 750;
}
.a14-quick-contact a { color: var(--a14-navy) !important; }

.a14-hero-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: var(--a14-radius-lg);
    box-shadow: var(--a14-shadow);
    padding: clamp(24px, 4vw, 38px);
    position: relative;
    isolation: isolate;
}
.a14-hero-card::before {
    content: "";
    position: absolute;
    inset: 14px 14px auto auto;
    width: 86px;
    height: 86px;
    background: linear-gradient(135deg, var(--a14-cyan), var(--a14-blue));
    border-radius: 26px;
    opacity: .16;
    z-index: -1;
}
.a14-card-kicker {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0e7490;
    font-size: .78rem;
    font-weight: 850;
}
.a14-hero-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}
.a14-hero-card ul { margin: 0; padding: 0; list-style: none; }
.a14-hero-card li {
    position: relative;
    padding-left: 30px;
    margin: 14px 0;
    color: var(--a14-slate);
}
.a14-hero-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f766e;
    font-weight: 900;
}

.a14-section { padding: clamp(54px, 8vw, 92px) 0; }
.a14-section-heading { max-width: 760px; margin-bottom: 34px; }
.a14-section-heading h2,
.a14-proof h2,
.a14-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    color: var(--a14-navy);
}
.a14-section-heading p:not(.a14-eyebrow),
.a14-proof p,
.a14-cta p { color: var(--a14-slate); font-size: 1.05rem; }

.a14-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.a14-service-card {
    background: var(--a14-panel);
    border: 1px solid var(--a14-line);
    border-radius: var(--a14-radius-md);
    padding: 26px;
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.a14-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15,23,42,.12);
    border-color: rgba(6,182,212,.38);
}
.a14-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    color: #075985;
    font-weight: 900;
    font-size: .8rem;
    margin-bottom: 18px;
}
.a14-service-card h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -0.03em; }
.a14-service-card p { margin: 0; color: var(--a14-slate); }

.a14-proof {
    background: var(--a14-navy);
    color: #fff;
    position: relative;
}
.a14-proof .a14-eyebrow { color: #67e8f9; }
.a14-proof h2,
.a14-proof p { color: #fff; }
.a14-proof p { opacity: .78; }
.a14-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, .75fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}
.a14-stat-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.a14-stat-panel div {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    border-radius: 22px;
    padding: 22px;
}
.a14-stat-panel strong {
    display: block;
    font-size: 1.55rem;
    color: #a7f3d0;
    letter-spacing: -0.04em;
}
.a14-stat-panel span { display: block; color: rgba(255,255,255,.78); margin-top: 4px; }

.a14-page-content { background: #fff; }
.a14-content-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--a14-line);
    border-radius: var(--a14-radius-md);
    padding: clamp(22px, 5vw, 42px);
    box-shadow: 0 18px 44px rgba(15,23,42,.08);
}

.a14-cta {
    background: linear-gradient(135deg, var(--a14-blue), #0891b2 55%, #0f766e);
    color: #fff;
}
.a14-cta .a14-eyebrow,
.a14-cta h2,
.a14-cta p { color: #fff; }
.a14-cta p { opacity: .84; }
.a14-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.a14-widget-band { padding: 36px 0 0; }
.a14-widget-band-bottom { padding-bottom: 42px; }
.a14-widget {
    background: #fff;
    border: 1px solid var(--a14-line);
    border-radius: var(--a14-radius-md);
    padding: 26px;
    box-shadow: 0 16px 42px rgba(15,23,42,.08);
}
.a14-widget-title { margin-top: 0; }

.a14-footer {
    background: #08111f;
    color: rgba(255,255,255,.75);
    padding: 54px 0 24px;
}
.a14-footer a { color: #c7f9ff !important; }
.a14-footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, .6fr) 1fr;
    gap: 34px;
}
.a14-footer-about strong { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.a14-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.a14-footer-title { color: #fff; margin-top: 0; font-size: 1rem; }
.a14-footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: .9rem;
}
.a14-footer-menu ul { display: flex; list-style: none; gap: 14px; margin: 0; padding: 0; }

body:not(.a14-homepage) .site-main:not(.a14-standard-page),
body:not(.a14-homepage) #main:not(.a14-standard-page) {
    width: min(calc(100% - 40px), 980px);
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--a14-line);
    border-radius: var(--a14-radius-md);
    padding: clamp(22px, 5vw, 42px);
    box-shadow: 0 18px 44px rgba(15,23,42,.08);
}

body:not(.a14-homepage) .entry-title { color: var(--a14-navy); letter-spacing: -0.045em; }

@media (max-width: 920px) {
    .admin-bar .a14-header { top: 46px; }
    .a14-menu-toggle { display: inline-block; }
    .a14-navigation {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        background: #fff;
        border: 1px solid var(--a14-line);
        border-radius: 20px;
        box-shadow: var(--a14-shadow);
        padding: 10px;
    }
    .a14-navigation.is-open { display: block; }
    .a14-navigation ul { display: block; }
    .a14-navigation a { border-radius: 12px; }
    .a14-navigation ul ul { position: static; display: block; box-shadow: none; width: auto; border: 0; background: var(--a14-muted); margin: 4px 0 8px 14px; }
    .a14-hero-grid,
    .a14-proof-grid,
    .a14-footer-grid { grid-template-columns: 1fr; }
    .a14-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .a14-cta-inner { align-items: flex-start; flex-direction: column; }
    .a14-footer-widgets { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .a14-shell { width: min(calc(100% - 28px), var(--a14-shell)); }
    .a14-header-inner { min-height: 70px; }
    .a14-site-description { display: none; }
    .a14-hero { padding-top: 48px; }
    .a14-card-grid,
    .a14-stat-panel { grid-template-columns: 1fr; }
    .a14-hero-actions { flex-direction: column; }
    .a14-button { width: 100%; }
    .a14-footer-bottom { align-items: flex-start; flex-direction: column; }
    .a14-footer-menu ul { flex-wrap: wrap; }
}

/* v1.1 polish: cleaner header, WooCommerce actions, self-scrolling logo row and richer footer */
body.a14-it-child-theme .site,
body.a14-it-child-theme .site-main,
body.a14-it-child-theme .entry-content,
body.a14-it-child-theme .entry-summary,
body.a14-it-child-theme .hentry {
    max-width: none;
}

body.a14-it-child-theme .site-header .home-link,
body.a14-it-child-theme .navbar,
body.a14-it-child-theme .site-description {
    display: none;
}

.a14-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.a14-header-inner {
    min-height: 84px;
    gap: 18px;
}

.a14-branding {
    flex: 0 1 290px;
}

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

.a14-branding .custom-logo {
    display: block;
    max-height: 54px;
    max-width: 210px;
    width: auto;
    object-fit: contain;
}

.a14-navigation {
    flex: 1 1 auto;
}

.a14-navigation .menu,
.a14-navigation ul {
    gap: 2px;
}

.a14-navigation a {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.a14-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.a14-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--a14-navy) !important;
    font-weight: 850;
    font-size: 0.86rem;
    text-decoration: none !important;
    white-space: nowrap;
}

.a14-header-action:hover {
    background: #e0f2fe;
    color: #075985 !important;
}

.a14-header-cart {
    background: linear-gradient(135deg, var(--a14-blue), #0891b2);
    color: #fff !important;
    border-color: transparent;
}

.a14-header-cart:hover {
    background: linear-gradient(135deg, #1e40af, #0e7490);
    color: #fff !important;
}

.a14-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--a14-blue);
    font-size: 0.75rem;
    line-height: 1;
}

.a14-logo-carousel-section {
    background: #fff;
    padding-block: clamp(44px, 7vw, 74px);
    border-top: 1px solid var(--a14-line);
    border-bottom: 1px solid var(--a14-line);
}

.a14-logo-heading {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 26px;
}

.a14-logo-heading .a14-eyebrow {
    justify-content: center;
}

.a14-logo-heading h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.a14-logo-marquee {
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    border: 1px solid var(--a14-line);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.a14-logo-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    padding: 24px;
    animation: a14-logo-scroll 32s linear infinite;
}

.a14-logo-marquee:hover .a14-logo-track,
.a14-logo-marquee:focus-within .a14-logo-track {
    animation-play-state: paused;
}

.a14-logo-item,
.a14-logo-widget,
.a14-logo-track .widget,
.a14-logo-track figure,
.a14-logo-track .wp-block-image,
.a14-logo-track .wp-block-gallery,
.a14-logo-track .gallery,
.a14-logo-track a {
    flex: 0 0 auto;
}

.a14-logo-item,
.a14-logo-track .wp-block-image,
.a14-logo-track .gallery-item,
.a14-logo-track figure {
    min-width: 150px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 16px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.a14-logo-item img,
.a14-logo-track img {
    display: block;
    max-width: 132px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.a14-logo-track .textwidget {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

@keyframes a14-logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.a14-footer {
    background: #07111f;
    padding-top: 0;
}

.a14-footer-main {
    padding: clamp(48px, 7vw, 76px) 0 34px;
    background:
        radial-gradient(circle at 8% 0%, rgba(6, 182, 212, 0.12), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(29, 78, 216, 0.16), transparent 34%),
        #07111f;
}

.a14-footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(240px, 0.72fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.a14-footer-about,
.a14-footer-contact-card,
.a14-footer-map {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.a14-footer-about strong,
.a14-footer-contact-card h2 {
    display: block;
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.a14-footer-contact-card h2 {
    font-size: 1.65rem;
}

.a14-footer-about p,
.a14-contact-list,
.a14-contact-list a,
.a14-contact-list address {
    color: rgba(255,255,255,.78);
}

.a14-contact-list {
    display: grid;
    gap: 14px;
}

.a14-contact-list a,
.a14-contact-list address {
    display: grid;
    gap: 3px;
    margin: 0;
    font-style: normal;
    text-decoration: none;
    line-height: 1.45;
}

.a14-contact-list span {
    color: #67e8f9;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
    font-weight: 900;
}

.a14-footer-map {
    padding: 0;
    min-height: 240px;
    overflow: hidden;
    background: #0f172a;
}

.a14-footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
    filter: saturate(0.92) contrast(1.02);
}

.a14-map-placeholder {
    min-height: 240px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 26px;
    color: rgba(255,255,255,.74);
    background:
        linear-gradient(135deg, rgba(29,78,216,.22), rgba(20,184,166,.18)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
        #0f172a;
}

.a14-map-placeholder span {
    font-size: 2.1rem;
}

.a14-map-placeholder strong {
    color: #fff;
    margin-top: 8px;
}

.a14-map-placeholder small {
    max-width: 280px;
    margin-top: 8px;
}

.a14-footer-widgets {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.a14-footer-widget {
    min-width: 0;
}

.a14-footer-title {
    color: #fff;
    margin-top: 0;
    font-size: 1rem;
}

.a14-footer-bottom {
    margin-top: 0;
    padding-block: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.a14-footer-menu ul,
.a14-footer-menu .menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
}

/* Tame old Elementor/content leftovers that no longer have Elementor CSS loaded. */
.a14-content-card img,
.a14-page-content img,
.a14-content-card svg,
.a14-page-content svg {
    max-width: 100%;
    height: auto;
}

.a14-content-card .elementor-widget-container,
.a14-content-card .elementor-section,
.a14-content-card .elementor-container,
.a14-content-card .elementor-column,
.a14-content-card .elementor-widget-wrap {
    max-width: 100%;
}

.a14-content-card .elementor-social-icons-wrapper,
.a14-content-card .wp-block-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.a14-content-card .elementor-social-icon,
.a14-content-card .wp-social-link {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
    overflow: hidden;
}

.a14-content-card .elementor-social-icon i,
.a14-content-card .elementor-social-icon svg,
.a14-content-card .wp-social-link svg {
    width: 22px !important;
    height: 22px !important;
    font-size: 22px !important;
}

@media (max-width: 1080px) {
    .a14-header-inner {
        min-height: 76px;
    }
    .a14-brand-text {
        display: none;
    }
    .a14-branding {
        flex-basis: auto;
    }
    .a14-navigation a {
        padding-inline: 9px;
        font-size: .84rem;
    }
    .a14-action-label {
        display: none;
    }
}

@media (max-width: 920px) {
    .a14-header-inner {
        position: relative;
    }
    .a14-header-actions {
        margin-left: auto;
    }
    .a14-navigation {
        order: 10;
    }
    .a14-footer-top {
        grid-template-columns: 1fr;
    }
    .a14-footer-map,
    .a14-footer-map iframe,
    .a14-map-placeholder {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .a14-branding .custom-logo {
        max-width: 158px;
        max-height: 46px;
    }
    .a14-header-actions {
        gap: 6px;
    }
    .a14-header-action {
        min-height: 40px;
        width: 40px;
        padding: 0;
    }
    .a14-header-account .a14-action-label,
    .a14-header-cart .a14-action-label {
        display: none;
    }
    .a14-cart-count {
        position: absolute;
        margin-left: 24px;
        margin-top: -26px;
        min-width: 18px;
        height: 18px;
        font-size: .66rem;
        padding-inline: 4px;
    }
    .a14-logo-track {
        gap: 14px;
        padding: 16px;
        animation-duration: 24s;
    }
    .a14-logo-item,
    .a14-logo-track .wp-block-image,
    .a14-logo-track .gallery-item,
    .a14-logo-track figure {
        min-width: 126px;
        height: 70px;
        padding: 12px 14px;
    }
    .a14-logo-item img,
    .a14-logo-track img {
        max-width: 108px;
        max-height: 42px;
    }
    .a14-footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* Standard page template */
.a14-standard-page {
    background: #f5f8fc;
}

.a14-page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(45, 139, 255, .28), transparent 32%),
        linear-gradient(135deg, #07162b 0%, #0e2f5f 52%, #1194d3 100%);
    color: #fff;
    padding: clamp(54px, 8vw, 96px) 0 clamp(42px, 7vw, 76px);
}

.a14-page-hero::after {
    content: '';
    position: absolute;
    inset: auto -5vw -42px -5vw;
    height: 90px;
    background: #f5f8fc;
    transform: rotate(-2deg);
    transform-origin: center;
}

.a14-page-hero-inner {
    position: relative;
    z-index: 1;
}

.a14-page-hero-copy {
    max-width: 820px;
}

.a14-page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.a14-page-excerpt {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.a14-page-layout-section {
    padding: clamp(34px, 6vw, 72px) 0 clamp(58px, 8vw, 96px);
}

.a14-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(22px, 4vw, 42px);
    align-items: start;
}

.a14-page-layout:not(:has(.a14-page-sidebar)) {
    grid-template-columns: minmax(0, 1fr);
}

.a14-standard-content {
    width: 100%;
    max-width: none;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(10, 27, 53, .08);
    box-shadow: 0 24px 80px rgba(10, 27, 53, .08);
}

/* The custom page.php already provides its own hero and content card.
   Keep it full-width so it does not inherit the generic parent-page box. */
body.a14-it-child-theme .a14-standard-page {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f5f8fc;
}


body.a14-it-child-theme .a14-standard-page .hentry,
body.a14-it-child-theme .a14-standard-page article {
    margin: 0;
}

body.a14-it-child-theme .a14-standard-page .a14-content-card {
    margin: 0;
}

.a14-featured-image {
    margin: 0 0 clamp(24px, 4vw, 38px);
    border-radius: 24px;
    overflow: hidden;
    background: #e7eef8;
}

.a14-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.a14-entry-content > *:first-child {
    margin-top: 0;
}

.a14-entry-content > *:last-child {
    margin-bottom: 0;
}

.a14-entry-content h2,
.a14-entry-content h3,
.a14-entry-content h4 {
    color: #0a1b35;
    letter-spacing: -.025em;
}

.a14-entry-content p,
.a14-entry-content li {
    color: #344258;
    font-size: 1.02rem;
    line-height: 1.75;
}

.a14-entry-content a {
    color: #0876d8;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.a14-entry-content .wp-block-button__link {
    border-radius: 999px;
    background: linear-gradient(135deg, #1188ff, #16b3b8);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(17, 136, 255, .22);
}

.a14-entry-content .wp-block-table,
.a14-entry-content table {
    width: 100%;
}

.a14-entry-content table {
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.a14-entry-content th,
.a14-entry-content td {
    border: 1px solid #e4ebf5;
    padding: 12px 14px;
}

.a14-entry-content th {
    background: #f2f6fb;
    color: #0a1b35;
}

.a14-page-sidebar {
    background: #fff;
    border: 1px solid rgba(10, 27, 53, .08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 54px rgba(10, 27, 53, .07);
}

.a14-page-sidebar .widget {
    margin: 0 0 26px;
}

.a14-page-sidebar .widget:last-child {
    margin-bottom: 0;
}

.a14-page-sidebar .widget-title,
.a14-page-sidebar h2,
.a14-page-sidebar h3 {
    margin-top: 0;
    color: #0a1b35;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.a14-page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e4ebf5;
    font-weight: 800;
}

.comments-area {
    max-width: 1180px;
    margin: 0 auto clamp(42px, 7vw, 84px);
    padding: 0 22px;
}

.comments-area .comment-respond,
.comments-area .comment-list {
    background: #fff;
    border-radius: 24px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(10, 27, 53, .08);
    box-shadow: 0 18px 54px rgba(10, 27, 53, .07);
}

@media (max-width: 980px) {
    .a14-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .a14-page-hero {
        padding-top: 42px;
    }
    .a14-standard-content,
    .a14-page-sidebar {
        border-radius: 20px;
        padding: 22px;
    }
    .a14-entry-content p,
    .a14-entry-content li {
        font-size: 1rem;
    }
}

/* v1.1.5: prevent homepage CTA/button overflow on mobile. */
body.a14-it-child-theme *,
body.a14-it-child-theme *::before,
body.a14-it-child-theme *::after {
    box-sizing: border-box;
}

.a14-button {
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

@media (max-width: 640px) {
    .a14-hero-actions {
        align-items: stretch;
        width: 100%;
    }

    .a14-hero-actions .a14-button {
        width: 100%;
        min-width: 0;
        padding-left: 18px;
        padding-right: 18px;
    }
}
