/* Miami Style Guide 1.0.6: one local stylesheet, no framework or webfont dependency. */
:root {
  --msg-accent: #d54272;
  --msg-accent-text: #9f2450;
  --msg-gold: #b8873f;
  --msg-ink: #10163a;
  --msg-soft-ink: #353535;
  --msg-muted: #6a6a6a;
  --msg-line: #e8e5e2;
  --msg-wash: #f7f5f2;
  --msg-white: #fff;
  --msg-max: 1440px;
  --msg-narrow: 800px;
  --msg-radius: 3px;
  --msg-shadow: 0 14px 50px rgb(16 16 16 / 8%);
  --msg-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --msg-serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--msg-white);
  color: var(--msg-ink);
  font-family: var(--msg-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--msg-accent); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--msg-accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--msg-accent) 26%, white); }

.container { width: min(calc(100% - 48px), var(--msg-max)); margin-inline: auto; }
.narrow-container { width: min(calc(100% - 40px), var(--msg-narrow)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: #fff; color: #000; }
.skip-link { font-weight: 800; }

/* Header */
.topbar { border-bottom: 1px solid var(--msg-gold); color: var(--msg-muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-tagline { margin: 0; }
.secondary-menu, .primary-menu, .footer-menu { margin: 0; padding: 0; list-style: none; }
.secondary-menu { display: flex; gap: 20px; }
.secondary-menu a { text-decoration: none; }
.branding { position: relative; min-height: 176px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.site-branding { flex: 1; width: 100%; padding-inline: 64px; text-align: center; }
.custom-logo-link { display: inline-flex; align-items: center; justify-content: center; }
.custom-logo { width: min(520px, 52vw); max-height: 150px; object-fit: contain; }
.site-title { margin: 0; font: 800 clamp(2rem, 6vw, 4.5rem)/.9 var(--msg-sans); letter-spacing: .16em; text-transform: uppercase; }
.site-title a { text-decoration: none; }
.header-actions { position: absolute; right: 0; display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-toggle { border: 0; background: transparent; color: var(--msg-ink); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }
.header-search { border-top: 1px solid var(--msg-line); padding: 18px 0; background: var(--msg-wash); }
.header-search[hidden] { display: none; }
.search-form { display: flex; width: 100%; max-width: 720px; margin-inline: auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; border: 1px solid #ccc; border-right: 0; border-radius: var(--msg-radius) 0 0 var(--msg-radius); padding: 10px 14px; background: #fff; }
.search-submit, .button { min-height: 48px; border: 1px solid var(--msg-ink); background: var(--msg-ink); color: #fff; padding: 10px 22px; border-radius: 0 var(--msg-radius) var(--msg-radius) 0; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.search-submit:hover, .button:hover { background: var(--msg-accent); border-color: var(--msg-accent); color: #fff; }
.main-navigation { border-block: 1px solid var(--msg-gold); background: #fff; }
.primary-menu { display: flex; align-items: stretch; justify-content: center; }
.primary-menu > li { position: relative; }
.primary-menu a { display: flex; min-height: 48px; align-items: center; padding: 0 18px; text-decoration: none; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.primary-menu > li:hover > a, .primary-menu > .current-menu-item > a { color: var(--msg-accent); }
.primary-menu .sub-menu { position: absolute; z-index: 50; top: 100%; left: 0; width: 230px; margin: 0; padding: 10px 0; list-style: none; visibility: hidden; opacity: 0; transform: translateY(8px); background: #fff; box-shadow: var(--msg-shadow); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-menu .sub-menu a { min-height: 40px; padding-inline: 18px; font-size: .7rem; }
.mobile-menu-widgets { display: none; }
.has-sticky-header .main-navigation { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 90; }
.breadcrumbs { padding-block: 14px; color: var(--msg-muted); font-size: .74rem; }

/* Homepage */
.home-main { padding-bottom: 80px; }
.home-page-content { padding-top: 42px; }
.home-fallback { padding-block: 48px 0; }
.home-fallback .archive-header h2 { margin: 0; font: 700 2.75rem/1.1 var(--msg-serif); letter-spacing: -.025em; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }

/* Cards and archives */
.site-main.container { padding-block: 52px 80px; }
.archive-header { margin-bottom: 42px; }
.archive-header h1, .page-header h1 { margin: 0; font: 700 clamp(2rem, 4vw, 2.75rem)/1.1 var(--msg-serif); letter-spacing: -.025em; }
.archive-description { max-width: 760px; color: var(--msg-muted); font-size: .875rem; line-height: 1.8; }
.content-sidebar-layout, .single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 76px); align-items: start; }
.content-area { min-width: 0; }
body:not(.has-sidebar) .content-sidebar-layout { grid-template-columns: 1fr; }
.story-card { min-width: 0; }
.post-thumbnail { display: block; overflow: hidden; background: var(--msg-wash); aspect-ratio: 8 / 5; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease, transform .45s ease; }
.story-card:hover .post-thumbnail img { transform: scale(1.018); }
.story-card-content { padding-top: 16px; }
.entry-category { display: inline-block; color: var(--msg-accent-text); font-size: .625rem; font-weight: 850; letter-spacing: .1em; line-height: 1; text-decoration: none; text-transform: uppercase; }
.entry-title { margin: 7px 0 8px; font: 700 1.5rem/1.1667 var(--msg-serif); letter-spacing: -.02em; }
.entry-title a { text-decoration: none; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--msg-muted); font-size: .72rem; letter-spacing: .03em; }
.entry-summary { margin-top: 12px; color: var(--msg-soft-ink); font-size: .875rem; line-height: 1.5715; }
.entry-summary p { margin: 0; }
.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--msg-line); padding: 6px 11px; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--msg-ink); border-color: var(--msg-ink); color: #fff; }
.msg-layout-list .posts-grid { grid-template-columns: 1fr; }
.msg-layout-list .story-card { display: grid; grid-template-columns: minmax(220px, 40%) 1fr; gap: 26px; border-bottom: 1px solid var(--msg-line); padding-bottom: 28px; }
.msg-layout-list .story-card-content { padding-top: 4px; }

/* Single content */
.single-main { padding-bottom: 80px; }
.single-header { width: min(calc(100% - 40px), 1080px); padding-block: clamp(28px, 3.2vw, 46px) 34px; text-align: center; }
.single-header h1 { max-width: 1040px; margin: 10px auto 16px; font: 700 clamp(2.25rem, 4vw, 2.75rem)/1.1 var(--msg-serif); letter-spacing: -.025em; text-wrap: pretty; }
.dek { max-width: 700px; margin: 0 auto 22px; color: var(--msg-soft-ink); font: 400 clamp(1.05rem, 2vw, 1.35rem)/1.5 var(--msg-serif); }
.single-header .entry-meta { justify-content: center; }
.single-header .entry-category { font-size: .75rem; }
.single-header .entry-meta a { font-weight: 700; text-decoration: none; }
.single-feature { width: min(calc(100% - 40px), 1440px); }
.single-feature img { width: 100%; max-height: 820px; object-fit: cover; }
.single-feature figcaption, .wp-caption-text { padding-top: 8px; color: var(--msg-muted); font-size: .76rem; }
.single-layout { padding-top: 54px; }
.article-body { min-width: 0; }
.entry-content { font-family: var(--msg-sans); font-size: .875rem; line-height: 1.8; }
.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1080px; }
.entry-content > .alignfull { max-width: none; width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--msg-ink); font-family: var(--msg-serif); line-height: 1.12; letter-spacing: -.025em; }
.entry-content h2 { margin-top: 2.1em; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.entry-content h3 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.entry-content a { color: #9f2450; }
.entry-content blockquote { border-left: 4px solid var(--msg-accent); padding: .1em 0 .1em 1.5em; color: var(--msg-soft-ink); font-size: 1.25em; font-style: italic; }
.entry-content pre { overflow-x: auto; padding: 20px; background: #161616; color: #fff; font: .84rem/1.6 ui-monospace, monospace; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-family: var(--msg-sans); font-size: .9rem; }
.entry-content th, .entry-content td { border: 1px solid var(--msg-line); padding: 10px 12px; text-align: left; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--msg-line); font-size: .78rem; }
.post-tags a { border: 1px solid var(--msg-line); padding: 5px 10px; text-decoration: none; }
.author-box { display: grid; grid-template-columns: 80px 1fr; gap: 20px; margin-top: 38px; padding: 26px; background: var(--msg-wash); }
.author-box img { border-radius: 50%; }
.author-box h2, .author-box p { margin: 0; }
.post-navigation { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--msg-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; }
.post-navigation a { display: block; font-family: var(--msg-serif); font-weight: 700; text-decoration: none; }
.post-navigation span { display: block; color: var(--msg-muted); font: 700 .65rem/1.5 var(--msg-sans); letter-spacing: .1em; text-transform: uppercase; }
.post-navigation .nav-next { text-align: right; }
.page-main, .page-article { max-width: 920px; }
.page-feature { margin-block: 34px; }

/* Sidebar, widgets, comments */
.sidebar { position: sticky; top: 80px; }
.widget { margin-bottom: 36px; font-size: .88rem; }
.widget-title { margin: 0 0 15px; padding-bottom: 9px; border-bottom: 2px solid var(--msg-ink); font: 700 1.15rem/1.2 var(--msg-serif); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--msg-line); }
.widget a { text-decoration: none; }
.comments-area { margin-top: 50px; padding-top: 36px; border-top: 1px solid var(--msg-line); }
.comments-title, .comment-reply-title { font: 700 1.7rem/1.2 var(--msg-serif); }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment { margin-block: 22px; }
.comment-body { padding: 20px; background: var(--msg-wash); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: .75rem; }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid #bbb; padding: 12px; }
.form-submit .submit { border: 0; background: var(--msg-ink); color: #fff; padding: 12px 20px; font-weight: 800; }

/* Footer */
.site-footer { border-top: 1px solid var(--msg-gold); background: var(--msg-ink); color: #eee; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-block: 54px; }
.footer-widgets .widget-title { border-color: #555; }
.footer-widgets .widget li { border-color: #333; }
.footer-bottom { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #333; }
.footer-brand > a { font-weight: 850; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.footer-brand p { margin: 4px 0 0; color: #aaa; font-size: .72rem; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 18px; font-size: .72rem; text-transform: uppercase; }
.footer-menu a { text-decoration: none; }
.social-links { display: flex; gap: 7px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #555; border-radius: 50%; text-decoration: none; font-size: .72rem; font-weight: 800; }
.back-to-top { position: fixed; z-index: 80; right: 20px; bottom: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--msg-ink); color: #fff; box-shadow: var(--msg-shadow); }
.back-to-top[hidden] { display: none; }

/* Utilities and integrations */
.not-found { min-height: 50vh; display: grid; align-content: center; justify-items: start; max-width: 720px; }
.not-found h1 { margin: 0; font: 700 clamp(2.5rem, 7vw, 5rem)/1 var(--msg-serif); }
.not-found .search-form { margin: 20px 0; }
.eyebrow { color: var(--msg-accent-text); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; border-radius: var(--msg-radius); text-decoration: none; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button { border-radius: var(--msg-radius); background: var(--msg-ink); color: #fff; }
.woocommerce span.onsale { background: var(--msg-accent); }
.msg-event-page .entry-content { font-family: var(--msg-sans); }

@media (max-width: 1020px) {
  .content-sidebar-layout, .single-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .container, .narrow-container { width: min(calc(100% - 28px), var(--msg-max)); }
  .topbar { display: none; }
  .branding { min-height: 104px; justify-content: space-between; }
  .site-branding { width: auto; padding-inline: 0; text-align: left; }
  .custom-logo { width: auto; max-width: min(250px, 62vw); max-height: 76px; }
  .header-actions { position: static; flex: 0 0 auto; }
  .site-title { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .menu-toggle { display: flex; }
  .main-navigation { position: fixed !important; z-index: 100; inset: 104px 0 0; display: none; overflow: auto; border: 0; background: #fff; }
  .menu-open .main-navigation { display: block; }
  .nav-inner { padding-block: 20px 50px; }
  .primary-menu { display: block; }
  .primary-menu a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--msg-line); font-size: .85rem; }
  .primary-menu .sub-menu { position: static; width: auto; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding: 0 0 0 18px; }
  .mobile-menu-widgets { display: block; margin-top: 30px; }
  .content-sidebar-layout, .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; padding-top: 40px; border-top: 1px solid var(--msg-line); }
  .single-feature { width: 100%; }
  .single-layout { padding-top: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-block: 34px; }
}

@media (max-width: 560px) {
  .header-actions { gap: 0; }
  .menu-toggle span:last-child { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
  .msg-layout-list .story-card { grid-template-columns: 120px 1fr; gap: 16px; }
  .msg-layout-list .entry-summary { display: none; }
  .entry-title { font-size: 1.25rem; line-height: 1.2; }
  .single-header { padding-block: 28px 26px; }
  .single-header h1 { margin-block: 8px 14px; font-size: clamp(2rem, 8vw, 2.5rem); line-height: 1.1; }
  .post-navigation .nav-links { grid-template-columns: 1fr; gap: 24px; }
  .post-navigation .nav-next { text-align: left; }
  .footer-widgets { grid-template-columns: 1fr; }
  .footer-menu { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .sidebar, .comments-area, .post-navigation, .back-to-top { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .single-layout { display: block; }
  .entry-content a { color: #000; text-decoration: underline; }
}
