@font-face {
font-family: 'Inter';
src: url(//klinikalista.pl/wp-content/themes/klinikalista/fonts/inter/inter-v18-regular.woff2) format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url(//klinikalista.pl/wp-content/themes/klinikalista/fonts/inter/inter-v18-italic.woff2) format('woff2');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url(//klinikalista.pl/wp-content/themes/klinikalista/fonts/inter/inter-v18-500.woff2) format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url(//klinikalista.pl/wp-content/themes/klinikalista/fonts/inter/inter-v18-600.woff2) format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url(//klinikalista.pl/wp-content/themes/klinikalista/fonts/inter/inter-v18-700.woff2) format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
:root {
--primary-font: 'Inter', sans-serif;
}
html {
box-sizing: border-box;
font-size: 16px; scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
margin: 0;
padding: 0;
font-family: var(--primary-font);
font-size: 1rem;
line-height: 1.6;
color: #111;
background-color: #fff;
min-height: 100vh;
overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
nav,
.menu {
font-family: var(--primary-font);
}
h1 {
font-family: var(--primary-font, serif);
font-size: clamp(2rem, 4vw, 2.75rem);
font-weight: 700;
line-height: 1.3;
margin-bottom: 1rem;
color: #111;
}
h2 {
font-family: var(--primary-font, serif);
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
line-height: 1.4;
margin-top: 2.5rem;
margin-bottom: 1rem;
color: #222;
}
h3 {
font-family: var(--primary-font, serif);
font-size: clamp(1.25rem, 2.5vw, 1.5rem);
font-weight: 700;
line-height: 1.4;
margin-top: 2rem;
margin-bottom: 0.75rem;
color: #333;
}
h4 {
font-size: clamp(0.8rem, 1vw + 0.4rem, 1.25rem);
line-height: 1.3;
font-weight: 700;
margin-bottom: 1rem;
}
.container {
margin-inline: auto;
padding-inline: clamp(1rem, 5vw, 2rem);
}
.share-buttons {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
width: 100%;
max-width: 100%;
gap: .5rem;
padding: 1rem 0;
border-top: 1px solid #ddd;
}
.share-buttons h3 {
font-size: 1rem;
margin: 0;
font-weight: 700;
color: #2200cc;
white-space: nowrap; } .share-icons {
display: flex;
gap: 0.5rem;
margin-left: auto;
flex-shrink: 0; } .share-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 36px;
height: 36px;
background-color: transparent;
border: none;
cursor: pointer;
overflow: hidden;
transition: transform 0.2s ease;
flex-shrink: 0;
}
.share-button img {
width: 100%;
height: auto;
display: block;
}
.share-button:hover {
transform: scale(1.1);
} @media (max-width: 480px) {
.share-buttons {
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
}
.share-icons {
margin-left: auto;
}
}
.site-header {
background-color: #2200cc;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding-inline: clamp(1rem, 5vw, 2rem);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9999;
height: 64px;
}
.header-section {
display: flex;
align-items: center;
width: 33.33%;
}
.header-center {
justify-content: center;
}
.header-right {
justify-content: flex-end;
}
.menu-button {
background: none;
border: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
padding: 8px;
cursor: pointer;
}
.menu-button:hover {
background-color: #00237b;
}
.menu-button svg {
width: 24px;
height: 24px;
fill: white;
}
.icon-hamburger,
.icon-close {
display: none;
}
.menu-button[data-open="false"] .icon-hamburger {
display: block;
}
.menu-button[data-open="true"] .icon-close {
display: block;
}
.custom-logo-link {
line-height: 0;
}
.custom-logo {
height: 28px;
fill: white;
}
.side-menu {
position: fixed;
top: 64px;
left: -100%;
width: 280px;
bottom: 0;
background-color: #2200cc;
color: white;
padding: 1.5rem 0;
transition: left 0.3s ease;
z-index: 9998;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.side-menu::-webkit-scrollbar {
display: none;
}
.side-menu.open {
left: 0;
}
.menu-list {
list-style: none;
padding: 0;
margin: 0;
}
.menu-list li a {
color: white;
text-decoration: none;
font-size: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 44px;
padding: 0 2rem;
box-sizing: border-box;
transition: background-color 0.2s ease;
}
.menu-list li a:hover {
background-color: #00237b;
}
#menu-huvudmeny.menu-list {
font-weight: 700;
}
.menu-sublist li a {
font-size: 0.85rem;
height: 40px;
justify-content: flex-start;
}
.menu-divider {
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.2);
margin: 1rem 0;
}
.footer-modern {
background-color: #2200cc;
color: #ffffff;
padding: 3rem 1.5rem 2rem;
font-family: var(--primary-font, 'Inter', sans-serif);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
}
.footer-columns {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 2rem;
margin-bottom: 2rem;
}
.footer-col {
flex: 1 1 200px;
min-width: 200px;
}
.footer-col h3 {
font-family: var(--primary-font, serif);
font-size: 1.125rem;
font-weight: 700;
margin-bottom: 1rem;
color: #ffffff;
}
.footer-col ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-col ul li {
margin-bottom: 0.5rem;
}
.footer-col ul li a {
font-family: var(--primary-font, serif);
font-size: 0.95rem;
color: #e0e0ff;
text-decoration: none;
transition: color 0.2s ease, text-decoration 0.2s ease;
}
.footer-col ul li a:hover,
.footer-col ul li a:focus {
color: #ffffff;
text-decoration: underline;
}
.footer-bottom {
display: flex;
flex-direction: column;
align-items: flex-start;
opacity: 0.8;
border-top: 1px solid rgba(255, 255, 255, 0.2);
padding-top: 1rem;
margin-top: 0;
margin-bottom: 0;
}
.footer-bottom p {
font-size: 0.85rem;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
@media (min-width: 768px) {
.footer-bottom {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
}
.footer-language-switcher {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
color: #ffffffcc; font-family: 'Sen', sans-serif;
}
.footer-language-switcher .lang-active {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 3px;
cursor: default;
}
.footer-language-switcher .lang-divider {
opacity: 0.5;
}
.footer-language-switcher .lang-link {
color: #ffffffcc;
text-decoration: none;
transition: color 0.2s ease, text-decoration 0.2s ease;
}
.footer-language-switcher .lang-link:hover {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 3px;
}
ul,
ol {
font-size: 1rem;
line-height: 1.7;
margin-bottom: 1.5rem;
padding-left: 1.5rem;
color: #000; }
li {
margin-bottom: 0.5rem;
}
ul li::marker {
color: #000; }
ol li::marker {
font-weight: bold;
color: #000; }
ul ul,
ol ol,
ul ol,
ol ul {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
padding-left: 1.25rem;
font-size: 0.95rem;
}
.breadcrumbs {
margin-top: 70px;
padding-inline: clamp(1rem, 5vw, 2rem);
}
.breadcrumbs ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
font-size: 0.875rem;
}
.breadcrumbs li::after {
content: '›';
margin-left: 0.5rem;
margin-right: 0.5rem;
color: #888;
}
.breadcrumbs li:last-child::after {
content: '';
}
.breadcrumbs a {
text-decoration: none;
color: #0073aa;
}
.breadcrumbs li:last-child {
font-weight: bold;
color: #333;
}
.breadcrumb-home-icon svg.icon-home {
width: 1em;
height: 1em;
vertical-align: middle;
}
.search-bar-wrapper {
position: relative;
z-index: 999; padding: 0.75rem clamp(1rem, 5vw, 2rem);
background-color: #f1f1f1;
border-bottom: 1px solid #ddd;
display: none;
}
.search-bar-wrapper.active {
display: block;
}
.home .search-bar-wrapper.active {
display: block;
margin-top: 64px;
}
.search-form {
display: flex;
gap: 0.5rem;
max-width: 600px;
margin: 0 auto;
}
.search-field {
flex: 1;
padding: 0.5rem;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
}
.search-submit {
padding: 0.5rem 1rem;
background-color: #2200cc;
color: white;
border: none;
font-weight: 700;
border-radius: 4px;
cursor: pointer;
}
.search-submit:hover {
background-color: #00237b;
}
p {
font-size: 1rem; line-height: 1.7;
margin-top: 0;
max-width: 75ch; } .hero-section {
background-color: #f6f8fb;
padding: 4rem 1.5rem;
text-align: center;
font-family: 'Inter', sans-serif;
}
.hero-container {
max-width: 800px;
margin: 0 auto;
}
.hero-subtext {
font-size: 1rem;
color: #4a4a4a;
margin-bottom: 0.5rem;
}
.hero-title {
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 700;
color: #1a1a1a;
margin-bottom: 1rem;
}
.hero-description {
font-size: 1.125rem;
color: #333;
margin-bottom: 2rem;
line-height: 1.6;
font-weight: 500;
}
.hero-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
}
.hero-btn {
text-decoration: none;
font-weight: 700;
padding: 0.75rem 1.5rem;
border-radius: 8px;
transition: all 0.3s ease;
}
.hero-btn.primary {
background-color: #0070f3;
color: #fff;
}
.hero-btn.primary:hover {
background-color: #0059c9;
}
.hero-btn.secondary {
background-color: #e6ecf2;
color: #333;
}
.hero-btn.secondary:hover {
background-color: #d5dce5;
}
@media (min-width: 640px) {
.hero-buttons {
flex-direction: row;
justify-content: center;
}
}
.content-text {
max-width: 720px;
margin: 0 auto 2rem auto;
}
.intro {
font-family: var(--primary-font, sans-serif);
font-size: 1.125rem;
font-weight: 700;
line-height: 1.6;
margin-bottom: 1.5rem;
color: #333;
} #toggle-buttons {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
}
.toggle-button {
flex: 1; text-align: center;
background-color: #f0f0f0;
border: none;
padding: 0.75rem 1rem;
font-size: 1rem;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.toggle-button:hover {
background-color: #e0e0e0;
}
.toggle-button.active-button {
background-color: #2200cc;
color: white;
} .search-archive-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
gap: 1rem;
margin-top: 2rem;
padding: 0;
list-style: none;
font-size: 1rem;
font-weight: 700;
line-height: 1.3;
}
.search-archive-list li a {
display: block;
padding: 0.75rem 1rem;
background-color: #f9f9f9;
border-radius: 6px;
color: #2200cc;
text-decoration: none;
transition: background 0.2s ease;
}
.search-archive-list li a:hover {
background-color: #eaeaea;
text-decoration: underline;
} .search-archive-wrapper {
max-width: 1010px;
margin: 0 auto;
}
#search-container {
margin-bottom: 1rem;
}
#search-container input {
width: 100%;
padding: 0.75rem 1rem;
font-size: 1rem;
background-color: #f9f9f9; border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
transition: border-color 0.2s ease;
}
#search-container input:focus {
outline: none;
border-color: #2200cc;
}
#alphabet-grid {
display: flex;
flex-wrap: wrap;
gap: 0.57rem;
margin-top: 1rem;
}
.letter {
flex: 1 0 calc(100% / 7 - 0.5rem); max-width: calc(100% / 7 - 0.5rem);
display: flex;
align-items: center;
justify-content: center;
padding: 0.6rem 0;
font-size: 1rem;
font-weight: 500;
border-radius: 4px;
text-align: center;
height: 44px;
box-sizing: border-box;
} .clickable {
background-color: #2200cc;
color: white;
text-decoration: none;
}
.clickable:hover {
background-color: #002f7a;
} .non-clickable {
background-color: #ddd;
color: #888;
cursor: not-allowed;
} @media (max-width: 768px) {
.letter {
flex: 1 0 calc(100% / 5 - 0.5rem);
max-width: calc(100% / 5 - 0.5rem);
}
}
@media (max-width: 480px) {
.letter {
flex: 1 0 calc(100% / 3 - 0.9rem);
max-width: calc(100% / 3 - 0.9rem);
}
}
@media (max-width: 768px) {
.site-header {
padding: 0 0.75rem;
height: 52px;
}
.home .search-bar-wrapper.active {
margin-top: 52px;
}
.custom-logo {
height: 18px;
}
.side-menu {
top: 52px;
height: calc(100% - 52px);
}
}
@media (max-width: 480px) {
.custom-logo {
height: 15px;
}
.side-menu {
top: 40px;
height: calc(100% - 40px);
}
} .article-header {
margin-top: 2rem;
margin-bottom: 1rem;
}
.meta-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
font-size: 0.875rem;
color: #666;
margin-bottom: 1.5rem;
align-items: center;
font-family: var(--primary-font);
}
.meta-row time {
white-space: nowrap;
}
.meta-row .separator {
color: #ccc;
} .article-share {
max-width: 720px;
margin: 2rem auto;
display: flex;
align-items: center;
gap: 0.75rem;
flex-wrap: wrap;
} .article-seo-text {
margin-top: 3rem;
border-top: 1px solid #ddd;
padding-top: 2rem;
}
.responsive-table {
max-width: 100%;
overflow-x: auto;
margin: 2rem 0;
border-radius: 6px;
border: 1px solid #ccc; -webkit-overflow-scrolling: touch;
scrollbar-width: thin;
scrollbar-color: #ccc transparent;
}
.responsive-table::-webkit-scrollbar {
height: 8px;
}
.responsive-table::-webkit-scrollbar-thumb {
background-color: #bbb;
border-radius: 4px;
} .responsive-table table {
border-collapse: collapse;
white-space: nowrap; width: auto; min-width: 100%; font-size: 1rem;
background-color: #fff;
color: #2200cc;
} .responsive-table thead {
background-color: #f0f4f8;
text-align: left;
}
.responsive-table th,
.responsive-table td {
padding: 0.75rem 1rem;
border: 1px solid #e0e0e0;
vertical-align: top;
white-space: nowrap; } .responsive-table tbody tr:nth-child(even) {
background-color: #fafafa;
}
.post-grid {
display: grid;
gap: 2rem;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.post-card {
border: 1px solid #eee;
border-radius: 8px;
overflow: hidden;
transition: box-shadow 0.3s;
background: #fff;
}
.post-card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.post-thumbnail img {
width: 100%;
display: block;
height: auto;
}
.post-title {
font-size: 1.2rem;
margin: 0.75rem 0;
}
.post-content {
padding: 1rem;
}
.pagination ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.pagination li {
display: inline-block;
}
.pagination a,
.pagination .current {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 50%;
background-color: #f0f0f0;
color: #333;
text-decoration: none;
font-weight: 500;
transition: background 0.2s ease;
}
.pagination .current {
background-color: #2200cc;
color: #fff;
}
.pagination a:hover {
background-color: #2200cc;
color: white;
}
@media (max-width: 768px) {
.pagination a,
.pagination .current {
width: 34px;
height: 34px;
font-size: 0.9rem;
}
}
.content-text a {
color: #2200cc;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 3px;
transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.content-text a:hover,
.content-text a:focus {
color: #002f7a;
text-decoration-color: #002f7a;
}
.editorial-box {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 1.5rem;
border-radius: 8px;
margin: 3rem auto 2rem auto;
font-size: 0.95rem;
color: #2200cc;
max-width: 812px;
font-family: var(--primary-font);
}
.editorial-box p {
margin: 0 0 0.75rem 0;
}
.editorial-box .editorial-meta {
font-weight: 700;
color: #333;
}
.editorial-box .editorial-link {
color: #2200cc;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 2px;
transition: color 0.2s ease;
}
.editorial-box .editorial-link:hover {
color: #002f7a;
}
.link-list-wrapper {
max-width: 1120px;
width: 100%;
margin: 2rem auto 0 auto;
padding: 0 1rem;
}
.link-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
gap: 1rem;
margin-top: 2rem;
padding: 0;
list-style: none;
font-size: 1rem;
font-weight: 700;
line-height: 1.3;
}
.link-list li a {
display: block;
padding: 0.75rem 1rem;
background-color: #f9f9f9;
border-radius: 6px;
color: #2200cc;
text-decoration: none;
transition: background 0.2s ease;
}
.link-list li a:hover {
background-color: #eaeaea;
text-decoration: underline;
}
.topic-featured-image {
display: flex;
justify-content: center;
padding: 0 1rem;
margin: 2rem auto;
}
.image-ratio-box {
position: relative;
width: 100%;
max-width: 1120px;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 12px;
max-height: 520px;
}
.image-ratio-box img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
border-radius: 12px;
display: block;
}
.featured-image-wrapper {
max-width: 1200px;
margin: 0 auto 2rem auto;
padding-inline: 1rem;
}
.featured-image img {
display: block;
width: 100%;
height: auto;
border-radius: 0.5rem;
}
.search-header {
background: #f7f7f7;
padding: 2rem 1rem;
text-align: center;
}
.search-title {
font-size: 1.75rem;
font-weight: 700;
margin: 0;
color: #2200cc;
}
.search-list {
padding: 2rem 1rem;
max-width: 900px;
margin: 0 auto;
}
.search-group {
margin-bottom: 3rem;
}
.group-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
border-bottom: 2px solid #ddd;
padding-bottom: 0.25rem;
color: #111;
}
.search-results-list {
list-style: none;
padding: 0;
margin: 0;
}
.search-result-item {
margin-bottom: 1rem;
}
.result-link {
display: inline-block;
font-size: 1.05rem;
color: #2200cc;
text-decoration: none;
border-bottom: 1px solid transparent;
padding-bottom: 2px;
transition: border-color 0.2s ease;
}
.result-link:hover {
border-color: #2200cc;
}
.no-results {
text-align: center;
font-size: 1.1rem;
color: #666;
}
.toggle-group {
margin: 1rem 0;
}
.toggle-label {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: .3rem;
}
.toggle-label input[type="checkbox"] {
display: none;
}
.toggle-slider {
position: relative;
width: 40px;
height: 20px;
background: #ccc;
border-radius: 20px;
transition: 0.3s;
cursor: pointer;
}
.toggle-slider::before {
content: "";
position: absolute;
width: 18px;
height: 18px;
background: white;
border-radius: 50%;
top: 1px;
left: 1px;
transition: 0.3s;
}
.toggle-label input:checked+.toggle-slider {
background: #002f7a;
}
.toggle-label input:checked+.toggle-slider::before {
transform: translateX(20px);
}
.toggle-slider.disabled {
background: #eee !important;
cursor: not-allowed;
} #filter-container {
display: flex;
gap: 15px;
text-align: center;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin-bottom: 2rem;
}
#filter-container select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-color: #fff;
border: 2px solid #ccc;
border-radius: 30px;
padding: 12px 40px 12px 20px;
width: 100%;
max-width: 100%;
font-size: 16px;
color: #333;
font-family: 'Arial', sans-serif;
transition: all 0.3s ease;
box-sizing: border-box;
cursor: pointer;
}
@media (min-width: 600px) {
#filter-container select {
flex: 1;
}
}
#filter-container select:hover {
border-color: #888;
}
#filter-container select:focus {
border-color: #4a90e2;
outline: none;
}
#filter-container select option {
font-size: 16px;
padding: 10px;
background-color: #fff;
color: #333;
}
#filter-container select option:disabled {
color: #aaa;
font-style: italic;
}
@media (max-width: 600px) {
#filter-container {
gap: 10px;
}
#filter-container select {
max-width: 100%;
}
} .kliniker-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}
.klinik-card {
border: 1px solid #ddd;
border-radius: 10px;
padding: 1.5rem;
transition: all 0.2s ease;
background: #fff;
}
.klinik-card h2 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
}
.klinik-card a {
text-decoration: none;
color: #2200cc;
}
.klinik-card .excerpt {
font-size: 0.95rem;
color: #444;
margin-top: 0.75rem;
}
.single-klinik h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.klinik-adresser h2 {
font-size: 1.3rem;
margin-bottom: 0.5rem;
}
.klinik-adresser ul {
list-style: none;
padding: 0;
margin: 0;
}
.klinik-adresser li {
padding: 0.4rem 0;
font-size: 1rem;
color: #333;
}
figure {
margin: 0;
}
figure img {
max-width: 100%;
height: auto;
display: block;
}
figcaption {
font-size: 14px;
color: #666;
margin-top: 0.5rem;
line-height: 1.4;
font-style: italic;
}
#map-wrapper {
position: relative;
width: 100vw;
padding-bottom: 56.25%;
max-height: 520px;
overflow: hidden;
margin: 0;
}
.map-wrapper {
position: relative;
width: 100vw;
max-width: 100%;
aspect-ratio: 16 / 9;
max-height: 420px;
overflow: hidden;
}
#map {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.toc-container {
overflow: hidden;
margin: 2rem 0;
}
.toc-header {
font-weight: bold;
margin-bottom: 0.5rem;
font-family: var(--primary-font);
}
.toc-menu {
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
.toc-menu ul {
display: inline-flex;
gap: 1rem;
list-style: none;
margin: 0;
padding: 0;
}
.toc-menu li {
flex: 0 0 auto;
}
.toc-menu a {
display: flex;
background: rgb(38 55 122 / 6%);
border-radius: 10px;
text-decoration: none;
font-size: 0.85rem;
transition: background 0.2s ease;
padding-left: 16px;
padding-right: 16px;
height: 2.5rem;
justify-content: center;
align-items: center;
font-weight: 700;
color: #000;
}
.toc-menu a:hover {
background: rgb(5 16 75 / 10%);
color: inherit;
} .toc-menu::-webkit-scrollbar {
height: 6px;
}
.toc-menu::-webkit-scrollbar-track {
background: transparent;
}
.toc-menu::-webkit-scrollbar-thumb {
background-color: #ccc;
border-radius: 3px;
} .toc-menu {
scrollbar-color: #ccc transparent;
scrollbar-width: thin;
}
.sensitive-warning {
border-left: 4px solid #2200cc;
background: #f7f7f7;
padding: 1rem;
margin-bottom: 2rem;
font-size: 0.95rem;
color: #2200cc;
border-radius: 4px;
}
.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.responsive-image img {
width: 100%;
height: auto;
display: block;
max-width: 800px;
margin: 0 auto;
}
.responsive-image figcaption {
font-size: 0.9em;
text-align: center;
color: #666;
}