/* 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, video):focus-visible { outline: 3px solid 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 {
  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);
}
.home .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: 0.9; 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); scroll-snap-align: start; }
.idru-news__rail > li, .idru-archive__grid > li { background: var(--wp--preset--color--surface); 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: 500; }
.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: 500; line-height: 1.2; 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--navigation); --idru-badge-padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); }
.wp-block-post-title.idru-card__title { font-size: var(--wp--preset--font-size--card); font-weight: 700; line-height: 1.15; font-variation-settings: var(--wp--custom--font--body); 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 { 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(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: 400; 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: 1.5; }
.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: 700; line-height: 1.4; 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: 400; }
.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(--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); font-size: var(--wp--custom--article--title-size); line-height: 1.05; 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: 1.65; 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: 1.5; }
.idru-article__body .wp-block-post-content :is(h2, h3, h4, h5, h6) { margin-top: var(--wp--preset--spacing--60); font-size: var(--wp--preset--font-size--navigation); font-weight: 700; font-variation-settings: var(--wp--custom--font--body); line-height: 1.3; }
.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); }
@media (max-width: 1000px) {
  .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-footer__top { grid-template-columns: repeat(2, minmax(0, 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 h1 { font-size: var(--wp--custom--type--mobile-display); }
  .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; }
}
