/* Sharing and footer only; no changes to the approved Home composition. */
.he-share { padding-block: 1.25rem; margin-block: 1.75rem; }
.he-share .he-share-title { font: 700 .8125rem/1.5 var(--wp--preset--font-family--system); margin-block: 0 .75rem; }
.he-share .he-share-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.he-share .he-share-action { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: .625rem .875rem; color: var(--wp--preset--color--foreground); background: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--button); font: 600 .8125rem/1.4 var(--wp--preset--font-family--system); text-decoration: none; cursor: pointer; }
.he-share .he-share-action svg { width: 22px; height: 22px; flex-shrink: 0; }
.he-share .he-share-action:hover { color: var(--wp--preset--color--accent); border-color: currentColor; background: var(--wp--preset--color--surface); }
.he-share--icons .he-share-action { width: 44px; padding: 0; border-radius: 50%; }
.he-share--icons .he-share-label { display: none; }
.he-share--compact .he-share-action { padding-inline: .65rem; font-size: .75rem; }
.he-share--compact .he-share-action svg { width: 18px; height: 18px; }
.he-share :where(button,[hidden])[hidden] { display: none; }
.he-share .he-share-manual { margin-top: .75rem; font-size: .875rem; }
.he-share-manual summary { cursor: pointer; padding-block: .65rem; min-height: 44px; box-sizing: border-box; }
.he-share-manual label { display: block; margin-block: .5rem; }
.he-share-manual input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: .6rem; color: var(--wp--preset--color--foreground); background: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--muted); border-radius: var(--wp--custom--radius--button); font: inherit; }
.he-share .he-share-status { margin-block: .75rem 0; font-size: .8125rem; }
.he-share .he-share-status:empty { display: none; }
.he-reading > .he-share { max-width: var(--he-measure); margin-inline: auto; }
.he-reading-taxonomy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.he-reading-taxonomy .wp-block-post-terms__separator { display: none; }
.he-reading-taxonomy .wp-block-post-terms__prefix { font-size: .8125rem; font-weight: 600; }
.he-reading-taxonomy a { display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .7rem; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--button); text-decoration: none; font-size: .8125rem; }
.he-reading-taxonomy.he-taxonomy--text a { padding-inline: 0; margin-inline-end: .5rem; background: none; border: 0; text-decoration: underline; }
.he-reading-navigation { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: 1rem; margin-block: 1.75rem; padding-block: 1.25rem; }
.he-reading-navigation > * { margin: 0; min-width: 0; }
.he-reading-navigation a { display: block; padding: 1rem; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); text-decoration: none; line-height: 1.5; font-family: var(--wp--custom--headline,var(--wp--preset--font-family--editorial)); }
.he-reading-navigation .post-navigation-link__label { display: block; margin-bottom: .4rem; color: var(--wp--preset--color--muted); font: 600 .75rem/1.5 var(--wp--preset--font-family--system); }
.he-reading-related { margin-block: 2rem; }
.he-reading-related .he-feed { gap: 1.25rem; }
.he-reading-related .he-card .wp-block-post-title { font-size: 1.1875rem; line-height: 1.3; }
.he-reading-related .he-card .wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit: cover; }
.he-reading-related .he-card .wp-block-post-excerpt { font-size: .8125rem; }
.he-reading-follow { padding: 1.25rem; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); margin-block: 1.75rem; }
.he-reading-follow h2 { font-size: 1.25rem; margin-block: 0 1rem; }
.he-brand-socials { gap: .75rem; }
.he-brand-socials .wp-social-link a { min-width: 44px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.he-brand-socials svg { width: 24px; height: 24px; }
.he-reading-sidebar .he-inner-sidebar-content > * { margin-block: 0 1.75rem; }
.he-reading-sidebar .he-inner-sidebar-content .he-card .wp-block-post-featured-image { display: block; }
.he-reading-sidebar .he-card:has(.wp-block-post-featured-image) { display: grid; grid-template-columns: 4.5rem minmax(0,1fr); gap: .875rem; }
.he-reading-sidebar .he-card .wp-block-post-featured-image img { aspect-ratio: 1; object-fit: cover; }
.he-reading-sidebar .he-card .wp-block-post-title { font-size: 1.0625rem; line-height: 1.35; }
.he-reading-sidebar .he-card .wp-block-post-terms { font-size: .625rem; }
.he-reading-sidebar .he-card .wp-block-post-date { font-size: .6875rem; }
.he-modern-footer { --he-social-size: 1.5rem; background: var(--wp--preset--color--foreground); color: var(--wp--preset--color--background); padding-block: 2rem 1rem; margin-top: 2rem; }
.he-modern-footer.he-footer-tone--light { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--foreground); }
.he-modern-footer.he-footer-tone--accent { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.he-modern-footer.he-footer-tone--light :where(a,button):focus-visible { outline-color: var(--wp--preset--color--accent); }
.he-modern-footer.he-footer-tone--accent :where(a,button):focus-visible { outline-color: var(--wp--preset--color--on-accent); }
.he-modern-footer :where(p,li,a,h2,.wp-block-site-tagline,.wp-block-site-title), .he-modern-footer .wp-block-site-title a { color: inherit; }
.he-modern-footer .wp-block-site-title { font-size: 1.75rem; }
.he-modern-footer .he-modern-footer-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.8fr); gap: 1.5rem 2rem; align-items: start; }
.he-modern-footer .he-modern-footer-grid > .he-footer-region--about { grid-column: 1 / -1; }
.he-modern-footer.he-footer-layout--four .he-modern-footer-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.he-modern-footer.he-footer-layout--two .he-modern-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.he-modern-footer.he-footer-layout--compact .he-modern-footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 1rem 2rem; }
.he-modern-footer:is(.he-footer-layout--two,.he-footer-layout--four,.he-footer-layout--compact) .he-modern-footer-grid > * { grid-column: auto; }
.he-modern-footer.he-footer-layout--compact .he-modern-footer-grid > :is(.he-footer-region--menu,.he-footer-region--about) { grid-column: 1 / -1; }
.he-modern-footer.he-footer-layout--compact .wp-block-categories-list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.he-modern-footer.he-footer-space--comfortable { padding-block: 3rem 1.5rem; }
.he-modern-footer .he-footer-identity > * { margin-block: 0 .75rem; }
.he-modern-footer :where(h2) { font-size: .75rem; margin-block: 0 .75rem; }
.he-modern-footer :where(p,.wp-block-site-tagline) { font-size: .8125rem; line-height: 1.7; }
.he-modern-footer :where(li) { margin: 0; }
.he-modern-footer :where(.wp-block-categories-list) { display: grid; gap: 0; }
.he-modern-footer :where(.wp-block-categories-list a) { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
.he-modern-footer .he-footer-nav .wp-block-navigation__container, .he-modern-footer .he-footer-nav .wp-block-page-list { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .125rem 1rem; align-items: start; }
.he-modern-footer .he-footer-nav .wp-block-navigation-item { width: 100%; min-width: 0; }
.he-modern-footer .he-footer-nav .wp-block-navigation-item__content { min-height: 44px; padding-block: .35rem; line-height: 1.5; font-size: .8125rem; }
.he-modern-footer .he-footer-nav .wp-block-navigation__submenu-container { background: inherit; color: inherit; }
.he-modern-footer.he-footer-layout--compact .he-footer-nav .wp-block-navigation__container, .he-modern-footer.he-footer-layout--compact .he-footer-nav .wp-block-page-list { grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
.he-modern-footer .he-footer-bottom { border-color: currentColor; margin-top: 1.5rem; padding-top: 1rem; gap: .75rem; }
.he-modern-footer .he-footer-bottom .wp-block-site-title { font-size: 1rem; }
.he-modern-footer .he-footer-bottom :where(p) { margin: 0; }
.he-modern-footer .he-footer-socials { display: flex; flex-wrap: wrap; gap: .75rem; font-size: var(--he-social-size); }
.he-modern-footer .he-footer-socials .wp-social-link { font-size: inherit; }
.he-modern-footer .he-footer-socials .wp-social-link a { display: flex; align-items: center; justify-content: center; font-size: inherit; color: inherit; min-width: 44px; min-height: 44px; padding: .5rem; box-sizing: border-box; }
.he-modern-footer .he-footer-socials svg { width: var(--he-social-size); height: var(--he-social-size); }
.he-modern-footer .he-footer-socials:not(.has-icon-color).is-style-logos-only .wp-social-link { color: inherit; }
.he-footer-socials.he-social-size--small { --he-social-size: 1.375rem; }
.he-footer-socials.he-social-size--large { --he-social-size: 1.625rem; }
.he-footer-socials.has-small-icon-size:not(.he-social-size--small):not(.he-social-size--medium):not(.he-social-size--large) { --he-social-size: 1rem; }
.he-footer-socials.has-normal-icon-size:not(.he-social-size--small):not(.he-social-size--medium):not(.he-social-size--large) { --he-social-size: 1.5rem; }
.he-footer-socials.has-large-icon-size:not(.he-social-size--small):not(.he-social-size--medium):not(.he-social-size--large) { --he-social-size: 2.25rem; }
.he-footer-socials.has-huge-icon-size:not(.he-social-size--small):not(.he-social-size--medium):not(.he-social-size--large) { --he-social-size: 3rem; }
.he-footer-socials.he-social-gap--tight { gap: .375rem; }
.he-footer-socials.he-social-gap--wide { gap: 1rem; }
.he-modern-footer .he-footer-socials.he-social-shape--square .wp-social-link { border-radius: var(--wp--custom--radius--button); }
.he-modern-footer .he-footer-socials.he-social-shape--round .wp-social-link { border-radius: 50%; }
.he-modern-footer .he-footer-socials.he-social-shape--pill .wp-social-link { border-radius: 2rem; }
@media(max-width:1023px) {
 .he-modern-footer .he-modern-footer-grid, .he-modern-footer.he-footer-layout--four .he-modern-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .he-modern-footer .he-modern-footer-grid > .he-footer-region--identity, .he-modern-footer .he-modern-footer-grid > .he-footer-region--about { grid-column: auto; }
}
@media(max-width:600px) {
 .he-modern-footer .he-modern-footer-grid, .he-modern-footer:is(.he-footer-layout--four,.he-footer-layout--three,.he-footer-layout--two,.he-footer-layout--compact) .he-modern-footer-grid { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
 .he-modern-footer .he-modern-footer-grid > * { grid-column: auto; }
 .he-reading-taxonomy a { min-height: 44px; }
 .he-share .he-share-action { flex-shrink: 0; }
 .he-reading-navigation { grid-template-columns: minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .he-share * { transition: none; animation: none; } }
