/*
 * Stylesheet of the copied templates (registered as `child-style`).
 *
 * This is the previous theme's style.css, unchanged except for the font
 * declarations: the same faces and metric overrides now point at this
 * theme's font files (Latin and Latin Extended split, so pages download only
 * what they use). Loaded only on the copied templates, after a snapshot of
 * the old parent theme's global styles (legacy-global.css), in the same order
 * as before.
 */

@font-face{font-family:"Ubuntu";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/ubuntu-300-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/ubuntu-300-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ubuntu-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ubuntu-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ubuntu-500-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ubuntu-500-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ubuntu-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ubuntu-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:92%;descent-override:22%;line-gap-override:0%;size-adjust:101%}
@font-face{font-family:"Ubuntu Condensed";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ubuntu-condensed-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:90%;descent-override:22%;line-gap-override:0%;size-adjust:102%}
@font-face{font-family:"Ubuntu Condensed";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ubuntu-condensed-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:90%;descent-override:22%;line-gap-override:0%;size-adjust:102%}
/* ==========================================================================
   Global Variables
   ========================================================================== */
/* === Self-hosted fonts (prevents Google Fonts swap CLS) === */
/* add this block only if you really use font-weight:500 */
:root {
  --primary-color: #e64d25;
  --secondary-color: #283b82;
  --text-color: #3f3f3f;
  --text-muted: #666;
  --border-color: #eee;
  --background-light: #fff;
  --background-muted: #f9f9f9;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --max-width: 1200px;
  --border-radius: 8px;
  --font-primary: "Ubuntu", sans-serif;
  --font-condensed: "Ubuntu Condensed", sans-serif;
  --background: #fff;
  --foreground: #111;
  --primary: #e64d25;
  --secondary: #283b82;
  --muted: #f5f5f5;
  --muted-foreground: #666;
  --border: #e5e5e5;
  --font-sans: "Ubuntu", sans-serif;
    --primary-2: #cf3f1d;          /* darker shade for gradient */
    --on-primary: #ffffff;         /* text on orange */
    --ring: #ffffff;               /* focus ring on colored bg */
    --radius-pill: 9999px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: color var(--transition);
}

p {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300 !important;
}

p b,
p strong,
span b,
span strong {
  font-weight: 500;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;        /* center container horizontally in page */
  /* padding-inline: clamp(16px, 4vw, 32px); */
}

.align-left{
    text-align: left;      /* keep text left-aligned */
}

.pagination .page-numbers, .search-pagination .page-numbers, .videos-pagination .page-numbers{
  margin-right: 5px;
}
.post-article li,
.post-article ul,
.post-article span {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300 !important;
}

.page-content p {
margin-bottom: 20px;
}
.article-content a {
  color: var(--primary-color);
}

.article-content h4 {
  margin-bottom: 20px;
}
.article-content a:hover {
  text-decoration: underline;
}

.article-date,
.article-category {
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
}

.hero-content h1 {
  color: var(--background-light);
}

h1{
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(28px, calc(28px + 8 * ((100vw - 375px) / 825)), 36px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-color);
}
h2{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, calc(22px + 4 * ((100vw - 375px) / 825)), 26px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text-color);
}
h3{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, calc(18px + 2 * ((100vw - 375px) / 825)), 20px);
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: var(--text-color);
}
h4{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(16px, calc(16px + 2 * ((100vw - 375px) / 825)), 18px);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-color);
}
h5{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(15px, calc(15px + 1 * ((100vw - 375px) / 825)), 16px);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-color);
}
h6{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(14px, calc(14px + 1 * ((100vw - 375px) / 825)), 15px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-color);
}


ol{
  margin-bottom:20px;
}

button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--text-color);
  background: transparent;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: background-color var(--transition);
}

button:hover {
  background-color: var(--secondary-color);
}

button.menu-toggle,
button.search-button {
  background-color: var(--background-muted);
}
/* ==========================================================================
   Header
   ========================================================================== */
.header {
  background-color: var(--background-light);
  width: 100%;
  font-family: var(--font-condensed);
}

.navigation {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-header{
  padding: 0 1rem;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img,
.site-logo {
  width: auto;
  display: block;
}

.site-logo { aspect-ratio: 76 / 50; }  /* space is reserved immediately */


.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.header-menu li {
  position: relative;
}

.header-menu li a {
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.header-menu li a:hover,
.header-menu li.current-menu-item > a,
.header-menu li.current_page_item > a {
  color: var(--primary-color);
}

.header-menu > li > a {
  text-transform: uppercase;
}

.header-menu li ul li a {
  text-transform: none;
}

.header-menu li:hover > ul {
  display: block;
}

.header-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--background-light);
  border: 1px solid #ccc;
  list-style: none;
  padding: 0.5rem 0;
  min-width: 150px;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-menu ul li a {
  display: block;
  white-space: nowrap;
}

.header-menu li.menu-item-has-children > a {
  padding-right: 1.25rem;
  position: relative;
}

.header-menu li.menu-item-has-children > a::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 18px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  transition: transform var(--transition), color var(--transition);
}

.header-menu li.menu-item-has-children:hover > a::after,
.header-menu li.menu-item-has-children:focus-within > a::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary-color);
}

@supports not (font-variation-settings: normal) {
  .header-menu li.menu-item-has-children > a::after {
    content: "▾";
    font-family: inherit;
  }
}

/* ==========================================================================
   Search Bar
   ========================================================================== */
.search-bar form {
  display: flex;
  gap: 5px;
  width: 100%;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input::placeholder {
  color: #9aa0a6;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 61, 37, 0.1);
}

.search-button {
  padding: 0 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  cursor: pointer;
  font-size: 1rem;
  color: #6b7280;
  transition: color var(--transition), border-color var(--transition);
}

.search-button:hover,
.search-button:focus {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.menu-toggle,
.mobile-nav {
  display: none;
}
.mobile-nav a{
  text-decoration: none!important;
}
.header-menu a{
    text-decoration: none!important;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.scroll-lock {
  position: fixed;
  width: 100%;
  overflow: hidden; /* harmless here, but position:fixed is the key */
}

@supports (-webkit-touch-callout: none) {
  .mobile-nav { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--border-color);
    background: var(--background-light);
    color: var(--text-color);
    font-family: var(--font-condensed);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition),
      border-color var(--transition), color var(--transition);
  }

  .menu-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }

  .menu-toggle .icon-close {
    display: none;
  }

  body.nav-open .menu-toggle .icon-open {
    display: none;
  }

  body.nav-open .menu-toggle .icon-close {
    display: inline-block;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background-light);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: var(--text-color);
    font-family: var(--font-primary);
  }

  body.nav-open .mobile-nav {
    transform: translateX(0);
  }

  .mobile-nav-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-light);
  }

  .mobile-nav-header .mobile-nav-brand img {
    height: 38px;
    width: auto;
    display: block;
  }

  .mobile-close {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition),
      background-color var(--transition);
    line-height: 1;
  }

  .mobile-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--background-muted);
  }

  .mobile-close .material-symbols-outlined {
    display: block;
    line-height: 1;
    font-size: 28px;
    transform: translateY(-0.5px);
  }

  .material-symbols-outlined,
.newsletter-icon {
  display:inline-block;
  width:1em;
  height:1em;
  line-height:1;
}


  #mobile-menu-panel > .mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: calc(100% - 57px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu > li {
    position: relative;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu > li > a {
    display: block;
    width: 100%;
    padding: 1rem 3rem 1rem 0.25rem;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-condensed);
    letter-spacing: 0.02em;
    border-radius: 10px;
    transition: color var(--transition), background-color var(--transition);
  }

  .mobile-menu > li > a:hover,
  .mobile-menu > li.current-menu-item > a,
  .mobile-menu > li.current_page_item > a {
    color: var(--primary-color);
    background: #fafafa;
  }

  .submenu-toggle {
    appearance: none;
    border: none;
    background: transparent;
    position: absolute;
    right: 0.25rem;
    top: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
  }

  .submenu-toggle .material-symbols-outlined {
    font-size: 24px;
    color: var(--text-color);
    transition: transform var(--transition), color var(--transition);
  }

  .mobile-menu > li:hover > .submenu-toggle .material-symbols-outlined {
    color: var(--primary-color);
  }

  .mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0.75rem 0.5rem;
    border-left: 2px solid var(--border-color);
    transition: max-height 0.28s ease;
    overflow: hidden;
  }

  .mobile-menu .sub-menu li a {
    display: block;
    padding: 0.6rem 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: none;
    font-family: var(--font-primary);
    border-radius: var(--border-radius);
    transition: color var(--transition), background-color var(--transition);
  }

  .mobile-menu .sub-menu li a:hover {
    color: var(--primary-color);
    background: #f6f6f6;
  }

  .mobile-menu li.open > .submenu-toggle .material-symbols-outlined {
    transform: rotate(180deg);
  }
}

/* Hard Overrides for Mobile Menu */
@media (max-width: 992px) {
  .mobile-nav {
    opacity: 1 !important;
    max-height: none !important;
  }
  body.nav-open #mobile-menu-panel {
    opacity: 1 !important;
    max-height: none !important;
  }
}

#mobile-menu-panel[hidden] { display: none !important; }

/* ==========================================================================
   Main Content
   ========================================================================== */
/* .main-content {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
} */

.latest-articles,
.category-section,
.value-proposition,
.events-series,
.content-page,
.value-proposition {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
  width: 100%;
}



.partners{
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}
.value-proposition{
    display: flex;
  flex-direction: column;
  justify-content: center;      /* vertical center */
  align-items: center;          /* horizontal center */
  text-align: center;
}

.hero-section,
.event-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem;
  border-bottom: 1px solid #ccc;
  text-align: center;
  width: 100%;
}

.event-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}

.articles-grid,
.category-grid,
.value-grid,
.events-list,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.article-card,
.value-card {
  grid-template-rows: auto auto 1fr auto;
  gap: 0.5rem;
  padding: 1rem 0;
}

.article-image {
  display: grid;
  place-items: center;
  height: 200px;
  border: 1px solid var(--border-color);
  background-color: var(--background-muted);
}

.event-item,
.partner-logo {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid #ddd;
}

.partner-logo {
  height: 80px;
  background-color: var(--background-muted);
}

/* Smart Manufacturing */
.manufacturing-top-row {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.featured-article-large {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  padding: 1rem;
}

.featured-image-large {
  position: relative;
  height: 400px; /* your desired box height */
  overflow: hidden; /* hide any overflow */
  border: 1px solid var(--border-color);
  background-color: var(--background-muted);
}

/* Make the actual <img> fill the box and crop nicely */
.featured-image-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* keep aspect, crop excess */
  object-position: center;
  display: block;
}

.manufacturing-bottom-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

/* Sidebar */
.sidebar-content {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 1rem;
}

.mobile-sidebar-content {
  display: none;
  grid-template-columns: 1fr;
  gap: 1rem;
  border: 1px solid #ccc;
  padding: 1rem;
}

.newsletter-section,
.events-section {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.5rem;
}

.social-section {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
}

.social-icons {
  margin: 15px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.social-icons span {
  display: grid;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid #ddd;
  background-color: var(--background-muted);
}

.newsletter-box {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
  padding: 1rem;
  background-color: #f0f4ff;
  border: 1px solid #ddd;
}

/* ===========================
   Read More – 2025 Minimal
   =========================== */
.read-more {
  width: 100%; /* span full width */
  margin: 0;
  padding: 0 0 1.25rem 0;
  display: grid;
  justify-items: center; /* <-- this centers the child */
  align-items: center; /* vertical centering */
  text-align: center;
  place-items: center;
  border-top: none;
  border-bottom: 1px solid var(--border-color); /* divider now at bottom */
}

/* link styling stays the same */
.read-more .read-more__link {
  --btn-h: 44px;
  --btn-pad-x: 16px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: var(--btn-h);
  padding: 0 var(--btn-pad-x);

  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: var(--text-color);
  text-decoration: none;

  font-family: var(--font-condensed);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 600;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background-color var(--transition),
    color var(--transition);
}

/* chevron icon */
.read-more .read-more__icon {
  inline-size: 18px;
  block-size: 18px;
  display: inline-block;
  position: relative;
}
.read-more .read-more__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}

/* hover / focus */
.read-more .read-more__link:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.read-more .read-more__link:hover .read-more__icon::before {
  transform: translateX(2px) rotate(-45deg);
  opacity: 1;
}
.read-more .read-more__link:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.read-more .read-more__link:focus-visible {
  outline: 3px solid rgba(230, 61, 37, 0.35); /* matches your theme focus */
  outline-offset: 2px;
}

/* compact variant for mobile */
@media (max-width: 640px) {
  .read-more {
    padding-top: 1rem;
  }
  .read-more .read-more__link {
    --btn-h: 42px;
    gap: 8px;
    font-size: 0.92rem;
    padding: 0 14px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .read-more .read-more__link,
  .read-more .read-more__icon::before {
    transition: none;
  }
}

/* Optional: section footer layout if you want left-aligned inside grid sections */
.category-section .read-more {
  justify-items: start; /* align left under the grid */
  padding-top: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #1f1f1f;
  color: #f0f0f0;
  font-family: var(--font-primary);
}

.site-footer a {
  color: #f0f0f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem 3rem;
}

.footer-col {
  min-width: 0;
}

.footer-eyebrow {
  font-family: var(--font-condensed);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-brand .footer-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem 0 1.25rem;
}

.footer-address {
  font-size: 14px;
  color: #cfcfcf;
  line-height: 1.6;
}

.footer-address em {
  color: #a8a8a8;
}

.footer-menu {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 0.9rem;
}

.footer-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: #d8d8d8;
  position: relative;
}

.footer-menu > li > a::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted #6b6b6b;
  margin-left: 12px;
  transform: translateY(-2px);
  opacity: 0.7;
}

.footer-menu > li > a:hover {
  color: #ffffff;
}

.footer-contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  background: #1f1f1f;
  color: #f0f0f0;
  border: 1px solid #a7a7a7;
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  outline: none;
}

.footer-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: #c8c8c8;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 61, 37, 0.15);
}

.footer-send {
  width: 100%;
  background: var(--primary-color);
  border: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.9rem 1rem;
  border-radius: 0 0 4px 4px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.02s ease-in-out;
}

.footer-send:hover {
  filter: brightness(1.05);
}

.footer-send:active {
  transform: translateY(1px);
}

.footer-bottom {
  background: #3a3a3a;
  padding: 1.25rem 1rem;
  width: 100%;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .footer-copy {
  flex: 1;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-social a:hover svg {
  color: #fff;
}

.footer-links ul {
  font-size: 16px;
  font-weight: 300;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Sticky Sidebar
   ========================================================================== */
.sidebar {
  position: sticky;
  top: 25px;
  align-self: start;
  height: max-content;
  z-index: 2;
}

.sidebar .stay-connected {
  position: static;
  top: auto;
}

/* ==========================================================================
   Social Icons
   ========================================================================== */
.sidebar .social-icons {
  display: grid;
  grid-template-columns: repeat(4, 0.17fr);
  gap: 0.5rem;
}

.sidebar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  text-decoration: none;
  outline: none;
  will-change: transform;
}

.sidebar .social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.sidebar .social-icon:hover {
  transform: translateY(-2px);
}

.sidebar .social-icon.twitter:hover,
.sidebar .social-icon.facebook:hover,
.sidebar .social-icon.linkedin:hover,
.sidebar .social-icon.youtube:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.sidebar .social-icon:focus-visible {
  outline: 3px solid rgba(230, 61, 37, 0.35);
  outline-offset: 2px;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
  gap: 10px;
}

.breadcrumb a {
  color: #767880 !important;
  transition: color 0.2s ease-out;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 3px;
  color: #999;
}

.page-header {
  padding-top: 15px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header-full-width {
  padding: 0.5rem;
  /* background-color: #ededed;
  border-bottom: 1px solid var(--primary-color); */
}

.page-header h1 {
  color: #1a1a1a;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

/* Reusable title section style (posts/pages/etc.) */
.single-alt-title-block {
  background: transparent !important;
  border-top: 1px solid var(--border, var(--border-color)) !important;
  border-bottom: 0px solid var(--border, var(--border-color)) !important;
  margin-bottom: 0 !important;
}

.single-alt-title-block .page-header {
  padding-top: 0;
}

.single-alt-title-block .breadcrumb,
.single-alt-title-block .single-alt-title-meta {
  font-size: 14px;
  line-height: 1.4;
}

.single-alt-title-block .breadcrumb {
  padding: 0;
  margin: 0 0 12px;
}

.single-alt-title-block .article-title {
  margin: 0 0 12px;
}

.single-alt-title-block .single-alt-title-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #767880;
  margin: 0;
}

.single-alt-title-block .single-alt-title-date {
  font-size: 14px;
  line-height: 1.4;
}

.single-alt-title-block .single-alt-title-sponsored {
  color: #E64D25;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px !important;
}

.sponsored-label {
  color: var(--primary-color);
  font-weight: 700;
}

.post-article .sponsored-label {
  font-size: 1em;
  line-height: 1em;
  letter-spacing: inherit;
  text-transform: inherit;
  vertical-align: baseline;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
/* ---- Hero base (reuses your variables) ---- */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: var(--font-primary);
}


.hero-slide {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  aspect-ratio: 16/9;
}

/* Solid gradient background for newsletter slide */
.hero-bg.hero-bg-solid {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Overlays */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.45));
  z-index: 2;
}
.hero-overlay-strong {
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.55));
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  color: #fff;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  margin-bottom: 2rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: .375rem;
  font-size: .875rem;
  font-weight: 500;
  font-family: var(--font-primary);
}
.hero-title {
  color: #fff;
}
.hero-subtitle { color: var(--on-primary, #fff); }
.hero-description {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.9);
  max-width: 48rem;
}


/* Keep */
#slide-media .hero-content { text-align: left; }
#slide-media .hero-title { max-width: 62rem; margin-inline: 0; }

#slide-media .hero-cta { display: flex; align-items: flex-end; }
#slide-media .hero-button--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 1.4rem;
  background: #fff;
  border: 2px solid #fff;
  color: var(--secondary-color);
}
#slide-media .hero-button--light:hover {
  background: #fff;
  color: var(--primary-color);
}

/* New: 2-column grid (Text|Badge) */
#slide-media .hero-content { padding-block: clamp(3rem, 6vw, 7rem); }

#slide-media .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(22vw, 200px);
  column-gap: clamp(1rem, 3vw, 3rem);
}

#slide-media .hero-col--copy {
  display: grid;
  row-gap: clamp(1rem, 2vw, 1.5rem);
  justify-items: start;
  text-align: left;
}

/* Badge sizing */
#slide-media .hero-col--badge { display: flex; justify-content: center; }
#slide-media .vendor-badge { line-height: 0; width: min(22vw, 200px); }
#slide-media .vendor-badge svg { display: block; width: 100%; height: auto; }

/* XL tweak (optional hard cap) */
@media (min-width: 1280px) {
  #slide-media .vendor-badge { margin-top:5px;width: 200px; }
}

/* Stack on small screens: text → button → badge (left aligned) */
@media (max-width: 900px) {
  #slide-media .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  #slide-media .hero-col--copy {
    row-gap: 2.5rem;
  }
  #slide-media .hero-col--badge { justify-content: flex-start; }
  #slide-media .vendor-badge { width: min(50vw, 200px); }
}

/* Keep your mobile “measure” constraint */
@media (max-width: 720px) {
  #slide-media .hero-measure,
  #slide-media .hero-title {
    max-width: 92vw;
  }
}

/* ===============================
   CTA BUTTON HOVER EFFECT
   =============================== */
#slide-media a.hero-button--light:hover {
  cursor: pointer !important;
}


/* ===============================
   BADGE HOVER EFFECT (SVG BLOCK)
   =============================== */
#slide-media .vendor-badge {
  transition: transform 0.35s ease, filter 0.35s ease;
  cursor: pointer !important;
}

#slide-media .vendor-badge:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.05);
}


@media (max-width: 900px) {
  #slide-media .hero-col--badge {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--secondary-color);
    padding: 2.5rem 0;
    text-align: center;
  }

  #slide-media .vendor-badge {
    margin: 0 auto;
    width: clamp(160px, 55vw, 240px);
  }

  #slide-media .hero-content{
    padding-bottom: 0px;
  }
}

 


/* Button */
.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: .375rem;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: var(--font-primary);
  transition: background-color .2s ease, transform .02s ease-in-out, color .2s ease, border-color .2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  letter-spacing: .02em;
}
.hero-button:hover { background: #d63e1e; filter: brightness(1.05); }
.hero-button:active { transform: translateY(1px); }

/* Outline variant for dark/gradient backgrounds */
.hero-button--outline {
  background: transparent;
  border: 2px solid #fff;
}
.hero-button--outline:hover {
  background: #fff;
  color: var(--primary-color);
  filter: none;
}

/* Highlights */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}
.hero-highlight {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .375rem;
  padding: 1.25rem;
  text-align: center;
}
.hero-highlight-number {
  font-family: var(--font-condensed);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: .5rem;
  line-height: 1;
}
.hero-highlight-label {
  font-family: var(--font-primary);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

/* Newsletter feature pills */
.newsletter-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1rem;
  margin: 1rem auto 1.5rem;
  max-width: 48rem;
}
.newsletter-feature {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.newsletter-feature:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

/* Newsletter icons using Material Symbols */
.newsletter-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Progress */
.hero-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255,255,255,.2);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0%;
  transition: width .1s linear;
  will-change: width;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-content { padding: 0 1rem; }
  .hero-highlights { grid-template-columns: 1fr; gap: 1rem; }
  .hero-highlight { padding: 1rem; }
  .newsletter-features { gap: .5rem; }
  .newsletter-feature { font-size: .9rem; padding: .45rem .75rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-button,
  .hero-progress-bar { transition: none; }
}


/* Newsletter hero text sizing */

/* Main title */
#slide-newsletter .hero-title {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.5rem); /* bigger than before */
  line-height: 1.15;
}

/* Subtitle inside title */
#slide-newsletter .hero-subtitle {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.5rem); /* bigger than before */
}

/* Description text */
#slide-newsletter .hero-description {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem); /* was ~1.125–1.35rem */
  line-height: 1.7;
  max-width: 46rem;
  margin: 0 auto 2rem;
}

/* Feature pills text */
#slide-newsletter .newsletter-feature {
  font-size: 1rem; /* bump slightly from 0.95rem */
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    order: 1;
  }

  .footer-links {
    order: 2;
  }

  .footer-contact {
    order: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .navigation, .page-header {
    padding: 0.5rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    order: 3;
  }

  .header-menu {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .header-menu li a {
    padding: 0.75rem;
    display: block;
    text-align: center;
  }

  .header-menu ul {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--background-muted);
    margin-left: 1rem;
  }

  .category-grid,
  .articles-grid,
  .value-grid,
  .events-list,
  .manufacturing-top-row,
  .manufacturing-bottom-row {
    grid-template-columns: 1fr;
  }

  .manufacturing-top-row,
  .manufacturing-bottom-row {
    max-width: 100%;
    margin: 0;
  }

  .sidebar-content {
    display: none;
  }

  .mobile-sidebar-content {
    display: grid;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-social a svg {
    width: 20px;
    height: 20px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-highlight {
    padding: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-meta {
    margin-bottom: 1.5rem;
  }


  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.5)
    );
  }

  .sidebar {
    position: static;
  }

  .sidebar .social-icon {
    width: 40px;
    height: 40px;
  }

  .sidebar .social-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo {
    width: 220px;
  }

  .footer-bottom {
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-social a svg {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-social a svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   Miscellaneous
   ========================================================================== */
.article-meta {
  font-size: 0.5em;
  color: var(--text-muted);
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-button,
  .hero-progress-bar,
  .sidebar .social-icon {
    transition: none;
  }
}

/* ==========================================================================
   Loading States
   ========================================================================== */
.hero-bg[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.hero-bg[loading="lazy"].loaded {
  opacity: 1;
}

/* Neutralize inline font-weight */
.entry-content p[style*="font-weight: 400"],
.entry-content p[style*="font-weight: normal"],
.entry-content span[style*="font-weight: 400"],
.entry-content span[style*="font-weight: normal"] {
  font-weight: inherit !important;
}

/* ===========================
   Article / Featured Cards – 2025 minimal
   Image zoom on hover + tidy layout
   =========================== */

/* Neutralize old container chrome to avoid double borders/padding */
.article-card,
.featured-article-large {
  position: relative;
  border: 0;
}

/* The link is the visual card (full clickable area) */
.article-card .card-link,
.featured-article-large .card-link {
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* image, title, excerpt grows, date at bottom */
  gap: 0.65rem;
  padding: 1rem;

  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: inherit;
  text-decoration: none;

  transition: box-shadow var(--transition), border-color var(--transition);
}

/* Hover/focus polish (no vertical movement) */
.article-card .card-link:hover,
.featured-article-large .card-link:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}
.article-card .card-link:focus-visible,
.featured-article-large .card-link:focus-visible {
  outline: 3px solid rgba(230, 61, 37, 0.35);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Image containers (clip the zoom) */
.article-image,
.featured-image-large {
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius);
  background-color: var(--background-muted);
}

/* Heights (adjust as you like) */
.article-image {
  height: 220px;
}
.featured-image-large {
  height: 400px;
}

/* Make images cover their boxes */
.article-image img,
.featured-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.35s ease;
  will-change: transform;
}

/* Zoom the image on hover (card or link) */
.article-card:hover .article-image img,
.article-card .card-link:hover .article-image img,
.featured-article-large:hover .featured-image-large img,
.featured-article-large .card-link:hover .featured-image-large img {
  transform: scale(1.05);
}

/* Typography + spacing */
.article-title,
.featured-title {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
}

.post-article .article-title {
  display: block;
  margin: 0 0 0.75rem;
}

.article-card h3.article-title {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
}
.featured-title {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

.article-excerpt,
.featured-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Date pinned to the bottom row */
.article-meta {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  align-self: end; /* stick to the last grid row */
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Read More (keeps your new style; centered with full-width bottom divider) */

.read-more .read-more__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), border-color var(--transition),
    color var(--transition);
}
.read-more .read-more__link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}
.read-more .read-more__icon {
  inline-size: 18px;
  block-size: 18px;
  position: relative;
}
.read-more .read-more__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}
.read-more .read-more__link:hover .read-more__icon::before {
  transform: translateX(2px) rotate(-45deg);
  opacity: 1;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .article-image {
    height: 180px;
  }
  .featured-image-large {
    height: 280px;
  }
  .article-card h3.article-title {
    font-size: 1rem;
  }
  .featured-title {
    font-size: 1.25rem;
  }
  .read-more .read-more__link {
    height: 42px;
    padding: 0 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .article-image img,
  .featured-image-large img {
    transition: none;
  }
}

/* ---------------------------
   Fallback if you did NOT wrap with .card-link
   (Modern browsers support :has. Remove if not needed.)
   --------------------------- */
.article-card:not(:has(.card-link)) {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.65rem;
  padding: 1rem;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.article-card:not(:has(.card-link)):hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}
.article-card:not(:has(.card-link)) .article-meta {
  align-self: end;
}
.article-card:not(:has(.card-link)):hover .article-image img {
  transform: scale(1.05);
}

/* Make every grid item stretch and give the card a full height box */
.articles-grid,
.category-grid,
.manufacturing-bottom-row {
  align-items: stretch;
}

.article-card {
  height: 100%;
} /* the grid item */
.article-card .card-link {
  /* the clickable wrapper */
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* image, title, excerpt, date */
  height: 100%; /* << critical */
}

/* Same idea for the featured card */
.featured-article-large {
  height: 100%;
}
.featured-article-large .card-link {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
}

/* Ensure content can shrink without overflow */
.article-card .card-link > *,
.featured-article-large .card-link > * {
  min-height: 0;
}

/* Keep the date pinned to the bottom row */
.article-meta {
  align-self: end;
}

/* If some cards don't use .card-link (title-only link), keep them aligned too */
.article-card:not(:has(.card-link)) {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
}
.article-card:not(:has(.card-link)) .article-meta {
  align-self: end;
}

/* Desktop ↔ Mobile placement for Stay Connected */
.stay-connected-desktop {
  display: block;
}
.stay-connected-mobile {
  display: none;
}

/* When the mobile menu breakpoint kicks in (same as your mobile nav: 992px) */
@media (max-width: 992px) {
  /* Move Stay Connected to the bottom, hide the desktop slot */
  .stay-connected-desktop {
    display: none;
  }
  .stay-connected-mobile {
    display: block;
    margin-top: 1rem;
  }

  /* Put all article lists on a single column line */
  .articles-grid,
  .category-grid,
  .manufacturing-top-row,
  .manufacturing-bottom-row {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   home page reach out us
   ========================================================================== */


    p.lead {
      max-width: 48rem;
      margin: 0 auto 3rem;
      text-align: center;
      font-size: 1.125rem;
      color: var(--muted-foreground);
      line-height: 1.6;
    }

    .grid {
      display: grid;
      gap: 2rem;
    }

    @media (min-width: 1024px) {
      .grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 0.75rem;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      transition: box-shadow 0.2s ease;
    }

    .card:hover {
      box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }

    .icon {
      width: 4rem;
      height: 4rem;
      margin: 0 auto 1.5rem;
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(to bottom right, var(--primary), var(--secondary));
      color: #fff;
    }

    .card h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .card p {
      font-size: 1rem;
      color: var(--muted-foreground);
      margin-bottom: 2rem;
      line-height: 1.6;
    }

    .btn {
      display: inline-block;
      background: var(--primary);
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      text-transform: uppercase;
      font-size: 0.875rem;
      font-weight: 500;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    .btn:hover {
      opacity: 0.9;
    }

    /*home page iiot world days*/
    .days {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--on-primary);
    padding: clamp(3rem, 6vw, 6rem) 1rem;
    text-align: center;
    width: 100%;
  }

  .days h2 {
    color:#fff;
    font-family: "Ubuntu Condensed", system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
    font-size: clamp(1.5rem, 2.2vw + 1rem, 2.75rem);
  }

  .days__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(.5rem, 1vw, 1rem);
    justify-content: center;
  }

  .days__link {
    --border: rgba(255, 255, 255, 0.6);
    display: inline-block;
    text-decoration: none;
    color: var(--on-primary);
    font-size: clamp(1rem, .7vw + .9rem, 1.375rem);
    padding: .9rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
      0 1px 0 rgba(255,255,255,.25) inset,
      0 10px 20px rgba(0,0,0,.08);
    transition: all .2s ease;
    outline: none;
    position: relative;
  }

  .days__link::after {
    content: "→";
    position: relative;
    left: .25rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: transform .2s ease, opacity .2s ease;
  }

  .days__link:hover,
  .days__link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
    border-color: #fff;
    box-shadow:
      0 2px 0 rgba(255,255,255,.25) inset,
      0 14px 28px rgba(0,0,0,.12);
    letter-spacing: .015em;
  }

  .days__link:hover::after,
  .days__link:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
  }

  .days__link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .days__link,
    .days__link::after {
      transition: none;
      transform: none;
    }
  }


  /* ======================================================
   Search 2025 — Full-width stacked list (low height)
   Keeps existing behavior/design; layout changes only.
   ====================================================== */

/* 0) Page + container: no outer padding, truly full width */
.search-2025 .container-1100 {
  max-width: 1200px;
  width: 100%;
  padding: 0;
  margin:0 auto;
}

.container-1100{
   padding: 0.5rem 0 !important;
}

.result-card__thumb{
  padding:1rem !important;
  height: none !important;
}
/* 1) One-under-one list */
.search-2025 .results-grid {
  display: block;          /* no grid masonry */
  margin: 0;               /* no side gaps */
}

/* Spacing between rows */
.search-2025 .result-card {
  margin: 0;               /* no outer padding */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  transition: box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;

  /* media object layout: small thumb, body full width */
  display: grid;
  grid-template-columns: 240px 1fr;   /* thumbnail width */
  grid-template-rows: 1fr;
  gap: 14px;
}

/* compact vertical spacing between cards */
.search-2025 .result-card + .result-card {
  margin-top: 10px;
}

/* hover behavior (same as cards) */
.search-2025 .result-card:hover {
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.10);
}

/* 2) Smaller thumbnail (keeps zoom on hover) */
.search-2025 .result-card__thumb {
  display: block;
  overflow: hidden;
  background: var(--background-muted);
  align-self: stretch;
}
.search-2025 .result-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  will-change: transform;
}
.search-2025 .result-card:hover .result-card__thumb img {
  transform: scale(1.05);
}

/* 3) Compact body (keeps titles/meta/excerpt styling) */
.search-2025 .result-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* meta, title, excerpt, cta */
  gap: .4rem;
  padding: .75rem .75rem .75rem 0;        /* minimal interior padding; no outer padding overall */
  min-height: 0;
}

/* Meta + title keep the same look; no changes needed besides spacing */
.search-2025 .result-card__meta {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Title */
.search-2025 .result-card__title {
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  margin: 0;
}
.search-2025 .result-card__title a {
  color: var(--text-color);
  text-decoration: none;
}
.search-2025 .result-card__title a:hover { color: var(--primary-color); }

/* Excerpt: tighter (2 lines) for lower row height */
.search-2025 .result-card__excerpt {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* CTA pill (unchanged behavior; slightly shorter) */
.search-2025 .result-card__cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;                   /* shorter button */
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  color: var(--text-color);
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
.search-2025 .result-card__cta::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateX(-2px);
  transition: transform var(--transition), opacity var(--transition);
  opacity: .9;
}
.search-2025 .result-card__cta:hover {
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.search-2025 .result-card__cta:hover::after {
  transform: rotate(-45deg) translateX(0);
}

/* 4) Focus-visible parity */
.search-2025 .result-card:focus-within {
  outline: 3px solid rgba(230, 61, 37, .35);
  outline-offset: 2px;
}

/* 5) Breadcrumb/header keep existing look; remove extra top/bottom padding if any */
.search-2025 .search-results { padding: 0; }

/*.search-2025 .page-header-full-width { padding: 0; }*/
.full-width{padding:0}
/* 6) Pagination spacing stays tight under list */
.search-2025 .search-pagination {
  margin: 16px 0 32px;
}

/* 7) Mobile: stack image above text, still compact */
@media (max-width: 768px){
  .search-2025 .result-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .search-2025 .result-card__thumb {
    height: 180px;      /* a bit taller on mobile for clarity */
  }
  .search-2025 .result-card__body {
    padding: .75rem;
  }
}

/* 8) Reduced motion */
@media (prefers-reduced-motion: reduce){
  .search-2025 .result-card,
  .search-2025 .result-card__thumb img,
  .search-2025 .result-card__cta { transition: none; }
}



/* 1) Let grid items shrink (critical) */
.post-article .post-layout > * { min-width: 0; }

/* 2) Make embeds responsive */
.article-content iframe,
.article-content embed,
.article-content object {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* 3) Ensure WP embed wrappers don’t impose a fixed width */
.article-content .wp-block-embed,
.article-content figure.wp-block-embed,
.article-content .wp-block-embed__wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}


/* Password-protected form (global) */
.post-password-form{
  max-width: 560px;
  margin: 4rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: var(--border-radius, 8px);
  box-shadow: var(--shadow, 0 2px 10px rgba(0,0,0,.08));
  font-family: var(--font-primary, "Ubuntu", sans-serif);
}

.post-password-form p{
  margin: 0 0 1rem;
  color: var(--text-color, #3f3f3f);
}

.post-password-form p:first-child{
  margin-bottom: 1.25rem;
  color: var(--text-muted, #666);
}

.post-password-form label{
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  color: var(--secondary-color, #283b82);
}

/* the input id is dynamic (pwbox-#####), so use an attribute selector */
.post-password-form input[type="password"],
.post-password-form input[id^="pwbox-"]{
  padding: .7rem .9rem;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}

.post-password-form input[type="password"]:focus{
  border-color: var(--primary-color, #e64d25);
  box-shadow: 0 0 0 3px rgba(230, 77, 37, .15);
}

/* submit button */
.post-password-form input[type="submit"]{
  margin-left: .75rem;
  padding: .7rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: var(--primary-color, #e64d25);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: filter .15s, transform .02s;
}
.post-password-form input[type="submit"]:hover{ filter: brightness(1.05); }
.post-password-form input[type="submit"]:active{ transform: translateY(1px); }

/* make the label + fields wrap nicely on small screens */
@media (max-width: 520px){
  .post-password-form label{
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .post-password-form input[type="submit"]{
    width: 100%;
    margin: .75rem 0 0;
  }
}


.btn-primary--full {
  font-family: var(--font-primary);
  display: block; /* ensures full width */
  width: 100%;
  background: #e64d25;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  transition: filter 0.2s ease, transform 0.05s ease;
  font-size: clamp(14px, 0.95rem, 16px);
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.4;
  text-align: center; /* centers label */
}

.btn-primary--full:hover {
  background: #ef4f32;
  transform: translateY(-1px);
}

.btn-primary--full:focus-visible {
  outline: none;
  box-shadow: var(--btn-ring);
}


/* ===========================
   Contact Form 7 — Simple Theme Match
   =========================== */
/* =========================================================
   Contact Form 7 — Complete, Clean, Theme-Matched Styling
   ========================================================= */

/* Form wrapper (block centered, content left-aligned) */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-primary);
  color: var(--text-color);
  text-align: left;
}

/* Form layout + bottom spacing */
.wpcf7 form {
  display: grid;
  gap: 12px;
  margin-bottom: 32px; /* space under the form */
  justify-items: stretch;
}

/* Labels (if used) */
.wpcf7 label {
  display: block;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

/* Input + textarea base */
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  color: var(--text-color);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Textarea sizing */
.wpcf7 textarea.wpcf7-form-control:not(.wpcf7-submit) {
  min-height: 140px;
  resize: vertical;
}

/* Placeholder */
.wpcf7 .wpcf7-form-control::placeholder {
  color: #9aa0a6;
}

/* Focus state */
.wpcf7 .wpcf7-form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 77, 37, 0.15);
}

/* Ensure CF7 wraps don’t constrain width */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Submit button */
.wpcf7 .wpcf7-submit {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  transition: filter 0.15s ease, transform 0.02s ease-in-out;
  text-align: center;
}

.wpcf7 .wpcf7-submit:hover {
  filter: brightness(1.05);
}

.wpcf7 .wpcf7-submit:active {
  transform: translateY(1px);
}

.wpcf7 .wpcf7-submit:focus-visible {
  outline: 3px solid rgba(230, 61, 37, 0.35);
  outline-offset: 2px;
}

/* Validation error state */
.wpcf7 .wpcf7-not-valid {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #d93025;
}

/* Response messages */
.wpcf7 .wpcf7-response-output {
  margin-top: 8px;
  padding: 0.9rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: var(--muted);
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Spinner spacing */
.wpcf7 .wpcf7-spinner {
  margin-left: 10px;
}

/* Optional two-column row support */
.wpcf7 .cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .wpcf7 .cf7-row {
    grid-template-columns: 1fr;
  }
}

/* Optional desktop width tightening */
@media (min-width: 1024px) {
  .wpcf7 {
    max-width: 640px;
  }
}


/* UL LI*/
/* Lowercase letters: (a) (b) (c) */
ol.alpha {
  list-style: none;
  counter-reset: alpha-counter;
  padding-left: 0;
}

ol.alpha > li {
  counter-increment: alpha-counter;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

ol.alpha > li::before {
  content: "(" counter(alpha-counter, lower-alpha) ")";
  position: absolute;
  left: 0;
  font-weight: bold;
}

article {
  counter-reset: custom-counter;
}

article ul {
  margin-bottom: 20px;
  padding-left: 25px;
  list-style-type: disc;
}

article ul > li {
  margin-bottom: 10px;
  line-height: 1.6;
}

article ul ul {
  margin-top: 10px;
  margin-bottom: 0;
  list-style-type: circle;
}

article ol {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

article ol > li {
  counter-increment: custom-counter;
  margin-bottom: 25px;
  line-height: 1.6;
  position: relative;
  padding-left: 30px;
}

article ol > li::before {
  content: counter(custom-counter) ".";
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  text-align: right;
}

article ol + p {
  margin-top: -15px;
  margin-bottom: 20px;
}


table {
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
}

table,
th,
td {
  border: 1px solid currentColor;
}

th,
td {
  padding: 0.4em 0.6em;
}

article a:hover {
text-decoration: underline;
}
article a {
color: var(--primary-color);
}

.article-sponsored {
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(230, 77, 37, 0.18);
  color: #b74325;
  border: 1px solid rgba(230, 77, 37, 0.45);
  white-space: nowrap;
}

/* Home tagline */
.home-tagline {
  max-width: var(--max-width);
  margin: 1.5rem auto;
  padding: 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}
