/* header .search fieldset button {
  color: #fff;
  fill: #fff;
  background-color: #000;
} */





/* Grid container: mobile-first — 1 column by default.
   At wider sizes (>=800px) switch to 2 columns with a minimum
   column width of 400px. If viewport/container is <400px, cards
   will stay single-column and take full width. */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  margin-left: -20px;
  margin-right: -20px;
}

/* Each card: image left, text right */
.cards-grid .card {
  display: flex;
  align-items: center;
  font-size: 80%;
  gap: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cards-grid .card,
.cards-grid .card > a {
  font-weight: normal;
  color: inherit;
  text-decoration: none;
}

.cards-grid .card,
.cards-grid .card a,
.cards-grid .card h3 {
  
}

.cards-grid .card h3 {
  font-size: 115%;
  line-height: 135%;
  margin-bottom: 5px;
}

/* Image styling */
.cards-grid .card img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0; /* prevents shrinking */
}

/* Card content fills remaining space */
.cards-grid .card-content {
  flex: 1;
}




































/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
  .cards-grid .card {
    flex-direction: column;
    text-align: center;
  }

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

  .cards-grid .card img {
    width: 80%;
    max-width: 200px;
    margin-bottom: 10px;
  }
}

/* Two columns only when there is enough space for two 400px columns. */
@media (min-width: 800px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(400px, 1fr));
  }
}







main header h1 i {
  font-style: normal;
  color: #000;

  /* realistic marker-like yellow highlight (works across line breaks) */
  background: linear-gradient(90deg, #fff9b0 0%, #fff59d 100%);
  padding: 0.10em 0.30em; /* vertical + horizontal padding */
  border-radius: 4px;
  box-shadow: inset 0 -6px 12px rgba(255,235,59,0.12);

  /* Keep it inline so text flows naturally, but ensure each line fragment
     gets the same box decorations (padding, radius) when wrapping */
  display: inline;
  line-height: 1.5;
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-background-clip: padding-box;
}

main .container > .content article {

}

footer .scroll-top div {
  fill: #000;
}

footer .scroll-top div:active {
  background-color: #000;
  fill: #fff;
}

/* Check / Cross lists using SVG masks for crisp icons that follow text color via currentColor */
ul.check, 
ul.cross {
  list-style: none;
  padding-left: 5px !important;
  margin-left: 5px !important;
}

ul.check li, 
ul.cross li {
  position: relative;
  padding-left: 37px !important; 
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Use SVG masks so icon color follows `currentColor` (applied via background-color). */
ul.check li::before,
ul.cross li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -5px;
  /* transform: translateY(-50%); */
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  /* make the icon a bit larger inside the box */
  background-size: 70%;
  background-color: currentColor; /* visual color for the icon */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 70%;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 70%;
}

ul.check li::before {
  color: #28a745; /* used by background-color via currentColor */
  /* add a white stroke to the SVG path so the masked silhouette appears thicker */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path fill='white' stroke='white' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' d='M400-318 247-471l42-42 111 111 271-271 42 42-313 313Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path fill='white' stroke='white' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' d='M400-318 247-471l42-42 111 111 271-271 42 42-313 313Z'/></svg>");
}

ul.cross li::before {
  color: #bb0000;
  /* thicker cross by adding a white stroke and slightly larger stroke-width */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path fill='white' stroke='white' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' d='m300-258-42-42 180-180-180-179 42-42 180 180 179-180 42 42-180 179 180 180-42 42-179-180-180 180Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path fill='white' stroke='white' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' d='m300-258-42-42 180-180-180-179 42-42 180 180 179-180 42 42-180 179 180 180-42 42-179-180-180 180Z'/></svg>");
}