/*
Theme Name: HIROMI YOSHIDA
Theme URI: https://www.hiromiyoshida.co.jp/
Author: HIROMI YOSHIDA
Description: Responsive block theme with editable patterns and a rose/burgundy design system.
Version: 1.1.27
Requires at least: 6.6
Requires PHP: 8.3
Text Domain: hiromi-yoshida
License: GNU General Public License v2 or later
*/
:root { --hy-ink:#242424; --hy-paper:#fafaf8; --hy-line:#e8e6e3; --hy-wine:#733f4d; --hy-rose:#bf788a; --hy-serif:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif; }
html { scroll-padding-top:24px; }
body { margin:0; overflow-wrap:break-word; }
/* Archive uses native columns, images, galleries and the core image lightbox. */
.hy-archive-cards > .wp-block-column { min-width:0; padding:24px; border:1px solid var(--hy-line); background:#fff; }
.hy-archive-cards .wp-block-image { margin-block:0 24px; max-width:100%; }
.hy-archive-cards .wp-block-image:not(.is-resized) { width:100%; }
.hy-archive-cards .wp-block-image > a { display:block; max-width:100%; }
.hy-archive-cards .wp-block-image img { display:block; width:100%; height:auto; background:#f1eeeb; }
.editor-styles-wrapper [data-hy-image-focus] img { object-position:var(--hy-image-focus-x,50%) var(--hy-image-focus-y,50%); }
.hy-archive-cards h3 { margin-block:10px 16px; font:400 24px/1.65 var(--hy-serif); }
.hy-archive-cards h3 a { color:var(--hy-ink); }
.hy-archive-cards p { margin-block:16px; }
.hy-archive-cards > .wp-block-column > :last-child { margin-bottom:0; }
.hy-collection-gallery { margin-block:32px; }
*, *::before, *::after { box-sizing:border-box; }
.wp-site-blocks { padding-block:0; }
.wp-site-blocks > * { margin-block-start:0; }
a { text-underline-offset:.25em; }
a:hover { text-decoration:underline; }
a:focus-visible,button:focus-visible { outline:2px solid var(--hy-wine); outline-offset:5px; }
.hy-404-page .wp-block-button__link {
 box-sizing:border-box; max-width:100%; min-height:48px; padding:12px 32px;
 border:1px solid var(--hy-wine); border-radius:0; background:transparent;
 color:var(--hy-wine); font:inherit; font-size:16px; line-height:1.6; text-decoration:none;
}
.hy-404-page .wp-block-button__link:hover {
 background:var(--hy-wine); color:var(--hy-paper); text-decoration:none;
}
/* Legacy shell is only a fallback; native layout and editor choices take priority. */
:where(.hy-shell) { max-width:var(--wp--style--global--wide-size,1440px); margin-inline:auto; }
:where(.hy-shell.alignfull) { max-width:none; }
.hy-header-frame { width:100%; max-width:none; border-bottom:1px solid var(--hy-line); }
.hy-header { padding:24px 64px 20px; text-align:center; }
.hy-header .wp-block-site-title,.hy-footer .wp-block-site-title { margin:0; font:400 clamp(22px,2.3vw,34px)/1.4 Georgia,"Times New Roman",serif; letter-spacing:.035em; }
.hy-header .wp-block-site-title a,.hy-footer .wp-block-site-title a { color:var(--hy-ink); text-decoration:none; }
.hy-header .wp-block-navigation { margin-block-start:14px; font-size:14px; }
.hy-header .wp-block-navigation__container { gap:clamp(20px,3vw,46px); }
.hy-header .wp-block-navigation a,.hy-footer .wp-block-navigation a { color:var(--hy-ink); }
.hy-header .current-menu-item > a { text-decoration:underline; text-decoration-color:var(--hy-rose); text-decoration-thickness:2px; }
.hy-home-hero { display:grid; grid-template-columns:42% 58%; }
.hy-hero-copy { align-self:center; padding:64px; }
.hy-hero-copy .hy-hero-tagline { margin:0 0 32px; font:400 clamp(28px,3vw,46px)/1.65 var(--hy-serif); letter-spacing:.025em; }
.hy-hero-copy p:not(.hy-hero-tagline) { font-size:16px; line-height:2; }
.hy-hero-copy .hy-eyebrow { margin-block-end:8px; }
.hy-hero-visual { margin:0!important; min-width:0; }
.hy-home-hero .hy-hero-slider { height:620px; max-width:none; margin:0; }
.hy-home-hero .hy-hero-slide img { object-position:50% 50%; }
.hy-about { display:grid; grid-template-columns:40% 60%; padding-block:72px; gap:0; align-items:center; }
.hy-about-copy { padding:32px 64px; }
.hy-home h2,.hy-contact h2 { margin:0 0 24px; font:400 clamp(30px,3vw,44px)/1.3 var(--hy-serif); }
.hy-about-copy h2::after,.hy-news h2::after { content:""; display:block; width:38px; height:1px; background:var(--hy-rose); margin-top:18px; }
.hy-about-copy h3 { font:400 clamp(19px,1.7vw,25px)/1.7 var(--hy-serif); }
.hy-about-copy p { font-size:16px; line-height:2; }
.hy-about-image { margin:0!important; }
.hy-about-image img { display:block; width:100%; height:430px; object-fit:cover; }
.hy-more { margin-top:28px; }
.hy-more a { display:inline-block; min-height:44px; padding-block:8px; color:var(--hy-wine); text-decoration:none; }
.hy-more a:hover,.hy-more a:focus-visible { text-decoration:underline; }
/* Keep label, space and arrow in one inline text flow for a continuous underline. */
.hy-more a > span[aria-hidden="true"] { display:inline; white-space:nowrap; }
.hy-more a > span[aria-hidden="true"]::before { content:"\2003"; }
.hy-more span { color:var(--hy-rose); }
.hy-features { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hy-feature { position:relative; min-width:0; min-height:380px; display:flex; align-items:center; overflow:hidden; background:var(--hy-ink); }
.hy-feature > .wp-block-image { position:absolute; inset:0; margin:0; }
.hy-feature > .wp-block-image::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.5); }
.hy-feature > .wp-block-image img { width:100%; height:100%; object-fit:cover; display:block; }
.hy-feature-copy { position:relative; padding:40px 48px; margin:0!important; color:#fff; }
.hy-feature-copy p { font-size:16px; line-height:1.9; }
.hy-feature-copy a,.hy-feature-copy .hy-more span { color:#fff; }
.hy-feature-copy a:focus-visible { outline-color:#fff; }
.hy-news { padding-block:72px; }
.hy-section-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; margin-bottom:28px; }
.hy-section-heading h2,.hy-section-heading .hy-more { margin:0; }
.hy-news-row { display:grid; grid-template-columns:130px 1fr; align-items:baseline; gap:24px; border-bottom:1px solid var(--hy-line); padding:20px 0; }
.hy-news .wp-block-post-template { margin:0; padding:0; list-style:none; }
.hy-news-row .wp-block-post-date { font-size:14px; color:#605a58; }
.hy-news-row .wp-block-post-title { margin:0; font-size:16px; font-weight:400; line-height:1.8; font-family:inherit; }
.hy-news-row .wp-block-post-title a { color:var(--hy-ink); }
.hy-contact { background:var(--hy-wine); color:#fff; margin:0; }
.hy-contact-inner { padding:52px 32px; text-align:center; }
.hy-contact h2 { margin-bottom:16px; }
.hy-contact .wp-block-buttons { justify-content:center; margin-top:24px; }
.hy-contact .wp-block-button__link { color:#fff; border:1px solid #fff; border-radius:0; background:transparent; min-height:48px; padding:12px 36px; font-size:16px; }
.hy-contact .wp-block-button__link:hover { color:var(--hy-wine); background:#fff; text-decoration:none; }
.hy-contact a:focus-visible { outline-color:#fff; }
.hy-footer { padding:36px 32px; text-align:center; border-top:1px solid var(--hy-rose); }
.hy-footer .wp-block-navigation { margin-top:22px; justify-content:center; font-size:14px; }
.hy-footer .wp-block-navigation__container { justify-content:center; flex-wrap:wrap; gap:12px 28px; }
.hy-footer .hy-privacy { margin-top:20px; font-size:14px; }
.hy-copyright { margin:20px 0 0; color:#605a58; font-size:12px; line-height:1.9; }
.hy-page { padding-block:64px 96px; min-height:60vh; }
.hy-page > .wp-block-post-title { margin-block:0 40px; font-family:var(--hy-serif); font-weight:400; }
@media (min-width:768px) and (max-width:1023px) {
 .hy-header { padding:24px 32px; }
 .hy-hero-copy { padding:36px 32px; }
 .hy-hero-copy .hy-hero-tagline { font-size:28px; }
 .hy-home-hero .hy-hero-slider { height:500px; }
 .hy-about { grid-template-columns:45% 55%; padding-block:48px; }
 .hy-about-copy { padding:24px 32px; }
 .hy-about-image img { height:430px; }
 .hy-feature-copy { padding:32px; }
 .hy-feature-copy br { display:none; }
 .hy-news { padding-block:56px; }
}
@media (max-width:1023px) {
 .hy-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
 .hy-header .wp-block-navigation { margin:0; }
 .hy-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display:flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; }
 .hy-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none; }
 .hy-header .is-menu-open { background:var(--hy-paper)!important; color:var(--hy-ink)!important; }
 .hy-header .is-menu-open .wp-block-navigation__container { align-items:stretch; width:100%; gap:0; }
 .hy-header .is-menu-open .wp-block-navigation-item a { min-height:48px; padding:12px 8px; font-size:18px; }
}
@media (max-width:767px) {
 .hy-header { padding:12px 20px; }
 .hy-header .wp-block-site-title { font-size:22px; }
 .hy-home-hero { grid-template-columns:1fr; }
 .hy-hero-visual { grid-row:1; }
 .hy-home-hero .hy-hero-slider { height:clamp(300px,90vw,520px); }
 .hy-hero-copy { padding:32px 24px 36px; }
 .hy-hero-copy .hy-hero-tagline { font-size:clamp(26px,7.4vw,36px); line-height:1.65; margin-bottom:20px; }
 .hy-about { grid-template-columns:1fr; padding-block:0 40px; }
 .hy-about-image { grid-row:1; }
 .hy-about-image img { height:220px; }
 .hy-about-copy { padding:28px 0 0; }
 .hy-about-copy br { display:none; }
 .hy-features { grid-template-columns:1fr; gap:16px; }
 .hy-feature { min-height:310px; }
 .hy-feature-copy { padding:28px; }
 .hy-feature-copy br { display:none; }
 .hy-news { padding-block:48px; padding-inline:0; }
 .hy-news-row { grid-template-columns:1fr; gap:6px; padding:18px 0; }
 .hy-news-row .wp-block-post-date { font-size:14px; }
 .hy-section-heading { gap:16px; }
 .hy-section-heading .hy-more { font-size:14px; }
 .hy-contact-inner { padding:40px 24px; }
 .hy-contact-inner p { font-size:16px; }
 .hy-footer { padding:32px 24px; }
 .hy-footer .wp-block-site-title { font-size:24px; }
 .hy-footer .wp-block-navigation__container { gap:4px 20px; }
 .hy-footer .wp-block-navigation a { display:inline-flex; align-items:center; min-height:44px; }
 .hy-page { padding-block:40px 64px; }
}
/* Grid spacing is defined here, independently of WordPress flow block gaps. */
.hy-home-hero > *, .hy-about > *, .hy-features > * { margin-block-start:0; margin-block-end:0; }

/* HOME is edited in the fixed page; wide visual sections and readable copy widths. */
.hy-home > .wp-block-post-content { margin-block:0; }
@media (min-width:768px) {
 .hy-about, .hy-news { padding-inline:0; }
 .hy-about { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; }
 .hy-about-copy { padding:0; }
}
/* Keep HOME's editing canvas usable when the settings sidebar narrows it. */
.editor-styles-wrapper .hy-home-hero { container-type:inline-size; }
.editor-styles-wrapper .hy-hero-copy { padding:32px; }
.editor-styles-wrapper .hy-hero-copy .hy-hero-tagline { font-size:clamp(24px,3cqw,46px); }

/* Smartphone bottom navigation: core Navigation + Details blocks. */
.hy-mobile-navigation { display:none; }
@media (max-width:767px) {
 .wp-site-blocks { padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px)); }
 .hy-header { justify-content:center; }
 .hy-header > .wp-block-navigation { display:none; }
 .hy-mobile-navigation {
  position:fixed; inset:auto 0 0; z-index:1000;
  display:flex; align-items:stretch; width:100%; max-width:none;
  margin:0!important; padding:8px env(safe-area-inset-right,0px) calc(8px + env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px);
  background:#fff; border-top:1px solid var(--hy-rose); box-shadow:0 -3px 16px rgb(36 36 36 / 4%);
  color:var(--hy-ink); font-family:var(--wp--preset--font-family--sans-serif, sans-serif);
 }
 .hy-mobile-navigation > .hy-mobile-links { flex:0 0 80%; min-width:0; margin:0; }
 .hy-mobile-links .wp-block-navigation__container { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; gap:0; }
 .hy-mobile-links .wp-block-navigation-item { min-width:0; width:100%; }
 .hy-mobile-links .wp-block-navigation-item__content,.hy-mobile-more > summary {
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; width:100%; height:64px; padding:0 2px 9px; margin:0; border:0;
  color:var(--hy-ink); background:transparent; font:400 12px/1.3 var(--wp--preset--font-family--sans-serif,sans-serif);
  text-align:center; text-decoration:none; cursor:pointer; white-space:nowrap;
 }
 .hy-mobile-links a::before,.hy-mobile-more > summary::before {
  content:""; display:block; flex:none; width:24px; height:24px; background:currentColor;
  -webkit-mask:var(--hy-icon) center / contain no-repeat; mask:var(--hy-icon) center / contain no-repeat;
 }
 .hy-mobile-home { --hy-icon:url('assets/icons/home.svg'); }
 .hy-mobile-about { --hy-icon:url('assets/icons/about.svg'); }
 .hy-mobile-company { --hy-icon:url('assets/icons/company.svg'); }
 .hy-mobile-news { --hy-icon:url('assets/icons/news.svg'); }
 .hy-mobile-more { --hy-icon:url('assets/icons/menu.svg'); flex:0 0 20%; min-width:0; margin:0!important; padding:0; border:0; }
 .hy-mobile-more[open] { --hy-icon:url('assets/icons/close.svg'); }
 .hy-mobile-more > summary { list-style:none; }
 .hy-mobile-more > summary::-webkit-details-marker { display:none; }
 .hy-mobile-more > summary::marker { content:""; }
 .hy-mobile-navigation .hy-is-current { color:var(--hy-wine); }
 .hy-mobile-links a.hy-is-current::after,.hy-mobile-more > summary.hy-is-current::after {
  content:""; position:absolute; bottom:1px; left:calc(50% - 2.5px); width:5px; height:5px; background:var(--hy-rose); border-radius:50%;
 }
 .hy-mobile-panel {
  position:absolute; bottom:100%; left:0; right:0; margin:0!important; padding:16px 24px 24px;
  max-height:65vh; max-height:65dvh; overflow:auto; overscroll-behavior:contain;
  background:#fff; color:var(--hy-ink); border-top:1px solid var(--hy-line); box-shadow:0 -6px 24px rgb(36 36 36 / 8%);
 }
 .hy-mobile-panel .wp-block-navigation__container { display:flex; flex-direction:column; align-items:stretch; width:100%; gap:0; }
 .hy-mobile-panel .wp-block-navigation-item { width:100%; }
 .hy-mobile-panel .wp-block-navigation-item a { display:flex; width:100%; min-height:48px; align-items:center; padding:12px 4px; border-bottom:1px solid var(--hy-line); font-size:16px; color:var(--hy-ink); }
 .hy-mobile-panel a.hy-is-current { color:var(--hy-wine); font-weight:600; }
 .hy-mobile-navigation a:focus-visible,.hy-mobile-more > summary:focus-visible { outline:2px solid var(--hy-wine); outline-offset:-3px; }
}
/* Editor previews stay in document flow. */
.editor-styles-wrapper .hy-mobile-navigation { display:flex; position:relative; inset:auto; z-index:auto; max-width:390px; }

/* Keep the header in normal flow, then pin it while content scrolls behind it. */
.wp-site-blocks > header.wp-block-template-part {
 position:sticky; top:0; z-index:1100;
}
.wp-site-blocks > header.wp-block-template-part .hy-header-frame {
 background:rgba(250,250,248,.94);
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part {
 top:var(--wp-admin--admin-bar--height,32px);
}
@media (max-width:600px) {
 body.admin-bar #wpadminbar { position:fixed; }
}
html { scroll-padding-top:160px; }
@media (max-width:1023px) { html { scroll-padding-top:112px; } }
@media (max-width:767px) { html { scroll-padding-top:96px; } }
/* The editor canvas should not pin template previews over its controls. */
.editor-styles-wrapper .wp-site-blocks > header.wp-block-template-part { position:relative; top:auto; z-index:auto; }

/* Supplied SVG logo; header and footer share the same brand asset. */
.hy-header .hy-brand-logo, .hy-footer .hy-brand-logo { margin:0 auto; line-height:0; }
.hy-brand-logo a { display:inline-block; }
.hy-brand-logo img { display:block; max-width:100%; height:auto; }
.hy-header .hy-brand-logo img { width:280px; }
.hy-footer .hy-brand-logo img { width:260px; }
.hy-header { padding-block:16px 14px; }
@media (min-width:768px) and (max-width:1023px) {
 .hy-header .hy-brand-logo { margin:0; }
 .hy-header .hy-brand-logo img { width:240px; }
}
@media (max-width:767px) {
 .hy-header { padding-block:10px; }
 .hy-header .hy-brand-logo img { width:200px; }
 .hy-footer .hy-brand-logo img { width:220px; }
}
/* Brand signature follows the message in both source and visual order. */
.hy-hero-copy .hy-hero-title {
 margin:32px 0 0; text-align:right; color:var(--hy-wine);
 font:400 clamp(20px,1.8vw,26px)/1.45 Georgia,"Times New Roman",serif;
 letter-spacing:.065em;
}
.hy-hero-title .hy-hero-name-ja {
 display:inline-block; margin-top:8px;
 font:400 13px/1.6 var(--hy-serif); letter-spacing:.14em;
}
@media (max-width:1023px) {
 .hy-hero-copy .hy-hero-title { font-size:20px; margin-top:28px; }
}
@media (max-width:767px) {
 .hy-hero-copy .hy-hero-title { font-size:22px; }
}
/* Contact Form 7: spacious, single-column fields. */

.hy-contact-page .hy-contact-form { margin-top:36px; }
.hy-contact-form .hy-form-note { color:#605a58; font-size:14px; line-height:1.9; }
.hy-contact-form .hy-form-field { margin:0 0 28px; }
.hy-contact-form .hy-form-field > label { display:block; margin-bottom:10px; font-size:16px; }
.hy-contact-form .hy-required,.hy-contact-form .hy-optional { margin-left:10px; font-size:12px; }
.hy-contact-form .hy-required { color:var(--hy-wine); }
.hy-contact-form .hy-optional { color:#605a58; }
.hy-contact-form .wpcf7-form-control-wrap { display:block; }
.hy-contact-form input:not([type=checkbox]):not([type=submit]),.hy-contact-form select,.hy-contact-form textarea {
 display:block; width:100%; max-width:100%; min-height:48px; padding:12px 14px;
 border:1px solid #b6aeaa; border-radius:0; background:#fff; color:var(--hy-ink); font:inherit; font-size:16px; line-height:1.6;
}
.hy-contact-form textarea { min-height:200px; resize:vertical; }
.hy-contact-form input:focus-visible,.hy-contact-form select:focus-visible,.hy-contact-form textarea:focus-visible { outline:2px solid var(--hy-wine); outline-offset:3px; }
.hy-contact-form [aria-invalid=true] { border-color:#a12732!important; }
.hy-contact-form .wpcf7-not-valid-tip { margin-top:8px; font-size:14px; color:#a12732; }
.hy-contact-form .hy-form-consent { margin-block:20px 28px; }
.hy-contact-form .wpcf7-list-item { margin:0; }
.hy-contact-form .wpcf7-acceptance label { display:flex; align-items:flex-start; gap:12px; padding-block:12px; line-height:1.8; cursor:pointer; }
.hy-contact-form input[type=checkbox] { flex:none; width:20px; height:20px; margin:4px 0 0; accent-color:var(--hy-wine); }
.hy-contact-form .hy-form-submit { text-align:center; margin-block:28px 0; }
.hy-contact-form input[type=submit] { width:100%; max-width:360px; min-height:56px; padding:14px 24px; border:1px solid var(--hy-wine); border-radius:0; background:var(--hy-wine); color:#fff; font:inherit; cursor:pointer; }
.hy-contact-form input[type=submit]:hover { background:#5d303d; }
.hy-contact-form input[type=submit]:disabled { opacity:.55; cursor:wait; }
.hy-contact-form .wpcf7-spinner { display:block; margin:12px auto 0; }
.hy-contact-page .wpcf7-response-output { margin:24px 0 0; padding:16px; font-size:16px; }
@media(max-width:767px) { .hy-contact-form .hy-form-field { margin-bottom:24px; } }

/* Opt-in section style: shared by the site and the block editor. */
.wp-block-group.is-style-hy-top-rule {
 position:relative;
 border-top:1px solid var(--hy-line);
}
/* Decoration owns its inner breathing room; the parent Group owns section gaps.
   Low specificity lets editor padding settings take precedence. */
:where(.wp-block-group.is-style-hy-top-rule) { padding-block-start:var(--wp--preset--spacing--hy-48,3rem); }
.wp-block-group.is-style-hy-top-rule::before {
 content:""; display:block; position:absolute; top:-1px; left:0;
 width:40px; height:1px; background:var(--hy-rose); pointer-events:none;
}
.wp-block-group.is-style-hy-top-rule > .wp-block-heading {
 margin:0; font:400 clamp(24px,2.2vw,32px)/1.65 var(--hy-serif); text-wrap:balance;
}
.wp-block-group.is-style-hy-top-rule > .wp-block-heading + * { margin-block-start:24px; }
.wp-block-group.is-style-hy-top-rule > p:not(.is-style-hy-section-kicker) { line-height:2; }
p.is-style-hy-page-subtitle {
 margin-block:0 24px;
 color:var(--hy-ink);
 font:400 clamp(24px,2.2vw,32px)/1.65 var(--hy-serif);
 letter-spacing:normal;
 text-wrap:balance;
}
p.is-style-hy-section-kicker {
 color:var(--hy-wine); font:400 11px/1.6 var(--wp--preset--font-family--sans-serif,sans-serif);
 letter-spacing:.18em;
}
.wp-block-group.is-style-hy-top-rule > p.is-style-hy-section-kicker { margin:0 0 8px; }
.wp-block-group.is-style-hy-top-rule > p.is-style-hy-section-kicker + .wp-block-heading { margin-block-start:0; }

/* Company: editable core blocks, with distinct office and shop contacts. */
.wp-block-table.is-style-hy-profile table { width:100%; table-layout:auto; border-collapse:collapse; border:0; }
.wp-block-table.is-style-hy-profile td { padding:22px 0; border:0; border-bottom:1px solid var(--hy-line); vertical-align:top; background:transparent; line-height:1.9; }
.wp-block-table.is-style-hy-profile td:first-child { width:160px; padding-right:28px; color:var(--hy-wine); }
.hy-contact-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-block:32px; }
.hy-contact-cards > .hy-contact-card { min-width:0; margin:0; padding:28px; border:1px solid var(--hy-line); background:#fff; }
.hy-contact-card > :first-child { margin-top:0; }
.hy-contact-card > :last-child { margin-bottom:0; }
.hy-contact-card .wp-block-heading { font:400 21px/1.7 var(--hy-serif); margin-block:10px 20px; }
.hy-contact-card p { font-size:14px; line-height:1.9; }
.hy-contact-card .hy-contact-number { margin-block:22px; font:400 24px/1.5 Georgia,serif; }
.hy-contact-number a { color:var(--hy-wine); }
.hy-access-map { width:100%; margin-block:28px 16px; }
.hy-access-map iframe { display:block; width:100%; height:420px; border:0; }
.hy-access-note { margin-top:32px; color:#605a58; font-size:14px; line-height:1.9; }
@media(min-width:768px) and (max-width:1023px) {
 .hy-contact-cards { gap:20px; }
 .hy-contact-cards > .hy-contact-card { padding:24px; }
 .hy-access-map iframe { height:380px; }
}
@media(max-width:767px) {
 .wp-block-table.is-style-hy-profile td { padding-block:18px; font-size:14px; }
 .wp-block-table.is-style-hy-profile td:first-child { width:100px; padding-right:16px; }
 .hy-contact-cards { grid-template-columns:1fr; gap:20px; }
 .hy-contact-cards > .hy-contact-card { padding:24px; }
 .hy-access-map iframe { height:320px; }
}

/* Opt-in career table: editorial years, fine horizontal rules, no outer grid. */
.wp-block-table.is-style-hy-career { margin-block:32px; }
.wp-block-table.is-style-hy-career table {
 width:100%; border-collapse:collapse; border:0; table-layout:auto; background:transparent;
}
.wp-block-table.is-style-hy-career thead { border:0; border-bottom:1px solid var(--hy-rose); }
.wp-block-table.is-style-hy-career th,
.wp-block-table.is-style-hy-career td { border:0; background:transparent; text-align:left; vertical-align:top; }
.wp-block-table.is-style-hy-career th {
 padding:0 0 14px; color:#605a58; font-size:13px; font-weight:400; line-height:1.6;
}
/* Keep the accent above the first entry even without a header section. */
.wp-block-table.is-style-hy-career tbody { border-top:1px solid var(--hy-rose); }
.wp-block-table.is-style-hy-career tbody tr { border-bottom:1px solid var(--hy-line); }
.wp-block-table.is-style-hy-career td { padding:24px 0; font-size:16px; line-height:1.9; }
.wp-block-table.is-style-hy-career th:first-child,
.wp-block-table.is-style-hy-career td:first-child { width:88px; padding-right:24px; white-space:nowrap; }
.wp-block-table.is-style-hy-career td:first-child {
 color:var(--hy-wine); font:400 22px/1.4 Georgia,"Times New Roman",serif;
 font-variant-numeric:lining-nums tabular-nums;
}
@media(max-width:767px) {
 .wp-block-table.is-style-hy-career td { padding-block:20px; }
 .wp-block-table.is-style-hy-career th:first-child,
 .wp-block-table.is-style-hy-career td:first-child { width:66px; padding-right:18px; }
 .wp-block-table.is-style-hy-career td:first-child { font-size:19px; line-height:1.6; }
}

/* News categories stay as native taxonomy links, styled as text-labelled badges. */
.hy-category-badges { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; font:400 12px/1.5 var(--wp--preset--font-family--sans-serif,sans-serif); }
.hy-category-badges .wp-block-post-terms__separator { display:none; }
.hy-category-badges a { display:inline-block; padding:5px 12px; border:1px solid #c9b3ba; color:var(--hy-wine); background:transparent; text-decoration:none; white-space:nowrap; }
.hy-category-badges a[href*="/pressroom/"] { border-color:#e2c5ce; background:#f4e9ed; }
.hy-category-badges a:hover { border-color:var(--hy-wine); text-decoration:underline; }
.hy-news-row:has(> .hy-category-badges) { grid-template-columns:110px 136px minmax(0,1fr); gap:20px; }
.hy-news-row > * { min-width:0; margin-block:0; }
.hy-news-row .wp-block-post-date { white-space:nowrap; }
.hy-news-page > .wp-block-heading,
.hy-news-page > .wp-block-query-title { margin-block:0 40px; font:400 clamp(30px,3vw,40px)/1.5 var(--hy-serif); }
.hy-news-list .wp-block-post-template { margin:0; padding:0; list-style:none; }
.hy-news-list .wp-block-post-template > li { margin:0; }
.hy-news-list .hy-news-row { padding-block:28px; }
.hy-news-list .wp-block-post-template > li:first-child .hy-news-row { border-top:1px solid var(--hy-line); }
.hy-news-list .wp-block-post-title { font-size:18px; }
.hy-news-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; margin-block:36px; }
.hy-news-pagination .page-numbers { display:inline-block; min-width:44px; padding:8px 12px; text-align:center; }
.hy-news-pagination .page-numbers.current { border-bottom:1px solid var(--hy-rose); color:var(--hy-wine); }
.hy-news-pagination .wp-block-query-pagination-previous,
.hy-news-pagination .wp-block-query-pagination-next { padding:10px 12px; }

.hy-article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-bottom:20px; }
.hy-article-meta > * { margin:0; }
.hy-article-meta .wp-block-post-date { color:#605a58; font-size:14px; }
.hy-article > .wp-block-post-title { margin-block:0 40px; font:400 clamp(26px,3vw,38px)/1.65 var(--hy-serif); overflow-wrap:anywhere; }
.hy-article .wp-block-post-content img { max-width:100%; height:auto; }
.hy-article .wp-block-post-content iframe { max-width:100%; }
.hy-post-tags { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 12px; margin-block:40px 0; font-size:13px; line-height:1.8; }
.hy-post-tags a { overflow-wrap:anywhere; }
.hy-post-tags .wp-block-post-terms__separator { display:none; }
.hy-news-back { margin-top:40px; padding-top:24px; border-top:1px solid var(--hy-line); }
@media (min-width:768px) and (max-width:1023px) {
 .hy-news-row:has(> .hy-category-badges) { grid-template-columns:96px 124px minmax(0,1fr); gap:16px; }
}
@media (max-width:767px) {
 .hy-news-row:has(> .hy-category-badges) { grid-template-columns:100px minmax(0,1fr); gap:12px 14px; }
 .hy-news-row:has(> .hy-category-badges) > .wp-block-post-title { grid-column:1 / -1; }
 .hy-news-list .hy-news-row { padding-block:24px; }
 .hy-news-list .wp-block-post-title { font-size:17px; }
 .hy-article > .wp-block-post-title { margin-bottom:32px; }
}
