:root {
    --page-bg: #f6f7f9;
    --surface: #ffffff;
    --surface-muted: #f1f3f5;
    --surface-hover: #e9edf1;
    --border: #e2e5e9;
    --border-strong: #d4d9df;
    --heading: #17191c;
    --text: #5f646c;
    --text-muted: #777d86;
    --nav-text: #26292d;
    --accent: #006fd6;
    --accent-hover: #005fba;
    --accent-contrast: #ffffff;
    --focus: rgba(0, 133, 255, 0.24);
    --footer-border: #e9ebee;
    --shadow: 0 10px 28px rgba(27, 35, 48, 0.07);
    color-scheme: light;
}

html[data-theme="dark"] {
    --page-bg: #161515;
    --surface: #252525;
    --surface-muted: #191919;
    --surface-hover: #303030;
    --border: #333333;
    --border-strong: #3a3a3a;
    --heading: #ffffff;
    --text: #9d9d9d;
    --text-muted: #858585;
    --nav-text: #ffffff;
    --accent: #0085ff;
    --accent-hover: #2095ff;
    --accent-contrast: #ffffff;
    --focus: rgba(0, 133, 255, 0.3);
    --footer-border: #1d1d1d;
    --shadow: none;
    color-scheme: dark;
}

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

html {
    min-width: 280px;
    background: var(--page-bg);
    -webkit-text-size-adjust: 100%;
}

body,
input,
button,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--page-bg);
    font-size: 14px;
    line-height: 1.5;
    transition: background-color 160ms ease, color 160ms ease;
}

a {
    color: inherit;
}

img,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font-size: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-header {
    width: calc(100% - 8%);
    max-width: 600px;
    min-height: 44px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    width: 90px;
    height: 44px;
    flex: 0 0 90px;
    display: block;
    position: relative;
}

.brand__logo {
    width: 90px;
    height: 44px;
    display: block;
    object-fit: contain;
}

.brand__logo--dark {
    display: none;
}

html[data-theme="dark"] .brand__logo--light {
    display: none;
}

html[data-theme="dark"] .brand__logo--dark {
    display: block;
}

.site-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.language-menu {
    position: relative;
    color: var(--nav-text);
}

.language-menu > summary {
    min-height: 32px;
    max-width: 150px;
    padding: 5px 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.language-menu > summary::-webkit-details-marker {
    display: none;
}

.language-menu > summary::after {
    content: "\25BE";
    color: var(--text-muted);
    font-size: 10px;
}

.language-menu[open] > summary {
    color: var(--accent);
    border-color: var(--accent);
}

.language-menu__current {
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-menu__panel {
    width: min(360px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 100px));
    padding: 14px;
    position: absolute;
    z-index: 1000;
    top: calc(100% + 9px);
    right: 0;
    overflow: auto;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.language-menu__panel > p {
    margin: 0 0 10px;
    color: var(--heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.language-menu__panel ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    list-style: none;
}

.language-menu__panel a {
    min-height: 38px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    color: var(--nav-text);
    border-radius: 5px;
    text-decoration: none;
}

.language-menu__panel a:hover,
.language-menu__panel a[aria-current="page"] {
    color: var(--accent);
    background: var(--surface-hover);
}

.site-nav > a {
    color: var(--nav-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 140ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
    color: var(--accent);
}

.theme-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    color: var(--nav-text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--surface);
}

.theme-toggle svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle__moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
    display: block;
}

.search-form {
    width: calc(100% - 8%);
    max-width: 600px;
    margin: 32px auto 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.search-form > label {
    height: 19px;
    display: block;
    overflow: hidden;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-form__input {
    width: 100%;
    min-height: 56px;
    padding: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    background: var(--surface-muted);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
}

.search-form .input {
    min-width: 0;
    position: relative;
}

.search-form input[type="text"],
.search-form input[type="submit"] {
    height: 44px;
    font-size: 16px;
    border: 0;
    border-radius: 4px;
}

.search-form input[type="text"] {
    width: 100%;
    min-width: 0;
    padding: 0 6px;
    color: var(--heading);
    background: transparent;
    outline: 0;
}

.search-form input[type="text"]::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.search-form input[type="submit"] {
    min-width: 105px;
    padding: 0 24px;
    color: var(--accent-contrast) !important;
    background: var(--accent);
    cursor: pointer;
    appearance: none;
    transition: background-color 140ms ease, transform 140ms ease;
}

.search-form input[type="submit"]:hover {
    background: var(--accent-hover);
}

.search-form input[type="submit"]:active {
    transform: translateY(1px);
}

.search-form__hint {
    margin: 0;
    color: var(--text);
    text-align: center;
}

.suggest-results {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    left: -6px;
    width: calc(100% + 12px);
    max-height: 220px;
    margin: 0;
    padding: 6px 0;
    overflow: auto;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    list-style: none;
}

.suggest-results.hidden {
    display: none;
}

.suggest-results li {
    margin: 0;
    padding: 8px 12px;
    line-height: 20px;
    cursor: pointer;
}

.suggest-results li:hover,
.suggest-results li.active {
    color: var(--heading);
    background: var(--surface-hover);
}

#text {
    width: calc(100% - 8%);
    max-width: 600px;
    margin: 48px auto 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

#text h1,
#text h2,
#text h3 {
    color: var(--heading);
    font-weight: 400;
    overflow-wrap: break-word;
}

#text h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

#text h1.center {
    text-align: center;
}

#text h2 {
    margin: 28px 0 0;
    font-size: 20px;
    line-height: 1.3;
}

#text h3 {
    margin: 24px 0 0;
    font-size: 17px;
    line-height: 1.4;
}

#text p {
    margin: 16px 0 0;
    line-height: 24px;
}

#text .home-welcome,
#text .page-lead {
    color: var(--heading);
    font-size: 16px;
    line-height: 26px;
}

.content-section {
    min-width: 0;
    margin-top: 40px;
    scroll-margin-top: 24px;
}

.content-section--lead {
    margin-top: 24px;
}

#text .content-section > h2 {
    margin-top: 0;
}

#text .feature-list {
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

#text ol.feature-list {
    counter-reset: feature-step;
}

#text .feature-list > li {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
}

#text .feature-list > li::before {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    display: inline-grid;
    flex: 0 0 28px;
    place-items: center;
    color: var(--accent-contrast);
    background: var(--accent);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

#text ul.feature-list > li::before {
    content: "\2713";
}

#text ol.feature-list > li {
    counter-increment: feature-step;
}

#text ol.feature-list > li::before {
    content: counter(feature-step);
}

#text .feature-list > li:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
}

#text .feature-list > li strong,
#text .feature-list > li span {
    display: block;
}

#text .feature-list > li strong {
    margin: 0 0 6px;
    color: var(--heading);
    line-height: 1.45;
}

#text .feature-list > li span {
    line-height: 1.65;
}

#text .latest-posts__note {
    margin: -8px 0 18px;
}

#text .contact-action {
    margin-top: 24px;
}

#text a {
    color: var(--text);
    text-underline-offset: 2px;
}

#text a:hover {
    color: var(--accent);
}

#text ol,
#text ul:not(.suggest-results) {
    margin: 16px 0 0;
    padding-left: 24px;
    line-height: 24px;
}

#text li {
    margin-bottom: 8px;
}

#text li:last-child {
    margin-bottom: 0;
}

#text li > ul,
#text li > ol {
    margin-top: 8px;
}

#text ul.nomargin {
    margin-top: 0;
}

#text table {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

#text code {
    overflow-wrap: anywhere;
}

#text pre {
    max-width: 100%;
    overflow-x: auto;
}

.blog-index {
    max-width: 960px !important;
}

.blog-article {
    max-width: 760px !important;
}

.page-blog .site-header,
.page-blog #footer {
    max-width: 960px;
}

.breadcrumbs {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

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

.breadcrumbs a:hover {
    color: var(--accent) !important;
}

.eyebrow {
    margin: 0 0 8px !important;
    color: var(--accent) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-hero {
    max-width: 720px;
}

.blog-hero h1,
.article-header h1,
.not-found h1 {
    font-size: clamp(28px, 5vw, 40px) !important;
    line-height: 1.15 !important;
}

.blog-hero > p:last-child,
.article-summary {
    color: var(--text);
    font-size: 17px;
    line-height: 28px !important;
}

.featured-guide,
.responsible-note,
.not-found {
    margin-top: 36px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.featured-guide {
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--accent);
}

.featured-guide h2,
.responsible-note h2,
.not-found h1 {
    margin-top: 0 !important;
}

.featured-guide h2 a,
.post-card h3 a {
    color: var(--heading) !important;
    text-decoration: none;
}

.featured-guide h2 a:hover,
.post-card h3 a:hover {
    color: var(--accent) !important;
}

.button-link {
    min-height: 42px;
    margin-top: 18px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-contrast) !important;
    background: var(--accent);
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
}

.button-link:hover {
    color: var(--accent-contrast) !important;
    background: var(--accent-hover);
}

.topic-group,
.post-section,
.article-faq,
.home-faq {
    margin-top: 44px;
}

.topic-group__header {
    max-width: 700px;
    margin-bottom: 18px;
}

.topic-group__header h2,
.post-section > h2,
.article-faq > h2,
.home-faq > h2 {
    margin-top: 0 !important;
}

.post-section > h2 {
    margin-bottom: 20px !important;
}

.topic-group__header p {
    margin-top: 8px !important;
}

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

.post-card {
    min-width: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 140ms ease, transform 140ms ease;
}

.post-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.post-card__date {
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: 11px;
    text-transform: uppercase;
}

.post-card h3 {
    margin: 10px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
}

.post-card > p:not(.post-card__date) {
    margin-top: 10px !important;
    flex: 1;
    font-size: 13px;
    line-height: 21px !important;
}

.post-card__link {
    margin-top: 16px;
    color: var(--accent) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.post-grid--compact .post-card {
    padding: 17px;
}

.home-faq + .post-section .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.article-byline {
    color: var(--text-muted);
    font-size: 12px;
}

.article-body > p:first-child {
    margin-top: 0 !important;
    color: var(--heading);
    font-size: 17px;
    line-height: 28px !important;
}

.article-body blockquote {
    margin: 24px 0 0;
    padding: 4px 0 4px 18px;
    color: var(--heading);
    border-left: 3px solid var(--accent);
}

.article-body blockquote p {
    margin: 0 !important;
}

.article-body .key-answer,
.article-body .example-box {
    margin-top: 22px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.article-body .key-answer p:first-child,
.article-body .example-box p:first-child {
    margin-top: 0 !important;
}

.article-body .responsible-use {
    margin-top: 28px;
    padding: 18px;
    background: var(--surface-muted);
    border-radius: 7px;
}

.faq-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.faq-list summary {
    min-height: 52px;
    padding: 14px 46px 14px 16px;
    position: relative;
    color: var(--heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 11px;
    right: 15px;
    color: var(--accent);
    font-size: 22px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details > div {
    padding: 0 16px 16px;
}

.faq-list details p {
    margin: 0 !important;
}

.responsible-note {
    box-shadow: none;
}

.section-link {
    margin-top: 18px !important;
    text-align: right;
}

.section-link a {
    color: var(--accent) !important;
    font-weight: 700;
}

#text th,
#text td {
    padding: 8px 10px;
    color: var(--text);
    border: 1px solid var(--border-strong);
    text-align: left;
    vertical-align: top;
}

.trending-title {
    margin-top: 28px !important;
    padding-left: 12px;
    font-size: 18px !important;
    border-left: 3px solid var(--accent);
}

.list {
    margin: 20px 0 28px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.list > li {
    min-width: 0;
    margin: 0 !important;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.list > li > div {
    min-width: 0;
    color: var(--text-muted);
    font-size: 12px;
}

.list img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.list h2,
.list h3 {
    margin: 0 0 4px !important;
    overflow: hidden;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[dir="rtl"] .language-menu__panel {
    right: auto;
    left: 0;
}

[dir="rtl"] .faq-list summary {
    padding-right: 16px;
    padding-left: 46px;
}

[dir="rtl"] .faq-list summary::after {
    right: auto;
    left: 15px;
}

[dir="rtl"] .trending-title {
    padding-right: 12px;
    padding-left: 0;
    border-right: 3px solid var(--accent);
    border-left: 0;
}

[dir="rtl"] .section-link {
    text-align: left;
}

[dir="rtl"] #text ol,
[dir="rtl"] #text ul:not(.suggest-results) {
    padding-right: 24px;
    padding-left: 0;
}

[dir="rtl"] #text .feature-list {
    padding-right: 0;
}

.list a {
    text-decoration: none;
}

#ajax-results {
    margin-top: 24px;
}

#ajax-results .loader {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.search-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-list > div {
    min-width: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.search-list .primary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-list img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 5px;
}

.search-list .info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.search-list h2 {
    margin: 0 0 9px !important;
    overflow: hidden;
    color: var(--heading) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-list button,
.search-list .download-btn {
    height: 34px;
    margin: 0 8px 0 0;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-contrast) !important;
    background: var(--accent);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
}

.search-list button:hover,
.search-list .download-btn:hover {
    color: var(--accent-contrast) !important;
    background: var(--accent-hover);
}

.search-error {
    margin: 0 !important;
    padding: 18px;
    color: var(--heading) !important;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.search-list .iframe > div {
    border: 1px solid var(--border);
    background: #000000;
}

.convert-iframe {
    padding: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.convert-action {
    margin: 0 0 16px;
    text-align: center;
}

.convert-action__link {
    min-height: 36px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-contrast) !important;
    background: var(--accent);
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
}

.convert-action__link:hover {
    color: var(--accent-contrast) !important;
    background: var(--accent-hover);
}

.convert-iframe iframe {
    width: 100%;
    display: block;
    margin: 0;
    border: 0;
}

#collapse {
    margin-top: 20px;
}

#collapse .opener {
    min-height: 50px;
    margin-top: 10px;
    padding: 14px 46px 14px 16px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

#collapse .opener::after {
    content: "+";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 13px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

#collapse .opener[aria-expanded="true"]::after {
    content: "−";
}

#collapse .opener + div {
    display: none;
    margin: 0;
    padding: 15px 16px 6px;
    color: var(--text);
    line-height: 24px;
}

#footer {
    width: calc(100% - 8%);
    max-width: 600px;
    margin: 48px auto 0;
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

#footer a {
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

#footer a:hover {
    color: var(--accent);
}

#footer a[aria-current="page"] {
    color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.opener:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.search-form__input:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--focus);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media only screen and (max-width: 600px) {
    .site-header,
    .search-form,
    #text,
    #footer {
        width: 92%;
    }

    .site-header {
        gap: 16px;
    }

    .site-nav {
        gap: 10px;
    }

    .site-nav > a {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-menu__current {
        display: none;
    }

    .language-menu > summary {
        width: 34px;
        padding: 5px 7px;
        justify-content: center;
    }

    .language-menu > summary::after {
        display: none;
    }

    .search-form {
        padding: 18px;
    }

    .search-form input[type="submit"] {
        min-width: 92px;
        max-width: 45%;
        padding: 0 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #text h1 {
        font-size: 22px;
    }

    #footer {
        margin-top: 56px;
        font-size: 12px;
    }

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

    .home-faq + .post-section .post-grid {
        grid-template-columns: 1fr;
    }

    #text .feature-list {
        grid-template-columns: 1fr;
    }

    #text .feature-list > li:nth-last-child(1):nth-child(odd) {
        grid-column: auto;
    }

    .post-section > h2 {
        margin-bottom: 18px !important;
    }

    .featured-guide,
    .responsible-note,
    .not-found {
        padding: 21px;
    }

    .convert-iframe {
        padding: 10px;
    }
}

@media only screen and (max-width: 360px) {
    .brand {
        width: 82px;
        flex-basis: 82px;
    }

    .brand__logo {
        width: 82px;
    }

    .site-header {
        gap: 10px;
    }

    .site-nav {
        gap: 10px;
    }

    .site-nav > a {
        max-width: 74px;
        font-size: 13px;
    }

    .site-nav > a:first-child {
        display: none;
    }

    .theme-toggle {
        width: 30px;
        height: 30px;
    }

    .search-form {
        padding: 14px;
    }

    .search-form input[type="submit"] {
        min-width: 82px;
        max-width: 45%;
        padding: 0 12px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 420px) {
    .language-menu__panel {
        position: fixed;
        top: 76px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    [dir="rtl"] .language-menu__panel {
        right: 16px;
        left: 16px;
    }
}

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