﻿.pm-editorial-page .entry-header { display: none; }
.pm-editorial-page .entry-content { max-width: none !important; overflow: visible; }
.pm-editorial-page .ct-container-full { padding-top: 0; }
.pm-editorial-page #main { background: #f6f9fc; }
.pm-editorial, .pm-editorial * { box-sizing: border-box; }
.pm-editorial {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 56px calc(50% - 50vw) !important;
  color: #475569;
  font-family: inherit;
}
.pm-editorial > .pm-editorial__hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
}
.pm-editorial > .pm-editorial__section {
  width: calc(100% - 32px) !important;
  max-width: 1150px !important;
  margin: 0 auto 16px !important;
}
.pm-editorial a { color: #1769e0; }

/* Medical hero shared by every editorial medicine page. */
.pm-editorial__hero {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  min-height: 346px;
  padding: 38px max(24px, calc((100vw - 1150px) / 2)) 28px !important;
  border: 0;
  border-radius: 0;
  background-color: #e8f6ff;
  background-image: linear-gradient(90deg, rgba(238,248,255,.96) 0%, rgba(238,248,255,.88) 41%, rgba(238,248,255,.25) 68%, rgba(238,248,255,0) 100%), url('../images/medicine-hero-stethoscope.jpg');
  background-position: center, center right;
  background-size: cover;
}
.pm-editorial__hero::before,
.pm-editorial__hero::after { display: none; }
.pm-editorial__badge {
  display: table;
  width: max-content !important;
  max-width: max-content !important;
  margin: 0 0 12px !important;
  padding: 5px 15px;
  border-radius: 999px;
  background: #098cdd;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.pm-editorial__hero h1 {
  max-width: 860px;
  margin: 0 0 14px !important;
  color: #0b1948;
  font-size: clamp(36px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.pm-editorial__hero p:not(.pm-editorial__badge) {
  max-width: 850px;
  margin: 0 0 18px !important;
  color: #142751;
  font-size: 16px;
  line-height: 1.55;
}
.pm-editorial__hero .wp-block-shortcode { width: 100%; max-width: none; margin: 0 !important; }
.pm-editorial__hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100% !important;
  max-width: 990px !important;
  margin: 0 !important;
}
.pm-editorial__hero-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 82px;
  padding: 12px 15px;
  border: 1px solid rgba(231,239,248,.9);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20,74,120,.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pm-editorial__hero-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef6ff;
}
.pm-editorial__hero-fact:nth-child(2) .pm-editorial__hero-icon { background: #e6f8ef; }
.pm-editorial__hero-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(99%) saturate(1859%) hue-rotate(202deg) brightness(92%) contrast(92%);
}
.pm-editorial__hero-fact:nth-child(2) img { filter: brightness(0) saturate(100%) invert(52%) sepia(93%) saturate(555%) hue-rotate(92deg) brightness(91%) contrast(91%); }
.pm-editorial__hero-fact span { display: block; color: #455774; font-size: 12px; line-height: 1.25; }
.pm-editorial__hero-fact strong { display: block; margin-top: 2px; color: #0b1948; font-size: 14px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }

/* Shared cards and headings. */
.pm-editorial__section {
  --accent: #0984ed;
  --pale: #dff0ff;
  --icon: url('../icons/detail-document.svg');
  position: relative;
  padding: 18px 20px !important;
  border: 1px solid #e2eaf4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25,65,105,.065);
  transition: box-shadow .2s ease;
}
.pm-editorial__section--precautions { --accent: #f44853; --pale: #ffe5e8; --icon: url('../icons/detail-warning.svg'); }
.pm-editorial__section--composition { --icon: url('../icons/detail-flask.svg'); }
.pm-editorial__section--posologie { --accent: #08a551; --pale: #e0f8e9; --icon: url('../icons/detail-stethoscope.svg'); }
.pm-editorial__section--links { --accent: #8b50f6; --pale: #ece3ff; --icon: url('../icons/detail-link.svg'); }
.pm-editorial__section h2 {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  max-width: none;
  margin: 0 0 10px !important;
  padding: 0 0 5px 64px;
  border: 0;
  background: linear-gradient(var(--accent), var(--accent)) 64px bottom / 40px 3px no-repeat;
  color: #0b1948;
  font-size: clamp(21px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.pm-editorial__section h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pale);
  content: '';
}
.pm-editorial__section h2::after {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 26px;
  height: 26px;
  background: var(--accent);
  content: '';
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.pm-editorial__section--intro h2::after {
  top: 12px;
  left: 16px;
  width: 20px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  content: 'i';
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
  -webkit-mask: none;
  mask: none;
}
.pm-editorial__section > p, .pm-editorial__section > .wp-block-paragraph, .pm-editorial__composition-intro {
  width: calc(100% - 64px) !important;
  max-width: none;
  margin: 0 0 8px 64px !important;
  color: #203453;
  font-size: 15px;
  line-height: 1.55;
}
.pm-editorial__section > p:last-child { margin-bottom: 0 !important; }
.pm-editorial__section--info > .wp-block-shortcode,
.pm-editorial__section--composition > .wp-block-shortcode { width: 100%; max-width: none; margin: 0 !important; }

/* Vertical catalogue and composition tables. */
.pm-editorial__table-scroll { width: 100%; overflow: hidden; border: 1px solid #dbe6f2; border-radius: 10px; }
.pm-editorial__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 15px; text-align: left; }
.pm-editorial__table th, .pm-editorial__table td {
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid #dbe6f2;
  color: #263c5b;
  line-height: 1.4;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.pm-editorial__table tr:last-child th, .pm-editorial__table tr:last-child td { border-bottom: 0; }
.pm-editorial__table th { width: 32%; border-right: 1px solid #dbe6f2; background: #eef5fc; color: #0b1948; font-weight: 750; overflow-wrap: normal; }
.pm-editorial__table th img { display: none; }
.pm-editorial__table td { background: #fff; }
.pm-editorial__table tr:first-child td { font-weight: 700; }
.pm-editorial__table tr:nth-child(4) td, .pm-editorial__table tr:nth-child(8) td { background: #f1f7ff; color: #1769e0; font-weight: 700; }
.pm-editorial__table tr:nth-child(5) td { background: #fff9f1; color: #b65b10; font-weight: 700; }
.pm-editorial__table tr:nth-child(7) td { background: #effaf4; color: #087b43; font-weight: 700; }
.pm-editorial__section--precautions ul, .pm-editorial__section--posologie ul {
  width: calc(100% - 64px) !important;
  max-width: none;
  margin: 0 0 0 64px !important;
  padding: 0 !important;
  list-style: none;
  color: #203453;
  font-size: 15px;
  line-height: 1.55;
}
.pm-editorial__section--precautions li, .pm-editorial__section--posologie li {
  position: relative;
  margin: 3px 0 !important;
  padding-left: 18px;
  list-style: none;
}
.pm-editorial__section--precautions li::before, .pm-editorial__section--posologie li::before {
  position: absolute;
  top: .66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}
.pm-editorial__composition-table {
  width: calc(100% - 64px) !important;
  max-width: none !important;
  margin: 0 0 0 64px !important;
  overflow: hidden;
  border: 1px solid #dbe6f3;
  border-radius: 9px;
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
}
.pm-editorial__composition-table > div { display: grid; grid-template-columns: 175px minmax(0, 1fr); border-bottom: 1px solid #dbe6f3; }
.pm-editorial__composition-table > div:last-child { border-bottom: 0; }
.pm-editorial__composition-table strong { padding: 8px 14px; border-right: 1px solid #dbe6f3; background: #eef5fc; color: #0b1948; }
.pm-editorial__composition-table span { padding: 9px 14px; overflow-wrap: anywhere; }
.pm-editorial__section--composition .pm-editorial__composition-intro { margin-bottom: 8px !important; }

/* FAQ and links appear as separate cards within the existing group. */
.pm-editorial > .pm-editorial__section--links {
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.pm-editorial__section--links > .wp-block-columns { width: 100% !important; max-width: none; margin: 0 0 16px !important; }
.pm-editorial__section--links .medicament-list-faq {
  --accent: #8b50f6;
  --pale: #ece3ff;
  --icon: url('../icons/detail-question.svg');
  min-width: 0;
  flex-basis: 100% !important;
  padding: 18px 20px;
  border: 1px solid #e2eaf4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25,65,105,.065);
}
.pm-editorial__section--links .medicament-list-faq > h2 { margin-bottom: 10px !important; }
.pm-editorial__section--links .medicament-list-faq > h3 {
  max-width: none;
  margin: 5px 0 0 !important;
  padding: 12px 16px 4px;
  border: 1px solid #e8e7f4;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: #fff;
  color: #0b1948;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}
.pm-editorial__section--links .medicament-list-faq > h3 + p {
  max-width: none;
  margin: 0 !important;
  padding: 6px 16px 14px;
  border: 1px solid #e8e7f4;
  border-top: 0;
  border-radius: 0 0 9px 9px;
  background: #fff;
  color: #344765;
  font-size: 14px;
  line-height: 1.65;
}
.pm-editorial__section--links .medicament-list-faq > h3:not(.is-collapsed),
.pm-editorial__section--links .medicament-list-faq > h3:not(.is-collapsed) + p { border-color: #e8ddfa; background: #f8f3ff; }
.pm-editorial__section--links .medicament-list-faq > h3.is-collapsed { padding-bottom: 12px; border-bottom: 1px solid #e8e7f4; border-radius: 9px; }
.pm-editorial__section--links .medicament-list-faq > h3 + p[hidden] { display: none !important; }
.pm-editorial__section--links .pm-faq-toggle {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.pm-editorial__section--links .pm-faq-toggle::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #8b50f6;
  border-bottom: 2px solid #8b50f6;
  content: '';
  transform: translateY(-65%) rotate(45deg);
}
.pm-editorial__section--links .pm-faq-toggle[aria-expanded='true']::after { transform: translateY(-35%) rotate(225deg); }
.pm-editorial__section--links .pm-faq-toggle:focus-visible { outline: 2px solid #8b50f6; outline-offset: 4px; border-radius: 2px; }
.pm-editorial__section--links > h2 {
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0 !important;
  padding: 18px 20px 8px 84px;
  border: 1px solid #e2eaf4;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: #fff linear-gradient(var(--accent), var(--accent)) 84px calc(100% - 2px) / 40px 3px no-repeat;
  box-shadow: 0 -3px 18px rgba(25,65,105,.035);
}
.pm-editorial__section--links > h2::before { top: 18px; left: 20px; }
.pm-editorial__section--links > h2::after { top: 31px; left: 33px; }
.pm-editorial__section--links > ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 8px 20px 18px !important;
  border: 1px solid #e2eaf4;
  border-top: 0;
  border-radius: 0 0 15px 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25,65,105,.065);
  list-style: none;
}
.pm-editorial__section--links > ul li { margin: 0 !important; list-style: none; }
.pm-editorial__section--links > ul li a {
  position: relative;
  display: block;
  min-height: 46px;
  padding: 11px 42px 11px 52px;
  border: 1px solid #e7e3f5;
  border-radius: 10px;
  background: #fff;
  color: #1753bb;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.pm-editorial__section--links > ul li a:hover { border-color: #c9b5f2; background: #f8f3ff; color: #6e36d7; }
.pm-editorial__section--links > ul li a:focus-visible { outline: 2px solid #8b50f6; outline-offset: 2px; }
.pm-editorial__section--links > ul li a::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: #8b50f6;
  content: '';
  -webkit-mask: url('../icons/detail-document.svg') center / contain no-repeat;
  mask: url('../icons/detail-document.svg') center / contain no-repeat;
}
.pm-editorial__section--links > ul li a::after {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #8b50f6;
  content: '›';
  font-size: 25px;
  line-height: 1;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pm-editorial__hero-fact:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(7,42,92,.14); }
  .pm-editorial__section:not(.pm-editorial__section--links):hover { box-shadow: 0 8px 24px rgba(20,55,85,.065); }
}
@media (max-width: 1000px) {
  .pm-editorial__hero {
    min-height: 0;
    padding: 34px 32px 28px !important;
    background-position: center, 64% center;
  }
  .pm-editorial__hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none !important;
    gap: 10px;
  }
  .pm-editorial__hero-fact { min-height: 76px; padding: 10px; gap: 8px; }
  .pm-editorial__hero-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .pm-editorial__hero-icon img { width: 21px; height: 21px; }
}
@media (max-width: 800px) {
  .pm-editorial__hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px !important; }
}
@media (max-width: 700px) {
  .pm-editorial__hero { padding: 32px 24px 32px !important; }
  .pm-editorial__hero h1 { font-size: clamp(32px, 5.5vw, 42px); }
  .pm-editorial__table th, .pm-editorial__table td { padding: 9px 11px; font-size: 14px; }
  .pm-editorial__table th { width: 37%; }
}
@media (max-width: 560px) {
  .pm-editorial { margin-bottom: 40px !important; }
  .pm-editorial__hero {
    padding: 28px 16px 24px !important;
    background-image: linear-gradient(90deg, rgba(238,248,255,.97), rgba(238,248,255,.82)), url('../images/medicine-hero-stethoscope.jpg');
    background-position: center, right center;
  }
  .pm-editorial__badge { margin-bottom: 14px !important; }
  .pm-editorial__hero h1 { font-size: clamp(29px, 8vw, 36px); overflow-wrap: anywhere; }
  .pm-editorial__hero p:not(.pm-editorial__badge) { font-size: 15px; line-height: 1.55; }
  .pm-editorial__hero-facts { gap: 9px; }
  .pm-editorial__hero-fact { min-height: 75px; padding: 8px; gap: 7px; }
  .pm-editorial__hero-fact strong { font-size: 12px; }
  .pm-editorial__hero-fact span { font-size: 11px; }
  .pm-editorial__hero-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .pm-editorial__hero-icon img { width: 18px; height: 18px; }
  .pm-editorial__section { padding: 17px 18px !important; }
  .pm-editorial__section h2 { min-height: 42px; margin-bottom: 13px !important; padding: 0 0 5px 54px; background-position: 54px bottom; font-size: 20px; }
  .pm-editorial__section h2::before { width: 42px; height: 42px; }
  .pm-editorial__section h2::after { top: 10px; left: 10px; width: 22px; height: 22px; }
  .pm-editorial__section--intro h2::after { top: 8px; left: 13px; width: 16px; height: 25px; font-size: 17px; line-height: 21px; }
  .pm-editorial__table th { width: 46%; }
  .pm-editorial__section > p, .pm-editorial__section > .wp-block-paragraph, .pm-editorial__composition-intro,
  .pm-editorial__section--precautions ul, .pm-editorial__section--posologie ul { width: 100% !important; margin-left: 0 !important; font-size: 15px; }
  .pm-editorial__composition-table { width: 100% !important; margin-left: 0 !important; }
  .pm-editorial__composition-table > div { grid-template-columns: 105px minmax(0, 1fr); }
  .pm-editorial__composition-table strong, .pm-editorial__composition-table span { padding: 9px 10px; }
  .pm-editorial__section--links .medicament-list-faq { padding: 17px 18px; }
  .pm-editorial__section--links .medicament-list-faq > h3 { padding: 12px 13px 4px; font-size: 15px; }
  .pm-editorial__section--links .medicament-list-faq > h3.is-collapsed { padding-bottom: 12px; }
  .pm-editorial__section--links .medicament-list-faq > h3 + p { padding: 4px 13px 13px; font-size: 14px; }
  .pm-editorial__section--links > h2 { min-height: 74px; margin-bottom: 0 !important; padding: 17px 18px 8px 72px; background-position: 72px calc(100% - 2px); }
  .pm-editorial__section--links > h2::before { top: 17px; left: 18px; }
  .pm-editorial__section--links > h2::after { top: 27px; left: 28px; }
  .pm-editorial__section--links > ul { padding: 8px 18px 17px !important; }
}
@media (max-width: 380px) {
  .pm-editorial__hero-fact { gap: 6px; }
  .pm-editorial__hero-icon { width: 30px; height: 30px; }
  .pm-editorial__hero-icon img { width: 19px; height: 19px; }
  .pm-editorial__hero-fact strong { font-size: 11px; }
  .pm-editorial__table th { width: 48%; }
  .pm-editorial__table th, .pm-editorial__table td { padding: 9px 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-editorial__hero-fact, .pm-editorial__section, .pm-editorial__section--links > ul li a { transition: none; }
}
