/*!
 * AgroGradina Blog — approved editorial look (visual contract v2, 29.10.2026). Loaded after agblog.css.
 * Part 1: the self-hosted serif and the colour tokens for every blog page (.agblog).
 * Part 2: the blog home composition, only under the opt-in root .agblog.agblog--reference.
 * Nothing here touches the shop's body, header, .container, .row, .btn or h1 outside the blog.
 * Assets: fonts/ next to this file, photographs in ../../image/agblog/v2/ (licence: fonts/LICENSE-Liberation.txt).
 */
@font-face {
  font-family: 'AGBlog Editorial'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/AGBlogEditorial-Regular.woff') format('woff');
}
@font-face {
  font-family: 'AGBlog Editorial'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/AGBlogEditorial-Bold.woff') format('woff');
}
@font-face {
  font-family: 'AGBlog Editorial'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/AGBlogEditorial-Italic.woff') format('woff');
}
@font-face {
  font-family: 'AGBlog Editorial'; font-style: italic; font-weight: 700; font-display: swap;
  src: url('fonts/AGBlogEditorial-BoldItalic.woff') format('woff');
}
.agblog.agblog--reference {
  --agblog-bg: #f7faf7;
  --agblog-surface: #fff;
  --agblog-text: #102516;
  --agblog-body: #253326;
  --agblog-muted: #62676b;
  --agblog-green: #2c7e36;
  --agblog-green-dark: #245f2d;
  --agblog-green-light: #69aa43;
  --agblog-soft: #e4f2e1;
  --agblog-border: #e0eadf;
  --agref-shell: 1450px;
  --agref-gutter: clamp(24px, 2.8vw, 48px);
  position: relative;
  display: block;
  isolation: isolate;
  min-width: 0;
  padding: 0 0 32px;
  margin: 0;
  color: var(--agblog-body);
  background: var(--agblog-bg);
  font-family: 'AGBlog Editorial', 'Times New Roman', 'Nimbus Roman', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
.agblog.agblog--reference::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 680px;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(247,250,247,0) 44%, rgba(247,250,247,.6) 73%, #f7faf7 100%), url('../../image/agblog/v2/background/botanical-dew-desktop.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}
.agblog.agblog--reference *,
.agblog.agblog--reference *::before,
.agblog.agblog--reference *::after { box-sizing: border-box; }
.agblog.agblog--reference [hidden] { display: none !important; }
.agblog.agblog--reference h1,
.agblog.agblog--reference h2,
.agblog.agblog--reference h3,
.agblog.agblog--reference p { margin: 0; padding: 0; font-family: inherit; text-transform: none; letter-spacing: normal; }
.agblog.agblog--reference a { color: var(--agblog-green-dark); text-decoration: none; }
.agblog.agblog--reference button,
.agblog.agblog--reference input { font: inherit; text-transform: none; letter-spacing: normal; }
.agblog.agblog--reference button { cursor: pointer; }
.agblog.agblog--reference a:focus-visible,
.agblog.agblog--reference button:focus-visible,
.agblog.agblog--reference input:focus-visible { outline: 3px solid #568e27; outline-offset: 3px; }
.agblog.agblog--reference .agref-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.agblog.agblog--reference .agref-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.agblog.agblog--reference .agref-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; color: inherit; }
.agblog.agblog--reference .agref-shell { width: calc(100% - var(--agref-gutter) * 2); max-width: var(--agref-shell); margin: 0 auto; }

/* Intro: 252px from blog origin to main panel at the 1536px reference viewport. */
.agblog.agblog--reference .agref-intro { padding: 19px 16px 15px; text-align: center; }
.agblog.agblog--reference .agref-crumbs { margin: 0; padding: 0; color: var(--agblog-muted); font-size: 14px; line-height: 18px; }
.agblog.agblog--reference .agref-crumbs ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.agblog.agblog--reference .agref-crumbs li + li::before { content: '/'; display: inline-block; padding: 0 5px; }
.agblog.agblog--reference .agref-crumbs a { color: inherit; }
.agblog.agblog--reference .agref-title { margin: 8px 0 2px; color: #0a2111; font-size: 46px; font-weight: 700; line-height: 52px; }
.agblog.agblog--reference .agref-subtitle { color: #62676b; font-size: 23px; line-height: 30px; }
.agblog.agblog--reference .agref-search {
  display: flex; align-items: center; gap: 12px; width: 534px; max-width: 100%; height: 44px;
  padding: 2px 2px 2px 18px; margin: 12px auto 0; border: 1px solid #e2ebde;
  border-radius: 999px; background: #fff; box-shadow: 0 4px 15px rgba(29,66,33,.055);
}
.agblog.agblog--reference .agref-search .agref-icon { width: 24px; height: 24px; color: #10251c; }
.agblog.agblog--reference .agref-search input {
  appearance: none; min-width: 0; width: 100%; height: 38px; flex: 1 1 auto; padding: 0;
  border: 0; border-radius: 0; outline: none; background: transparent; box-shadow: none;
  font-size: 16px; color: #253326; line-height: 38px;
}
.agblog.agblog--reference .agref-search input::placeholder { color: #686e72; opacity: 1; }
.agblog.agblog--reference .agref-search input:focus-visible { outline: 2px solid #568e27; outline-offset: 0; }
.agblog.agblog--reference .agref-search button {
  height: 38px; min-width: 99px; padding: 0 21px; flex: 0 0 auto; border: 0;
  border-radius: 5px 999px 999px 5px; color: #fff; background: linear-gradient(135deg, #2f8031, #2b7130);
  font-size: 16px; line-height: 38px; text-align: center; box-shadow: none;
}
.agblog.agblog--reference .agref-search button:hover { background: #245f2d; }
.agblog.agblog--reference .agref-topics { margin: 20px 0 0; padding: 0; }
.agblog.agblog--reference .agref-topics ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; list-style: none; padding: 0; margin: 0; }
.agblog.agblog--reference .agref-chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px;
  padding: 4px 20px; border: 1px solid #dce8d7; border-radius: 999px;
  background: rgba(255,255,255,.94); color: #13351b; font-size: 14px; font-weight: 400;
  line-height: 22px; text-decoration: none; box-shadow: none;
}
.agblog.agblog--reference .agref-chip[aria-pressed='true'],
.agblog.agblog--reference .agref-chip[aria-current='page'] { border-color: #2e7933; color: #fff; background: linear-gradient(135deg, #357f34, #2e7933); }
.agblog.agblog--reference .agref-chip:hover { border-color: #629b4c; }

/* Shared photography + calendar block, no Bootstrap columns. */
.agblog.agblog--reference .agref-body { container: agref / inline-size; }
.agblog.agblog--reference .agref-showcase {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 14px;
  padding: 10px; border-radius: 16px; background: rgba(255,255,255,.94);
  box-shadow: 0 6px 22px rgba(22,65,29,.055); align-items: stretch;
}
/* side by side (≈ 2.25 : 1, as in the approved image) only when the calendar keeps its circles and readable text */
@container agref (min-width: 1220px) {
  .agblog.agblog--reference .agref-showcase { grid-template-columns: minmax(0,971fr) minmax(0,432fr); gap: 18px; padding: 10px 12px; }
  .agblog.agblog--reference .agref-showcase.agref-showcase--single { grid-template-columns: minmax(0,1fr); }
}
.agblog.agblog--reference .agref-feature {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: 422px;
  overflow: hidden; border-radius: 13px; color: #fff; background: #23492d;
}
.agblog.agblog--reference .agref-feature > img {
  display: block; position: absolute; z-index: 0; width: 100%; height: 100%; inset: 0; object-fit: cover;
  object-position: 50% 50%; border-radius: inherit;
}
/* a soft dark gradient through the lower part only: no visible box around the text */
.agblog.agblog--reference .agref-feature::after {
  content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,17,8,0) 26%, rgba(6,17,8,.3) 40%, rgba(6,17,8,.6) 54%, rgba(6,17,8,.76) 72%, rgba(6,17,8,.86) 100%);
}
.agblog.agblog--reference .agref-season {
  position: absolute; z-index: 2; top: 15px; left: 18px; padding: 5px 12px;
  border-radius: 6px; background: #287b31; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-transform: uppercase;
}
.agblog.agblog--reference .agref-feature-copy { position: relative; z-index: 2; padding: 150px 36px 38px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.agblog.agblog--reference .agref-feature h2 { max-width: 660px; font-size: 42px; line-height: 1.08; font-weight: 700; color: #fff; }
.agblog.agblog--reference .agref-feature-link {
  display: inline; appearance: none; border: 0; border-radius: 0; padding: 0; margin: 0; font: inherit;
  line-height: inherit; font-weight: inherit; text-align: left; color: #fff !important; background: transparent; box-shadow: none;
}
.agblog.agblog--reference .agref-feature-link:hover, .agblog.agblog--reference .agref-feature-link:focus, .agblog.agblog--reference .agref-feature-link:visited { color: #fff !important; text-decoration: none; }
.agblog.agblog--reference .agref-feature-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.agblog.agblog--reference .agref-feature-link::after { content: ''; position: absolute; inset: 0; }
.agblog.agblog--reference .agref-feature-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.agblog.agblog--reference .agref-feature-copy > p { max-width: 600px; margin: 12px 0 0; font-size: 17px; line-height: 1.42; color: #fff; }

/* Editorial cards, matching the short panoramic photos in the approved image. */
.agblog.agblog--reference .agref-articles { margin-top: 8px; padding: 0 4px; }
.agblog.agblog--reference .agref-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding: 0 10px; margin: 0 0 6px; }
.agblog.agblog--reference .agref-section-head h2 { color: #102b15; font-size: 34px; line-height: 40px; font-weight: 700; }
.agblog.agblog--reference .agref-all { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: #1f5129; font-size: 14px; line-height: 22px; white-space: nowrap; }
.agblog.agblog--reference .agref-all .agref-icon { width: 19px; height: 19px; }
.agblog.agblog--reference .agref-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.agblog.agblog--reference .agref-card { --agref-card-media: 118px; position: relative; min-width: 0; border: 1px solid #e2ebe0; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.96); }
.agblog.agblog--reference .agref-card > img { display: block; width: calc(100% - 18px); height: var(--agref-card-media); margin: 0 9px; border-radius: 8px; object-fit: cover; object-position: center; }
.agblog.agblog--reference .agref-card-body { position: static; padding: 12px 23px 10px; }
.agblog.agblog--reference .agref-card-tag { position: absolute; top: calc(var(--agref-card-media) - 10px); left: 23px; display: inline-block; max-width: calc(100% - 46px); padding: 2px 10px; border-radius: 999px; background: #f1f7ed; color: #285e2c; font-size: 11px; font-weight: 700; line-height: 16px; text-transform: uppercase; }
.agblog.agblog--reference .agref-card h3 { margin: 0; color: #0c160e; font-size: 20px; line-height: 23px; font-weight: 700; }
.agblog.agblog--reference .agref-card-link { display: inline; appearance: none; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; }
.agblog.agblog--reference .agref-card-link::after { content: ''; position: absolute; inset: 0; }
.agblog.agblog--reference .agref-card-body p { margin: 4px 0 0; color: #62676b; font-size: 15px; line-height: 18px; }
.agblog.agblog--reference .agref-card:focus-within { outline: 3px solid #568e27; outline-offset: 3px; }
.agblog.agblog--reference .agref-card:hover { border-color: #b9d4b1; }

/* Native modal is used only by the local reference demo, never as a fake CMS. */

@media (min-width: 1024px) and (max-width: 1279px) {
  .agblog.agblog--reference .agref-feature-copy { padding: 150px 28px 32px; }
  .agblog.agblog--reference .agref-feature h2 { font-size: 38px; }
  .agblog.agblog--reference .agref-card-body { padding-left: 16px; padding-right: 16px; }
  .agblog.agblog--reference .agref-card-tag { left: 16px; }
}
@media (max-width: 1023px) {
  .agblog.agblog--reference { --agref-gutter: 24px; }
  .agblog.agblog--reference::before { height: 720px; }
  .agblog.agblog--reference .agref-intro { padding: 20px 24px 24px; }
  .agblog.agblog--reference .agref-title { max-width: 660px; margin: 10px auto 6px; font-size: 38px; line-height: 42px; }
  .agblog.agblog--reference .agref-subtitle { font-size: 21px; line-height: 27px; }
  .agblog.agblog--reference .agref-search { margin-top: 18px; height: 50px; }
  .agblog.agblog--reference .agref-search button { height: 44px; line-height: 44px; }
  .agblog.agblog--reference .agref-topics { margin-top: 18px; }
  .agblog.agblog--reference .agref-chip { min-height: 40px; padding: 5px 18px; }
  .agblog.agblog--reference .agref-feature { min-height: 380px; }
  .agblog.agblog--reference .agref-feature-copy { padding: 140px 28px 30px; }
  .agblog.agblog--reference .agref-feature h2 { font-size: 36px; }
  .agblog.agblog--reference .agref-articles { margin-top: 18px; padding: 0; }
  .agblog.agblog--reference .agref-section-head { padding: 0; margin-bottom: 12px; }
  .agblog.agblog--reference .agref-section-head h2 { font-size: 30px; line-height: 34px; }
  .agblog.agblog--reference .agref-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .agblog.agblog--reference .agref-card { --agref-card-media: 150px; }
  .agblog.agblog--reference .agref-card > img { width: 100%; margin: 0; }
  .agblog.agblog--reference .agref-card-body { padding: 16px 16px 18px; }
  .agblog.agblog--reference .agref-card-tag { left: 16px; }
  .agblog.agblog--reference .agref-card-body p { font-size: 16px; line-height: 21px; }
}
@media (max-width: 639px) {
  .agblog.agblog--reference { --agref-gutter: 16px; }
  .agblog.agblog--reference::before {
    height: 760px;
    background-image: linear-gradient(180deg, rgba(247,250,247,0) 44%, rgba(247,250,247,.6) 73%, #f7faf7 100%), url('../../image/agblog/v2/background/botanical-dew-mobile.webp');
    background-position: center top;
  }
  .agblog.agblog--reference .agref-intro { padding: 18px 16px 20px; }
  .agblog.agblog--reference .agref-title { max-width: 370px; margin-top: 10px; font-size: 32px; line-height: 36px; }
  .agblog.agblog--reference .agref-subtitle { max-width: 330px; margin: 0 auto; font-size: 19px; line-height: 24px; }
  .agblog.agblog--reference .agref-search { gap: 8px; padding-left: 12px; margin-top: 16px; }
  .agblog.agblog--reference .agref-search input { font-size: 16px; }
  .agblog.agblog--reference .agref-search button { min-width: 78px; padding: 0 14px; }
  .agblog.agblog--reference .agref-search .agref-icon { width: 22px; height: 22px; }
  .agblog.agblog--reference .agref-topics ul { gap: 7px; }
  .agblog.agblog--reference .agref-chip { min-height: 44px; padding: 6px 14px; font-size: 14px; }
  .agblog.agblog--reference .agref-showcase { gap: 12px; padding: 8px; }
  .agblog.agblog--reference .agref-feature { min-height: 400px; }
  .agblog.agblog--reference .agref-feature-copy { padding: 130px 20px 24px; }
  .agblog.agblog--reference .agref-feature h2 { font-size: 31px; }
  .agblog.agblog--reference .agref-desktop-title-break { display: none; }
  .agblog.agblog--reference .agref-feature-copy > p { margin-top: 10px; font-size: 16.5px; line-height: 1.42; }
  .agblog.agblog--reference .agref-season { top: 12px; left: 12px; }
  .agblog.agblog--reference .agref-section-head { display: block; }
  .agblog.agblog--reference .agref-section-head h2 { font-size: 29px; line-height: 32px; }
  .agblog.agblog--reference .agref-all { min-height: 44px; margin-top: 3px; }
  .agblog.agblog--reference .agref-cards { grid-template-columns: minmax(0,1fr); }
  .agblog.agblog--reference .agref-card { --agref-card-media: 176px; }
  .agblog.agblog--reference .agref-card h3 { font-size: 22px; line-height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .agblog.agblog--reference *, .agblog.agblog--reference *::before, .agblog.agblog--reference *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Wider screens get the native 1672px photograph, medium ones the 1280px derivative. */
@media (min-width: 640px) and (max-width: 1199px) {
  .agblog.agblog--reference::before {
    background-image: linear-gradient(180deg, rgba(247,250,247,0) 44%, rgba(247,250,247,.6) 73%, #f7faf7 100%), url('../../image/agblog/v2/background/botanical-dew-1280.webp');
  }
}

/* Home: the sections below the approved first screen keep the same width and type. */
.agblog.agblog--reference .agref-more { margin-top: 36px; }
.agblog.agblog--reference .agref-more .agblog-section { margin-top: 36px; }
.agblog.agblog--reference .agref-more .agblog-section__head h2,
.agblog.agblog--reference .agref-more .agblog-cta h2 { font-size: 30px; line-height: 36px; font-weight: 700; color: #102b15; }
.agblog.agblog--reference .agref-more .agblog-intro { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: var(--agblog-body); text-align: left; }

/* ---------------------------------------------------------------------------------------------
 * Part 1 — one editorial voice for every blog page: archive, category, tag, search, article,
 * calendar, map. Same serif, colours, borders and buttons as the approved home.
 * ------------------------------------------------------------------------------------------- */
.agblog {
  --agblog-green: #2c7e36;
  --agblog-green-dark: #245f2d;
  --agblog-green-light: #69aa43;
  --agblog-soft: #e4f2e1;
  --agblog-border: #e0eadf;
  --agblog-text: #102516;
  --agblog-muted: #62676b;
  font-family: 'AGBlog Editorial', 'Times New Roman', 'Nimbus Roman', serif;
  color: #253326;
}
.agblog h1, .agblog h2, .agblog h3, .agblog h4, .agblog h5, .agblog h6,
.agblog .agblog-title, .agblog button, .agblog input, .agblog select, .agblog textarea, .agblog .agblog-btn, .agblog .agblog-chip {
  font-family: inherit; text-transform: none; letter-spacing: normal;
}
.agblog h1, .agblog h2, .agblog h3, .agblog .agblog-title { color: var(--agblog-text); font-weight: 700; }
.agblog .agblog-title { font-size: 42px; line-height: 1.12; }
.agblog .agblog-card__title { font-size: 20px; line-height: 1.18; }
.agblog .agblog-card__title a { color: #0c160e; }
.agblog .agblog-card__intro, .agblog .agblog-card__meta { font-size: 15px; line-height: 1.35; color: var(--agblog-muted); }
.agblog .agblog-chip { border-color: #dce8d7; color: #13351b; }
.agblog .agblog-chip.is-active, .agblog .agblog-chip[aria-current='page'] { border-color: #2e7933; color: #fff; background: linear-gradient(135deg, #357f34, #2e7933); }
.agblog .agblog-btn--primary { background: linear-gradient(135deg, #2f8031, #2b7130); border-color: #2b7130; color: #fff; }
.agblog .agblog-btn--primary:hover { background: #245f2d; color: #fff; }
/* article: a readable column, 18px text with generous leading, a clear H2/H3 hierarchy */
.agblog .agblog-content { max-width: 780px; font-size: 18px; line-height: 1.7; color: #253326; }
.agblog .agblog-content h2 { font-size: 30px; line-height: 1.2; color: #102516; }
.agblog .agblog-content h3 { font-size: 23px; line-height: 1.25; color: #102516; }
.agblog .agblog-content img { height: auto; }
@media (max-width: 639px) {
  .agblog .agblog-title { font-size: 30px; }
  .agblog .agblog-content { font-size: 18px; line-height: 1.65; }
  .agblog .agblog-content h2 { font-size: 25px; }
}

/* Readability of the intro on narrow screens, where the leaves come close to the text (contrast ≥ 4.5:1). */
@media (max-width: 1023px) {
  .agblog.agblog--reference .agref-intro { position: relative; isolation: isolate; }
  .agblog.agblog--reference .agref-intro::before {
    content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 62% at 50% 42%, rgba(247,250,247,.92) 0%, rgba(247,250,247,.78) 55%, rgba(247,250,247,0) 100%);
  }
  .agblog.agblog--reference .agref-subtitle,
  .agblog.agblog--reference .agref-crumbs { color: #4a5250; }
}
