/* === BASE FOUNDATION === */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #5a1a1a;
  background-image: url("../images/background.jpg");
  background-repeat: repeat;
  color: #222;
}
.main-content {
  max-width: 1000px;
  margin: auto;
  padding: 0 16px;
}
p {
  line-height: 1.6;
  margin: 0.75em 0;
}
a {
  color: #7b1f1f;
  text-decoration: none;
}
a:hover { color: #a33a3a; text-decoration: underline; }

/* === UTILITIES === */
.small  { width: 120px; height: auto; }
.medium { width: 200px; height: auto; }
.large  { width: 300px; height: auto; }
.xlarge { width: 400px; height: auto; }
.left {
  float: left;
  margin: 0 1.2em 0.6em 0;
}
.right {
  float: right;
  margin: 0 0 0.6em 1.2em;
}
.center {
  display: block;
  margin: 0 auto 1em auto;
  float: none;
}
.text-center {
  text-align: center;
}
.text-center-down {
  margin-top: 15px;
  text-align: center;
}
.text-center-up {
  margin-top: -15px;
  margin-bottom: 15px;
  text-align: center;
}
.micro { font-size: smaller; font-style: italic; }
.micro.snug { margin-top:-10px; }

/* === SLIDESHOW === */
#slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  box-sizing: border-box;
  border: 10px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  background: #fff;
  overflow: hidden;
}
#slideshow img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
}
#slideshow img.active {
  opacity: 1;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.45em 1.1em;
  margin: 0.6em 0 1em 0;
  background-color: #7b1f1f;
  border: 1px solid #3a0d0d;
  color: #f0dede;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none !important;
  border-radius: 6px;
}
.btn:hover {
  background-color: #a33a3a;
  color: #ffffff;
  text-decoration: none !important;
}
.btn.small {
  font-size: 0.8rem;
  padding: 0.3em 0.8em;
  width: fit-content;
}
.btn.centered {
  display: block;
  margin: 0.6em auto 1em auto;
  width: fit-content;
  text-align: center;
}

/* === VIDEO WRAPPER === */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === LINKS LIST === */
.links-section {
  display: block;
  margin: 0 auto 30px;
  padding: 16px 14px 8px;
  background: #f4f4f4;
  border: 2px solid #3a0d0d;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.links-section h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.2em;
}
.links-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px; /* tighter spacing */
}
.links-list li {
  flex: 0 0 auto; /* prevents stretching */
}
.links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  white-space: nowrap;
  font-size: 1em;
  padding: 4px 10px;
  font-weight: 700;
  color: #dedede;
  text-decoration: none;
  background: #b54747;
  border: 2px solid #7b1f1f;
  border-radius: 999px;
  overflow: hidden;
}
.links-list a:hover {
  background: #e05050;
  color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* === HEADER === */
header {
  text-align: center;
  margin: 0;
}
header h1 {
  max-width: 36ch;
  font-family: Georgia, serif;
  margin: 0 auto;
  font-size: 2.5em;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.6),
  0 4px 10px rgba(0,0,0,0.7);
}
header .logo {
  width: 100%;
  max-width: 700px;
  height: auto;
}
header .tagline {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.3em;
  text-shadow: 0 2px 0 rgba(0,0,0,0.5),
  0 3px 8px rgba(0,0,0,0.6);
  color: #f0dede;
}

/* === FOOTER === */
footer {
  background: none;
  text-align: center;
  color: #f0dede;
  font-size: 18px;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
footer p {
  margin: 0;
}
footer p.company {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.5;
  margin-top: 0.25em;
}
footer p.links {
  text-align: center;
  font-size: 1em;
  line-height: 1.5;
}
footer p.credits {
  text-align: center;
  font-size: 0.8em;
  line-height: 1.2;
  margin-bottom: 1.5em;
}
footer a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}
footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === SECTION === */
section {
  background: #ffffff;
  border: 2px solid #3a0d0d;
  border-radius: 14px;
  padding: 1.5em 1.8em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  overflow: auto;
  color: #222;
  line-height: 1.5;
  margin-bottom: 2em;
  margin-top: 0;
}
section h3 {
  color: #7b1f1f;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 0.4em;
}
section h4 {
  color: #7b1f1f;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 0.2em;
}
section p {
  margin: 0;
  font-size: 22px;
}
section a {
  color: #7b1f1f;
  font-weight: bold;
  text-decoration: none;
}
section a:hover {
  color: #a33a3a;
  text-decoration: underline;
}
section strong {
  font-weight: bold;
  font-size: 1.05em;
}
section em {
  font-style: italic;
  font-size: 0.9em;
}
section ul li {
  font-size: 1.3em;
}
section:last-of-type {
  margin-bottom: 0;
}
section::after {
  content: "";
  display: block;
  clear: both;
}

/* === CARD === */
.card {
  display: block;
  text-decoration: none;
  background: #f0eeee;
  border: 2px solid #3a0d0d;
  border-radius: 14px;
  padding: 1.5em 1.8em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  overflow: hidden;
  color: #222;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.card.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(163,58,58,0.4);
  text-decoration: none;
}
.card h3 {
  color: #7b1f1f;
  font-size: 24px;
  margin: 0;
}
.card h4 {
  color: #7b1f1f;
  font-size: 22px;
  margin: 0;
}
.card p {
  margin: 0;
  font-size: 20px;
}
.card p.small {
  font-size: 18px;
}
.card p.summary {
  font-size: 12px;
  line-height: 1.1;
  height: 3.3em;
  overflow: hidden;
  margin: 0.4em 0 0.3em 0;
  color: #7b1f1f;
  font-weight: 600;
}
.card a {
  color: #7b1f1f;
  font-weight: bold;
  text-decoration: none;
}
.card a:hover {
  color: #a33a3a;
  text-decoration: underline;
}
.card strong {
  font-weight: bold;
  font-size: 1.05em;
}
.card em {
  font-style: italic;
  font-size: 18px;
}
.card em.small {
  font-size: 16px;
}
.card.centered {
  text-align: center;
}
.card.centered img {
  margin-left: auto;
  margin-right: auto;
}
.card.centered p,
.card.centered h3,
.card.centered h4 {
  text-align: center;
}
.card::after {
  content: "";
  display: block;
  clear: both;
}

/* === CONTACT CARD === */
.card.contact {
  padding: 0;
  overflow: hidden;
}
.card.contact h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0.45em 0.9em;
  background: #7b1f1f;
  color: #ffffff;
  font-size: 1em;
  border-bottom: 2px solid #3a0d0d;
}
.card.contact h3 em {
  white-space: nowrap;
  font-style: italic;
  font-size: 0.9em;
  opacity: 0.85;
}
.grid.cols2 .card.contact h3,
.grid.cols3 .card.contact h3 {
  font-size: 1em;
}
.card.contact p {
  margin: 0;
  padding: 0.2em 1em;
  font-size: 0.95em;
  line-height: 1.35;
}
.card.contact em {
  font-size: 1em;
  opacity: 0.85;
}
.card.contact a {
  color: #7b1f1f;
  font-weight: bold;
  text-decoration: none;
}
.card.contact a:hover {
  color: #a33a3a;
  text-decoration: underline;
}
.card.contact:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


/* === CONTENT IMAGE === */
.content-image {
  display: block;
  border-radius: 18px;
  padding: 3px;
  background: #f4f4f4;
  border: 3px solid #7b1f1f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.content-image.square {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
}
.content-image.dark { border-color: #3a0d0d; }
.content-image.accent { border-color: #a33a3a; }
.content-image.clean {
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
}
.content-image:hover {
  transform: scale(1.04);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

/* === PANEL === */
.panel {
  float: right;
  width: 360px;
  max-width: 100%;
  margin: 0 0 20px 30px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
}
.panel h3 {
  font-size: 1.2rem;
  margin-top: 6px;
  margin-bottom: 10px;
}
.panel h4 {
  font-size: 1.1rem;
  margin-top: 4px;
  margin-bottom: 6px;
}
.panel p {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 12px;
}
.panel strong {
  font-weight: bold;
  font-size: 1.05em;
}
.panel em {
  font-style: italic;
  font-size: 0.9em;
}
.panel ul li {
  font-size: 1.3em;
}
.panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}
.thumbs {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/* === PILL BULLET (LISTS) === */
.pill-bullet {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
}
.pill-bullet li {
  margin: 0;
}
.pill-bullet li a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #7b1f1f;
  border: 1px solid #3a0d0d;
  color: #f0dede;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.pill-bullet li a:hover {
  background: #a33a3a;
  color: #ffffff;
}
.pill-bullet.small li a {
  font-size: 0.85rem;
  padding: 0.3em 0.7em;
}
.pill-bullet.big li a {
  font-size: 1.15rem;
  padding: 0.5em 1.1em;
}
ul.pill-bullet.small,
ul.pill-bullet.big {
  width: auto;
  height: auto;
}

/* === BREADCRUMBS === */
.breadcrumbs {
  font-size: 0.95em;
  margin: 0 0 1em 0;
  padding: 0;
  color: #5a1a1a;
}
.breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline;
}
.breadcrumbs li {
  display: inline;
  font-weight: 600;
  color: #7b1f1f;
}
/* separator */
.breadcrumbs li + li:before {
  content: " › ";
  color: #999;
  font-weight: normal;
}
.breadcrumbs li a {
  color: #7b1f1f;
  text-decoration: none;
}
.breadcrumbs li a:hover {
  text-decoration: underline;
}
.breadcrumbs li strong {
  color: #222;
  font-weight: bold;
}

/* === NAVIGATION === */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* align bottoms evenly */
  margin: 0 2em;
  position: relative;
  z-index: 2; /* ensure tabs stay on top */
}
.navigation {
  font-size: 0.95em;
  padding: 0;
  margin: 0;
  border: 2px solid #3a0d0d;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #6a1f1f;
}
.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.navigation li {
  padding: 0.4em 1em;
  font-size: 0.95em;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  background: #7b1f1f;
  border-left: 2px dashed #3a0d0d;
}
.navigation li:first-child {
  border-left: none;
}
.navigation li a {
  color: #f0dede;
  text-decoration: none;
}
.navigation li a:hover {
  text-decoration: underline;
  color: #ffffff;
}
.navigation li.active {
  background: #5a1a1a;
}
.navigation li.active a {
  color: #ffffff;
  cursor: default;
  text-decoration: none;
}
.navigation.left ul {
  justify-content: flex-start;
}
.navigation.right ul {
  justify-content: flex-end;
}

/* === NAVIGATION CTA (BASE) === */
.navigation .cta {
  font-style: italic;
  font-weight: 700;
}
.navigation .cta + li {
  border-left: 2px solid #d89a2b;
}
.navigation .cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.navigation .cta a::after {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  display: inline-block;
}
/* === CTA: PRODUCTS === */
.navigation .cta.products {
  background: linear-gradient(180deg, #e6c27a, #cfa25a);
  color: #3a0d0d !important;
  border-top: 2px solid #f4b942;
  border-left: 2px solid #f4b942;
  border-right: 2px solid #d89a2b;
}
.navigation .cta.products:hover {
  background: linear-gradient(180deg, #edd08f, #d7ad6a);
  color: #5a1a1a !important;
}
.navigation .cta.products a {
  color: #3a0d0d !important;
}
.navigation .cta.products:hover a {
  color: #5a1a1a !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25),
               0 0 0.5px #5a1a1a;
}
.navigation .cta.products a::after {
  border-top: 3px solid #5a1a1a;
  border-right: 3px solid #5a1a1a;
}
.navigation .cta.products.active {
  background: linear-gradient(180deg, #edd08f, #d7ad6a);
  color: #7b1f1f !important;
  border-top: 2px solid #ffd36b;
}
/* === CTA: PHOTOS === */
.navigation .cta.photos {
  background: linear-gradient(180deg, #2f4f6f, #1f344a);
  color: #e6eef6 !important;
  border-top: 2px solid #4a6f94;
  border-left: 2px solid #4a6f94;
  border-right: 2px solid #162635;
}

.navigation .cta.photos:hover {
  background: linear-gradient(180deg, #3a5f82, #253e57);
  color: #ffffff !important;
}

.navigation .cta.photos a {
  color: #e6eef6 !important;
}

.navigation .cta.photos a::after {
  border-top: 3px solid #e6eef6;
  border-right: 3px solid #e6eef6;
}

.navigation .cta.photos.active {
  background: linear-gradient(180deg, #3a5f82, #253e57);
  border-top: 2px solid #5f86ad;
}

/* === GRID === */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.grid.cols2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols5 { grid-template-columns: repeat(5, 1fr); }
.grid.cols6 { grid-template-columns: repeat(6, 1fr); }
.grid > * {
  width: 100%;
  box-sizing: border-box;
}
.grid .card img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  height: auto;
}
.grid.cols2 .card img { max-width: 400px; }
.grid.cols3 .card img { max-width: 240px; }
.grid.cols4 .card img { max-width: 165px; }
.grid.cols5 .card img { max-width: 120px; }
.grid.cols6 .card img { max-width: 90px; }

.grid.cols2 .card h3 { font-size: 1.4em; }
.grid.cols3 .card h3 { font-size: 1.25em; }
.grid.cols4 .card h3 { font-size: 1.1em; }
.grid.cols5 .card h3 { font-size: 1em; }
.grid.cols6 .card h3 { font-size: 0.95em; }

.grid .card h4 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  min-height: 2.6em; /* ~2 lines */
}
.grid.cols2 .card h4 { font-size: 1.2em; }
.grid.cols3 .card h4 { font-size: 1.1em; }
.grid.cols4 .card h4 { font-size: 1em; }
.grid.cols5 .card h4 { font-size: 0.95em; }
.grid.cols6 .card h4 { font-size: 0.9em; }

/* === CONTACT FORM === */
.contact-form-wrapper {
  width: 100%;
  margin-top: 1.5em;
}
.contact-form {
  max-width: 468px;
}
.form-group {
  margin-bottom: 1.2em;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4em;
  color: #5a1a1a;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 2px solid #7b1f1f;
  border-radius: 6px;
  padding: 0.6em;
  color: #222;
  font-size: 1em;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a33a3a;
}
.contact-form textarea {
  height: 200px;
  resize: vertical;
}
.char-counter {
  font-size: 0.85em;
  margin-top: 0.4em;
  color: #777;
}
.honeypot {
  display: none;
}
.form-feedback {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8em;
  margin-bottom: 1em;
  border-radius: 6px;
  font-weight: 600;
}
.form-feedback.success {
  background: rgba(40,120,60,0.2);
  border: 2px solid #2f8f4a;
  color: #2f8f4a;
}
.form-feedback.error {
  background: rgba(120,40,40,0.2);
  border: 2px solid #a33a3a;
  color: #a33a3a;
}

/* === PRODUCT FILTERS === */
.product-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px auto 15px auto;
  padding: 10px 12px;
  border: 1px solid #7a2e2e;
  border-radius: 8px;
  background: #f8f8f8;
}

.product-filters label {
  white-space: nowrap;  
  font-weight: bold;
  font-size: 13px;
  color: #5a1f1f;
}

.product-filters input {
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  width: 160px;
}

.product-filters input[name="search"] {
  width: 180px;
}

.product-filters select {
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  width: 120px;
}

.product-filters button {
  padding: 5px 10px;
  border: 1px solid #7a2e2e;
  background: #a94442;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.product-filters button:hover {
  background: #922f2d;
}

/* === @MEDIA === */
@media (max-width:1024px) {
    header h1 {
        font-size: 2.1rem;
    }
}

@media (max-width:768px) {
    header h1 {
        font-size: 1.9rem;
    }
    header .logo {
      max-width: 560px;
    }
  footer {
    font-size: 16px;
  }
  .left, .right {
    float: none !important;
    display: block;
    margin: 0 auto 1em auto;
  }
  .small, .medium, .large, .xlarge {
    width: 100%;
    max-width: 90%;
  }
  .breadcrumbs {
    margin: 0.5em auto 0 auto;
  }
  .navigation {
    margin: 0.5em auto 0 auto;
  }
  .navigation ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav-bar {
    flex-direction: column;
    align-items: center;
    margin: 1.5em 0 2em 0;
  }
  .nav-bar .navigation {
    width: 100%;
    max-width: 728px;
    margin: 0;
    border: 2px solid #3a0d0d;
    background: #6a1f1f;
    overflow: hidden;
  }
  .nav-bar .navigation + .navigation {
    border-top: none;
  }
  .nav-bar .navigation:first-child {
    border-radius: 18px 18px 0 0;
  }
  .nav-bar .navigation:last-child {
    border-radius: 0 0 18px 18px;
  }
  .nav-bar .navigation ul {
    display: flex;
  }
  .nav-bar .navigation li {
    flex: 1;
    text-align: center;
    border-left: 2px dashed #3a0d0d;
    background: #7b1f1f;
  }
  .nav-bar .navigation li:first-child {
    border-left: none;
  }
  .nav-bar .navigation a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
  }
  .nav-bar .navigation.right {
    border-top: none;
    border-radius: 0 0 18px 18px;
  }
  .nav-bar .navigation.right li {
    flex: 1;
    text-align: center;
    background: transparent;
    border-left: none;
  }
  .nav-bar .navigation.right a {
    display: block;
    width: 100%;
  }
  .navigation.right li {
    justify-content: center;
    text-align: center;
  }
  .nav-bar .navigation + .navigation {
    border-top: none;
  }
  .navigation .cta a {
    justify-content: center;
    width: 100%;
  }
  .navigation .cta {
    border-left: none;
    border-right: none;
  }
  .nav-bar .navigation.right .cta.products {
    background: linear-gradient(180deg, #e6c27a, #cfa25a);
  }
  .nav-bar .navigation.right .cta.photos {
    background: linear-gradient(180deg, #2f4f6f, #1f344a);
  }
  .grid.cols2,
  .grid.cols3,
  .grid.cols4,
  .grid.cols5,
  .grid.cols6 {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
      float: none;
      width: 100%;
      margin: 20px 0;
  }
  .product-filters .filter-row {
      flex-direction: column;
      align-items: flex-start;
  }
  .product-filters input {
      width: 100%;
  }
}

@media (max-width:480px) {
  header h1 {
      font-size: 1.7rem;
  }
  header .logo {
    max-width: 85%;
  }
  footer {
    font-size: 12px;
  }
  .grid.cols2,
  .grid.cols3,
  .grid.cols4,
  .grid.cols5,
  .grid.cols6 {
    grid-template-columns: 1fr;
  }
  .links-section {
    padding: 12px 10px 6px;
  }
  .links-list {
    gap: 6px;
  }
  .links-list a {
    font-size: clamp(0.7rem, 3vw, 1em);
    max-width: 90%;
  }
}
