/* Giffard 2026 Theme Stylesheet */

html {
  scroll-behavior: smooth;
}
body {
  background-image: url("../giffard-images/giffard-body-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100%;
  margin: 0;
  font-family: "Noto Sans", Helvetica, Roboto, Arial, sans-serif;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding-inline: 15px;
}
.hero {
  background: linear-gradient(
    0deg,
    rgba(14, 36, 41, 0.5) 0%,
    rgba(14, 36, 41, 0.5) 100%
  );
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: 64px;
  gap: 64px;
}
.hero-text {
  text-align: center;
  color: #fff;
}
.hero-logo {
  object-fit: contain;
  aspect-ratio: 239 / 217;
  height: 220px;
}
h1 {
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin-top: 0;
  margin-bottom: 80px;
}
.hero-text h2 {
  margin-top: 0;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}
.cta-border {
  border: 2px solid #fff;
  width: 234px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-content a {
  display: block;
  text-align: center;
  color: #0e2429;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 68px;
  text-decoration: none;
  background-color: #fff;
  width: 206px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.cta-border:hover a {
  width: 100%;
  height: 100%;
}
.contest {
  padding-block: 160px;
  text-align: center;
  max-width: 710px;
  margin-inline: auto;
  width: 100%;
}
.contest h2 {
  color: #0e2429;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  margin-top: 0;
  margin-bottom: 64px;
}
.contest h2 br {
  display: none;
}
.contest-text {
  color: #0e2429;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 0;
  margin-bottom: 40px;
}
.contest .quote {
  color: #0e2429;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contest .quote p {
  margin: 0;
  max-width: 480px;
}
.timeline {
  background: url("https://www.tsaknakisbros.gr/wp-content/uploads/2026/01/giffard-2026-timeline-bg-img.jpg");
  padding-block: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.timeline h2 {
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 48px */
  margin-bottom: 120px;
  margin-top: 0;
}
.event-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  margin-bottom: 120px;
}
.event-container h3 {
  color: #b19b70;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  text-align: center;
  position: relative;
  margin-block: 0px 90px;
}
.event-container p {
  text-align: center;
}
.event-container h3::after {
  content: "";
  position: absolute;
  width: 24px;
  aspect-ratio: 1/1;
  transform: translateX(-50%) translateY(16px) rotate(45deg);
  background: #b19b70;
  top: 100%;
  left: 50%;
}
.event {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-container::after {
  content: "";
  position: absolute;
  height: 6px;
  background: #b19b70;
  width: 100%;
  top: 0;
  left: 0;
  transform: translateY(63px);
}
.event-title {
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 30px */
  margin: 0;
}
.event-date {
  padding: 8px 16px;
  color: #0e2429;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 32px */
  background: #fff;
  margin-block: 16px 40px;
}
.event-context {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-block: 8px 0;
}
.pdf p {
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  margin: 0 0 8px 0;
  text-align: center;
}
.pdf a {
  color: #b19b70;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 25.6px */
  text-decoration: underline;
  text-align: center;
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.pdf a:hover {
  opacity: 0.7;
}
/* .judges {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 40px;
}
.judge:nth-child(1) {
	grid-column: 1/2;
}
.judge:nth-child(2) {
	grid-column: 2/3;
}
.judge:nth-child(3) {
	grid-column: 3/4;
}
.judge:nth-child(4) {
	grid-column: 4/5;
} */
.judges {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.meet-judges {
  padding-block: 160px 200px;
  text-align: center;
  position: relative;
}
.meet-judges h2 {
  margin-block: 0 64px;
  color: #0e2429;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.judge figure {
  margin: 0;
}
.judge figure img {
  margin-bottom: 24px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 6px solid #b19b70;
}
.judge figcaption {
  margin-block: 0 8px;
  color: #0e2429;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
}
.job {
  color: #b19b70;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-block: 0 24px;
}
.location {
  color: #0e2429;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
}
.meet-judges::after {
  content: "";
  background-image: url("../giffard-images/giffard-2026-logo-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  height: 238px;
  aspect-ratio: 575 / 604;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 93px);
  opacity: 0.2;
}
.winner {
  background-color: #b19b70;
}
.trophy {
  padding-block: 120px;
  text-align: center;
}
.trophy h2 {
  color: #fff;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-top: 56px;
  max-width: 80%;
  margin-inline: auto;
}
.trophy-text {
  position: relative;
}
.trophy-text::before {
  content: "";
  position: absolute;
  background: url("../giffard-images/giffard-226-trophy-branch.png");
  left: 0;
  bottom: -40px;
  height: 213px;
  width: 130px;
  background-repeat: no-repeat;
}
.trophy-text::after {
  content: "";
  position: absolute;
  background: url("../giffard-images/giffard-226-trophy-branch.png");
  transform: scaleX(-1);
  bottom: -40px;
  right: 0;
  height: 213px;
  width: 130px;
  background-repeat: no-repeat;
}
.faq {
  background-image: url("../giffard-images/giffard-2026-faq-bg.png");
  background-color: #0e2429;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.faq-group {
  padding-block: 120px 240px;
}
.faq-group p {
  color: #b19b70;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  margin-top: 0;
}
.faq-group h2 {
  color: #fff;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-block: 0 64px;
}
summary {
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  gap: 32px;
}
.faq-accordion details p {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 25.6px */
  margin-block: 24px 32px;
}
.faq-accordion {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
summary::after {
  content: "";
  display: block;
  background-image: url("../giffard-images/arrow-icon.png");
  background-repeat: no-repeat;
  height: 20px;
  aspect-ratio: 11 / 20;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease;
}
details[open] summary::after {
  transform: rotate(180deg);
}
details .answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

details[open] .answer {
  grid-template-rows: 1fr;
}
.answer {
  padding-right: 48px;
}
.answer p {
  max-width: 720px;
}
footer {
  background-color: #0e2429;
}
.footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding-block: 40px;
}
.footer > img {
  aspect-ratio: 216 / 40;
  height: 38px;
  object-fit: contain;
}
.copyright {
  color: #b19b70;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 22.4px;
  margin: 0;
}
.social {
  display: flex;
  gap: 20px;
}
.form {
  padding-block: 120px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.register {
  flex: 1;
}
.register h2 {
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin: 0;
  color: #0e2429;
}
.register-content {
  max-width: 510px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.register p {
  margin: 0;
}
.form-wrapper {
  flex: 1;
}
.register img {
  width: 345px;
  aspect-ratio: 345 / 290;
}

/* @media (max-width: 1200px) {
	.judges {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
	}
	.judge:nth-child(1) {
		grid-column: 1/2;
		grid-row: 1/2;
	}
	.judge:nth-child(2) {
		grid-column: 2/3;
		grid-row: 1/2;
	}
	.judge:nth-child(3) {
		grid-column: 1/2;
		grid-row: 2/3;
	}
	.judge:nth-child(4) {
		grid-column: 2/3;
		grid-row: 2/3;
	}
} */

@media (max-width: 1024px) {
  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .card-border:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .card-border:nth-child(2) {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .card-border:nth-child(3) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
}

@media (max-width: 850px) {
  .event-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    margin-bottom: 80px;
  }
  .event-container h3 {
    font-size: 20px;
    margin-block: 0px 27px;
  }
  .event-container p {
    text-align: start;
  }
  .event-container h3::after {
    content: "";
    position: absolute;
    width: 24px;
    aspect-ratio: 1/1;
    transform: translateY(50%) translateX(50%) rotate(45deg);
    background: #b19b70;
    top: 0;
    left: -64px;
    display: block;
  }
  .event {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 64px;
  }
  .event-container::after {
    content: "";
    position: absolute;
    height: 100%;
    background: #b19b70;
    width: 6px;
    bottom: 100%;
    left: 24px;
    transform: translateX(-50%);
  }
  .event-title {
    font-size: 18px;
    margin: 0;
  }
  .event-date {
    font-size: 18px;
    margin-block: 16px 40px;
  }
  .event-context {
    margin-block: 8px 0;
  }

  .timeline {
    background: url("https://www.tsaknakisbros.gr/wp-content/uploads/2026/01/giffard-2026-timeline-bg-img-mobile-new.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 640px) {
  .job {
    margin-block: 0 16px;
  }
  .hero {
    background-image: linear-gradient(
        0deg,
        rgba(14, 36, 41, 0.5) 0%,
        rgba(14, 36, 41, 0.5) 100%
      ),
      url("https://www.tsaknakisbros.gr/wp-content/uploads/2026/01/giffard_2026_bg-mobile.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-video {
    display: none;
  }
  .hero-logo {
    height: 180px;
  }
  .container {
    padding-inline: 20px;
  }
  /*PADDING FOR SECTIONS */
  .hero-content {
    margin-block: 64px 116px;
  }
  h1 {
    font-size: 36px;
  }
  .hero-text h2 {
    font-size: 20px;
    line-height: 1.2;
  }
  .hero-text p {
    font-size: 18px;
    line-height: 1.3;
  }
  .contest {
    padding-block: 80px;
  }
  .contest h2 {
    font-size: 26px;
  }
  .contest h2 br {
    display: block;
  }
  .quote {
    font-size: 18px;
  }
  .timeline {
    padding-block: 80px;
  }
  .timeline h2 {
    font-size: 26px;
    margin-bottom: 64px;
  }
  .meet-judges {
    padding-block: 80px 200px;
  }

  .meet-judges h2 {
    font-size: 26px;
  }
  .judge figcaption {
    font-size: 18px;
  }
  /* .judges {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr;
	} */
  .judge:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .judge:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .judge:nth-child(3) {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .judge:nth-child(4) {
    grid-column: 1/2;
    grid-row: 4/5;
  }
  .cards {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .card-border:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .card-border:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .card-border:nth-child(3) {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .trophy {
    padding-block: 80px;
  }
  .trophy img {
    margin-bottom: 64px;
  }
  .trophy h2 {
    font-size: 20px;
  }
  .faq-group {
    padding-block: 80px 56px;
  }
  .faq-group h2 {
    font-size: 26px;
  }
  .register h2 {
    font-size: 26px;
  }
  .register img {
    display: none;
  }
  .form {
    padding-block: 80px 120px;
    flex-direction: column;
  }
}

.wpcf7-form-control-wrap input::placeholder {
  color: rgba(14, 36, 41, 0.7);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.form summary::after {
  content: "";
  display: block;
  background-image: url("https://www.tsaknakisbros.gr/wp-content/themes/tsaknakis-theme-revamp/giffard-images/arrow-icon.png");
  background-repeat: no-repeat;
  height: 20px;
  aspect-ratio: 11 / 20;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease;
}
.form summary[open] .font summary::after {
  transform: rotate(180deg);
}
.form summary {
  color: #0e2429;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(14, 36, 41, 0.25);
}
.wpcf7-form-control-wrap input,
textarea,
select {
  outline: none;
  border: 1px solid rgba(14, 36, 41, 0.25);
  background: transparent;
  padding: 8px;
  box-sizing: border-box;
  width: 100%;
  font-family: "Noto Sans", Helvetica, Roboto, Arial, sans-serif;
  color: rgba(14, 36, 41, 0.7);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.wpcf7-form-control-wrap input[type="file"] {
  padding: 0;
  border: none;
}
select {
  margin-top: 8px;
}
.select-p {
  font-size: 14px;
  line-height: 120%;
  color: rgba(14, 36, 41, 0.7);
}
.wpcf7 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.form-accordion-answer {
  margin-top: 32px;
}
.file-input button {
  color: white;
}
.wpcf7-submit.has-spinner {
  width: 204px;
  height: 42px;
  background: #0e2429;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.submit-cta {
  border: 2px solid #0e2429;
  width: 234px;
  height: 72px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-cta > p {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.submit-cta:hover .wpcf7-submit.has-spinner {
  width: 100%;
  height: 100%;
}
.form-accordion-answer {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
  justify-content: space-between;
}
.form-accordion-answer div > p {
  margin: 0;
  width: 100%;
}
.form-accordion-answer > div {
  width: 100%;
}
.form-accordion-answer .gradient {
  width: calc(70% - 6px);
}
.form-accordion-answer .quantity {
  width: calc(30% - 6px);
}
.file-text {
  color: #0e2429;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22.4px;
}
.file-text span:nth-child(2) {
  display: block;
  color: rgba(14, 36, 41, 0.7);
  font-family: "Noto Sans";
  font-size: 9.8px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  margin-top: 8px;
}
.form-accordion-answer div:last-child {
  display: flex;
  justify-content: space-between;
}
.file-input {
  max-width: 180px;
  width: 100%;
}
.acceptance {
  display: flex;
  gap: 8px;
}
.acceptance p {
  margin: 0;
  margin-bottom: 12px;
}

.rules.pdf p,
.acceptance p:nth-child(2) {
  color: #0e2429;
  font-family: "Noto Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  text-align: left;
}

.rules.pdf a {
  display: inline;
}

.acceptance span input {
  margin: 0;
}
.hidden-fields-container {
  display: none;
  visibility: hidden;
}
.screen-reader-response {
  display: none;
  visibility: hidden;
}
@media (max-width: 640px) {
  .form-accordion-answer div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .file-text span:nth-child(2) {
    margin-top: 0;
  }
  .file-input {
    max-width: 100%;
  }
  .form-accordion-answer .quantity {
    width: calc(35% - 6px);
  }
  .form-accordion-answer .gradient {
    width: calc(65% - 6px);
  }
}
