/* -----------------------------------------
   OYSTERROASTS.COM GLOBAL DESIGN
----------------------------------------- */

:root {
  --or-navy: #173b4d;
  --or-navy-dark: #102c3a;
  --or-seafoam: #3f7d78;
  --or-seafoam-dark: #2f625e;
  --or-sand: #f3ead8;
  --or-shell: #faf8f3;
  --or-border: #d9d6ce;
  --or-text: #2d3439;
  --or-muted: #667178;
  --or-white: #ffffff;
}

/* -----------------------------------------
   BODY AND CONTENT WIDTH
----------------------------------------- */

body {
  background: var(--or-shell);
  color: var(--or-text);
  font-size: 17px;
  line-height: 1.68;
}

.site-main .entry-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------
   PARAGRAPHS AND LISTS
----------------------------------------- */

.entry-content p {
  margin-bottom: 1.15em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
  margin-bottom: 1.6em;
}

.entry-content li {
  margin-bottom: 0.55em;
}

.entry-content li::marker {
  color: var(--or-seafoam);
}

/* -----------------------------------------
   HEADINGS
----------------------------------------- */

.entry-title,
.page-title,
.entry-content h1 {
  color: var(--or-navy-dark);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.65em;
}

.entry-content h2 {
  color: var(--or-navy);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin-top: 1.9em;
  margin-bottom: 0.65em;
}

.entry-content h3 {
  color: var(--or-seafoam-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

/* -----------------------------------------
   LINKS
----------------------------------------- */

.entry-content a:not(.wp-block-button__link) {
  color: var(--or-seafoam-dark);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):hover {
  color: var(--or-navy);
  text-decoration-thickness: 2px;
}

/* -----------------------------------------
   DIVIDERS
----------------------------------------- */

.entry-content hr,
.wp-block-separator {
  width: 80px;
  height: 3px;
  margin: 3rem auto;
  border: 0;
  background: var(--or-seafoam);
  opacity: 1;
}

/* -----------------------------------------
   BUTTONS
----------------------------------------- */

.wp-block-button__link,
.kt-button,
.kb-button {
  background: var(--or-seafoam);
  color: var(--or-white) !important;
  border: 2px solid var(--or-seafoam);
  border-radius: 6px;
  padding: 0.8em 1.35em;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(23, 59, 77, 0.12);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.wp-block-button__link:hover,
.kt-button:hover,
.kb-button:hover {
  background: var(--or-navy);
  border-color: var(--or-navy);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(23, 59, 77, 0.18);
}

/* -----------------------------------------
   IMAGES
----------------------------------------- */

.entry-content figure {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease;
}

.entry-content img:hover {
  transform: scale(1.01);
}

/* Hide image captions */
.entry-content figcaption,
.entry-content .wp-caption-text,
.entry-content .blocks-gallery-caption,
.entry-content .wp-element-caption {
  display: none !important;
}

/* -----------------------------------------
   BLOCKQUOTES
----------------------------------------- */

.entry-content blockquote {
  margin: 2.25rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--or-sand);
  border-left: 5px solid var(--or-seafoam);
  border-radius: 0 8px 8px 0;
  color: var(--or-navy-dark);
  font-size: 1.08em;
}

/* -----------------------------------------
   HEADER AND NAVIGATION
----------------------------------------- */

.site-header {
  box-shadow: 0 3px 16px rgba(16, 44, 58, 0.08);
}

.primary-menu-container a {
  font-weight: 650;
  letter-spacing: 0.01em;
}

.primary-menu-container a:hover {
  color: var(--or-seafoam-dark);
}

/* -----------------------------------------
   PAGE TITLE AREA
----------------------------------------- */

.page-title-wrap {
  border-bottom: 3px solid var(--or-seafoam);
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */

.site-footer {
  border-top: 4px solid var(--or-seafoam);
}

/* -----------------------------------------
   MOBILE
----------------------------------------- */

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .site-main .entry-content {
    max-width: 100%;
  }

  .entry-title,
  .page-title,
  .entry-content h1 {
    font-size: 2rem;
    line-height: 1.16;
  }

  .entry-content h2 {
    font-size: 1.55rem;
    line-height: 1.28;
    margin-top: 1.65em;
  }

  .entry-content h3 {
    font-size: 1.25rem;
  }

  /* Stop text from wrapping around floated images */
  .entry-content .alignleft,
  .entry-content .alignright,
  .entry-content figure.alignleft,
  .entry-content figure.alignright,
  .entry-content img.alignleft,
  .entry-content img.alignright {
    float: none !important;
    display: block;
    clear: both;
    width: auto;
    max-width: 100%;
    margin: 1.5rem auto !important;
  }

  /* Center standard images and image blocks */
  .entry-content figure,
  .entry-content .wp-block-image {
    clear: both;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .entry-content figure img,
  .entry-content .wp-block-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure text begins below images */
  .entry-content figure + p,
  .entry-content .wp-block-image + p {
    clear: both;
  }

  /* Full-width mobile buttons */
  .wp-block-button {
    width: 100%;
  }

  .wp-block-button__link,
  .kt-button,
  .kb-button {
    width: 100%;
    padding: 0.7em 1.1em;
    font-size: 0.95rem;
    text-align: center;
  }
}
/* Limit promotional banner size without affecting other images */
@media (min-width: 768px) {
  .entry-content .or-banner {
    float: right;
    clear: right;
    width: min(100%, 620px);
    max-width: 620px;
    margin: 0 0 1.5rem 2rem;
  }

  .entry-content .or-banner img {
    display: block;
    width: 100%;
    height: auto;
  }
}