

  .p24-tm-formats,
  .p24-tm-formats *,
  .p24-tm-formats *::before,
  .p24-tm-formats *::after {
    box-sizing: border-box;
  }

  .p24-tm-formats {
    --p24-blue: #145f9c;
    --p24-orange: #ff5c00;
    --p24-orange-hover: #e95400;

    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 76px 24px 84px;
    background: #ffffff !important;
    color: #050505;
    font-family: Inter, Arial, Helvetica, sans-serif;
  }

  .p24-tm-formats h2,
  .p24-tm-formats h3,
  .p24-tm-formats p {
    margin: 0;
    padding: 0;
  }

  .p24-tm-formats__anchor {
    position: absolute;
    top: -90px;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }

  .p24-tm-formats__container {
    position: relative;
    z-index: 2;
    width: min(1200px, 100%);
    margin: 0 auto;
  }

  .p24-tm-formats__head {
    width: min(980px, 100%);
    margin: 0 0 44px;
    text-align: left;
  }

  .p24-tm-formats .p24-tm-formats__title {
    margin: 0;
    color: #050505;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 3.4vw, 47px);
    line-height: 1.08;
    font-weight: 550;
    font-synthesis: none;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-wrap: balance;
  }

  .p24-tm-formats .p24-tm-formats__title span {
    display: block;
    color: var(--p24-orange);
  }

  .p24-tm-formats__subtitle {
    width: min(850px, 100%);
    margin: 18px 0 0;
    color: #202020;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    text-wrap: balance;
  }

  .p24-tm-formats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .p24-tm-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #ffffff;
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .p24-tm-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 95, 156, 0.52);
    box-shadow: 0 14px 34px rgba(5, 5, 5, 0.08);
  }

  .p24-tm-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #dfe3ea;
    background: #eaf0fb;
  }

  .p24-tm-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, transparent 54%, rgba(6, 24, 64, 0.20) 100%),
      radial-gradient(circle at 92% 12%, rgba(20, 95, 156, 0.16), transparent 28%);
    pointer-events: none;
  }

  .p24-tm-card__image picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .p24-tm-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.32s ease;
  }

  .p24-tm-card:hover .p24-tm-card__image img {
    transform: scale(1.045);
  }

  .p24-tm-card__content {
    display: flex;
    min-height: 174px;
    flex: 1;
    flex-direction: column;
    padding: 25px 26px 28px;
  }

  .p24-tm-formats .p24-tm-card__content h3 {
    margin: 0;
    color: #050505;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(21px, 1.7vw, 25px);
    line-height: 1.18;
    font-weight: 600;
    font-synthesis: none;
    letter-spacing: -0.015em;
  }

  .p24-tm-card__content p {
    margin: 13px 0 0;
    color: #515967;
    font-size: 16px;
    line-height: 1.48;
  }

  .p24-tm-card__link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--p24-blue);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(20, 95, 156, 0.42);
    text-underline-offset: 3px;
  }

  .p24-tm-card__link:hover {
    color: #050505;
    text-decoration-color: var(--p24-blue);
  }

  .p24-tm-card__link:focus-visible {
    outline: 3px solid rgba(20, 95, 156, 0.42);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .p24-tm-formats__cta {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(330px, 420px);
    gap: 22px;
    align-items: center;
    margin-top: 28px;
    overflow: hidden;
    padding: 24px 26px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #ffffff;
  }

  .p24-tm-formats__cta::before {
    display: none;
  }

  .p24-tm-formats__cta-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid var(--p24-blue);
    border-radius: 5px;
    background: var(--p24-blue);
  }

  .p24-tm-formats__cta-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .p24-tm-formats__cta-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .p24-tm-formats .p24-tm-formats__cta-copy h3 {
    margin: 0;
    color: #050505;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.16;
    font-weight: 600;
    font-synthesis: none;
    letter-spacing: -0.015em;
  }

  .p24-tm-formats__cta-copy p {
    max-width: 650px;
    margin: 8px 0 0;
    color: #515967;
    font-size: 15px;
    line-height: 1.45;
  }

  .p24-tm-formats__button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    overflow: hidden;
    border: 1px solid var(--p24-orange);
    border-radius: 5px;
    background: var(--p24-orange);
    box-shadow:
      0 16px 32px rgba(255, 98, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.26);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.015em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
      transform 0.18s ease,
      background-color 0.18s ease,
      border-color 0.18s ease,
      box-shadow 0.18s ease;
  }

  .p24-tm-formats__button > * {
    position: relative;
    z-index: 2;
  }

  .p24-tm-formats__button svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .p24-tm-formats__button:hover {
    transform: translateY(-2px);
    border-color: var(--p24-orange-hover);
    background: var(--p24-orange-hover);
    box-shadow:
      0 20px 40px rgba(255, 98, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .p24-tm-formats a:focus-visible {
    outline: 3px solid rgba(255, 98, 0, 0.55);
    outline-offset: 4px;
  }

  @media (max-width: 1080px) {
    .p24-tm-formats__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p24-tm-card:last-child {
      grid-column: 1 / -1;
      width: calc(50% - 10px);
      justify-self: center;
    }

    .p24-tm-formats__cta {
      grid-template-columns: 60px minmax(0, 1fr);
    }

    .p24-tm-formats__button {
      grid-column: 1 / -1;
      width: min(520px, 100%);
      justify-self: center;
    }
  }

  @media (max-width: 700px) {
    .p24-tm-formats {
      padding: 56px 16px 62px;
    }

    .p24-tm-formats__head {
      margin-bottom: 30px;
      text-align: left;
    }

    .p24-tm-formats .p24-tm-formats__title {
      font-size: clamp(30px, 8.2vw, 34px);
      line-height: 1.08;
      text-align: left;
      text-wrap: wrap;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }

    .p24-tm-formats .p24-tm-formats__title span {
      display: block;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }

    .p24-tm-formats__subtitle {
      margin-top: 16px;
      font-size: 16px;
      line-height: 1.48;
      text-align: left;
    }

    .p24-tm-formats__grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .p24-tm-card:last-child {
      grid-column: auto;
      width: 100%;
    }

    .p24-tm-card,
    .p24-tm-card__image {
      border-radius: 6px;
    }

    .p24-tm-card__image {
      border-radius: 5px 5px 0 0;
    }

    .p24-tm-card__content {
      min-height: 0;
      padding: 20px 18px 22px;
    }

    .p24-tm-formats .p24-tm-card__content h3 {
      font-size: 22px;
    }

    .p24-tm-card__content p {
      margin-top: 9px;
      font-size: 15px;
      line-height: 1.45;
    }

    .p24-tm-card:hover {
      transform: none;
    }

    .p24-tm-card:hover .p24-tm-card__image img {
      transform: scale(1.01);
    }

    .p24-tm-formats__cta {
      grid-template-columns: 46px minmax(0, 1fr);
      gap: 14px;
      margin-top: 18px;
      padding: 20px 18px;
      border-radius: 6px;
    }

    .p24-tm-formats__cta-icon {
      width: 46px;
      height: 46px;
      border-radius: 5px;
    }

    .p24-tm-formats__cta-icon svg {
      width: 28px;
      height: 28px;
    }

    .p24-tm-formats .p24-tm-formats__cta-copy h3 {
      font-size: 20px;
      line-height: 1.15;
    }

    .p24-tm-formats__cta-copy p {
      grid-column: 1 / -1;
      margin-top: 8px;
      font-size: 14px;
    }

    .p24-tm-formats__button {
      min-height: 56px;
      margin-top: 2px;
      padding: 13px 14px;
      border-radius: 5px;
      font-size: 12px;
    }

  }

  @media (max-width: 400px) {
    .p24-tm-formats .p24-tm-formats__title {
      font-size: 30px;
      letter-spacing: -0.045em;
    }

    .p24-tm-formats__cta {
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    .p24-tm-formats__cta-icon {
      display: none;
    }

    .p24-tm-formats__cta-copy {
      text-align: left;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .p24-tm-card,
    .p24-tm-card__image img,
    .p24-tm-formats__button {
      transition: none;
    }

  }
