
/* Gaelic Generations — content/story system v1.0 */

:root{
  --gg-content-green:#164f3a;
  --gg-content-dark:#10382b;
  --gg-content-gold:#98752f;
  --gg-content-cream:#fbf7ed;
  --gg-content-card:#fffdfa;
  --gg-content-text:#252d28;
  --gg-content-muted:#6d746f;
  --gg-content-border:rgba(22,79,58,.15);
  --gg-content-shadow:0 12px 30px rgba(25,55,38,.055);
}

/* ---------------- GLOBAL CONTENT PAGES ---------------- */

.gg-content-page .gg-page{
  max-width:1160px!important;
  padding-top:64px!important;
  padding-bottom:76px!important;
}

.gg-content-page .gg-page-header{
  max-width:900px!important;
  margin:0 0 34px!important;
}

.gg-content-page .gg-page-header h1,
.gg-checkout-page .gg-page-header h1{
  max-width:900px;
  margin:9px 0 0!important;
  color:var(--gg-content-green)!important;
  font-size:clamp(46px,5vw,66px)!important;
  line-height:.98!important;
  letter-spacing:-.035em!important;
}

.gg-content-page .gg-page-content{
  max-width:100%!important;
  color:var(--gg-content-text);
  font-size:16.5px!important;
  line-height:1.7!important;
}

.gg-content-page .gg-page-content p{
  margin:0 0 17px;
}

.gg-content-page .gg-page-content h2{
  margin:36px 0 13px!important;
  color:var(--gg-content-green)!important;
  font-size:30px!important;
  line-height:1.15!important;
  letter-spacing:-.015em;
}

.gg-content-page .gg-page-content h3{
  margin:28px 0 10px!important;
  color:var(--gg-content-green)!important;
  font-size:23px!important;
  line-height:1.2!important;
}

.gg-content-page .gg-page-content h4,
.gg-content-page .gg-page-content h5,
.gg-content-page .gg-page-content h6{
  margin:23px 0 9px!important;
  color:var(--gg-content-green)!important;
  font-family:var(--gg-serif);
  font-size:20px!important;
  line-height:1.25!important;
}

.gg-content-page .gg-page-content ul,
.gg-content-page .gg-page-content ol{
  margin:0 0 20px 22px;
  padding:0;
}

.gg-content-page .gg-page-content li{
  margin:7px 0;
}

.gg-content-page .gg-page-content a{
  color:var(--gg-content-green);
  font-weight:700;
  text-decoration-thickness:1px;
}

/* ---------------- LEGAL / POLICY PAGES ---------------- */

.gg-page-privacy-policy .gg-page-content,
.gg-page-terms-and-conditions .gg-page-content,
.gg-page-return-and-refund-policy .gg-page-content,
.gg-page-shipping .gg-page-content,
.gg-page-faqs .gg-page-content{
  max-width:850px!important;
}

.gg-page-privacy-policy .gg-page-content > p:first-child,
.gg-page-terms-and-conditions .gg-page-content > p:first-child,
.gg-page-return-and-refund-policy .gg-page-content > p:first-child,
.gg-page-shipping .gg-page-content > p:first-child{
  font-size:18px;
  line-height:1.6;
  color:#39433d;
}

.gg-page-privacy-policy .gg-page-content h2,
.gg-page-terms-and-conditions .gg-page-content h2,
.gg-page-return-and-refund-policy .gg-page-content h2,
.gg-page-shipping .gg-page-content h2{
  padding-top:6px;
  border-top:1px solid var(--gg-content-border);
}

.gg-page-return-and-refund-policy .gg-page-content strong{
  color:#24332a;
}

/* ---------------- ABOUT ---------------- */

.gg-page-about-us .gg-page,
.gg-page-about .gg-page{
  max-width:1200px!important;
}

.gg-about-story{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  gap:52px;
  align-items:start;
}

.gg-about-story__copy{
  max-width:720px;
  font-size:17px;
}

.gg-about-story__copy > p:first-child{
  font-size:20px;
  line-height:1.55;
}

.gg-about-founder-photo{
  margin:0;
}

.gg-about-founder-photo img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  box-shadow:var(--gg-content-shadow);
}

.gg-about-founder-photo figcaption{
  margin-top:9px;
  color:var(--gg-content-muted);
  font-size:11.5px;
  text-align:center;
}

.gg-about-quote{
  margin:42px 0 54px;
  padding:30px 34px;
  border-radius:14px;
  background:var(--gg-content-green);
  color:#fff;
}

.gg-about-quote p{
  margin:0!important;
  max-width:850px;
  color:#fff;
  font-family:var(--gg-serif);
  font-size:clamp(26px,3vw,40px);
  font-weight:700;
  line-height:1.15;
}

.gg-about-quote cite{
  display:block;
  margin-top:11px;
  color:#e5d8b8;
  font-size:12px;
  font-style:normal;
  font-weight:800;
}

.gg-community-head{
  max-width:720px;
  margin-bottom:18px;
}

.gg-community-head h2{
  margin-bottom:5px!important;
}

.gg-community-head p{
  color:var(--gg-content-muted);
  font-style:italic;
}

.gg-community-gallery{
  display:grid;
  grid-template-columns:1fr 1.45fr 1fr;
  grid-template-rows:230px 230px;
  gap:12px;
}

.gg-community-gallery figure{
  margin:0;
  min-width:0;
  overflow:hidden;
  border-radius:12px;
  background:#eee8d9;
}

.gg-community-gallery figure:nth-child(2){
  grid-column:2;
  grid-row:1 / span 2;
}

.gg-community-gallery img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ---------------- CONTACT ---------------- */

.gg-page-contact .gg-page{
  max-width:1120px!important;
}

.gg-contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:30px;
  align-items:start;
}

.gg-contact-intro{
  max-width:760px;
  margin-bottom:28px;
}

.gg-contact-intro .gg-contact-lead{
  font-size:20px;
  line-height:1.5;
  font-weight:750;
  color:#2f3b33;
}

.gg-contact-form{
  padding:24px;
  border:1px solid var(--gg-content-border);
  border-radius:14px;
  background:#fff;
  box-shadow:var(--gg-content-shadow);
}

.gg-contact-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.gg-contact-form label{
  display:block;
  margin-bottom:14px;
}

.gg-contact-form label > span{
  display:block;
  margin-bottom:6px;
  color:#314039;
  font-size:12px;
  font-weight:850;
}

.gg-contact-form label em{
  color:var(--gg-content-muted);
  font-size:10px;
  font-style:normal;
  font-weight:700;
}

.gg-contact-form input,
.gg-contact-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #b9c1bb;
  border-radius:7px;
  background:#fff;
  color:#202a24;
  font:inherit;
}

.gg-contact-form input{
  min-height:48px;
  padding:0 12px;
}

.gg-contact-form textarea{
  padding:12px;
  resize:vertical;
}

.gg-contact-form input:focus,
.gg-contact-form textarea:focus{
  border-color:var(--gg-content-green);
  outline:2px solid rgba(22,79,58,.13);
  outline-offset:1px;
}

.gg-contact-form__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.gg-contact-form__footer p{
  max-width:520px;
  margin:0!important;
  color:var(--gg-content-muted);
  font-size:11px;
  line-height:1.45;
}

.gg-contact-form button{
  flex:0 0 auto;
  min-height:46px;
  padding:0 22px;
  border:0;
  border-radius:7px;
  background:var(--gg-content-green);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.gg-contact-details{
  padding:24px;
  border-radius:14px;
  background:var(--gg-content-green);
  color:#fff;
}

.gg-contact-details h2{
  margin:0 0 16px!important;
  color:#fff!important;
  font-size:25px!important;
}

.gg-contact-details p{
  color:#edf3ef;
}

.gg-contact-details a{
  color:#fff!important;
}

.gg-contact-details__item{
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.14);
}

.gg-contact-details__item:first-of-type{
  padding-top:0;
  border-top:0;
}

.gg-contact-details__label{
  display:block;
  margin-bottom:4px;
  color:#dac48d;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.gg-contact-notice{
  margin:0 0 14px;
  padding:11px 13px;
  border-radius:7px;
  font-size:12.5px;
  font-weight:750;
}

.gg-contact-notice--success{
  background:#eef6ef;
  color:#215b33;
}

.gg-contact-notice--error{
  background:#fff0ee;
  color:#84352d;
}

.gg-contact-honeypot{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

/* ---------------- BLOG INDEX ---------------- */

.gg-blog-index .gg-page{
  max-width:1220px!important;
  padding-top:62px!important;
}

.gg-blog-index .gg-page-header{
  max-width:830px!important;
  margin-bottom:30px!important;
}

.gg-blog-index .gg-page-header h1{
  font-size:clamp(48px,5vw,66px)!important;
  line-height:.98!important;
}

.gg-blog-index .gg-page-header p{
  max-width:710px;
  color:var(--gg-content-muted);
  font-size:16px;
}

.gg-blog-index .gg-post-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

.gg-blog-index .gg-post-grid article{
  min-width:0;
  border:1px solid var(--gg-content-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(25,55,38,.025);
}

.gg-blog-index .gg-post-grid article > a{
  display:flex;
  height:100%;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
}

.gg-blog-index .gg-post-grid article img{
  width:100%;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  border-bottom:1px solid var(--gg-content-border);
}

.gg-blog-index .gg-post-card-copy{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:16px 17px 17px!important;
}

.gg-blog-index .gg-post-card-kicker{
  margin-bottom:7px;
  color:var(--gg-content-gold);
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.gg-blog-index .gg-post-grid article h2{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin:0 0 9px!important;
  padding:0!important;
  color:var(--gg-content-green)!important;
  font-family:var(--gg-serif);
  font-size:23px!important;
  line-height:1.08!important;
  letter-spacing:-.015em;
}

.gg-blog-index .gg-post-grid article p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin:0!important;
  padding:0!important;
  color:#59625c;
  font-size:12.5px!important;
  line-height:1.5;
}

.gg-post-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px 10px;
  margin-top:auto;
  padding-top:14px;
  color:#788079;
  font-size:9.75px;
  font-weight:700;
}

.gg-post-card-meta span + span:before{
  content:"·";
  margin-right:10px;
}

.navigation.pagination{
  margin-top:32px;
}

.navigation.pagination .nav-links{
  display:flex;
  gap:7px;
  align-items:center;
}

.navigation.pagination .page-numbers{
  display:grid;
  place-items:center;
  min-width:35px;
  height:35px;
  padding:0 9px;
  border:1px solid var(--gg-content-border);
  border-radius:6px;
  background:#fff;
  color:var(--gg-content-green);
  font-size:11px;
  font-weight:850;
  text-decoration:none;
}

.navigation.pagination .page-numbers.current{
  background:var(--gg-content-green);
  color:#fff;
}

/* ---------------- SINGLE STORY ---------------- */

.gg-story-single .gg-article{
  max-width:980px!important;
  padding-top:66px!important;
}

.gg-article-header{
  max-width:880px;
  margin-bottom:25px;
}

.gg-story-single .gg-article h1{
  margin:10px 0 15px!important;
  color:var(--gg-content-green)!important;
  font-size:clamp(44px,5vw,64px)!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
}

.gg-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  color:var(--gg-content-muted);
  font-size:11px;
  font-weight:750;
}

.gg-article-meta span + span:before{
  content:"·";
  margin-right:12px;
}

.gg-story-single .gg-article-hero{
  display:block;
  width:100%!important;
  aspect-ratio:16/9;
  margin:0 0 34px!important;
  object-fit:cover;
  border-radius:14px!important;
  box-shadow:var(--gg-content-shadow);
}

.gg-story-single .gg-article-body{
  max-width:780px;
  margin:0 auto;
  color:#28322c;
  font-size:17.5px!important;
  line-height:1.76!important;
}

.gg-story-single .gg-article-body p{
  margin:0 0 20px;
}

.gg-story-single .gg-article-body h2{
  margin:43px 0 14px!important;
  color:var(--gg-content-green)!important;
  font-size:32px!important;
  line-height:1.12!important;
}

.gg-story-single .gg-article-body h3{
  margin:32px 0 11px!important;
  color:var(--gg-content-green)!important;
  font-size:24px!important;
  line-height:1.18!important;
}

.gg-story-single .gg-article-body blockquote{
  margin:30px 0;
  padding:22px 25px;
  border-left:4px solid var(--gg-content-gold);
  background:#f8f1df;
  color:#26372d;
  font-family:var(--gg-serif);
  font-size:22px;
  line-height:1.4;
}

.gg-story-single .gg-article-body img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}

/* ---------------- CHECKOUT BLOCK ---------------- */

.gg-checkout-page .gg-page{
  max-width:1120px!important;
  padding-top:54px!important;
}

.gg-checkout-page .gg-page-header{
  margin-bottom:20px!important;
}

.gg-checkout-page .gg-page-header h1{
  font-size:clamp(44px,4.8vw,62px)!important;
}

.gg-checkout-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:0 0 20px;
}

.gg-checkout-trust span{
  padding:10px 12px;
  border:1px solid var(--gg-content-border);
  border-radius:7px;
  background:#fff;
  color:var(--gg-content-green);
  font-size:11px;
  font-weight:850;
  text-align:center;
}

.gg-checkout-page .wp-block-woocommerce-checkout{
  margin-top:0!important;
}

.gg-checkout-page .wc-block-checkout{
  gap:42px!important;
}

.gg-checkout-page .wc-block-checkout__main{
  width:calc(64% - 21px)!important;
}

.gg-checkout-page .wc-block-checkout__sidebar{
  width:calc(36% - 21px)!important;
}

.gg-checkout-page .wc-block-components-checkout-step{
  margin-bottom:22px!important;
  padding-bottom:22px!important;
  border-bottom:1px solid var(--gg-content-border)!important;
}

.gg-checkout-page .wc-block-components-checkout-step__heading{
  margin-bottom:12px!important;
}

.gg-checkout-page .wc-block-components-checkout-step__title,
.gg-checkout-page .wc-block-components-title{
  color:var(--gg-content-green)!important;
  font-family:var(--gg-serif)!important;
  font-size:24px!important;
  line-height:1.2!important;
}

.gg-checkout-page .wc-block-components-text-input input,
.gg-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input,
.gg-checkout-page .wc-block-components-address-form input{
  border-radius:7px!important;
  background:#fff!important;
}

.gg-checkout-page .wc-block-checkout__sidebar .wc-block-components-sidebar-layout{
  position:static;
}

.gg-checkout-page .wc-block-checkout__sidebar > div{
  position:sticky;
  top:105px;
}

.gg-checkout-page .wc-block-components-order-summary,
.gg-checkout-page .wc-block-components-totals-wrapper{
  border-color:var(--gg-content-border)!important;
}

.gg-checkout-page .wc-block-components-checkout-place-order-button{
  min-height:52px!important;
  border-radius:7px!important;
  background:var(--gg-content-green)!important;
  color:#fff!important;
  font-weight:900!important;
}

@media(max-width:980px){
  .gg-about-story,
  .gg-contact-layout{
    grid-template-columns:1fr;
  }

  .gg-about-founder-photo{
    max-width:520px;
  }

  .gg-blog-index .gg-post-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .gg-checkout-page .wc-block-checkout__main,
  .gg-checkout-page .wc-block-checkout__sidebar{
    width:100%!important;
  }

  .gg-checkout-page .wc-block-checkout__sidebar > div{
    position:static;
  }
}

@media(max-width:680px){
  .gg-content-page .gg-page,
  .gg-blog-index .gg-page,
  .gg-story-single .gg-article,
  .gg-checkout-page .gg-page{
    padding-top:38px!important;
  }

  .gg-content-page .gg-page-header h1,
  .gg-blog-index .gg-page-header h1,
  .gg-story-single .gg-article h1,
  .gg-checkout-page .gg-page-header h1{
    font-size:42px!important;
    line-height:1!important;
  }

  .gg-content-page .gg-page-content{
    font-size:16px!important;
  }

  .gg-content-page .gg-page-content h2{
    font-size:26px!important;
  }

  .gg-about-story{
    gap:26px;
  }

  .gg-community-gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:190px 260px 190px;
  }

  .gg-community-gallery figure:nth-child(2){
    grid-column:1 / span 2;
    grid-row:2;
  }

  .gg-contact-fields{
    grid-template-columns:1fr;
    gap:0;
  }

  .gg-contact-form__footer{
    align-items:flex-start;
    flex-direction:column;
  }

  .gg-contact-form button{
    width:100%;
  }

  .gg-blog-index .gg-post-grid{
    grid-template-columns:1fr!important;
  }

  .gg-checkout-trust{
    grid-template-columns:1fr;
  }

  .gg-story-single .gg-article-body{
    font-size:16.5px!important;
  }

  .gg-story-single .gg-article-body h2{
    font-size:28px!important;
  }
}


/* ===== v6.0.1 CONTACT PAGE SPACING FIX ===== */

/*
 * The generic content-page H2 rule was overriding the contact-card heading.
 * Its text inherited the same green as the card background while still
 * retaining a large H2 margin, creating the apparent blank area at the top.
 *
 * The card already communicates its purpose, so remove that redundant heading
 * and its layout space entirely.
 */
.gg-content-page.gg-page-contact .gg-page-content .gg-contact-details > h2{
    display:none!important;
    margin:0!important;
    padding:0!important;
}

/* Start the useful contact information immediately inside the panel. */
.gg-content-page.gg-page-contact .gg-page-content .gg-contact-details{
    padding:24px!important;
}

.gg-content-page.gg-page-contact .gg-page-content .gg-contact-details__item{
    padding:12px 0!important;
}

.gg-content-page.gg-page-contact .gg-page-content .gg-contact-details__item:first-of-type{
    padding-top:0!important;
}

/* Tighten the page's lower breathing room without crowding the footer. */
.gg-content-page.gg-page-contact .gg-page{
    padding-bottom:48px!important;
}
