/* Footer link unified style */
.footer-link {
  color: #FF5F35 !important;
  font-size: 1rem !important;
  font-family: 'Greycliff CF', Arial, sans-serif;
  font-weight: 600;
  text-decoration: underline;
}
.footer-link:hover {
  color: #fff !important;
}

/* Footer logo link - no underline */
.footer-logo {
  text-decoration: none !important;
}
.footer-logo h4 {
  text-decoration: none !important;
}
/* Footer h3 headings use Noka font */
#footer h3 {
  font-family: 'Noka', 'Greycliff CF', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
}
/* Hero Link Button Styles */
.hero-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 68px;
  min-width: 180px;
  padding: 0 46px;
  border-radius: 60px;
  background: #FCD9A3;
  font-family: 'Noka', 'Greycliff CF', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  color: #000;
  text-decoration: none;
  margin-bottom: 16px;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: pointer;
}
.hero-link-btn:hover, .hero-link-btn:focus {
  background: #ffe7c2;
  color: #222;
  text-decoration: none;
}

/* 404 Page Button Override */
.hero-link-btn-404 {
  background: #FE653D;
}
.hero-link-btn-404:hover, .hero-link-btn-404:focus {
  background: #ff7d57;
}

.space-bottom-38 {
  margin-bottom: 38px;
}

.space-top-38 {
  margin-top: 38px;
}
/*
Theme Name: Online Survey
Theme URI: http://example.com/
Author: Afry AB
Author URI: http://afry.com/
Description: Lund University Online Survey 
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: onlinesurvey
*/

/* --------------------
   Global Styles
-------------------- */

/* Greycliff CF Font Family */
@font-face {
  font-family: "Greycliff CF";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Greycliff-Font/Greycliff_CF_Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greycliff CF";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Greycliff-Font/Greycliff_CF_Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greycliff CF";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Greycliff-Font/Greycliff_CF_Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greycliff CF";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Greycliff-Font/Greycliff_CF_Extra_Bold.otf")
    format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greycliff CF";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Greycliff-Font/Greycliff_CF_Heavy.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Noka Font Family */
/* Hairline */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Hairline.woff")
    format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Light.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Medium.woff")
    format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Semibold.woff")
    format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Bold.woff")
    format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: "Noka";
  src: url("/wp-content/themes/onlinesurveytool/theme-assets/Noka-Font/NokaTrial-Black.woff")
    format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Greycliff CF", sans-serif;
  background-color: #fdf7f0; /* soft beige */
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  font-weight: 500;
}

a {
  color: #e6391f; /* bright orange-red */
  text-decoration: underline;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --------------------
   Header / Navigation
-------------------- */
header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
}

header a {
  color: #e6391f;
  font-weight: 500;
  font-size: 0.95rem;
}

header a::after {
  content: " ↗";
}

footer {
  padding: 1rem 2rem;
}

/* --------------------
   Hero Section
-------------------- */
.hero {
  padding: 0rem 2rem;
  text-align: left;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #067a3b; /* deep green */
  margin-bottom: 1.5rem;
  font-family: "Noka", sans-serif;
}

h2 {
  color: #067a3b; /* deep green */
  font-weight: 700;
  font-size: 1.5rem;
  font-family: "Noka", sans-serif;
}

.fsch_lnk {
  background: #fcd9a3;
  border-radius: 60px;
  padding: 14px 12px;
  display: inline-block;
  text-align: center;
  color: #000;
  cursor: pointer;
}
.fsch_lnk:hover {
  text-decoration: none;
  background: #f09c7a;
}
.fsch_lnk_container {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.hero p {
  font-size: 1rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-links a {
  /* Remove default link styles for hero links, handled by .hero-link-btn */
}

.hero-links a::after {
  content: none;
}

/* --------------------
   Illustration / Graphic
-------------------- */
.hero-illustration {
  margin-top: 3rem;
  text-align: center;
}

.hero-illustration img {
  max-width: 100%;
  height: auto;
}

.desktop-img {
  display: block;
}
.mobile-img {
  display: none;
}

.top-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.justify-right {
  justify-content: flex-end;
}

.arrow-right::after {
  content: " ↗";
}

.arrow-right {
  font-size: 18px;
  font-weight: 500;
  font-family: 'Greycliff CF', Arial, sans-serif;
  color: #d7360c;
}

.arrow-left {
  position: relative;
  padding-left: 1.5rem;
  color: #d7360c;
  font-family: 'Greycliff CF', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: text-decoration 0.2s;
}

.arrow-left::before {
  content: "← ";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-left:hover {
  text-decoration: underline;
}
/* Unified arrow link styles */
.arrow-link {
  color: #ff5f35;
  font-family: 'Greycliff CF', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: text-decoration 0.2s;
}
.arrow-link.arrow-left {
  padding-left: 1.5rem;
}
.arrow-link.arrow-left::before {
  content: "← ";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.arrow-link.arrow-left {
  text-decoration: none;
}
.arrow-link.arrow-left:hover {
  text-decoration: underline;
}
.arrow-link.arrow-right::after {
  content: " ↗";
}

.logo {
  height: 76px;
  width: 80px;
}

/* Food costs home*/

.pdf-preview-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  width: 100%;
  margin: 0 auto;
}

  .pdf-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-height: 0;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #BEBEBE;
    margin: 0;
    padding: 0;
  }

  .pdf-preview-item img {
    width: 240px;
    height: 277px;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto;
    border: none !important;
  }

@media (max-width: 1024px) {
  .pdf-preview-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pdf-preview-container {
    grid-template-columns: 1fr;
  }
}

.pdf-preview-container img {
  width: 100%;
  height: autop;
  display: block;
  transition: all 0.3s ease;
  border: 2px solid #BEBEBE;
}

.pdf-preview-container p {
  margin-bottom: 8px;
  font-family: "Noka", sans-serif;
  color: #067a3b; /* deep green */
}

.pdf-preview-container img:hover {
  transform: scale3d(1.09, 1.09, 1.09);
}
/* --------------------
   Responsive Styles
s------------------- */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-links {
    flex-direction: column;
    gap: 1rem;
  }

  .fsch_lnk_container {
    flex-direction: column;
    gap: 0;
  }

  .pdf-preview-container {
    width: 100% !important;
  }
  .desktop-img {
    display: none;
  }
  .mobile-img {
    display: block;
  }
}

/* --------------------
   Top Navigation Container
-------------------- */
.top-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.top-nav-container img {
  width: 72px;
  height: 64px;
  object-fit: contain;
}

.top-nav-container .arrow-right {
  font-size: 16px;
  text-decoration: none;
  color: #d7360c;
  text-transform: uppercase;
}

.top-nav-container .arrow-right:hover {
  text-decoration: underline;
}

/* --------------------
   Footer Social Media Icons
-------------------- */
#footer .socials svg {
  max-width: 30px;
  max-height: 30px;
  width: 30px;
  height: 30px;
}

#footer .socials a {
  display: inline-block;
  line-height: 0;
}

/* Footer links color */
#footer a,
#footer a:visited,
#footer a:active {
  color: #ff5f35 !important;
  text-decoration: underline;
}
#footer a:hover {
  color: #fff !important;
}


.generic-ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* 404 Page Styles */
.page-404-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

.page-404-content img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  height: auto;
  z-index: 1;
}

.content-wrapper-404 {
  position: relative;
  z-index: 2;
  text-align: center;
}

.padding-bottom-38 {
  padding-bottom: 38px;
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
  #footer {
    padding: 40px 20px !important;
  }
  
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .footer-logo-col,
  .footer-center-col,
  .footer-right-col {
    text-align: left;
  }
  
  .eu-text {
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
  }
  
  .footer-logo-col a {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-logo-col svg {
    margin: 0;
  }
  
  .extra-logo {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .extra-logo-row {
    display: flex;
    justify-content: flex-start;
  }
  
  .learn-more-links {
    align-items: flex-start;
  }
  
  .socials {
    justify-content: flex-start !important;
  }
}
