:root {
    --ink: #333333;
    --muted: #666666;
    --accent: #03c4eb;
    --bg: #ffffff;
    --line: #e5e5e5;
    --header: #222222;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Open Sans", "Segoe UI", sans-serif;
    line-height: 1.7;
}

h1, h2, h3, .brand, .nav-toggle, .product-tabs-button {
    font-family: Raleway, "Segoe UI", sans-serif;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; }

html { overflow-x: clip; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 0;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    flex-wrap: wrap;
}

.brand {
    color: var(--header);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: .45rem .8rem;
    cursor: pointer;
}

.main-navigation {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--header);
    text-decoration: none;
    font-weight: 600;
}

.main-navigation a:hover { color: var(--accent); }

main.wrap {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    overflow-x: clip;
}

main.wrap article { min-width: 0; }

.guide-header h1 { margin-bottom: .4rem; font-size: 2rem; }
.breadcrumbs, .meta, .disclosure { color: var(--muted); font-size: .95rem; }
.breadcrumbs a { color: var(--muted); }
.stars { color: #f4c150; letter-spacing: .05em; }

.guide h2 { margin-top: 2rem; }
.guide ul { padding-left: 1.2rem; }
main.wrap img,
main.wrap video,
main.wrap figure,
main.wrap .wp-caption,
main.wrap .wp-block-image,
main.wrap .aligncenter,
main.wrap .alignnone,
main.wrap .alignleft,
main.wrap .alignright {
    max-width: 100%;
}
main.wrap figure,
main.wrap .wp-caption,
main.wrap .wp-block-image {
    width: auto !important;
    height: auto !important;
    box-sizing: border-box;
}
main.wrap iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
figure { margin: 1.2rem 0; }
.home-guide img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.home-guide figure {
    text-align: center;
}
figcaption, .wp-caption-text, .elementor-image-carousel-caption {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .4rem;
}
.swiper-slide-inner {
    display: inline-block;
    width: calc(33.33% - .6rem);
    vertical-align: top;
    margin: .25rem;
}
.e-eicon-chevron-left, .e-eicon-chevron-right { display: none; }
.elementor-icon-list-icon { display: none; }
.elementor-icon-list-items { list-style: disc; padding-left: 1.2rem; }
.elementor-icon-list-item { margin: .25rem 0; }

.product-tabs {
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    background: #f7f7f7;
}

.product-tabs-button {
    border: 0;
    background: transparent;
    padding: .8rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

.product-tabs-button.is-active {
    background: #fff;
    color: var(--accent);
}

.product-tabs-panel { padding: 1rem; }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.news-list a {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}
.news-list h2 { margin: 0 0 .3rem; font-size: 1.2rem; color: var(--header); }
.pagination { display: flex; gap: 1rem; margin-top: 1.5rem; }

.site-footer {
    background: #111;
    color: #ddd;
    padding: 2rem 0;
    font-size: .95rem;
}
.site-footer a { color: #fff; }
.footer-guides { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin: 1rem 0; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #111;
    color: #fff;
    padding: 1rem 1.2rem;
    display: none;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    z-index: 1000;
    pointer-events: auto;
}
.cookie-banner.is-visible {
    display: flex;
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-actions { display: flex; gap: .6rem; }
.cookie-banner button {
    border: 0;
    padding: .55rem .9rem;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
}
.cookie-banner button.secondary { background: #444; }

@media (max-width: 800px) {
    .nav-toggle { display: inline-block; }
    .main-navigation { display: none; width: 100%; flex-direction: column; padding-bottom: 1rem; }
    .main-navigation.is-open { display: flex; }
    .news-list a { grid-template-columns: 1fr; }
    .swiper-slide-inner { width: 100%; margin: 0 0 1rem; }
    .cookie-banner.is-visible { flex-direction: column; align-items: stretch; }
}
