/* LiveUpdate.in — editorial design layer
   Keeps WordPress content, URLs, Astra components and page-builder markup intact. */
:root {
  --lu-ink: #172630;
  --lu-ink-soft: #2f414c;
  --lu-muted: #64727a;
  --lu-paper: #f5f3ee;
  --lu-surface: #fffefa;
  --lu-surface-soft: #eeece6;
  --lu-line: #deded8;
  --lu-accent: #b64032;
  --lu-accent-dark: #923326;
  --lu-deep: #183744;
  --lu-deep-2: #244959;
  --lu-focus: #1673b1;
  --lu-radius: 8px;
  --lu-radius-lg: 14px;
  --lu-shadow: 0 12px 36px rgba(22, 36, 45, .07);
  --ast-normal-container-width: 1240px;
  --ast-narrow-container-width: 840px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  color: var(--lu-ink);
  background: var(--lu-paper);
  font-family: "Karla", "Noto Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  font-family: "Karla", "Noto Sans", "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title {
  color: var(--lu-ink);
  font-family: "Rubik", "Noto Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.16;
}

a {
  color: var(--lu-accent);
  text-decoration-thickness: .07em;
  text-underline-offset: .18em;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover {
  color: var(--lu-accent-dark);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lu-focus) 72%, white);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.ast-container {
  max-width: 1240px;
}

/* Shared WordPress header: keep the real logo and assigned primary menu. */
#masthead {
  position: sticky;
  inset-block-start: 0;
  z-index: 999;
  background: rgba(255, 254, 250, .96);
  border-bottom: 1px solid rgba(23, 38, 48, .09);
  box-shadow: 0 4px 20px rgba(23, 38, 48, .035);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

#masthead .ast-primary-header-bar,
#masthead .ast-mobile-header-wrap {
  background: transparent;
  border: 0;
}

#masthead .site-primary-header-wrap,
#masthead .site-above-header-wrap,
#masthead .site-below-header-wrap {
  max-width: 1320px;
  min-height: 76px;
  padding-inline: clamp(18px, 3.2vw, 46px);
}

#masthead .custom-logo-link img {
  display: block;
  width: auto;
  max-width: min(162px, 38vw);
  height: auto;
  max-height: 52px;
}

#masthead .site-branding {
  line-height: 1;
}

#masthead #ast-hf-menu-1 {
  align-items: center;
  gap: clamp(0px, .55vw, 9px);
}

#masthead #ast-hf-menu-1 > .menu-item > .menu-link {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--lu-ink-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#masthead #ast-hf-menu-1 > .menu-item > .menu-link:hover,
#masthead #ast-hf-menu-1 > .menu-item.current-menu-item > .menu-link,
#masthead #ast-hf-menu-1 > .menu-item.current_page_parent > .menu-link {
  color: var(--lu-accent);
  background: rgba(182, 64, 50, .07);
}

/* Keep the main bar focused; these policy links remain available in the footer. */
#masthead #ast-hf-menu-1 > #menu-item-214,
#masthead #ast-hf-menu-1 > #menu-item-221 {
  display: none;
}

#masthead #ast-hf-menu-1 > #menu-item-218 > .menu-link {
  padding-inline: 17px;
  color: #fff;
  background: var(--lu-accent);
  box-shadow: 0 3px 10px rgba(182, 64, 50, .16);
}

#masthead #ast-hf-menu-1 > #menu-item-218 > .menu-link:hover,
#masthead #ast-hf-menu-1 > #menu-item-218 > .menu-link:focus-visible {
  color: #fff;
  background: var(--lu-accent-dark);
}

#masthead .main-header-menu .sub-menu {
  min-width: 248px;
  padding: 9px;
  border: 1px solid var(--lu-line);
  border-radius: 9px;
  background: var(--lu-surface);
  box-shadow: var(--lu-shadow);
}

#masthead .main-header-menu .sub-menu .menu-link {
  padding: 10px 12px;
  border-radius: 5px;
  color: var(--lu-ink-soft);
  font-size: 14px;
  line-height: 1.35;
}

#masthead .main-header-menu .sub-menu .menu-link:hover,
#masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
  color: var(--lu-accent);
  background: var(--lu-paper);
}

#masthead .ast-mobile-menu-trigger-minimal,
#masthead .ast-mobile-menu-trigger-fill,
#masthead .ast-mobile-menu-trigger-outline {
  color: var(--lu-ink);
  border-color: var(--lu-line);
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: var(--lu-surface);
}

.ast-mobile-popup-content .main-header-menu .menu-link {
  padding-block: 13px;
  color: var(--lu-ink);
  font-size: 16px;
  font-weight: 700;
}

.ast-mobile-popup-content .main-header-menu .sub-menu .menu-link {
  font-size: 14px;
  font-weight: 600;
}

/* Page canvas and readable article measure. */
#content.site-content {
  background: transparent;
}

body.page:not(.home) #content > .ast-container,
body.single-post #content > .ast-container,
body.archive #content > .ast-container,
body.search #content > .ast-container {
  width: min(100% - 40px, 1240px);
  padding-block: clamp(28px, 5vw, 64px);
}

body.page:not(.home) #primary {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

body.page:not(.home) article.ast-article-single,
body.single-post article.ast-article-single {
  margin: 0;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--lu-line);
  border-radius: var(--lu-radius-lg);
  background: var(--lu-surface);
  box-shadow: 0 8px 28px rgba(23, 38, 48, .035);
}

body.page:not(.home) .entry-header,
body.single-post .entry-header {
  margin-block-end: clamp(22px, 3.3vw, 40px);
  padding-block-end: clamp(18px, 2.6vw, 30px);
  border-bottom: 1px solid var(--lu-line);
}

body.page:not(.home) .entry-title,
body.single-post .entry-title {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

body.page:not(.home) .entry-content,
body.single-post .entry-content {
  color: var(--lu-ink-soft);
  font-size: clamp(1.03rem, 1.4vw, 1.12rem);
  line-height: 1.8;
}

body.page:not(.home) .entry-content > h2:first-child,
body.page:not(.home) .entry-content > .wp-block-heading:first-child {
  margin-block: 0 1.2rem;
  color: var(--lu-ink);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
}

.entry-content :where(h2, h3, h4) {
  margin-block: 2.2em .75em;
  color: var(--lu-ink);
}

.entry-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.entry-content h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-block: 0 1.25em;
}

.entry-content :where(ul, ol) {
  padding-inline-start: 1.4em;
}

.entry-content li {
  padding-inline-start: .2em;
  margin-block: .35em;
}

.entry-content blockquote,
.wp-block-quote {
  margin: 2em 0;
  padding: 1.1em 1.4em;
  border-inline-start: 4px solid var(--lu-accent);
  border-radius: 0 var(--lu-radius) var(--lu-radius) 0;
  background: var(--lu-paper);
  color: var(--lu-ink);
  font-size: 1.1em;
}

.entry-content hr,
.wp-block-separator {
  border: 0;
  border-block-start: 1px solid var(--lu-line);
}

/* News, category, and search result cards retain Astra's WordPress loops. */
body.blog #primary,
body.archive #primary,
body.search #primary {
  min-width: 0;
}

.blog .ast-article-post,
.archive .ast-article-post,
.search .ast-article-post {
  overflow: hidden;
  border: 1px solid var(--lu-line);
  border-radius: var(--lu-radius-lg);
  background: var(--lu-surface);
  box-shadow: 0 5px 18px rgba(23, 38, 48, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog .ast-article-post:hover,
.archive .ast-article-post:hover,
.search .ast-article-post:hover {
  transform: translateY(-3px);
  border-color: rgba(182, 64, 50, .35);
  box-shadow: var(--lu-shadow);
}

.blog .ast-article-post .ast-article-inner,
.archive .ast-article-post .ast-article-inner,
.search .ast-article-post .ast-article-inner {
  padding: clamp(18px, 2.2vw, 28px);
}

.ast-archive-title,
.ast-archive-description,
.search .page-title {
  color: var(--lu-ink);
}

.ast-archive-title,
.search .page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.04em;
}

.ast-pagination .page-numbers,
.post-page-numbers {
  border: 1px solid var(--lu-line);
  border-radius: 5px;
  background: var(--lu-surface);
}

.ast-pagination .page-numbers.current,
.ast-pagination .page-numbers:hover {
  border-color: var(--lu-accent);
  color: #fff;
  background: var(--lu-accent);
}

/* Single story reading column and metadata. */
body.single-post #primary {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

body.single-post .entry-meta,
body.single-post .entry-meta a {
  color: var(--lu-muted);
  font-size: .9rem;
}

body.single-post .ast-single-post-featured-section img,
body.single-post .entry-content img {
  height: auto;
  border-radius: var(--lu-radius);
}

body.single-post .entry-content img {
  margin-block: 1em;
}

/* WordPress forms and search controls. */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
select,
textarea {
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #cbd1d1;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

textarea {
  min-height: 150px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lu-focus);
  box-shadow: 0 0 0 3px rgba(22, 115, 177, .12);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.ast-button,
.wp-block-button__link {
  min-height: 44px;
  border: 1px solid var(--lu-accent);
  border-radius: 6px;
  color: #fff;
  background: var(--lu-accent);
  box-shadow: none;
  font-weight: 700;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.ast-button:hover,
.wp-block-button__link:hover {
  border-color: var(--lu-accent-dark);
  color: #fff;
  background: var(--lu-accent-dark);
  transform: translateY(-1px);
}

/* Home: retain the existing editable editorial sections; remove duplicate placeholder chrome. */
body.home #content.site-content {
  margin: 0 !important;
  padding-block: 0 !important;
}

body.home #content > .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.home .ast-breadcrumbs-wrapper,
body.home .ast-breadcrumbs,
body.home nav[aria-label="Breadcrumbs"] {
  display: none !important;
}

body.home #content > .ast-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.home #primary,
body.home #primary > article,
body.home #primary .entry-content,
body.home #primary .lu-site {
  display: block;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0;
}

#masthead .site-below-header-wrap {
  display: none !important;
}

#masthead .ast-builder-social-element {
  display: none !important;
}

body.home article.post-7.ast-article-single {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home article.post-7 .entry-content {
  margin: 0;
  padding: 0;
}

body .lu-topbar,
body .lu-header,
body .lu-footer {
  display: none !important;
}

body .lu-site {
  --navy: var(--lu-deep);
  --blue: var(--lu-deep-2);
  --orange: var(--lu-accent);
  --red: var(--lu-accent);
  --text: var(--lu-ink);
  --muted: var(--lu-muted);
  --light: var(--lu-paper);
  --border: var(--lu-line);
  --white: var(--lu-surface);
  width: 100%;
  color: var(--lu-ink);
  background: var(--lu-paper);
  font-family: "Karla", "Noto Sans", "Segoe UI", sans-serif;
  line-height: 1.65;
}

body .lu-site a {
  color: inherit;
}

body .lu-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

body .lu-breaking-wrap {
  padding-block: 18px 0;
  background: var(--lu-paper);
  border: 0;
}

body .lu-breaking {
  min-height: 48px;
  border-radius: 5px;
  background: var(--lu-deep);
  box-shadow: 0 7px 18px rgba(23, 38, 48, .08);
}

body .lu-breaking-label {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding-inline: 18px;
  background: var(--lu-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .lu-ticker {
  min-width: 0;
  padding-inline: 18px;
  color: #f5f6f4;
  font-size: 14px;
}

body .lu-live-dot {
  animation: none;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

body #luTickerText {
  animation: none;
  white-space: normal;
}

body .lu-hero-section {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(34px, 5vw, 62px) clamp(28px, 4vw, 50px);
}

body .lu-hero-image {
  margin-block-end: 24px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--lu-surface-soft);
}

body .lu-hero-image img {
  width: 100%;
  height: clamp(300px, 37vw, 510px);
  border-radius: 0;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.65,.25,1);
}

body .lu-hero-image:hover img {
  transform: scale(1.025);
}

body .lu-category,
body .lu-card-content > span,
body .lu-side-story small,
body .lu-horizontal-card span,
body .lu-tech-feature span,
body .lu-mini-list span {
  color: var(--lu-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body .lu-hero-main h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  color: var(--lu-ink);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.055em;
}

body .lu-hero-summary {
  max-width: 68ch;
  color: var(--lu-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

body .lu-read-more {
  min-height: 46px;
  margin-block-start: 14px;
  padding: 12px 18px;
  border-radius: 5px;
  background: var(--lu-accent);
  box-shadow: 0 4px 12px rgba(182, 64, 50, .14);
}

body .lu-read-more:hover {
  background: var(--lu-accent-dark);
  transform: translateY(-1px);
}

body .lu-hero-side,
body .lu-sidebar-box {
  border: 1px solid var(--lu-line);
  border-radius: var(--lu-radius-lg);
  background: var(--lu-surface);
  box-shadow: 0 6px 24px rgba(23, 38, 48, .04);
}

body .lu-hero-side {
  padding: clamp(20px, 2.5vw, 30px);
}

body .lu-section-heading h2,
body .lu-section-title h2,
body .lu-sidebar-title {
  color: var(--lu-ink);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -.04em;
}

body .lu-section-heading h2 {
  padding-block-end: 13px;
  border-bottom: 1px solid var(--lu-line);
}

body .lu-side-story {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding-block: 16px;
}

body .lu-side-story > span {
  color: #a7afb0;
  font-family: "Rubik", sans-serif;
  font-size: 21px;
  font-weight: 600;
}

body .lu-side-story h3 {
  margin-block: 5px 0;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.35;
}

body .lu-content-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(30px, 4vw, 56px);
  padding-block-end: clamp(40px, 6vw, 76px);
}

body .lu-section {
  margin-block: 0 clamp(34px, 4.5vw, 56px);
  padding-block-start: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--lu-line);
}

body .lu-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-block-end: 22px;
}

body .lu-section-title h2 {
  margin: 0;
}

body .lu-section-title a,
body .lu-section > a {
  color: var(--lu-accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body .lu-news-grid,
body .lu-category-grid,
body .lu-tech-grid,
body .lu-three-grid {
  gap: clamp(14px, 2vw, 22px);
}

body .lu-card,
body .lu-horizontal-card,
body .lu-tech-feature,
body .lu-category-grid > *,
body .lu-three-grid > * {
  overflow: hidden;
  border: 1px solid var(--lu-line);
  border-radius: var(--lu-radius);
  background: var(--lu-surface);
  box-shadow: 0 4px 14px rgba(23, 38, 48, .035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body .lu-card:hover,
body .lu-horizontal-card:hover,
body .lu-tech-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(182, 64, 50, .34);
  box-shadow: var(--lu-shadow);
}

body .lu-card img,
body .lu-horizontal-card img,
body .lu-tech-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}

body .lu-card:hover img,
body .lu-horizontal-card:hover img,
body .lu-tech-feature:hover img {
  transform: scale(1.025);
}

body .lu-card-content {
  padding: clamp(16px, 2vw, 22px);
}

body .lu-card-content h3,
body .lu-horizontal-card h3,
body .lu-tech-feature h3 {
  margin-block: 7px 8px;
  color: var(--lu-ink);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -.025em;
}

body .lu-card-content p,
body .lu-horizontal-card p,
body .lu-tech-feature p {
  margin-block: 0;
  color: var(--lu-muted);
  font-size: .96rem;
}

body .lu-horizontal-card {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
}

body .lu-horizontal-card img {
  height: 100%;
  min-height: 190px;
  aspect-ratio: auto;
}

body .lu-sidebar {
  align-self: start;
}

body .lu-sidebar-box {
  margin-block-end: 20px;
  padding: 20px;
}

body .lu-sidebar-title {
  margin-block: 0 14px;
  padding-block-end: 10px;
  border-bottom: 1px solid var(--lu-line);
  font-size: 1.22rem;
}

body .lu-popular-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding-block: 12px;
  border-bottom: 1px solid var(--lu-line);
}

body .lu-popular-item:last-child {
  border-bottom: 0;
}

body .lu-popular-item > span {
  color: var(--lu-accent);
  font-weight: 800;
}

body .lu-popular-item a {
  color: var(--lu-ink-soft);
  font-weight: 700;
  line-height: 1.4;
}

body .lu-ad-box {
  border: 1px dashed #c7c8c2;
  border-radius: var(--lu-radius);
  color: var(--lu-muted);
  background: rgba(255,254,250,.55);
}

body .lu-newsletter {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--lu-radius-lg);
  color: #f4f5f2;
  background: var(--lu-deep);
}

body .lu-newsletter h2,
body .lu-newsletter h3 {
  color: #fff;
}

body .lu-newsletter p {
  color: rgba(255,255,255,.78);
}

/* Real Astra footer: preserve the configured page and social links. */
#colophon {
  color: #e9efef;
  background: #142f3b;
}

#colophon .site-primary-footer-wrap {
  padding: clamp(34px, 5vw, 58px) 20px;
  background: transparent;
}

#colophon .site-primary-footer-inner-wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, .75fr);
  gap: clamp(30px, 5vw, 72px);
}

#colophon .site-footer-primary-section-2 {
  display: none;
}

#colophon #astra-footer-menu ul {
  display: block;
  columns: 2;
  column-gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#colophon #astra-footer-menu li {
  margin: 0 0 9px;
  break-inside: avoid;
  list-style: none;
}

#colophon #astra-footer-menu a {
  display: inline-block;
  padding: 2px 0;
  color: rgba(239, 244, 242, .78);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

#colophon #astra-footer-menu a:hover,
#colophon #astra-footer-menu a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#colophon .ast-footer-social-wrap {
  align-self: start;
  justify-self: end;
}

#colophon .ast-footer-social-wrap a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
}

#colophon .ast-footer-social-wrap a:hover {
  border-color: #fff;
  background: rgba(255,255,255,.16);
}

#colophon .site-below-footer-wrap {
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(239,244,242,.68);
  background: transparent;
}

/* 404, comments, and other theme surfaces. */
.error-404,
.ast-no-results {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--lu-line);
  border-radius: var(--lu-radius-lg);
  background: var(--lu-surface);
}

.ast-comment-formwrap,
#comments,
.widget,
.widget-area .widget {
  border-color: var(--lu-line);
}

.ast-comment-formwrap,
#comments {
  border-radius: var(--lu-radius);
}

/* Respect reduced-motion preferences and keep transitions restrained. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  body .lu-hero-image:hover img,
  body .lu-card:hover img,
  body .lu-horizontal-card:hover img,
  body .lu-tech-feature:hover img {
    transform: none;
  }
}

@media (max-width: 1100px) {
  #masthead .site-primary-header-wrap {
    padding-inline: 20px;
  }

  body .lu-content-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 28px;
  }
}

@media (max-width: 921px) {
  #masthead .site-primary-header-wrap,
  #masthead .site-below-header-wrap,
  #masthead .site-above-header-wrap {
    min-height: 68px;
    padding-inline: 20px;
  }

  body .lu-hero-section {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .9fr);
  }

  body .lu-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body .lu-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body .lu-sidebar-box {
    margin: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  body.page:not(.home) #content > .ast-container,
  body.single-post #content > .ast-container,
  body.archive #content > .ast-container,
  body.search #content > .ast-container {
    width: min(100% - 28px, 1240px);
    padding-block: 24px 38px;
  }

  body.page:not(.home) article.ast-article-single,
  body.single-post article.ast-article-single {
    padding: clamp(22px, 5vw, 34px);
    border-radius: 10px;
  }

  body .lu-container {
    width: min(1200px, calc(100% - 32px));
  }

  body .lu-hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 28px 32px;
  }

  body .lu-hero-image {
    margin-block-end: 18px;
  }

  body .lu-hero-image img {
    height: clamp(240px, 56vw, 410px);
  }

  body .lu-hero-side {
    padding: 20px;
  }

  body .lu-news-grid,
  body .lu-category-grid,
  body .lu-tech-grid,
  body .lu-three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .lu-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  body .lu-horizontal-card {
    grid-template-columns: minmax(120px, .72fr) minmax(0, 1.28fr);
  }

  #colophon .site-primary-footer-inner-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  #colophon .ast-footer-social-wrap {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  body .lu-container {
    width: calc(100% - 28px);
  }

  body .lu-breaking-wrap {
    padding-block-start: 12px;
  }

  body .lu-breaking {
    align-items: stretch;
    min-height: 0;
  }

  body .lu-breaking-label {
    padding-inline: 12px;
    font-size: 11px;
  }

  body .lu-ticker {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  body .lu-hero-main h1 {
    font-size: clamp(2.35rem, 11vw, 3.55rem);
  }

  body .lu-news-grid,
  body .lu-category-grid,
  body .lu-tech-grid,
  body .lu-three-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body .lu-section-title {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  body .lu-horizontal-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body .lu-horizontal-card img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body .lu-card-content {
    padding: 17px;
  }

  #colophon #astra-footer-menu ul {
    columns: 1;
  }

  #colophon .site-primary-footer-wrap {
    padding-inline: 18px;
  }
}

@media (max-width: 375px) {
  body .lu-container {
    width: calc(100% - 24px);
  }

  body.page:not(.home) #content > .ast-container,
  body.single-post #content > .ast-container,
  body.archive #content > .ast-container,
  body.search #content > .ast-container {
    width: calc(100% - 20px);
  }

  body.page:not(.home) article.ast-article-single,
  body.single-post article.ast-article-single {
    padding: 20px 17px;
  }

  body .lu-breaking-label {
    padding-inline: 9px;
  }

  #colophon .site-primary-footer-wrap {
    padding-inline: 14px;
  }
}
