/* WordPress pages (cart, checkout, login, account, course, legal) in the simatimaya style. */
.wp-content { font-size: 1rem; }
.wp-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.wp-content h3 { margin-top: 1.4em; }
.wp-content a { color: var(--olive-deep); }
.wp-content ul { padding-left: 1.2em; }
.wp-content li { margin-bottom: .4em; }
.wp-content table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 1.6em; }
.wp-content th, .wp-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.wp-content th { background: var(--cream); font-weight: 500; }
.wp-content .wp-block-table { overflow-x: auto; margin: 0; }

/* Forms and buttons from WordPress / WooCommerce / Simatimaya Members look like the site's own. */
.wp-content input[type="text"], .wp-content input[type="email"], .wp-content input[type="tel"],
.wp-content input[type="password"], .wp-content textarea, .wp-content select {
  font-family: var(--sans); font-size: 1rem; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius); padding: 12px 14px; color: var(--ink);
}
.wp-content .wc-block-components-button:not(.is-link),
.wp-content .wp-element-button, .wp-content button.button, .wp-content a.button {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: var(--radius);
}
.wp-content .wc-block-components-button:not(.is-link):hover,
.wp-content .wp-element-button:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.wp-content .wc-block-components-title, .wp-content .wc-block-components-checkout-step__title,
.wp-content .wc-block-cart__totals-title { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: 0; }
.wp-content .wc-block-components-product-name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); text-decoration: none; }

/* Member area: the plugin's own styles, with the site's fonts. */
.wp-content .sm-login__title, .wp-content .sm-course h2, .wp-content .sm-products h3 { font-family: var(--serif); font-weight: 400; }

/* Admin bar must not cover the sticky header. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 600px) {
  .wp-main .page-head { padding: 60px 0 50px; }
}
