@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --akashic-blue: #3e62b4;
  --akashic-blue-dark: #24488f;
  --akashic-orange: #ffb115;
  --akashic-text: #555;
  --akashic-muted: #666;
  --akashic-surface: #f6f6f6;
  --akashic-border: #e5e5e5;
}

html { scroll-padding-top: 1.5rem; }
body {
  direction: rtl;
  text-align: right;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--akashic-text);
  background: #fff;
}
button, input, select, textarea { font: inherit; }
button, input, select, textarea, iframe, video { max-width: 100%; }
button, input[type="submit"], input[type="button"] { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .6; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
figure { max-width: 100%; }
audio, video, iframe { max-width: 100%; }
iframe { border: 0; }
a { color: var(--akashic-blue); text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--akashic-blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--akashic-blue-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}
::selection { background: var(--akashic-orange); color: #222; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 { color: #333; line-height: 1.6; overflow-wrap: anywhere; }
p { margin-bottom: 1.5rem; }
hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--akashic-border); }
main, .row > *, .content-layout > *, .header-brand, .entry, .widget { min-width: 0; }
.entry, .widget, .blog-masonry-post, .footer-container, .header-brand { overflow-wrap: anywhere; }
.section-space { padding-block: 4.5rem; }
.btn, .wp-element-button, .wp-block-button__link, input[type="submit"], button[type="submit"] {
  display: inline-block;
  border: 1px solid var(--akashic-blue);
  border-radius: 2px;
  padding: .55rem 1.25rem;
  background: var(--akashic-blue);
  color: #fff;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.btn:hover, .wp-element-button:hover, .wp-block-button__link:hover,
input[type="submit"]:hover, button[type="submit"]:hover {
  border-color: var(--akashic-blue-dark);
  background: var(--akashic-blue-dark);
  color: #fff;
}
.btn-secondary { background: #e2e5ea; border-color: #d5dce7; color: #333; }
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--akashic-blue); }
.is-style-outline > .wp-block-button__link:hover { background: var(--akashic-blue); color: #fff; }
input:where(:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"])),
textarea, select {
  border: 1px solid #aaa;
  border-radius: 2px;
  padding: .55rem .75rem;
  background: #fff;
  color: #333;
}
textarea { width: 100%; min-height: 10rem; resize: vertical; }
input[type="email"], input[type="url"], input[type="tel"] { direction: ltr; text-align: left; }
input::placeholder, textarea::placeholder { color: #666; opacity: 1; }
label { max-width: 100%; }

/* Header and standard WordPress navigation. */
.header { padding-block: 1.25rem; background: var(--akashic-surface); }
.header-brand { display: flex; align-items: center; justify-content: space-between; gap: .9rem; }
.site-identity { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.header-brand .custom-logo-link { flex-shrink: 0; }
.header-brand .custom-logo, .header-logo-image { width: auto; max-height: 70px; max-width: 120px; object-fit: contain; }
.header-logo-sitename { margin: 0; color: var(--akashic-blue); font-size: 1.25rem; font-weight: 600; }
.header-logo-sitename a { color: inherit; }
.header-tagline { margin: .25rem 0 0; color: var(--akashic-muted); font-size: .875rem; }
.header-contact { font-size: .875rem; text-align: left; }
.header-contact p { margin: .2rem 0; }
.header-contact a { display: inline-block; direction: ltr; color: #555; }
.header-contact a:hover { color: var(--akashic-blue); }
.menu-container { position: relative; display: flex; align-items: center; margin-top: 1.25rem; background: var(--akashic-blue); color: #fff; }
#primary-navigation { flex: 1; min-width: 0; }
.menu-container > .row { margin-inline: 0; }
.primary-menu, .primary-menu :is(.sub-menu, .children) { margin: 0; padding: 0; list-style: none; }
.primary-menu { display: flex; flex-wrap: nowrap; }
.primary-menu > li { flex: 0 0 auto; }
.primary-menu > li > a { white-space: nowrap; }
.primary-menu li { position: relative; }
.primary-menu a { display: block; padding: .75rem 1rem; color: #fff; line-height: 1.8; overflow-wrap: anywhere; }
.primary-menu a:hover, .primary-menu li:focus-within > a,
.primary-menu .current-menu-item > a, .primary-menu .current-menu-ancestor > a {
  color: #fff;
  background: var(--akashic-blue-dark);
}
.primary-menu :is(.menu-item-has-children, .page_item_has_children) > a::after {
  content: "";
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-inline-start: .65rem;
  border: solid var(--akashic-orange);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
  vertical-align: .2em;
}
.primary-menu :is(.sub-menu, .children) {
  display: none;
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  z-index: 50;
  width: 15rem;
  max-width: calc(100vw - 2rem);
  background: var(--akashic-blue-dark);
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}
.primary-menu li:hover > :is(.sub-menu, .children), .primary-menu li:focus-within > :is(.sub-menu, .children) { display: block; }
.primary-menu :is(.sub-menu, .children) a { padding: .6rem 1rem; font-size: .9rem; }
.primary-menu :is(.sub-menu, .children) a:hover, .primary-menu :is(.sub-menu, .children) li:focus-within > a { background: #1a3e80; }
.primary-menu :is(.sub-menu, .children) :is(.sub-menu, .children) { inset-block-start: 0; inset-inline-start: 100%; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid #fff; padding: .4rem .9rem; background: transparent; color: #fff; }
.menu-container :focus-visible, .footer-container :focus-visible { outline-color: var(--akashic-orange); box-shadow: 0 0 0 2px #222; }
.header-search { width: 17rem; max-width: 100%; padding: .6rem; }
.header-search form, .search-form, .wp-block-search__inside-wrapper { display: flex; align-items: stretch; gap: .4rem; }
.header-search label, .search-form label { flex: 1; min-width: 0; margin: 0; }
.header-search input[type="search"], .search-form input[type="search"] { width: 100%; min-width: 0; }
.search-form input[type="search"] { flex: 1; }
.search-form button { flex-shrink: 0; }
.header-search input[type="search"] { border-color: transparent; background: rgb(255 255 255 / 15%); color: #fff; }
.header-search input::placeholder { color: #fff; }
.header-search button, .header-search input[type="submit"] { padding-inline: .7rem; background: #fff; border-color: #fff; color: var(--akashic-blue-dark); }
.header-search button:hover { background: var(--akashic-orange); border-color: var(--akashic-orange); color: #222; }

/* Home sections retain the reference's image-led, blue-and-orange treatment. */
.home-title { position: relative; margin: 0 0 .5rem; font-size: 1.625rem; }
.home-title::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 50%; height: 2px; background: var(--akashic-orange); }
.home-title > span { position: relative; z-index: 1; display: inline-block; padding-inline-end: 1.875rem; background: #fff; }
.home-subtitle { margin-bottom: 2.5rem; color: var(--akashic-muted); font-size: 1rem; font-weight: 400; }
.slideshow-container { padding-block: 1.25rem; background: var(--akashic-surface); }
[data-slider] { position: relative; }
.slideshow-item { position: relative; min-width: 0; min-height: 350px; background: #263c66; }
.slideshow-item-image-element { display: block; width: 100%; min-height: 350px; aspect-ratio: 1310 / 450; object-fit: cover; }
.slideshow-item-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3.125rem);
  background: linear-gradient(to left, rgb(15 27 49 / 85%), rgb(15 27 49 / 35%) 65%, rgb(15 27 49 / 12%));
  color: #fff;
  overflow-y: auto;
}
.slideshow-item-title { margin: 0; color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.875rem); }
.slideshow-item-title a, .slideshow-item-link { color: #fff; }
.slideshow-item-title a:hover { color: var(--akashic-orange); }
.slideshow-item-description { max-width: 42ch; margin: 1rem 0 1.5rem; color: #fff; font-size: 1.0625rem; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; padding-block: .8rem; }
.slider-controls button { min-width: 44px; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--akashic-blue); background: #fff; color: var(--akashic-blue-dark); }
.slider-controls button:hover { background: var(--akashic-blue); color: #fff; }
[data-slide-status] { min-width: 5rem; text-align: center; font-size: .875rem; font-variant-numeric: tabular-nums; }
.news-container { padding-block: 0 1.25rem; border-bottom: 1px solid #eee; background: var(--akashic-surface); }
.news { display: flex; align-items: stretch; border: 1px solid #eee; background: #fff; }
.news-title { display: flex; align-items: center; flex-shrink: 0; margin: 0; padding: .6rem 1rem; background: var(--akashic-blue); color: #fff; font-size: 1rem; }
.news-items { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; min-width: 0; margin: 0; padding: .6rem 1.5rem; list-style: none; font-size: .9375rem; }
.news-items li::marker { color: var(--akashic-orange); }
.news-items a { color: #555; }
.news-items a:hover { color: var(--akashic-blue); text-decoration: underline; }
.services-items { margin-top: 2.5rem; }
.services-item { position: relative; margin-bottom: 1.875rem; overflow: hidden; background: var(--akashic-surface); }
.services-item-image { display: block; width: 100%; aspect-ratio: 305 / 225; object-fit: cover; }
.services-item-title { margin: 0; padding: 0; background: var(--akashic-blue); color: #fff; font-size: 1rem; font-weight: 500; text-align: center; }
.services-item-link { display: block; padding: .9rem .75rem; color: #fff; }
.services-item-link:hover { background: var(--akashic-blue-dark); color: #fff; }
@media (min-width: 992px) {
  .services-item { display: grid; }
  .services-item-image, .services-item-title { grid-area: 1 / 1; }
  .services-item-title { position: relative; align-self: end; }
}
.about { background: var(--akashic-surface); }
.about .home-title > span { background: var(--akashic-surface); }
.about-description { margin-block: 1.25rem; line-height: 2; }
.about img { display: block; margin-inline: auto; }
.brands-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.brands-item-link { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 1rem; border: 1px solid #eee; }
.brands-item-image { max-height: 120px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .2s; }
.brands-item-link:hover, .brands-item-link:focus-visible { border-color: var(--akashic-orange); }
.brands-item-link:hover img, .brands-item-link:focus-visible img { filter: none; }

/* Editorial cards, archives, and single entries. */
.blog-masonry-post { margin-bottom: 1.875rem; background: #fff; box-shadow: 0 5px 20px rgb(0 0 0 / 6%); }
.blog-masonry-item { border: 0; border-radius: 0; background: #fff; }
.blog-post-image-element { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.blog-masonry-post-context { padding: 1.5rem; }
.blog-post-title { margin-bottom: 1rem; font-size: 1.25rem; }
.blog-post-title a { color: #333; }
.blog-post-title a:hover { color: var(--akashic-blue); }
.blog-post-meta, .entry-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: 1rem; color: var(--akashic-muted); font-size: .875rem; }
.blog-post-excerpt { color: var(--akashic-muted); font-weight: 400; }
.blog-post-excerpt > :last-child { margin-bottom: 0; }
.archive-title, .page-title { margin-bottom: 1.5rem; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.archive-description { margin-bottom: 2rem; }
.content-layout { display: flex; flex-wrap: wrap; row-gap: 2.5rem; }
.site-sidebar { font-size: .9375rem; }
.widget { margin-bottom: 2rem; padding: 1.25rem; border: 1px solid var(--akashic-border); background: #fff; }
.widget-title, .widget h2 { margin-bottom: 1rem; font-size: 1.125rem; }
.widget ul { margin: 0; padding-inline-start: 1.25rem; }
.widget li { margin-block: .35rem; }
.widget li::marker { color: var(--akashic-orange); }
.widget .search-form, .widget .wp-block-search__inside-wrapper { flex-wrap: wrap; }
.widget select { width: 100%; }
.entry-header { margin-bottom: 1.75rem; }
.entry-title { margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.entry-thumbnail { margin-bottom: 2rem; }
.entry-thumbnail img { display: block; width: 100%; }
.entry-content { display: flow-root; line-height: 2; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-block: 2rem 1rem; }
.entry-content a:not(.wp-block-button__link), .comment-content a { text-decoration: underline; text-underline-offset: .2em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.5rem; }
.entry-content li { margin-block: .3rem; }
.entry-content blockquote, .wp-block-quote {
  margin-block: 1.5rem;
  padding: 1.25rem;
  border-inline-start: 3px solid var(--akashic-orange);
  background: var(--akashic-surface);
}
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content pre { padding: 1rem; background: var(--akashic-surface); direction: ltr; text-align: left; white-space: pre; overflow: auto; }
.entry-content code { overflow-wrap: anywhere; }
.entry-content table, .widget table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th, .entry-content td, .widget th, .widget td { padding: .65rem; border: 1px solid var(--akashic-border); text-align: start; }
.entry-content th, .widget th { background: var(--akashic-surface); }
.entry-footer { clear: both; display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--akashic-border); font-size: .875rem; }
.entry-navigation, .post-navigation { margin-block: 2.5rem; }
:is(.entry-navigation, .post-navigation) .nav-links { display: flex; justify-content: space-between; gap: 1.5rem; }
:is(.entry-navigation, .post-navigation) .nav-links > * { flex: 1; min-width: 0; overflow-wrap: anywhere; }
:is(.entry-navigation, .post-navigation) .nav-next { text-align: end; }
:is(.entry-navigation, .post-navigation) .nav-subtitle { display: block; color: var(--akashic-muted); font-size: .875rem; }
.sticky { border-block-start: 3px solid var(--akashic-orange); }
.navigation.pagination { display: block; margin-block: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--akashic-border); }
a.page-numbers:hover, .page-numbers.current { background: var(--akashic-blue); border-color: var(--akashic-blue); color: #fff; }
.page-numbers.dots { border-color: transparent; }

/* WordPress blocks and classic-editor content. */
.aligncenter { display: block; margin-inline: auto; }
.alignright { float: right; margin: .5rem 0 1.5rem 1.5rem; }
.alignleft { float: left; margin: .5rem 1.5rem 1.5rem 0; }
.alignwide { width: 100%; margin-inline: auto; }
.alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.wp-caption { max-width: 100%; margin-bottom: 1.5rem; }
.wp-caption-text, .wp-element-caption, figcaption { margin-top: .5rem; color: var(--akashic-muted); font-size: .875rem; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem; }
.gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-columns-4, .gallery-columns-5, .gallery-columns-6,
.gallery-columns-7, .gallery-columns-8, .gallery-columns-9 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item { min-width: 0; margin: 0; text-align: center; }
.gallery img { height: auto; }
.wp-block-image img { height: auto; }
.wp-block-table { max-width: 100%; overflow-x: auto; }
.wp-block-table table { display: table; }
.wp-block-embed { max-width: 100%; }
.wp-block-embed__wrapper { max-width: 100%; }
.wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1; }
.wp-embed-aspect-9-16 .wp-block-embed__wrapper { aspect-ratio: 9 / 16; }
.wp-has-aspect-ratio .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.wp-block-columns { gap: 1.5rem; }
.wp-block-column { min-width: 0; }
.wp-block-cover { overflow: hidden; }
.wp-block-cover .wp-block-cover__inner-container { min-width: 0; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { color: inherit; }
.wp-block-media-text { gap: 1.5rem; }
.wp-block-media-text .wp-block-media-text__content { padding: 1rem; min-width: 0; }
.wp-block-pullquote { border-block: 2px solid var(--akashic-orange); padding: 1.5rem; }
.wp-block-pullquote blockquote { border: 0; background: none; }
.wp-block-separator { border-color: var(--akashic-border); }
.wp-block-search__input { min-width: 0; }
.wp-block-latest-posts, .wp-block-categories, .wp-block-archives { padding-inline-start: 1.25rem; }
.wp-block-calendar table { display: table; }
.wp-block-file { overflow-wrap: anywhere; }
.wp-block-file__button { display: inline-block; margin-inline-start: .75rem; padding: .4rem .8rem; background: var(--akashic-blue); color: #fff; }

/* Comments use core WordPress markup, including threaded replies. */
.comments-area { clear: both; margin-top: 3rem; }
.comments-title, .comment-reply-title { margin-bottom: 1.5rem; font-size: 1.375rem; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { padding-inline-start: 1.5rem; }
.comment-body { margin-block: 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--akashic-border); }
.comment-author .avatar { float: right; width: 50px; height: 50px; margin-inline-end: .75rem; border-radius: 50%; }
.comment-author .fn { color: #333; font-style: normal; }
.comment-metadata { margin-bottom: 1rem; color: var(--akashic-muted); font-size: .8rem; }
.comment-metadata a { color: inherit; }
.comment-content { clear: both; overflow-wrap: anywhere; }
.comment-content > :last-child { margin-bottom: .75rem; }
.comment-reply-link { display: inline-block; padding: .2rem .75rem; background: #eef2fb; color: var(--akashic-blue-dark); font-size: .875rem; }
.bypostauthor > .comment-body { border-inline-start: 3px solid var(--akashic-orange); padding-inline-start: 1rem; }
.comment-form label { display: block; margin-bottom: .4rem; }
.comment-form input:not([type="checkbox"]):not([type="submit"]) { width: 100%; }
.comment-form-cookies-consent { display: flex; align-items: baseline; gap: .6rem; }
.comment-form-cookies-consent label { display: inline; }
.comment-form .required { color: #ac2828; }
.comment-notes, .logged-in-as { font-size: .875rem; }

/* Footer. */
.footer-container { background: #333; color: #cfcfcf; }
.footer-container > .container { padding-block: 3rem 1.5rem; }
.footer-title { margin-bottom: 1.25rem; color: #fff; font-size: 1rem; font-weight: 600; }
.footer-menu, .footer-contact, .footer-social { margin-bottom: 1.5rem; }
.footer-menu, .footer-menu ul { padding: 0; list-style: none; }
.footer-menu .sub-menu { padding-inline-start: 1rem; }
.footer-menu a { display: block; margin-block: .3rem; color: #cfcfcf; font-size: .9375rem; }
.footer-container a { color: #dedede; }
.footer-container a:hover { color: var(--akashic-orange); }
.footer-contact { font-size: .9375rem; line-height: 2; }
.footer-contact p { margin-bottom: .5rem; }
.footer-contact a[href^="tel:"], .footer-contact a[href^="mailto:"] { display: inline-block; direction: ltr; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .3rem .6rem; background: #393939; color: #dedede; }
.footer-social a:hover { background: var(--akashic-orange); color: #222; }
.footer-container .widget { padding: 0; border: 0; background: transparent; }
.footer-container .widget h2 { color: #fff; }
.copyright { padding-block: 1.25rem; background: #222; color: #cfcfcf; font-size: .875rem; }
.copyright p { margin-bottom: 0; }

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: .75rem 1.25rem;
  clip: auto;
  clip-path: none;
  background: #fff;
  color: var(--akashic-blue-dark);
  white-space: normal;
  box-shadow: 0 2px 12px rgb(0 0 0 / 20%);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .primary-menu > li > a { padding-inline: .65rem; font-size: .9375rem; }
  .header-search { width: 15rem; }
}
@media (max-width: 991.98px) {
  .section-space { padding-block: 3rem; }
  .menu-container { flex-wrap: wrap; padding: .65rem; gap: .5rem; }
  .menu-toggle.is-ready { display: inline-block; }
  #primary-navigation { flex: 0 0 100%; order: 3; width: 100%; }
  #primary-navigation.has-menu-toggle { display: none; }
  #primary-navigation.is-open { display: block; }
  .primary-menu { display: block; margin-top: .6rem; }
  .primary-menu a { padding: .65rem .75rem; }
  .primary-menu :is(.sub-menu, .children), .primary-menu :is(.sub-menu, .children) :is(.sub-menu, .children) {
    display: block;
    position: static;
    width: auto;
    max-width: 100%;
    padding-inline-start: 1rem;
    background: rgb(0 0 0 / 7%);
    box-shadow: none;
  }
  .primary-menu :is(.menu-item-has-children, .page_item_has_children) > a::after { display: none; }
  .header-search { flex: 1; width: auto; min-width: 0; padding: 0; }
  .site-sidebar { margin-top: 1rem; }
  .slideshow-item-image-element { min-height: 340px; }
}
@media (max-width: 767.98px) {
  .header-brand { flex-wrap: wrap; }
  .header-contact { margin-top: 1rem; text-align: right; }
  .header-brand .custom-logo { max-width: 85px; max-height: 60px; }
  .header-logo-sitename { font-size: 1.125rem; }
  .home-title { font-size: 1.375rem; }
  .home-title > span { padding-inline-end: 1rem; }
  .slideshow-item { min-height: 0; }
  .slideshow-item-image-element { min-height: 0; aspect-ratio: 16 / 9; }
  .slideshow-item-text { position: relative; inset: auto; padding: 1.5rem; background: #263c66; overflow: visible; }
  .slideshow-item-description { max-width: 100%; font-size: 1rem; }
  .news { flex-direction: column; }
  .news-title { justify-content: center; }
  .news-items { display: block; padding: .75rem 1rem; }
  .news-items > * + * { margin-top: .5rem; }
  .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
  .comment-list .children { padding-inline-start: .75rem; }
}
@media (max-width: 575.98px) {
  .section-space { padding-block: 2.5rem; }
  .header-brand { gap: .6rem; }
  .site-identity { gap: .6rem; }
  .header-tagline { font-size: .8rem; }
  .home-subtitle { margin-bottom: 1.75rem; }
  .blog-masonry-post-context { padding: 1.25rem; }
  .entry-title { font-size: 1.6rem; }
  .alignleft, .alignright { float: none; margin-inline: auto; }
  :is(.entry-navigation, .post-navigation) .nav-links { flex-direction: column; }
  .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 100% !important; }
  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media,
  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
