/* ---------------------------------------------------
   Owl page — layout styles
   Colors: page cream #efe8da, content white #feffff
--------------------------------------------------- */
@font-face {
  font-family: 'Basteleur-Bold';
  src: url('fonts/Basteleur-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Basteleur-Moonlight';
  src: url('fonts/Basteleur-Moonlight.woff') format('woff');
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #efe8da;
  font-family: 'Alan Sans', sans-serif;
  font-weight: 200;
}

/* The whole grid/table: centered horizontally on the page,
   flush against the very top (no top margin/gap). */
.page-frame {
  width: 1000px;
  min-width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 138px 1fr 151px;
  grid-template-rows: auto 135px auto auto;
  background: #efe8da;
}

/* Full-width header / footer banners */
.header {
  grid-column: 1 / 4;
  grid-row: 1;
  position: relative;
}

.head {
  display: block;
  width: 100%;
  height: auto;
}

/* Right-aligned nav, sitting over the dark band in head.png —
   position is an estimate, nudge top/right to taste */
.navbar {
  position: absolute;
  top: 24%;
  right: 12%;
  display: flex;
  gap: 28px;
}

.navbar a {
  color: #f4efe4;
  text-decoration: none;
  font-family: 'Alan Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar a:hover {
  color: #f1bf5c;
}

/* Page title, overlaid lower on head.png, in the white/owl area —
   position is an estimate, nudge to taste */
.page-title {
  position: absolute;
  left: 30%;
  bottom: 40%;
  margin: 0;
  font-family: 'Basteleur-Moonlight', sans-serif;
  font-weight: 500;
  font-size: 3rem;
  color: #4b4552;
  text-align: right;
}

.foot {
  grid-column: 1 / 4;
  grid-row: 4;
  display: block;
  width: 100%;
  height: auto;
}

/* Top corner tiles — fixed height row, flanking white space */
.left-top,
.right-top {
  grid-row: 2;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.left-top {
  grid-column: 1;
}

.right-top {
  grid-column: 3;
}

/* Tall side rails — stretch to match the content column's
   height, including as expandable sections open/close */
.left {
  grid-column: 1;
  grid-row: 3;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.right {
  grid-column: 3;
  grid-row: 3;
  background-image: url('images/right.png'), url('images/right-top.png');
  background-repeat: no-repeat, repeat-y;
  background-size: 100% auto, 100% auto;
  background-position: bottom, top;
}

/* Center content column */
.content {
  grid-column: 2;
  grid-row: 2 / 4;
  background: #feffff;
  padding: 0 48px 40px;
  min-height: 825px;
}

.content h1 {
  font-family: "Basteleur-Moonlight";
  font-weight: 300;
  font-size: 2rem;
  margin: 0 0 20px;
  padding-top: 24px;
  color: #4b4552;
}

.content h2 {
  font-family: "Basteleur-Moonlight";
  font-weight: 200;
  font-size: 1.5rem;
  margin: 0 0 8px;
  padding-top: 18px;
  color: #4b4552;
}

.content p {
  line-height: 1.6;
  margin: 0 0 20px;
}

.quote-style {
  font-style: italic;
  padding-left: 2em;
  padding-right: 2em;
}

.special-text {
  font-family: 'Basteleur-Moonlight';
  font-size: 1em;
  font-style: italic;
}

/* Callout box */
.callout {
  background: #f7f0e0;
  border-left: 4px solid #f1bf5c;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 12px;
}

.callout strong {
  color: #4b4552;
}

/* Article cards */
.article-list {
  margin-top: 8px;
}

.article-card a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.article-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid #e3ddce;
}

.article-card:first-child {
  border-top: none;
  padding-top: 0;
}

.article-card .feather-icon {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

.article-card-body {
  flex: 1;
  min-width: 0;
}

.article-card-body h3 {
  margin: 0;
  font-family: 'Alans Sans', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: #4b4552;
}

.article-card-body h3 a {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 500;
  color: #4b4552;
  text-decoration: none;
}

.article-card-body h3 a:hover {
  color: #a58a63;
}

.article-card-body p {
  margin: 8px 0 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Expandable sections */
.expand {
  border-top: 1px solid #e3ddce;
  padding: 16px 0;
}

.expand summary {
  font-family: 'Alan Sans', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  color: #4b4552;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.expand summary::-webkit-details-marker {
  display: none;
}

.expand summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: #f1bf5c;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.expand[open] summary::after {
  content: "\2212"; /* minus sign */
}

.expand-body {
  padding-top: 12px;
}

.expand-body p {
  margin: 0 0 10px;
}