/*
Theme Name: APEMC 2028 Hangzhou
Description: Editable conference website migrated from the APEMC 2028 local design.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: apemc2028
License: GPL-2.0-or-later
*/
.apemc-page-content > :first-child { margin-top: 0; }
.apemc-page-content > :last-child { margin-bottom: 0; }
.apemc-page-content p { line-height: 1.75; }
.apemc-page-content h2 { scroll-margin-top: 24px; }
.apemc-page-content h2:not(:first-child) { margin-top: 32px; }
.home-content > .introduction, .home-content > .home-dates { min-width: 0; }
.menu-item > a { color: inherit; }
.apemc-page-content .wp-block-image img { height: auto; }
.apemc-page-content .information-notice > p { margin: 6px 0 0; }
.apemc-page-content .topics-list strong { display: inline; }
.apemc-page-content .topics-list li { line-height: 1.75; }
.apemc-page-content .destination-photo img { height: auto; max-height: 350px; object-fit: cover; }
.nav-item-row > a { padding-right: 14px; }
.apemc-js .nav-item-row:has(button) > a { padding-right: 5px; }
.navigation-list > li:hover > .dropdown, .navigation-list > li:focus-within > .dropdown { display: block; }
.apemc-js .navigation-list > li:not(.is-expanded) > .dropdown { display: none; }
html:not(.apemc-js) .submenu-toggle, html:not(.apemc-js) .mobile-toggle { display: none; }
html:not(.apemc-js) .dropdown { display: block; position: static; }
.edit-page-link { display: inline-block; margin-top: 24px; font-size: 13px; }
.masthead.without-logo { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "heading location"; }
.home-dates .dates-table tr { height: auto; }
.apemc-post-list { padding-block: 40px; }
@media (max-width: 960px) {
  .masthead.without-logo { grid-template-columns: 1fr; grid-template-areas: "heading" "location"; }
  html:not(.apemc-js) .navigation-list { display: block; }
  html:not(.apemc-js) .dropdown { margin-left: 20px; }
}

