/* Shared by the frontend and block editor. Tokens live in theme.json. */
:where(html) { font-size: var(--wp--custom--fluid--root); scroll-behavior: smooth; scroll-padding-top: 2rem; }
:where(body) { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; margin: 0; font-synthesis: none; font-optical-sizing: none; font-variation-settings: var(--wp--custom--font--body); }
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(img, video) { max-width: 100%; }
:where(a, button, input) { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, video):focus-visible { outline: 3px solid var(--idru-focus-color, currentColor); outline-offset: 5px; }
:where(a) { text-underline-offset: 0.2em; }
::selection { color: var(--wp--preset--color--ink); background: var(--wp--preset--color--accent); }
.wp-site-blocks > *, .idru-main > *, .idru-about__inner > *, .idru-news__footer > * { margin-block: 0; }
.idru-main { overflow: clip; }
.idru-header { position: relative; z-index: 5; background: var(--wp--preset--color--ink); }
.idru-header__inner, .idru-hero__content, .idru-about__inner, .idru-news__footer, .idru-footer, .idru-document, .idru-article__intro-inner, .idru-article__image, .idru-article__more, .idru-official__inner, .idru-official__career, .idru-appointments > *, .idru-official__appointments, .idru-contact__inner {
  width: min(var(--wp--style--global--wide-size), calc(100% - 2 * var(--wp--custom--gutter)));
  margin-inline: auto;
}
.idru-header__inner { min-height: var(--wp--custom--header-height); gap: var(--wp--preset--spacing--50); }
.wp-block-group.idru-header__inner > * { margin-block: 0; align-self: center; }
.idru-header__logo, .idru-footer__logo { width: 4rem; flex-shrink: 0; line-height: 0; }
.idru-header__logo a, .idru-footer__logo a { display: block; }
.idru-header__logo img, .idru-footer__logo img { width: 4rem; height: 4rem; display: block; }
.idru-header__nav { flex: 1; }
.idru-header__nav :where(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.idru-header__nav .wp-block-navigation__container { gap: clamp(1rem, 3.4vw, 4.2rem); }
.idru-header__contact { flex-shrink: 0; }
.idru-header__nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); padding: var(--wp--preset--spacing--60) var(--wp--custom--gutter);
}
body:has(.idru-hero) .idru-header { position: absolute; inset: var(--wp-admin--admin-bar--height, 0px) 0 auto; background: transparent; }
.idru-hero.wp-block-cover { min-height: 100vh; min-height: 100svh; padding: var(--wp--custom--header-height) 0 0; align-items: flex-end; }
.idru-hero .wp-block-cover__image-background { object-position: center 8%; }
.idru-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--wp--preset--color--ink), transparent 40%), linear-gradient(0deg, color-mix(in srgb, var(--wp--preset--color--ink) 70%, transparent), transparent 55%); }
.idru-hero .wp-block-cover__inner-container { z-index: 1; }
.idru-hero__content { padding-block: var(--wp--preset--spacing--60) clamp(4rem, 4.5vw, 5.375rem); }
.idru-hero h1 { max-width: 68.75rem; margin: 0; font-size: var(--wp--preset--font-size--display); line-height: var(--wp--custom--type--line-height--display); color: var(--wp--preset--color--surface); }
.idru-hero__actions { margin-top: var(--wp--preset--spacing--50); gap: var(--wp--preset--spacing--40); }
.wp-block-button__link { transition: background-color 160ms ease, color 160ms ease; }
.wp-block-button__link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.idru-about { position: relative; isolation: isolate; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--70); }
.idru-about::before { content: ''; position: absolute; z-index: -1; inset: 56% 0 0 51.5%; background: var(--wp--preset--color--accent); }
.idru-about__inner { display: grid; grid-template-columns: 466fr 900fr; gap: clamp(2rem, 4vw, 4.625rem); align-items: center; }
.idru-about__copy h2 { margin-block: 0 var(--wp--preset--spacing--50); }
.idru-about__copy p { margin-block: 0 var(--wp--preset--spacing--50); }
.idru-about__copy p:last-child { margin-bottom: 0; }
.idru-about__media { margin: 0; }
.idru-about__media img { display: block; width: 100%; aspect-ratio: 900 / 550; object-fit: cover; background: var(--wp--preset--color--ink); }
.idru-news { padding-block: clamp(4rem, 4.4vw, 5.25rem); }
.idru-news__heading { margin: 0 0 var(--wp--preset--spacing--60); text-align: center; color: var(--wp--preset--color--accent); }
.idru-news__query { margin: 0; }
.idru-news__rail.wp-block-post-template { display: flex; gap: var(--wp--preset--spacing--40); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: max(var(--wp--custom--gutter), calc((100vw - var(--wp--style--global--wide-size)) / 2)); scrollbar-width: none; margin: 0; padding: 0 var(--wp--custom--gutter) var(--wp--preset--spacing--30) max(var(--wp--custom--gutter), calc((100vw - var(--wp--style--global--wide-size)) / 2)); }
.idru-news__rail::-webkit-scrollbar { display: none; }
.idru-news__query.swiper { overflow: hidden; }
.idru-news__rail.swiper-wrapper { overflow: visible; padding: 0; gap: 0; scroll-snap-type: none; }
.idru-news__rail > li { flex: 0 0 auto; width: min(29.125rem, 78vw); height: auto; scroll-snap-align: start; }
.idru-news__rail > li, .idru-archive__grid > li { background: var(--idru-card-background, var(--wp--preset--color--surface)); color: var(--idru-card-color, var(--wp--preset--color--ink)); margin: 0; min-width: 0; }
.idru-card__image { margin: 0; }
.idru-card__image img { display: block; width: 100%; aspect-ratio: 1.75; object-fit: cover; }
.idru-card__content { text-align: left; padding: var(--wp--preset--spacing--50) clamp(1.5rem, 2vw, 1.875rem); }
.idru-card__content > .idru-card__category { margin: 0 0 var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--type--weight--regular); }
.idru-badge, :is(.idru-card__category, .idru-article__category) a { display: inline-block; background: var(--idru-badge-background, var(--wp--preset--color--ink)); color: var(--idru-badge-color, var(--wp--preset--color--accent)); padding: var(--idru-badge-padding, 0.375rem 0.625rem); font-size: var(--idru-badge-font-size, var(--wp--preset--font-size--small)); font-weight: var(--wp--custom--type--weight--regular); line-height: var(--wp--custom--type--line-height--control); text-decoration: none; }
.idru-badge--accent, .idru-article__category { --idru-badge-background: var(--wp--preset--color--accent); --idru-badge-color: var(--wp--preset--color--ink); --idru-badge-font-size: var(--wp--preset--font-size--secondary); --idru-badge-padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); }
.wp-block-post-title.idru-card__title, .idru-article__body .wp-block-post-content :is(h2, h3, h4, h5, h6), .idru-official__career-content h3 { font-size: var(--wp--preset--font-size--card); font-weight: var(--wp--custom--type--weight--bold); line-height: var(--wp--custom--type--line-height--subheading); font-variation-settings: var(--wp--custom--font--body); }
.wp-block-post-title.idru-card__title { margin-block: 0 var(--wp--preset--spacing--30); }
.idru-card__content > .idru-card__date { margin: 0; }
.idru-news__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--wp--preset--spacing--40); margin-top: var(--wp--preset--spacing--45); }
.idru-news__controls { display: flex; gap: 0; }
.idru-news__controls[hidden] { display: none; }
.idru-news__controls button { padding: 4px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--wp--preset--color--surface); cursor: pointer; }
.idru-news__controls button:hover { color: var(--wp--preset--color--accent); }
.idru-news__controls button:disabled { opacity: 0.4; cursor: default; }
.idru-news__controls svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; }
.idru-news__all { margin-left: auto; }
.idru-document, .idru-appointments { min-height: 65vh; padding-block: var(--wp--preset--spacing--70); }
.idru-document > h1 { margin-top: 0; }
.idru-archive__grid.wp-block-post-template { display: grid; grid-template-columns: repeat(var(--idru-grid-columns, 3), minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
.idru-footer { padding-top: var(--wp--preset--spacing--60); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--surface) 25%, transparent); font-weight: var(--wp--custom--type--weight--regular); font-variation-settings: var(--wp--custom--font--body); }
.idru-footer :is(p, .wp-block-navigation) { font-size: var(--wp--custom--footer--text-size); font-weight: inherit; font-variation-settings: inherit; line-height: var(--wp--custom--type--line-height--body); }
.idru-footer .wp-block-group > * { margin-block: 0; }
.idru-footer__top { display: grid; grid-template-columns: 2fr 1fr 1.25fr 1fr; gap: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.idru-footer__brand, .idru-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: var(--wp--preset--spacing--40); }
.idru-footer .idru-footer__name, .idru-footer .idru-footer__heading { font-size: var(--wp--custom--footer--heading-size); font-weight: var(--wp--custom--type--weight--bold); line-height: var(--wp--custom--type--line-height--meta); font-variation-settings: var(--wp--custom--font--body); }
.idru-footer .idru-footer__name, .idru-footer__description { color: var(--wp--preset--color--surface); }
.idru-footer :is(.idru-footer__nav, .idru-footer__column a:not(.wp-element-button), .idru-footer__legal a) { font-size: var(--wp--custom--footer--navigation-size); }
.idru-footer__email a { text-decoration: underline; }
.idru-footer__column { gap: var(--wp--preset--spacing--30); }
.idru-footer__nav .wp-block-navigation__container { align-items: flex-start; gap: 0; }
.idru-footer__column :is(.wp-block-navigation-item__content, p a) { display: inline-flex; align-items: center; min-height: 44px; }
.idru-footer__socials .wp-social-link a { min-width: 44px; min-height: 44px; display: flex; align-items: center; gap: var(--wp--preset--spacing--20); padding: 0; }
.idru-footer__socials .wp-social-link svg { width: 20px; height: 20px; }
.idru-footer .wp-block-social-links.idru-footer__socials .wp-social-link .wp-block-social-link-label { font-size: var(--wp--custom--footer--navigation-size); font-weight: var(--wp--custom--type--weight--regular); }
.idru-footer__socials .wp-social-link:hover { transform: none; }
.idru-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--wp--preset--spacing--40); padding-block: var(--wp--preset--spacing--50); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--surface) 25%, transparent); }
.idru-footer .idru-footer__copyright { font-size: var(--wp--preset--font-size--small); opacity: 0.7; }
.idru-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wp--preset--spacing--50); }
/* Article layout: native editable blocks and shared news cards. */
.idru-article { background: var(--idru-article-background, var(--wp--preset--color--surface)); color: var(--wp--preset--color--ink); }
.idru-article > * { margin-block: 0; }
.idru-article__intro { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); padding-block: var(--wp--preset--spacing--70) calc(var(--wp--custom--article--overlap) + var(--wp--preset--spacing--60)); text-align: center; }
.idru-article__intro-inner { max-width: 70rem; }
.idru-article__intro-inner > .idru-article__category { margin-block: 0 var(--wp--preset--spacing--50); }
.wp-block-post-title.idru-article__title { color: var(--wp--preset--color--accent); margin-block: 0 var(--wp--preset--spacing--50); }
.idru-article:not(:has(> .idru-article__image)) .idru-article__intro { padding-bottom: var(--wp--preset--spacing--60); }
.idru-article__intro .idru-article__date { color: var(--wp--preset--color--surface); margin-top: var(--wp--preset--spacing--40); }
.wp-block-post-featured-image.idru-article__image { position: relative; margin-top: calc(-1 * var(--wp--custom--article--overlap)); }
.idru-article__image img { display: block; width: 100%; object-fit: cover; }
.idru-article__body { width: min(var(--wp--custom--article--reading-width), calc(100% - 2 * var(--wp--custom--gutter))); margin-inline: auto; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70); line-height: var(--wp--custom--type--line-height--body); overflow-wrap: anywhere; }
.idru-article__body .wp-block-post-content > * { max-width: 100%; }
.idru-article__body .wp-block-post-content > p:first-of-type { font-size: var(--wp--preset--font-size--card); line-height: var(--wp--custom--type--line-height--body); }
.idru-article__body .wp-block-post-content :is(h2, h3, h4, h5, h6) { margin-top: var(--wp--preset--spacing--60); }
.idru-article__body :where(a) { text-decoration: underline; }
.idru-article__more { padding-bottom: var(--wp--preset--spacing--70); }
.idru-article__more-heading { margin-block: 0 var(--wp--preset--spacing--60); }
.idru-about-page { --idru-article-background: var(--wp--preset--color--white); }
/* Officials share card, badge, grid and typography tokens with news. */
.idru-article__more-query { --idru-card-background: var(--wp--preset--color--ink); --idru-card-color: var(--wp--preset--color--white); --idru-card-date-color: color-mix(in srgb, var(--wp--preset--color--white) 50%, transparent); --idru-badge-background: var(--wp--preset--color--accent); --idru-badge-color: var(--wp--preset--color--ink); }
.idru-news-page { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); }
.idru-news-page .idru-document > h1 { color: var(--wp--preset--color--accent); margin-bottom: var(--wp--preset--spacing--60); }
.idru-officials { --idru-grid-columns: 4; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); }
.idru-officials .idru-document > h1 { margin-bottom: var(--wp--preset--spacing--60); }
.idru-official .idru-article__more { padding-top: var(--wp--preset--spacing--60); }
.idru-official__portrait, .idru-official__portrait img { aspect-ratio: 4 / 5; }
.idru-official__portrait { margin: 0; }
.idru-official__portrait img { display: block; width: 100%; height: auto; object-fit: cover; object-position: center top; }
.idru-official__meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--wp--preset--spacing--30); }
.idru-official__country { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); }
.idru-official__flag { line-height: 1; }
.idru-official__disciplines { display: inline-flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.idru-card__content:has(.idru-official__details--card) > .idru-card__title { margin-block-end: var(--wp--preset--spacing--20); }
.idru-card__content > .idru-official__details--card { margin-block-start: 0; font-size: var(--wp--preset--font-size--small); }
.idru-official__details--card .idru-official__meta { gap: var(--wp--preset--spacing--40); }
.idru-official__details--card .idru-badge { font-size: inherit; padding: var(--wp--preset--spacing--20); }
.idru-official__intro { position: relative; isolation: isolate; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.idru-official__intro:has(.idru-official__portrait)::before { content: ''; position: absolute; z-index: -1; inset: 56% 0 0 50%; background: var(--wp--preset--color--accent); }
.idru-official__inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: var(--wp--preset--spacing--70); }
.wp-block-group.idru-official__inner > .wp-block-post-featured-image.idru-official__portrait { position: relative; margin-block: 0 calc(-1 * (var(--wp--custom--official--portrait-overlap) + var(--wp--preset--spacing--60))); }
.idru-official__copy > * { margin-block: 0 var(--wp--preset--spacing--50); }
.idru-official__breadcrumb { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.idru-official__breadcrumb a { text-decoration: underline; }
.idru-official .idru-official__name { text-transform: uppercase; font-weight: var(--wp--custom--type--weight--regular); overflow-wrap: anywhere; }
.idru-official__name strong { display: block; font-weight: var(--wp--custom--type--weight--bold); }
.idru-official__details--profile .idru-official__meta { gap: var(--wp--preset--spacing--50); }
.idru-official__facts { margin: var(--wp--preset--spacing--60) 0 0; }
.idru-official__facts > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--30); margin-bottom: var(--wp--preset--spacing--20); }
.idru-official__facts dt { font-weight: var(--wp--custom--type--weight--bold); }
.idru-official__facts dd { margin: 0; }
.idru-official__career { padding-block: var(--wp--preset--spacing--60); }
.idru-official__career-content :is(h2, h3) { color: var(--wp--preset--color--accent); }
.idru-official__career-content h2 { margin-block: 0 var(--wp--preset--spacing--60); }
.idru-official__career-content h3 { margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.idru-official__career-content .wp-block-table { margin-inline: 0; overflow-x: auto; }
@media (max-width: 1000px) {
  .idru-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idru-header__inner { gap: var(--wp--preset--spacing--40); }
  .idru-header__nav .wp-block-navigation__container { gap: var(--wp--preset--spacing--30); }
  .idru-about__inner { grid-template-columns: 1fr 1.4fr; }
  .idru-archive__grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .idru-official__inner { grid-template-columns: 1fr; gap: var(--wp--preset--spacing--60); }
  .wp-block-group.idru-official__inner > .wp-block-post-featured-image.idru-official__portrait { margin-bottom: 0; max-width: 32rem; width: 100%; }
  .idru-official__career { padding-top: var(--wp--preset--spacing--60); }
  .idru-official__facts > div { grid-template-columns: 1fr 1fr; }
  .idru-footer__brand { grid-column: 1 / -1; }
  .idru-footer__column { min-width: 0; }
  .idru-footer__column a { overflow-wrap: anywhere; }
  .idru-footer__bottom, .idru-footer__legal { flex-direction: column; align-items: flex-start; }
  :where(body) { --wp--custom--header-height: 5.25rem; }
  .idru-header__logo, .idru-header__logo img, .idru-footer__logo img { width: 52px; height: 52px; }
  .idru-header__nav { order: 3; flex: 0; margin-left: auto; }
  .idru-header__contact { margin-left: auto; }
  .idru-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .idru-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .idru-hero .wp-block-cover__image-background { object-position: 60% center; }
  .idru-hero__actions { gap: var(--wp--preset--spacing--30); }
  .idru-about__inner { grid-template-columns: 1fr; gap: var(--wp--preset--spacing--60); }
  .idru-about__copy { max-width: 60ch; }
  .idru-about::before { inset: 72% 0 0 35%; }
  .idru-archive__grid.wp-block-post-template { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .idru-footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
  .wp-block-button__link { transition: none; }
}

/* Structured appointments share theme roles, spacing, buttons and palette. */
.idru-appointments { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); }
.idru-appointments h1 { color: var(--wp--preset--color--accent); margin-bottom: var(--wp--preset--spacing--60); }
.idru-matches { font-variation-settings: var(--wp--custom--font--body); font-size: var(--wp--preset--font-size--control); }
.idru-matches__group + .idru-matches__group { margin-top: var(--wp--preset--spacing--60); }
.idru-matches__heading { line-height: var(--wp--custom--type--line-height--subheading); font-size: var(--wp--preset--font-size--card); font-variation-settings: var(--wp--custom--font--body); margin: 0 0 var(--wp--preset--spacing--40); }
.idru-matches__table-wrap { overflow-x: auto; }
.idru-matches__table { font-size: var(--wp--preset--font-size--table); background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); width: 100%; border-collapse: collapse; table-layout: auto; }
.idru-matches__table:is(table) :is(th, td) { border: 0; text-align: left; vertical-align: top; padding: var(--wp--preset--spacing--40); border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 15%, transparent); }
.idru-matches__table:is(table) :is(thead, tfoot) { border: 0; }
.idru-matches__table th { background: var(--wp--preset--color--surface); font-weight: var(--wp--custom--type--weight--bold); }
.idru-matches__table a { color: inherit; text-underline-offset: 0.2em; }
.idru-matches__table small { display: block; margin-top: var(--wp--preset--spacing--20); color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); overflow-wrap: anywhere; }
.idru-matches__pagination { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--40); padding-block: var(--wp--preset--spacing--50); }
.idru-matches__pagination > * { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.idru-matches__pagination [aria-current] { color: var(--wp--preset--color--accent); font-weight: var(--wp--custom--type--weight--bold); }
.idru-official__appointments { padding-block: var(--wp--preset--spacing--60); }
.idru-official__appointments h2 { color: var(--wp--preset--color--accent); }
.idru-about-page { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); }
.idru-about-page .wp-block-post-content { max-width: var(--wp--style--global--content-size); margin-inline: auto; }
@media (max-width: 1000px) {
  .idru-matches__table, .idru-matches__table tbody { display: block; }
  .idru-matches__table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .idru-matches__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--wp--preset--color--muted); }
  .idru-matches__table:is(table) td { display: block; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .idru-matches__table td:nth-child(-n+2) { grid-column: 1 / -1; }
  .idru-matches__table td::before { content: attr(data-label); display: block; font-weight: var(--wp--custom--type--weight--bold); margin-bottom: var(--wp--preset--spacing--20); }
}

@media (min-width: 1001px) { .idru-matches__table :is(th, td):first-child { width: 1%; white-space: nowrap; } }

.idru-official__inner:not(:has(> .idru-official__portrait)) { grid-template-columns: minmax(0, 1fr); }

.idru-contact { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--70); }
.idru-contact__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--wp--preset--spacing--70); }
.idru-contact__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
.idru-contact__field { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--20); }
.idru-contact__field--wide, .idru-contact__note, .idru-contact__form > button { grid-column: 1 / -1; }
.idru-contact__form :is(input, select, textarea) { width: 100%; min-height: 44px; padding: var(--wp--preset--spacing--30); border: 1px solid var(--wp--preset--color--muted); border-radius: 0; font: inherit; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--white); }
.idru-contact__form textarea { resize: vertical; }
.idru-contact__form > button { justify-self: start; }
.idru-contact__note { margin: 0; font-size: var(--wp--preset--font-size--small); }
.idru-contact__feedback { padding: var(--wp--preset--spacing--40); margin-bottom: var(--wp--preset--spacing--50); border: 1px solid currentColor; }
@media (max-width: 800px) { .idru-contact__inner, .idru-contact__form { grid-template-columns: minmax(0, 1fr); } }

.idru-referee-filters { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--30); margin-bottom: var(--wp--preset--spacing--50); }
.idru-referee-filters__link.is-active { background-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--accent); }

.idru-timeline { display: flex; gap: var(--wp--preset--spacing--50); overflow-x: auto; scroll-snap-type: x proximity; padding-block: var(--wp--preset--spacing--40); }
.idru-timeline > .idru-timeline__item { flex: 0 0 min(80vw, 24rem); margin-block: 0; padding: var(--wp--preset--spacing--50); border-top: 2px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); scroll-snap-align: start; }

.idru-board { gap: var(--wp--preset--spacing--50); }
.idru-board > .wp-block-column > .wp-block-image { margin: 0; }
.idru-board .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.idru-article__body .idru-board > .wp-block-column > :is(h2, h3, h4) { margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20); }
.idru-board > .wp-block-column > :is(h2, h3, h4) + p { margin-block: 0; font-size: var(--wp--preset--font-size--secondary); }

/* About panel keeps native WordPress submenu controls and focus handling. */
.idru-header:has(.idru-about-menu > button[aria-expanded="true"]) { z-index: 100; isolation: isolate; }
.idru-header__nav .idru-about-menu__link .wp-block-navigation-item__description { display: block; margin-top: var(--wp--preset--spacing--20); font-size: var(--wp--preset--font-size--secondary); line-height: var(--wp--custom--type--line-height--body); font-weight: var(--wp--custom--type--weight--regular); color: var(--wp--preset--color--muted); }
.idru-header__nav .idru-about-menu > .wp-block-navigation__submenu-container { background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); border: 0; padding: var(--wp--preset--spacing--30); gap: var(--wp--preset--spacing--20); box-sizing: border-box; }
.idru-header__nav .idru-about-menu__link > .wp-block-navigation-item__content { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: var(--wp--preset--spacing--40); width: 100%; box-sizing: border-box; text-decoration: none; font-weight: var(--wp--custom--type--weight--semibold); }
.idru-header__nav .idru-about-menu__link > .wp-block-navigation-item__content:is(:hover, :focus-visible) { background: var(--wp--preset--color--surface); }
@media (min-width: 1001px) {
  .idru-header__inner { position: relative; }
  .idru-header__nav .idru-about-menu { position: relative; }
  .idru-header__nav .idru-about-menu > .wp-block-navigation__submenu-container { top: calc(100% + var(--wp--preset--spacing--50)); left: 0; right: auto; width: 25rem; display: flex; flex-direction: column; }
  .idru-header__nav .idru-about-menu > .wp-block-navigation__submenu-container::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--wp--preset--spacing--50); }
}
@media (max-width: 1000px) {
  .idru-header__nav .idru-about-menu > .wp-block-navigation__submenu-container { width: 100%; max-width: 100%; }
  .idru-header__nav .idru-about-menu__link > .wp-block-navigation-item__content { padding: var(--wp--preset--spacing--30); }
}

.idru-header__nav .idru-about-menu__link .wp-block-navigation-item__label { display: block; white-space: nowrap; }
.idru-header__nav .idru-about-menu > button { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); text-decoration: none; }
.idru-header__nav .idru-about-menu > button[aria-expanded="true"] { color: var(--wp--preset--color--accent); }
.idru-header__nav .idru-about-menu > button svg { display: block; flex-shrink: 0; width: 1em; height: 1em; fill: none; stroke: currentColor; }
.idru-header__nav .idru-about-menu > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.wp-element-caption { font-size: var(--wp--preset--font-size--secondary); }
