/* 
 * Theme Name: My Timber 2.x Starter Theme
 * Description: Starter Theme to use with Timber
 * Author: Upstatement and YOU!
*/

.subscribe-newsletter {
  display: flex;
  gap: 20px;
}

:root {
  --base: #ff773c;
  --foreground: #000000;
  --orange-dark: #ff883e;
  --orange-medium: #fad0bb;
  --orange-light: #fff9f5;
  --black: #2a1000;
}

.site-header h1 {
  font-size: 150px;
  font-weight: 400;
  line-height: 161px;
  color: var(--black);
}

.title-header {
  color: var(--black, #2a1000);
  font-family: "Oswald", sans-serif;
  font-size: 190px;
  font-style: normal;
  font-weight: 400;
  line-height: 161px; /* 84.737% */
  text-transform: uppercase;
  word-break: break-word;
}

.navigation {
  top: 0;
  left: 0;
  position: fixed;
  width: 100vw;
  z-index: 1000;
  padding: 50px;
}

.navigation a {
  display: flex;
  padding: 0 5px;
  align-items: center;
  font-family: "Oswald";
  font-size: 23px;
  font-weight: 300;
  line-height: -50;
  text-transform: uppercase;
}

.page-description {
  margin: 70px 0 140px 0;
}

.highlighted {
  color: var(--orange-dark);
}

.header-img {
  margin: 0 -20px;
  padding: 20px;
}

main {
  margin: 0 20px;
}

@media (min-width: 1200px) {
  .header-img {
    margin: 0;
    padding: 0 150px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  main {
    max-width: 1200px;
    margin: 0 auto;
  }
}

input[type="radio"] {
  display: none;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 20px;
}

h2,
h3,
p {
  color: var(--black);
}

p {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
}

h2 {
  font-family: "Oswald", sans-serif;
  font-size: 75px;
  font-weight: 300;
  text-transform: uppercase;
}

h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 45px;
  text-transform: uppercase;
}

.article-h1 {
  display: none;
}

/* h1 {
  font-family: "Oswald", sans-serif;
  font-size: 50px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--orange-dark);
} */

p {
  text-align: justify;
}

.section {
  margin-bottom: 140px;
}

/* .l-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
} */

.l-cards-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.card-long,
.card-wide-flex,
.card-wide-inside {
  background-color: var(--base);
  filter: contrast(1.3);
  position: relative;
}

.card-long img,
.card-wide-flex img,
.card-wide-inside img {
  filter: grayscale(100%) contrast(1) blur(0px);
  flex: 1 0 100%;
  height: 100%;
  max-width: 100%;
  mix-blend-mode: screen;
  object-fit: cover;
  opacity: 1;
  position: relative;
  width: 100%;
}

.card-long::before,
.card-wide-flex::before,
.card-wide-inside::before {
  background-color: var(--foreground);
  bottom: 0;
  height: 100%;
  left: 0;
  mix-blend-mode: screen;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.card-long:hover img,
.card-wide-inside:hover img {
  filter: none;
  mix-blend-mode: normal;
}

.card-long:hover::before,
.card-wide-inside:hover::before {
  mix-blend-mode: normal;
  background-color: transparent;
}

.card-long:hover h3,
.card-wide-inside:hover h3 {
  color: var(--orange-medium);
}

.card-long img {
  width: 100%;
  height: auto;
  display: block;
}

.card-long-info {
  color: var(--black);
  position: absolute;
  padding: 0.75rem;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.cta,
.select-post,
.link-recom::placeholder,
.link-recom {
  display: flex;
  height: 59px;
  padding: 0 20px;
  align-items: center;
  font-family: "Oswald";
  font-size: 23px;
  font-weight: 300;
  line-height: -50;
  text-transform: uppercase;
}

.link-recom,
.input-long-p {
  align-items: flex-start;
  width: 100%;
  border: none;
  outline: none;
  background: var(--orange-lightlight, #fff9f5);
  box-shadow: 0px 0px 25px 0px rgba(190, 74, 0, 0.15);
  color: var(--black);
}

.input-long-p {
  display: flex;
  padding: 0 20px;
  align-items: center;
  font-family: "Oswald";
  font-size: 23px;
  font-weight: 300;
  line-height: -50;
  text-transform: uppercase;
}

.link-recom::placeholder,
.input-long-p::placeholder {
  color: var(--orange-medium);
}

.cta-light,
.select-anonymity {
  justify-content: flex-end;
  color: var(--black);
  background: var(--orange-medium);
}

.cta-light:hover,
.select-anonymity:hover {
  justify-content: flex-end;
  color: var(--orange-light);
  background: var(--orange-dark);
}

.cta-dark {
  justify-content: flex-end;
  color: var(--orange-light);
  background-color: var(--orange-dark);
  flex-grow: 1;
  border: none;
}

.cta-dark:hover {
  color: var(--orange-dark);
  background-color: var(--orange-medium);
}

.select-anonymity {
  display: flex;
}

.radio-container {
  flex: 1;
  color: var(--black);
  text-align: right;
  font-family: "Oswald";
  font-size: 23px;
  font-weight: 300;
  text-transform: uppercase;
}

.select-anonymity label {
  padding: 12px;
  height: 100%;
  width: 100%;
}

.select-anonymity input[type="radio"]:checked + label {
  background-color: var(--orange-dark);
  color: var(--orange-light);
}

.card-interaction {
  display: flex;
  justify-content: space-between;
  align-self: stretch;
}

.card-interaction-no-like {
  display: flex;
  align-self: stretch;
}

.like {
  display: flex;
  background: var(--orange-medium);
  width: 59px;
  height: 59px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  border: none;
}

.like input:checked + .heart path {
  fill: var(--orange-dark);
}

.heart path {
  fill: none;
  transition: fill 0.3s ease;
}

.l-card-recom {
  display: flex;
  gap: 20px;
}

.card-recom {
  flex: 2;
}

.card-recom-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}

.card-long {
  flex: 1;
}

.read-more {
  display: none;
}

.l-preview-text {
  display: flex;
  flex-direction: column;
}

.card-reader {
  flex: 1;
}

.page-description-invisible {
  display: none;
}

.select-post {
  width: 100%;
  color: var(--black);
  background: var(--orange-medium);
}

.select-post-circle:checked + .select-post {
  background: var(--orange-dark);
  color: var(--orange-light);
}

.select-post-circle {
  display: none;
}

.hdr-logo-link {
  display: none;
}

.l-cards-faktenfilter {
  display: flex;
  flex-wrap: wrap;
}

.l-cards-faktenfilter .card-long {
  flex: 1;
}

/* New Styles for Flex and Aspect Ratio */
.card-wide-inside,
.card-medium {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents the image from overflowing */
}

.card-wide-inside,
.card-medium {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-wide-inside {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.card-medium {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.card-thumbnail {
  position: relative; /* Ensure it's the parent container for absolute positioning */
  flex-grow: 1; /* Make sure it takes available height */
}

.card-thumbnail img {
  position: absolute; /* Take the image out of normal document flow */
  left: 0;
  width: 100%;
  height: 100%; /* Ensures it covers the entire container */
  object-fit: cover; /* Ensures the image covers the container without distortion */
}

.l-cards-faktenfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

/* Card styles for each individual card */
.l-cards-faktenfilter .card-long {
  /* flex: 1 1 30%; */
  margin-bottom: 20px; /* Space between rows */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .l-cards-faktenfilter .card-long {
    flex: 1 1 100%; /* Stack cards on smaller screens */
  }
}

.card-recom-text {
  /* flex: 1 1 30%; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto; /* Remove height: 100% to avoid conflict */
}

.card-long,
.card-wide-inside,
.card-medium {
  width: 100%; /* Ensures it fills the Bootstrap column */
}

.mb-95 {
  margin-bottom: 95px;
}

footer {
  background: var(--orange-dark);
  padding: 50px 0 95px;
}

footer h3,
footer p {
  color: var(--orange-light);
}

.slogan-footer {
  line-height: 0;
}

.slogan-footer,
.social-link {
  font-family: Oswald;
  font-size: 23px;
  font-weight: 300;
  text-transform: uppercase;
}

.social-link {
  color: var(--black, #2a1000);
}

.copyright {
  text-align: end;
}
