/** Shopify CDN: Minification failed

Line 274:0 All "@import" rules must come first
Line 275:0 All "@import" rules must come first
Line 276:0 All "@import" rules must come first
Line 277:0 All "@import" rules must come first
Line 278:0 All "@import" rules must come first
Line 896:20 Expected identifier but found whitespace
Line 898:1 Unexpected "{"
Line 898:3 Expected identifier but found "'section-blog-post.css'"
Line 900:0 Unexpected "<"
Line 964:0 Unexpected "<"
... and 175 more hidden warnings

**/
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500&display=swap');

:root {
  --alpha-button-background: 1;
  --alpha-button-border: 1;
  --alpha-link: 0.85;
  --alpha-badge-border: 0.1;
  --focused-base-outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  --focused-base-outline-offset: 0.3rem;
  --focused-base-box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3);
}

/* === General styles === */

body {
  font-family: 'Lora', serif;
  color: #1C1C1C;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #F8F6F2;
}

a {
  color: rgba(var(--color-link), var(--alpha-link));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

a:hover {
  color: rgb(var(--color-link));
}

/* Typography */

h1, h2, h3, h4, h5 {
  font-family: 'Marcellus', serif;
  font-weight: normal;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.6rem; }
h5 { font-size: 1.3rem; }

/* Utility */

*, *::before, *::after {
  box-sizing: border-box;
}

/* === Header === */

.header__heading-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 50px !important;
  margin-top: 30px !important;
  text-decoration: none !important;
}

.header__heading-link img {
  margin-right: 2px;
  height: auto;
  max-height: 100px;
}

.header__heading-link::after {
  content: "Pelican Sail Press";
  font-family: 'Lora', serif;
  font-size: 28px;
  color: #374B61;
  display: inline-block;
  line-height: 1.1;
  letter-spacing: -0.5px;
  padding-top: 2px;
}

.header__inline-menu {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
  padding-right: 80px !important;
  margin-top: 32px !important;
}

.header__menu-link {
  font-family: "Canela Deck", serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 0.2px !important;
  text-decoration: none;
  color: #374B61;
  position: relative;
}

.header__menu-link:hover {
  color: #1C1C1C;
}

.header__menu-link::after {
  content: "";
  display: block;
  height: 1px;
  width: 0%;
  background: #3A5A77;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.header__menu-link:hover::after {
  width: 100%;
}

.header__inline-menu .list-menu--inline li {
  margin-right: 24px !important;
}

.header__inline-menu .list-menu--inline li:last-child {
  margin-right: 0 !important;
}

.header__inline-menu .list-menu--inline li a {
  font-size: 22px !important;
  position: relative;
  top: 6px;
}

/* === Banner === */

.image-banner,
.banner {
  margin-top: 0 !important;
  background: none !important;
  position: relative !important;
  padding-top: 0 !important;
  z-index: 1 !important;
}

.banner__content {
  position: relative;
  z-index: 2;
}

.banner--content-align-center .page-width {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

.page-width {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* === Overlay === */

.custom-overlay {
  display: none !important; /* disable extra hue */
}

/* === Container cleanups === */

.shopify-section:first-of-type {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#shopify-section-template--24678941917486__image_banner {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

#shopify-section-template--24678941917486__image_banner .banner__media,
#shopify-section-template--24678941917486__image_banner .banner__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.skip-to-content-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body::before,
body::after,
html::before,
html::after,
#MainContent::before,
#MainContent::after {
  display: none !important;
}

.site-wrapper,
.wrapper,
.wrapper > * {
  background: transparent !important;
}

.shopify-section + .shopify-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#shopify-section-template--24678941917486__featured_collection {
  display: none !important;
}


.section-template--image_banner {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

.image-banner__content,
.image-banner__text,
.image-banner__heading,
.image-banner__buttons {
  position: relative !important;
  z-index: 20 !important;
}

.header-wrapper * {
  position: relative;
  z-index: 2;
}

.shopify-section .banner__heading,
.shopify-section .banner__text {
  color: #f8f6f2 !important;
}

.shopify-section .banner__text {
  font-size: 1.30rem !important;
}

.shopify-section .banner__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Upright:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@100;200;300;400;500;600;700&display=swap');

/* === Buttons === */
.banner__buttons .button {
  background-color: #f8f6f2 !important;
  color: #2c3e50 !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-size: 16px !important;
  font-weight: 500;
  text-transform: none;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.banner__buttons .button:hover {
  background-color: #ddd1bf !important;
  color: #1c1c1c !important;
}

.banner__buttons .button {
  text-decoration: none !important;
}

/* === Foreword Page === */
body.is-foreword-page .header__inline-menu { margin-top: 36px !important; }
body.is-foreword-page .header__inline-menu .list-menu--inline {
  display: flex !important; gap: 24px !important; justify-content: center !important; align-items: center !important;
}
body.is-foreword-page .header__inline-menu .list-menu--inline li { margin-right: 0 !important; }
body.is-foreword-page .header__inline-menu .list-menu--inline li a { top: 0px !important; }
body.is-foreword-page .header-wrapper { background-color: #AABAC6 !important; background-image: none !important; }
body.is-foreword-page h1.main-page-title { padding-top: 40px !important; display: block; }
body.is-foreword-page h1.main-page-title {
  font-family: 'Cormorant Upright', serif !important; font-weight: 300 !important; font-size: 3.2rem !important;
}
body.is-foreword-page h1, body.is-foreword-page .main-page-title { margin-top: 60px !important; }
body.is-foreword-page h1, body.is-foreword-page .title, body.is-foreword-page .section-header__title {
  font-family: 'Old Standard TT', serif !important; font-size: 3rem; font-weight: normal;
}

/* === Page-Specific Fix: Move "The Foreword" Title Down === */
body.is-foreword-page h1.main-page-title {
  padding-top: 40px !important;
  display: block;
}

body.is-foreword-page h1.main-page-title {
  font-family: 'Cormorant Upright', serif !important;
  font-weight: 300 !important;
  font-size: 3.2rem !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}

body.is-foreword-page h1,
body.is-foreword-page .main-page-title {
  margin-top: 60px !important;
  padding-top: 0 !important;
}

body.is-foreword-page h1,
body.is-foreword-page .title,
body.is-foreword-page .section-header__title {
  font-family: 'Old Standard TT', serif !important;
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* ===== Core Offerings Overlap Styling ===== */
.core-offerings-wrapper {
  position: relative;
  z-index: 5;
  background: transparent !important;
  padding: 2rem 1rem 3rem 1rem;
  text-align: center;
  margin-top: 180px !important; /* pushes section down ~3 inches */
}

.core-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.core-offering {
  background-color: #C3CBDC;
  border: 1px solid #A89F91;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  min-height: 220px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.core-offering:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.core-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  color: #3A5A77;
  transition: color 0.25s ease;
}

.core-offering h3 {
  font-family: 'Old Standard TT', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #1C1C1C;
}

.core-offering p {
  font-size: 0.9rem;
  color: #2C3E50;
  margin-bottom: 1rem;
}

.core-offering-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background-color: #3A5A77;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
}

.core-offering-btn:hover {
  background-color: #2C3E50;
}

/* Force core offerings section lower into next area */
#shopify-section-core-offerings {
  position: relative;
  top: 150px !important; /* adjust until you like it */
  z-index: 5;
}

/* Move the core offerings down into next section */
.core-offerings-wrapper {
  position: relative;
  top: 180px !important;  /* adjust until the overlap looks right */
  margin-top: 0 !important; /* neutralize any margin tricks */
  z-index: 5;
}

/* Make sure banner doesn't cover offerings */
#shopify-section-template--24678941917486__image_banner {
  padding-bottom: 200px !important; /* creates space below hero */
}

/* Correct overlap positioning for offerings */
.hero-core-offerings {
  position: relative;
  top: 270px !important;   /* move down ~3 inches, adjust as needed */
  margin-top: 0 !important;
  z-index: 5;
}

/* Ensure the hero section leaves space for the overlap */
#shopify-section-template--24678941917486__image_banner {
  padding-bottom: 200px !important;
}

/* Only move hero heading + subtitle text, not offerings */
#shopify-section-template--24678941917486__image_banner .banner__heading,
#shopify-section-template--24678941917486__image_banner .banner__text {
  position: relative !important;
  top: 100px !important; /* adjust this number until it looks right */
}

/* Only move hero buttons down */
#shopify-section-template--24678941917486__image_banner .banner__buttons {
  position: relative !important;
  top: 80px !important; /* adjust this number until spacing feels right */
}

#shopify-section-template--24678941917486__core_offerings {
  background-color: #AABAC6 !important; /* Ocean Mist */
}

#shopify-section-template--24678941917486__core_offerings,
#shopify-section-template--24678941917486__core_offerings .shopify-section,
#shopify-section-template--24678941917486__core_offerings .core-offerings-wrapper {
  background-color: #AABAC6 !important; /* Ocean Mist */
}

.shopify-section {
  background-color: transparent !important;
}

#shopify-section-template--24678941917486__image_banner {
  background-color: #AABAC6 !important; /* Ocean Mist blue */
}

#shopify-section-template--24678941917486__image_banner .banner__media::after {
  background-color: #AABAC6 !important;
}

#shopify-section-template--24678941917486__home_offerings_upcomin {
  background-color: #AABAC6 !important;
}

/* === Kill beige strip under core offerings === */
#shopify-section-template--24678941917486__home_offerings_upcomin {
  background: #AABAC6 !important; /* Ocean Mist */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* === Fix beige strip above Offerings Upcoming === */
#shopify-section-template--24678941917486__home_offerings_upcoming {
  background-color: #AABAC6 !important; /* Ocean Mist */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Fix beige strip inside Offerings Upcoming section */
#shopify-section-template--24678941917486__home_offerings_upcoming,
#shopify-section-template--24678941917486__home_offerings_upcoming .page-width,
#shopify-section-template--24678941917486__home_offerings_upcoming .section {
  background-color: #AABAC6 !important; /* Ocean Mist */
}

/* Kill beige padding strip above Offerings Upcoming */
#shopify-section-template--24678941917486__home_offerings_upcoming .color-background-1,
#shopify-section-template--24678941917486__home_offerings_upcoming .background-secondary,
#shopify-section-template--24678941917486__home_offerings_upcoming .section-padding {
  background-color: #AABAC6 !important; /* Ocean Mist */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#shopify-section-template--24678941917486__home_offerings_upcoming {
  background-color: #AABAC6 !important; /* Ocean Mist */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#shopify-section-template--24678941917486__home_offerings_upcoming .page-width,
#shopify-section-template--24678941917486__home_offerings_upcoming .section {
  background-color: #AABAC6 !important;
}

.psp-offerings-inner {
  background-color: #AABAC6 !important; /* Ocean Mist */
}

.psp-offerings-wrap {
  background-color: #AABAC6 !important; /* Ocean Mist */
}

/* Force entire "Upcoming Offerings" section, edge to edge, to be Ocean Mist */
#shopify-section-template--24678941917486__home_offerings_upcoming,
#shopify-section-template--24678941917486__home_offerings_upcoming .shopify-section,
#shopify-section-template--24678941917486__home_offerings_upcoming .page-width {
  background-color: #AABAC6 !important;
}

/* Fix beige strips on sides of Upcoming Offerings */
#shopify-section-template--24678941917486__home_offerings_upcoming .psp-offerings {
  background: #AABAC6 !important; /* Ocean Mist */
}

#shopify-section-template--24678941917486__home_offerings_upcoming .psp-offerings-inner {
  background: #AABAC6 !important; /* make inner match too */
}

.core-offering {
  background-color: #F8F6F2 !important; /* Salt White */
  border: 1px solid #A89F91 !important; /* Driftwood Gray */
  color: #1C1C1C !important; /* Ink Black text */
}

.core-offering h3 {
  color: #2C3E50 !important; /* Deep Navy headings */
}

.core-offering p {
  color: #1C1C1C !important; /* Ink Black body */
}

/* === Core Offerings Styling Upgrade === */
.core-offering {
  background-color: #F8F6F2; /* cream */
  border: 4px solid #A89F91; /* darker, coastal gray-brown */
  border-radius: 20px;
  padding: 1.5rem 1rem;
  min-height: 220px;

  /* subtle but stronger shadow */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.core-offering:hover {
  transform: translateY(-6px); /* lift on hover */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Heading inside card */
.core-offering h3 {
  font-family: 'Marcellus', serif; /* elegant serif */
  font-size: 1.2rem;
  font-weight: 500;
  color: #2C3E50; /* deep navy */
  margin-bottom: 0.6rem;
}

/* Description */
.core-offering p {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374B61;
  margin-bottom: 1rem;
}

/* Button inside */
.core-offering-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background-color: #3A5A77; /* brand navy */
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.core-offering-btn:hover {
  background-color: #1C1C1C; /* almost black */
}

/* === Core Offerings Refinements === */
.core-offering {
  background-color: #F8F6F2; /* Salt White */
  border: 1px solid #A89F91; /* Driftwood Gray border */
  border-radius: 16px;
  padding: 2rem 1.5rem; /* slightly more breathing room */
  min-height: 240px; /* a bit taller for airiness */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* elegant shadow */
  transition: all 0.3s ease;
}

.core-offering:hover {
  transform: translateY(-6px); /* stronger lift */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Icon Styling */
.core-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  color: #2C3E50; /* Deep Navy */
  transition: color 0.3s ease;
}

.core-offering:hover .core-icon {
  color: #3A5A77; /* Brand navy highlight on hover */
}

/* Title Styling */
.core-offering h3 {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #2C3E50;
}

/* Body Text Styling */
.core-offering p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555; /* softer for body text */
  margin-bottom: 1.2rem;
}

/* Button refinements */
.core-offering-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #3A5A77;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.core-offering-btn:hover {
  background-color: #2C3E50;
}

.core-offering h3 {
  font-family: 'Marcellus', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1C1C1C;
}

/* Force background texture + tint */
#psp-hot-press {
  position: relative !important;
  background: 
    linear-gradient(rgba(170,186,198,0.42), rgba(170,186,198,0.42)),
    url("/cdn/shop/files/background_texture_resized_overlay.jpg?v=1756062463") center/cover no-repeat !important;
  isolation: isolate;
}

#psp-hot-press .section-spacing,
#psp-hot-press .page-width {
  position: relative;
  z-index: 1;
}

/* =========================
   Pelican Sail Blog Styling
   ========================= */

/* Main article body */
.article-template {
  font-family: 'Lora', serif;
  line-height: 1.7;
  font-size: 17px;
  color: #1C1C1C; /* Ink Black */
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Headings */
.article-template h1,
.article-template h2,
.article-template h3 {
  font-family: 'Old Standard TT', serif;
  color: #3A5A77; /* matches emblem */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 400;
}

.article-template h2 {
  font-size: 26px;
}

.article-template h3 {
  font-size: 22px;
}

/* Pull quotes */
.article-template blockquote {
  font-size: 20px;
  font-style: italic;
  color: #3A5A77;
  margin: 40px auto;
  padding: 0 20px;
  border-left: 4px solid #3A5A77;
  max-width: 600px;
}

/* Images */
.article-template img {
  width: 100%;
  border-radius: 14px;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Section dividers */
.article-template hr {
  border: none;
  height: 1px;
  background: #DDD1BF; /* Soft Sand */
  margin: 50px 0;
}

/* Closing emblem */
.article-template::after {
  content: url("YOUR-EMBLEM-URL-HERE");
  display: block;
  margin: 60px auto 0;
  opacity: 0.6;
  max-width: 80px;
}

/* =========================
   Blog Post Featured Image Fix
   ========================= */

/* Dawn featured image container */
.article-template .media {
  max-width: 900px;       /* limit width */
  margin: 0 auto 40px;    /* center with spacing */
  border-radius: 14px;
  overflow: hidden;       /* keeps corners rounded */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Actual image inside */
.article-template .media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
}

/* =========================
   Blog Post Full-Width Banner
   ========================= */
.article-template .media,
.article-template .media img,
.article-template__hero,
.article-template__hero img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
}

/* =========================
   Blog Post Banner & Content Spacing
   ========================= */
.article-template__content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.article-template__hero + .article-template__content {
  margin-top: -40px !important;
}

/* =========================
   FORCE blog banner to remove empty padding
   ========================= */
.article-template__hero-container,
.article-template__hero-container.media,
.article-template__hero-container.media--adapt {
  padding-bottom: 0 !important;
  height: auto !important;
  min-height: auto !important;
}

/* =========================
   Nuclear fix: remove Shopify's inline ratio padding
   ========================= */
.article-template__hero-container.media--adapt {
  padding-bottom: 0 !important;
  aspect-ratio: auto !important; /* newer browsers */
}

.article-template__hero-container {
  margin-top: 40px; /* adjust this value to control how far below the nav the banner starts */
}

.article-template {
  padding-top: 100px; /* adjust to move the hero image down */
}

.article-template__social-sharing {
  text-align: right;       /* move to the right */
  margin-top: 10px;        /* tighten spacing */
  opacity: 0.6;            /* lighter, more subtle */
}

.article-template__social-sharing:hover {
  opacity: 1;              /* fade in on hover */
}

.article-template__social-sharing .share-button__icon {
  display: none; /* hides the default arrow icon */
}

.article-template__social-sharing .share-button__text {
  font-family: 'Old Standard TT', serif; /* match your brand font */
  font-size: 14px;
  color: #3A5A77; /* your brand navy */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Clean, elegant share link */
.share-button__button {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Old Standard TT', serif;
  font-size: 14px;
  color: #3A5A77; /* brand navy */
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-button__button:hover {
  opacity: 0.7;
}

.share-button__text {
  font-weight: normal;
}

main-article.liquid: 

{{ 'section-blog-post.css' | asset_url | stylesheet_tag }}

<style>
  /* Widen article content slightly */
  .article-template__content.page-width--narrow,
  .article-template__title.page-width--narrow,
  .article-template__social-sharing.page-width--narrow {
    max-width: 900px;
  }

  /* Apply subtle linen texture across site */
  body {
    background-image: url('/cdn/shop/files/1e73e6f90ec0bffd7d7f250c4d10e7d75e064d49410fb2c3a3ec376d3e029ac0.png?v=1756071402');
    background-repeat: repeat;
    background-size: 600px auto;
    background-color: #F8F6F2;
  }

  /* Force Dawn header gradient to begin at very top */
  .shopify-section-header {
    background: linear-gradient(to bottom, #3A5A77 0%, rgba(255,255,255,0) 100%) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Push the article down below header/nav/logo */
  .article-template {
    background: #F8F6F2;
    padding: 40px;
    border-radius: 8px;
    margin: 200px auto 40px auto; /* adjust top margin until it clears header */
    max-width: 1000px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
  }

  /* Limit hero image height */
  .article-template__hero-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
  }

  /* Remove extra padding Dawn puts above content */
.template-article .main-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Push article content down just enough below header */
.article-template {
  margin-top: 140px !important; /* adjust value until it clears the logo/nav comfortably */
}

/* Kill Dawn's default top padding/margin */
.template-article .shopify-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Specifically for the article container */
.template-article .article-template {
  margin-top: 160px !important; /* adjust until it clears header */
}
</style>

<article class="article-template">
  {%- for block in section.blocks -%}
    {%- case block.type -%}
      {%- when '@app' -%}
        <div class="page-width page-width--narrow">
          {% render block %}
        </div>
      {%- when 'featured_image' -%}
        {%- if article.image -%}
          <div
            class="article-template__hero-container{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in{% endif %}"
            {{ block.shopify_attributes }}
          >
            <div class="article-template__hero-image">
              <img
                srcset="
                  {% if article.image.width >= 350 %}{{ article.image | image_url: width: 350 }} 350w,{% endif %}
                  {% if article.image.width >= 750 %}{{ article.image | image_url: width: 750 }} 750w,{% endif %}
                  {% if article.image.width >= 1100 %}{{ article.image | image_url: width: 1100 }} 1100w,{% endif %}
                  {% if article.image.width >= 1500 %}{{ article.image | image_url: width: 1500 }} 1500w,{% endif %}
                  {% if article.image.width >= 2200 %}{{ article.image | image_url: width: 2200 }} 2200w,{% endif %}
                  {% if article.image.width >= 3000 %}{{ article.image | image_url: width: 3000 }} 3000w,{% endif %}
                  {{ article.image | image_url }} {{ article.image.width }}w
                "
                sizes="(min-width: {{ settings.page_width }}px) {{ settings.page_width | minus: 100 }}px, (min-width: 750px) calc(100vw - 10rem), 100vw"
                src="{{ article.image | image_url: width: 1600 }}"
                loading="eager"
                fetchpriority="high"
                width="{{ article.image.width }}"
                height="{{ article.image.height }}"
                alt="{{ article.image.alt | escape }}"
                style="width:100%;height:auto;display:block;"
              >
            </div>
          </div>
        {%- endif -%}

      {%- when 'title' -%}
        <header
          class="page-width page-width--narrow{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in{% endif %}"
          {{ block.shopify_attributes }}
        >
          <h1 class="article-template__title">
            {{ article.title | escape }}
          </h1>
          {%- if block.settings.blog_show_date -%}
            <span class="circle-divider caption-with-letter-spacing">
              {{- article.published_at | time_tag: format: 'date' -}}
            </span>
          {%- endif -%}
          {%- if block.settings.blog_show_author -%}
            <span class="caption-with-letter-spacing">
              <span>{{ article.author }}</span>
            </span>
          {%- endif -%}
        </header>

      {%- when 'content' -%}
        <div
          class="article-template__content page-width page-width--narrow rte{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"
          {{ block.shopify_attributes }}
        >
          {{ article.content }}
        </div>

      {%- when 'share' -%}
        <div
          class="article-template__social-sharing page-width page-width--narrow{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"
          {{ block.shopify_attributes }}
        >
          {% assign share_url = request.origin | append: article.url %}
          {% render 'share-button', block: block, share_link: share_url %}
        </div>
    {%- endcase -%}
  {%- endfor -%}

  <div class="article-template__back element-margin-top center{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}">
    <a href="{{ blog.url }}" class="article-template__link link animate-arrow">
      <span class="icon-wrap">
        <span class="svg-wrapper">
          {{- 'icon-arrow.svg' | inline_asset_content -}}
        </span>
      </span>
      {{ 'blogs.article.back_to_blog' | t: title: blog.title | escape }}
    </a>
  </div>

  {%- if blog.comments_enabled? -%}
    <div class="article-template__comment-wrapper background-secondary">
      <div
        id="comments"
        class="page-width page-width--narrow{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"
      >
        {%- if article.comments_count > 0 -%}
          {%- assign anchorId = '#Comments-' | append: article.id -%}
          <h2 id="Comments-{{ article.id }}" tabindex="-1">
            {{ 'blogs.article.comments' | t: count: article.comments_count }}
          </h2>
          {% paginate article.comments by 5 %}
            <div class="article-template__comments">
              {%- for comment in article.comments -%}
                <article id="{{ comment.id }}" class="article-template__comments-comment">
                  {{ comment.content }}
                  <footer class="right">
                    <span class="circle-divider caption-with-letter-spacing">{{ comment.author }}</span>
                    <span class="caption-with-letter-spacing">
                      {{- comment.created_at | time_tag: format: 'date' -}}
                    </span>
                  </footer>
                </article>
              {%- endfor -%}
              {% render 'pagination', paginate: paginate, anchor: anchorId %}
            </div>
          {% endpaginate %}
        {%- endif -%}

        {% form 'new_comment', article %}
          <h2>{{ 'blogs.article.comment_form_title' | t }}</h2>
          <div class="article-template__comment-fields">
            <div class="field field--with-error">
              <input type="text" name="comment[author]" id="CommentForm-author" class="field__input" autocomplete="name" value="{{ form.author }}" aria-required="true" required>
              <label class="field__label" for="CommentForm-author">{{ 'blogs.article.name' | t }} *</label>
            </div>
            <div class="field field--with-error">
              <input type="email" name="comment[email]" id="CommentForm-email" autocomplete="email" class="field__input" value="{{ form.email }}" required>
              <label class="field__label" for="CommentForm-email">{{ 'blogs.article.email' | t }} *</label>
            </div>
            <div class="field field--with-error">
              <textarea rows="5" name="comment[body]" id="CommentForm-body" class="text-area field__input" required>{{ form.body }}</textarea>
              <label class="form__label field__label" for="CommentForm-body">{{ 'blogs.article.message' | t }} *</label>
            </div>
          </div>
          <input type="submit" class="button" value="{{ 'blogs.article.post' | t }}">
        {% endform %}
      </div>
    </div>
  {%- endif -%}
</article>

<script type="application/ld+json">
  {{ article | structured_data }}
</script>

{% schema %}
{
  "name": "t:sections.main-article.name",
  "tag": "section",
  "class": "section",
  "blocks": [
    { "type": "@app" },
    { "type": "featured_image", "name": "t:sections.main-article.blocks.featured_image.name", "limit": 1 },
    { "type": "title", "name": "t:sections.main-article.blocks.title.name", "limit": 1 },
    { "type": "content", "name": "t:sections.main-article.blocks.content.name", "limit": 1 },
    { "type": "share", "name": "t:sections.main-article.blocks.share.name", "limit": 2 }
  ]
}
{% endschema %}

/* On article/blog pages only, make header behave normally */
.template-article .header-wrapper,
.template-article .shopify-section-header {
  position: relative !important;
}

body.template-article .header-wrapper,
body.template-article .shopify-section-header {
  position: relative !important;
  top: 0 !important;
}

body.template-article .article-template {
  margin-top: 40px !important;  /* small breathing space, adjust as you like */
  padding-top: 0 !important;
}

/* Default: all pages */
.header-wrapper,
.shopify-section-header {
  position: relative !important;
  top: 0 !important;
}

/* Exception: homepage ONLY */
body.template-index .header-wrapper,
body.template-index .shopify-section-header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* === Background control === */

/* Homepage and all non-articles: no linen */
body.gradient {
  background-image: none !important;
  background-color: #F8F6F2 !important;
}

/* Article pages only: linen restored */
html.template-article body.gradient {
  background-image: url('/cdn/shop/files/1e73e6f90ec0bffd7d7f250c4d10e7d75e064d49410fb2c3a3ec376d3e029ac0.png?v=1756071402') !important;
  background-repeat: repeat !important;
  background-size: 600px auto !important;
  background-color: #F8F6F2 !important;
}

/* =========================
   HOMEPAGE HEADER
   ========================= */
body.template-index .header-wrapper,
body.template-index .shopify-section-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 50 !important;
}

/* Gradient overlay */
body.template-index .header-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; /* adjust fade height */
  background: linear-gradient(
    to bottom,
    rgba(58, 90, 119, 0.95) 0%,
    rgba(58, 90, 119, 0.65) 40%,
    rgba(58, 90, 119, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Keep nav/logo above gradient */
body.template-index .header-wrapper * {
  position: relative;
  z-index: 200 !important;
}

/* Kill Dawn’s spacer */
body.template-index .header-wrapper--spacing {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* First section flush with very top */
body.template-index .shopify-section:first-of-type,
body.template-index #MainContent {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   HOMEPAGE HEADER GRADIENT
   ========================= */
body.template-index .header-wrapper,
body.template-index .shopify-section-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 100 !important;
}

body.template-index .header-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; /* adjust fade height */
  background: linear-gradient(
    to bottom,
    rgba(58, 90, 119, 0.95) 0%,
    rgba(58, 90, 119, 0.65) 40%,
    rgba(58, 90, 119, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

body.template-index .header-wrapper * {
  position: relative;
  z-index: 200;
}

/* ==============================
   THE POST — Compact, Uniform Layout
   ============================== */

.blog-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  background-color: #F8F6F2;
}

/* Header */
.blog-header {
  font-family: 'Old Standard TT', serif;
  font-size: 2.8rem;
  text-align: center;
  color: #1C1C1C;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.blog-subtitle {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  color: #3A5A77;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background-color: #DDD1BF;
  border: none;
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

/* Hero Banner */
.the-post-hero-banner {
  background: linear-gradient(to bottom, #C3CBDC 0%, #F8F6F2 100%);
  text-align: center;
  padding: 5rem 1rem 3.5rem;
  border-bottom: 1px solid #DDD1BF;
}

.hero-inner {
  max-width: 650px;
  margin: 0 auto;
}

/* Grid Layout — Two Columns, Tight Spacing */
.refined-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch; /* ensures equal height rows */
  max-width: 900px;
  margin: 0 auto;
}

/* Card Design — Equal Height & Alignment */
.refined-card {
  background-color: #fff;
  border: 1px solid #E6E0D5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.refined-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.05);
}

.refined-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-bottom: 1px solid #EEE;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Content */
.refined-content {
  flex: 1;
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.refined-content h3 {
  font-family: 'Old Standard TT', serif;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #1C1C1C;
}

.refined-content a {
  color: #1C1C1C;
  text-decoration: none;
}

.refined-content a:hover {
  color: #3A5A77;
}

.article-date {
  color: #9AA1A7;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  font-family: 'Cormorant Garamond', serif;
}

.article-excerpt {
  font-family: 'Cormorant Garamond', serif;
  color: #2C3E50;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1; /* keeps spacing consistent */
}

.read-more {
  color: #3A5A77;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
}

.read-more:hover {
  text-decoration: underline;
}

/* Remove Featured Article */
.refined-feature {
  display: none !important;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .refined-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .refined-card img {
    height: 150px;
  }

  .refined-content h3 {
    font-size: 1.05rem;
  }
}
/* ================================
   Pelican Sail Press – Exchange Profile Setup Styling
   ================================ */

.template-page--exchange-profile-setup .main-page-title,
.template-page--exchange-profile-setup h1.title,
.template-page--exchange-profile-setup .page-title {
  display: none !important;
}

.template-page--exchange-profile-setup {
  background-color: #F8F6F2;
  padding: 60px 20px;
}

.template-page--exchange-profile-setup .cf-card {
  max-width: 820px;
  margin: 0 auto 80px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  padding: 48px 40px;
}

.template-page--exchange-profile-setup .cf-title {
  font-family: "Old Standard TT", serif;
  color: #3A5A77;
  font-size: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.template-page--exchange-profile-setup label {
  display: block;
  font-weight: 600;
  color: #1C1C1C;
  margin: 16px 0 6px;
}

.template-page--exchange-profile-setup input[type=text],
.template-page--exchange-profile-setup input[type=email],
.template-page--exchange-profile-setup input[type=url],
.template-page--exchange-profile-setup input[type=file],
.template-page--exchange-profile-setup textarea,
.template-page--exchange-profile-setup select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #DDD1BF;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  color: #1C1C1C;
  box-sizing: border-box;
}

.template-page--exchange-profile-setup textarea { min-height: 140px; }

.template-page--exchange-profile-setup input:focus,
.template-page--exchange-profile-setup textarea:focus,
.template-page--exchange-profile-setup select:focus {
  border-color: #3A5A77;
  outline: none;
}

.template-page--exchange-profile-setup button,
.template-page--exchange-profile-setup [type=submit] {
  appearance: none;
  border: 0;
  border-radius: 9999px;
  padding: 14px 18px;
  font-weight: 600;
  background: #3A5A77;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 300px;
  margin: 24px auto 0;
  display: block;
}

.template-page--exchange-profile-setup button:hover,
.template-page--exchange-profile-setup [type=submit]:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.template-page--exchange-profile-setup .cf-actions {
  text-align: center;
  margin-top: 2rem;
}