/*
 * Editor content (pages built in the block editor): policies, FAQ, about, contact.
 */

.page-content {
  padding-bottom:70px;
}

.entry-content > *:first-child {
  margin-top:0;
}

.entry-content a:not(.button):not(.wp-block-button__link):not(.help-card):not(.text-link) {
  text-decoration:underline;
  text-underline-offset:3px;
}

.entry-content ul,
.entry-content ol {
  color:var(--muted);
  line-height:1.8;
  padding-left:22px;
}

.entry-content img {
  height:auto;
  border-radius:16px;
}

.policy h3 {
  font-size:19px;
}

.policy > h2,
.policy > .wp-block-heading {
  margin-top:40px;
}

.policy > .notice {
  margin-bottom:30px;
}

.policy .text-link {
  display:inline-block;
  margin-top:30px;
}

.policy table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.policy td,
.policy th {
  border-bottom:1px solid var(--line);
  padding:10px 8px;
  text-align:left;
}

/* FAQ: core Details blocks in the template's accordion style */
.entry-content .wp-block-details,
.faq-list details {
  border-bottom:1px solid #d4d5c8;
  padding:25px 0;
  margin:0;
}

.entry-content .wp-block-details:first-of-type {
  border-top:1px solid #d4d5c8;
}

.entry-content .wp-block-details summary {
  font-weight:700;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:20px;
  list-style:none;
  color:var(--ink);
}

.entry-content .wp-block-details summary::-webkit-details-marker {
  display:none;
}

.entry-content .wp-block-details summary::after {
  content:'+';
  font-size:22px;
  font-weight:400;
  line-height:1;
  transition:transform .2s;
}

.entry-content .wp-block-details[open] summary::after {
  transform:rotate(45deg);
}

.entry-content .wp-block-details > :not(summary) {
  color:var(--muted);
  padding-right:25px;
  margin:15px 0 0;
}

/* Buttons from the block editor */
.wp-block-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0;
}

.wp-block-button__link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 23px;
  min-height:48px;
  border-radius:10px;
  font-size:13px;
  font-weight:750;
  background:var(--ink);
  color:#fff;
  transition:transform .2s,background .2s;
}

.wp-block-button__link:hover {
  transform:translateY(-2px);
  background:#41433a;
}

.is-style-outline .wp-block-button__link {
  background:transparent;
  color:var(--ink);
  border:1px solid var(--ink);
}

/* About */
.story-layout .entry-content p {
  color:var(--muted);
}

.story__art > span {
  display:block;
  margin-top:10px;
}

/* Contact */
.contact-help .help-card {
  text-decoration:none;
}

.contact-help .help-card:hover b {
  text-decoration:underline;
}

.contact-help p {
  color:var(--muted);
}

.contact-layout .form-panel label:first-of-type {
  margin-top:0;
}

.contact-layout .form-panel .notice {
  margin-bottom:10px;
}

/* Generic blog fallback */
.post-summary {
  padding:24px 0;
  border-bottom:1px solid var(--line);
}

.post-summary h2 {
  font-size:24px;
}

.nav-links {
  display:flex;
  gap:10px;
  margin-top:30px;
}
