/* MASTER TABLE OF CONTENTS
  -----------------------------------------
  [T] TOKENS .......... Color & Fixed Spacing
  
  [A] ATOMS
  1. TEXT ............. Typography & Prose
  2. BUTTONS .......... Interactive Actions
  3. IMAGES ........... Media & Figure Rules
  4. DIVIDER .......... Visual Separation
  
  [M] MOLECULES
  5. PULL QUOTE ....... Highlighted Quotes
  6. CTA .............. Call to Action Areas
  
  [O] ORGANISMS
  7. HERO ..... Two‑Column Content Block
  8. RELATED CONTENT .. Post‑Content Modules
  
  [U] UTILITIES ....... Helper Classes
  -----------------------------------------
*/


/* --- [T] TOKENS --- */
:root {
    --color-text: #000;
    --color-white: #fff;
    --font-body: "forma-djr-display", sans-serif;
    --font-headline: "hagrid-text", sans-serif;
    --font-title: "miller-text", serif;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* Match your sticky tab height */
  }
  
  .no-mobile {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .mobile-sm-only {
    display: block;
  }
  .tablet-only {
    display: none;
  }
  .tablet-sm-only {
    display: none;
  }
  .desktop-only {
    display: none;
  }
  
  .divider {
    border-color: #767676;
  }
  
  .fade-in-element {
    animation: fadeIn 1.5s ease-in forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @media (min-width: 641px) {
    .mobile-sm-only {
      display: none;
    }
    .tablet-sm-only {
      display: block;
    }
  }
  
  @media (min-width: 768px) {
    .no-mobile {
      display: block;
    }
    .mobile-only {
      display: none;
    }
    .tablet-only {
      display: block;
    }
    .desktop-only {
      display: none;
    }
    .divider--md {
      max-width: 352px;
  }
  }
  @media (min-width: 1024px) {
    .no-mobile {
      display: block;
    }
    .mobile-only {
      display: none;
    }
    .tablet-only {
      display: none;
    }
    .mobile-sm-only {
      display: none;
    }
    .tablet-sm-only {
      display: none;
    }
    .desktop-only {
      display: block;
    }
  }

/* --- [A] 1. TEXT --- */
.pc-content {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    text-wrap: pretty;
    overflow: hidden;
}
.pc-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-headline);
    font-weight: 400;
    margin: 0;
}
.pc-content h1 {
    font-size: 36px;
    line-height: 34px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 14px;
}

.pc-content h2 {
    font-size: 25px;
    line-height: 30px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: left;
}

.pc-content h3 {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 26px;
    font-style: normal;
    font-weight: 300;
    text-align: left;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.pc-content h4 {
    font-size: 20px;
    max-width: 600px;
    line-height: 32px;
    margin-bottom: 30px;

}

.pc-content p {
    font-size: 17px;
    line-height: 22px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    max-width: 598px;
    margin: 0px auto;
}
  
@media (min-width: 768px) {
    .pc-content h1 {
        font-size: 56px;
        line-height: 100%;
    }
    .pc-content h2 {
        margin-bottom: 2px;
        font-size: 40px;
        line-height: 48px;
    }
    .pc-content h3 {
        letter-spacing: 1px;
        font-size: 20px;
        line-height: 28px;
    }
    .pc-content h4 {
        text-align: left;
    }
    .pc-content p {
        font-size: 21px;
        line-height: 25px;
    }
}
@media (min-width: 1024px) {
    .pc-content h1 {
        font-size: 72px;
        line-height: 100%;
        max-width: 1250px;
        width: 100%;
        margin: 0px auto 16px;
    }
    .pc-content p {
        font-size: 24px;
        line-height: 28px;
        max-width: 720px;
        margin: 0px auto;
        text-wrap: balance;
    }
}

/* --- [A] 2. BUTTONS --- */
@media (min-width: 768px) {}
@media (min-width: 1024px) {}

/* --- [A] 3. IMAGES --- */
@media (min-width: 768px) {}
@media (min-width: 1024px) {}

/* --- [A] 4. DIVIDER --- */
@media (min-width: 768px) {}
@media (min-width: 1024px) {}

/* --- [M] 5. PULL QUOTE --- */
@media (min-width: 768px) {}
@media (min-width: 1024px) {}

/* --- [M] 6. CTA --- */
@media (min-width: 768px) {}
@media (min-width: 1024px) {}

/* --- [O] 7. HERO --- */
.hero {
    margin-bottom: 0px;
    overflow: hidden;
    border-radius: 0px 0px 15px 15px;
    border: 1px solid rgb(0, 0, 0);
    border-top: none;
    /* background: rgb(255, 255, 255); */
    max-height: 530px;
    min-height: 530px;
    position: relative;
    z-index: 1;
}
.hero[data-topic="ai-at-work"]:before {
  content: "";
  background: rgb(246, 250, 230);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 0;
  
}
.hero[data-topic="ai-competence"] .hero__img {
  aspect-ratio: 19 / 11;
  max-width: 500px;
  
}
.hero[data-topic="ai-competence"] .hero__img img {
  transform: translate(0px, 0px) scale(1);
}
.hero[data-topic="future-of-ai"] .hero__img img {
  transform: translate(-50%, 90px) scale(2);
}
.hero__title {
    padding: 35px 18px 40px;
    z-index: 1;
        position: relative;
}
.hero__img {
    margin: 0px auto;
    aspect-ratio: 16/9;
    position: relative;
    max-width: 1220px;
    
}

.hero__img img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    transform: translate(0px, 50px) scale(1.6);
}

@media (min-width: 768px) {
    .hero {
        max-height: 717px;
        min-height: 717px;
        
    }
    .hero__title {
        padding: 115px 35px 0px;
        
    }

    .hero[data-topic="ai-competence"] .hero__img {
      width: 636px;
      height: 368px;
      max-width: unset;
    }

    .hero[data-topic="future-of-ai"] .hero__img img {
      transform: translate(0, 90px) scale(1.2);
    }

    .hero[data-topic="ai-at-work"] .hero__img img {
      transform: translate(0px, 90px) scale(1.1);
    }
}
@media (min-width: 1024px) {
    .hero {
        margin-bottom: 30px;
        height: calc(100vh - 96px);
        max-height: 790px;
        min-height: 790px;
    }
    .hero__title {
        padding: 120px 18px 0px;
    }
    .hero__title h1 {
    
    }
    .hero__img { 
      position: relative;
      width: 1536px;
      height: 864px;
    }

    .hero__img img { 
      transform: translate(0px, 50px) scale(1);
    }

    .hero[data-topic="ai-competence"] .hero__img {
      width: 779px;
      height: 451px;
      max-width: unset;
    }

    .hero[data-topic="ai-competence"] .hero__img img {
      transform: translate(0px, 0px) scale(1);
    }

    .hero[data-topic="future-of-ai"] .hero__img img {
      transform: translate(0, 90px) scale(1);
    }
    .hero[data-topic="ai-at-work"] .hero__img img {
      transform: translate(0px, 50px) scale(1);
    }
}

/* --- [O] 8. RELATED CONTENT --- */
.related {
    position: relative;
    z-index: 5;
    padding: 20px 0px 30px;
    background: white;
}
.related__wrap {
    position: relative;
    padding: 0px 20px;
}
.related__items {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}
.related__item {
    position: relative;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 15px;
    max-width: 638px;
    overflow: hidden;
    width: 100%;
    padding: 20px;
}

.related__items a {
  color: var(--color-text);
}

.related__items a:hover {
  
    color: var(--color-text);
}

.related__items a:hover .related__footer {
  text-decoration: underline;
}

.related__item-img {
    position: relative;
    aspect-ratio: 1.5 / 1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 230px;
}
.related__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    box-sizing: border-box;
    padding: 0;
    border: none;
    margin: auto;
    display: block;
    width: 0;
    height: 0;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.related__item-wrap {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 100%;
}
.related__item-divider {
    position: relative;
    margin-left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: rgb(0, 0, 0);
    margin-bottom: 27px;
}
.related__footer {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: flex-start;
    color: var(--color-text);
}
.related__footer span {
    font-family: var(--font-headline);
    font-size: 15px;
    line-height: 100%;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 13px;
}
.related__footer-icon {
    position: relative;
    transform-origin: 0% 75%;
    transform: scale(0.8);
}
.related__item[data-color="#E5E4DB"] {
  background-color: rgb(229, 228, 219);
}
.related__item[data-color="#E6F8A0"] {
  background-color: rgb(230, 248, 160);
}
.related__item[data-color="#D2F3AC"] {
  background-color: rgb(210, 243, 172);
}
.related.related--wide .related__item {
  padding: 0px 20px 20px;
}
.related.related--wide .related__item-img img {
  object-fit: cover;
  object-position: center center;
}
.related.related--contain .related__item-img img {
  object-fit: contain;
  object-position: center center;
}
.related.related--wide .related__item-img {
  width: calc(100% + 40px);
  margin-left: -20px;
}

@media (min-width: 768px) {
    .related__wrap {
        padding: 0px;
    }
    .related__item {
        margin-left: 108px;
        margin-right: 108px;
        max-width: 638px;
        padding: 10px 32px 32px;
    }
    .related__item-img {
        height: 371px;
        width: calc(100% + 64px);
        margin-left: -32px;
    }
    .related__footer span {
        font-size: 16px;
    }
}
@media (min-width: 1024px) {
    .related {
        margin-top: 0px;
        padding: 0px 0px 115px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-top: 1px solid transparent;
    }
    .related__items {
        max-width: calc(1300px);
        margin: 0px auto;
        -webkit-box-align: unset;
        align-items: unset;
        flex-flow: wrap;
        -webkit-box-pack: center;
        justify-content: center;
    }
    .related__item {
        margin-bottom: 24px;
        max-width: 638px;
        margin-left: 12px;
        margin-right: 12px;
    }
    
    .related__items > :nth-child(1), .related__items > :nth-child(2) {
        flex: 1 1 calc(50% - 24px);
    }
    .related__items > :nth-child(n+3) {
        flex: 1 1 100%;
        margin-bottom: 24px;
        max-width: 638px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .related__items > :nth-child(3) {
        max-width: calc(1300px);
    }
    
    .related__item-divider {
        width: calc(100% + 64px);
        margin-left: -32px;
        margin-top: 0px;
    }
    .related__footer {
        margin-top: auto;
    
    }
    .related--even .related__items > :nth-child(1), .related--even .related__items > :nth-child(2), .related--even .related__items > :nth-child(3), .related--even .related__items > :nth-child(4){
      flex: 1 1 calc(50% - 24px);
    }
}

/* --- [O] 8. SOCIAL ICONS --- */
.social {
  width: 100%;
  max-width: 638px;
  margin: 0px auto;
  padding: 112px 20px;
}
.social__wrap {
    display: flex;
    flex-direction: column;
    color: black;
}
.social__title h2 {
    text-transform: uppercase;
    font-size: 36px;
    font-weight: bold;
    max-width: 638px;
    width: 100%;
    position: relative;
}
.social__content {
  max-width: 100%;
}

.social__content h4 {
    font-size: 20px;
    max-width: 600px;
    line-height: 32px;
    margin-bottom: 30px;
}

.social__icon {
    place-items: center;
    border: 1px solid black;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
}
.social__icon:hover {
  background-color: rgb(219, 239, 137);
}
.social__icons {
  display: flex;
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social__icons svg {
  width: 28px;
}

@media (min-width: 768px) {
    .social {
        margin-left: 108px;
        margin-right: 108px;
        max-width: 638px;
    }
    .social__title h2 {
    }
    .social__content {
      max-width: 638px;
    }
    .social__icons {
      -webkit-box-pack: start;
        justify-content: flex-start;
    }
}
@media (min-width: 1024px) {
    .social {
      margin-left: unset;
      margin-right: unset;
      max-width: unset;
      padding: 0px 0px 150px;
    }
    .social__wrap {
      flex-direction: row;
        -webkit-box-pack: center;
        justify-content: center;
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 12px;
        
    }
    .social__title {
      width: 50%;
    }
    .social__content {
      width: 50%;
    }
    
}

/* --- [O] 8. SOCIAL ICONS --- */
.scrolltop {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    padding: 120px 0px 78px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -50px;
    background-color: white;
    border: 1px solid black;
}
.scrolltop__btn {
    display: inline-flex;
    position: relative;
    margin: 0px auto;
    background-color: rgb(219, 239, 137);
    border-width: medium;
    border-style: none;
    border-color: var(--color-text);;
    border-image: initial;
    padding: 0px;
    cursor: pointer;
    width: 170px;
    height: 170px;
    border-radius: 100%;
}
.scrolltop__btn svg {
  position: absolute;
    right: 50%;
    top: 20px;
    transform: translate(50%, 0%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.scrolltop__btn:hover svg {
  transform: translate(50%, -100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.scrolltop__txt {
  font-family: var(--font-body);
    font-weight: 600;
    font-size: 28px;
    position: absolute;
    color: black;
    width: 200%;
    text-transform: uppercase;
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
}

/* --- [U] UTILITIES --- */
@media (min-width: 768px) {}

/* --- [O] 9. TOPIC FILTER --- */
.topic-filter {
  position: relative;
  z-index: 2;
  padding: 0;
  border-top: none;
  transition: background-color 0.3s ease;
}

.topic-filter__toggle[aria-expanded="true"] {
  background-color: #D5DF5A;
}

@media (min-width: 768px) {
  .topic-filter {
    padding: 20px 0;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }
}

.topic-filter__container {
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .topic-filter__container {
    padding: 0 16px;
  }
}

/* Desktop: Horizontal Button Layout */
.topic-filter__desktop {
  display: none;
  gap: 0;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 0;
  background-color: #fff;
}

.topic-filter__btn {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.2;
  border-radius: 50px;
  white-space: nowrap;
}

.topic-filter__btn:hover:not(.topic-filter__btn--active) {
  background-color: rgba(0, 0, 0, 0.05);
}

.topic-filter__btn--active {
  background-color: #000;
  color: #fff;
}

.topic-filter__btn--active:hover {
  background-color: #1a1a1a;
}

/* Mobile: Dropdown Toggle */
.topic-filter__mobile {
  position: relative;
  z-index: 9;
}

.topic-filter__toggle {
  width: 100%;
  padding: 16px 16px;
  background-color: transparent;
  border: none;
  border: 1px solid #000;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.topic-filter__toggle:hover {
  background-color: #D5DF5A;
}

.topic-filter__toggle-text {
  flex: 1;
  text-align: center;
}

.topic-filter__toggle[aria-expanded="true"] .topic-filter__toggle-text {
  color: #000;
}

.topic-filter__toggle-icon {
  width: 20px;
  height: 20px;
  color: #000;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.topic-filter__toggle[aria-expanded="true"] .topic-filter__toggle-icon {
  transform: rotate(180deg);
}

.topic-filter__dropdown {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #D5DF5A;
  border: 1px solid #000;
  z-index: 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 40px 20px;
  animation: fadeIn 0.3s ease-out;
}

.topic-filter__dropdown[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.topic-filter__dropdown-btn {
  width: auto;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.topic-filter__dropdown-btn:last-child {
  margin-bottom: 0;
}

.topic-filter__dropdown-btn:hover {
  text-decoration: underline;
}

.topic-filter__dropdown-btn--active {
  font-weight: 700;
}

@media (min-width: 768px) {
  .topic-filter {
    padding: 30px 0 0 0;
    border-top: 1px solid #000;
    border-bottom: none;
    position: absolute;
    width: 100%;
    z-index: 2;
  }

  .topic-filter__container {
    padding: 0 16px;
    display: flex;
    justify-content: center;
  }

  .topic-filter__desktop {
    display: flex;
    flex: 0 1 100%;
    max-width: none;
  }

  .topic-filter__mobile {
    display: none;
  }

  .topic-filter__btn {
    padding: 14px 28px;
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .topic-filter {
    
  }

  .topic-filter__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .topic-filter__btn {
    padding: 16px 32px 14px;
    font-size: 13px;
  }
}