/*
Theme Name: Aalsmeer Flower Guide UID25 Standalone
Theme URI: https://www.aalsmeer.co.jp/apps/note/
Author: Aalsmeer
Description: Independent WordPress theme inspired by Aalsmeer ColorMe UID 25.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aalsmeer-flower-guide-uid25-standalone
*/

:root {
  --ink: #26352f;
  --paper: #f7f4ef;
  --surface: #fffdfa;
  --soft: #efede7;
  --green: #425b4e;
  --green-deep: #26352f;
  --muted: #68746d;
  --line: #dedbd4;
  --gold: #ad8a51;
  --wrap: 1180px;
  --shadow: 0 16px 44px rgba(38, 53, 47, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.mobile-only { display: none; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 16px;
  color: #fff;
  background: var(--green-deep);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.site-brand, .site-brand__link { display: block; width: 200px; line-height: 0; }
.site-brand img, .custom-logo { width: 200px; height: auto; }
.primary-nav .menu,
.footer-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }
.header-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.header-shop span { margin-left: 8px; color: #e4cfaa; }
.header-shop:hover { color: #fff; background: var(--green-deep); }
.mobile-menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 440px;
  margin-top: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero__copy {
  align-self: center;
  padding: clamp(34px, 5.2vw, 72px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.why h2,
.about h2,
.shop-cta h2,
.entry__header h1,
.page-heading h1,
.not-found h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.48;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(38px, 4.2vw, 58px); }
.hero__lead {
  max-width: 520px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button--green { color: #fff; background: var(--green); border-color: var(--green); }
.button--green:hover { color: #fff; background: var(--green-deep); border-color: var(--green-deep); }
.button--outline { color: var(--ink); background: transparent; border-color: #aeb8b1; }
.button--outline:hover { color: var(--green-deep); background: #edf1ed; border-color: var(--green); }
.button--light { color: var(--green-deep); background: var(--surface); border-color: var(--surface); }
.button--light:hover { color: #fff; background: transparent; border-color: rgba(255,255,255,.8); }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
}
.hero__facts li::before { margin-right: 8px; color: var(--gold); content: "•"; }
.hero__media { min-height: 440px; overflow: hidden; background: #f1efeb; }
.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: right center;
}

.section-space { padding-block: 82px; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2,
.why h2,
.about h2,
.shop-cta h2 { font-size: clamp(30px, 3.4vw, 43px); }
.section-heading > p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.section-heading--split {
  display: grid;
  grid-template-columns: 1fr minmax(250px, .7fr);
  align-items: end;
  gap: 34px;
  max-width: none;
}
.section-heading--split > p { max-width: 420px; margin: 0 0 6px; }

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}
.occasion-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 155px;
  padding: 20px 20px 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .18s ease;
}
.occasion-link:last-child { border-right: 0; }
.occasion-link:hover { color: var(--ink); background: #f1f3ef; }
.occasion-link__index { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.occasion-link strong { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 15px 0 7px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 17px; font-weight: 500; }
.occasion-link strong span { color: var(--gold); font-family: sans-serif; font-size: 17px; }
.occasion-link > span:last-child { color: var(--muted); font-size: 11px; line-height: 1.65; }

.why { background: var(--soft); }
.why__inner { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.7fr); gap: 56px; align-items: start; }
.why__intro h2 { max-width: 380px; }
.why__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why__points article { padding: 4px 20px 0; border-left: 1px solid #d2d3cb; }
.why__points article:first-child { padding-left: 0; border-left: 0; }
.why__points article > span { color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.why__points h3 { margin: 14px 0 9px; font-size: 14px; line-height: 1.65; }
.why__points p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.post-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.post-card__image { aspect-ratio: 1.48 / 1; overflow: hidden; background: #ece9e2; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card__link:hover .post-card__image img { transform: scale(1.035); }
.post-card__image--empty { display: grid; place-items: center; background: linear-gradient(135deg, #f1eee8, #e6e9e2); }
.post-card__image--empty span { color: #718078; font-family: Georgia, serif; font-size: 11px; letter-spacing: .22em; }
.post-card__body { padding: 20px 22px 22px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 11px; color: var(--muted); font-size: 10px; }
.post-card__meta a { color: var(--green); text-decoration: none; }
.post-card h3 { margin: 0 0 10px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; font-weight: 500; line-height: 1.6; }
.post-card__body > p:not(.post-card__meta) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.post-card__more { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--green); font-size: 11px; font-weight: 700; }
.post-card__more span { color: var(--gold); }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 30px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); text-align: center; }
.section-more { margin: 26px 0 0; text-align: right; }
.section-more a, .text-link { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.section-more span, .text-link span { margin-left: 8px; color: var(--gold); }

.about { color: #fffdfa; background: var(--green-deep); }
.about__inner { display: grid; grid-template-columns: 1fr minmax(300px, .85fr); gap: 70px; align-items: center; }
.about .eyebrow, .shop-cta .eyebrow { color: #d5bd94; }
.about__copy p { margin: 0 0 22px; color: #d9e0db; font-size: 14px; line-height: 2; }
.about__copy .text-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }
.about__copy .text-link span { color: #d5bd94; }

.story-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-links > a { display: flex; flex-direction: column; align-items: flex-start; min-height: 210px; padding: 23px 24px; border-right: 1px solid var(--line); text-decoration: none; }
.story-links > a:first-child { padding-left: 0; }
.story-links > a:last-child { padding-right: 0; border-right: 0; }
.story-links > a:hover strong { color: var(--green); }
.story-links span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.story-links strong { margin: 12px 0 8px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; font-weight: 500; line-height: 1.55; }
.story-links small { color: var(--muted); font-size: 12px; line-height: 1.8; }
.story-links b { margin-top: auto; padding-top: 16px; color: var(--green); font-size: 11px; }

.shop-cta { padding-block: 62px; color: #fffdfa; background: var(--green); }
.shop-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.shop-cta h2 { font-size: clamp(30px, 3.2vw, 40px); }
.shop-cta__inner > div > p:last-child { max-width: 550px; margin: 16px 0 0; color: #e1e7e2; font-size: 13px; }
.shop-cta .button { flex: 0 0 auto; }

.listing-page, .page-content, .single-page, .not-found { min-height: 60vh; }
.page-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.page-heading h1, .entry__header h1, .not-found h1 { font-size: clamp(32px, 4vw, 48px); }
.page-heading > p:last-child { color: var(--muted); }
.archive-description { margin-top: 12px; color: var(--muted); font-size: 14px; }
.entry { max-width: 860px; margin-inline: auto; }
.entry__header { margin-bottom: 30px; text-align: center; }
.entry__header .eyebrow { margin-bottom: 12px; }
.entry__header .eyebrow a { color: var(--green); text-decoration: none; }
.entry__header time { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }
.entry__featured { margin: 0 0 34px; }
.entry__featured img { width: 100%; height: auto; }
.entry__content { color: #38463f; font-size: 16px; line-height: 2; }
.entry__content > * { max-width: 100%; }
.entry__content h2, .entry__content h3, .entry__content h4 { margin-top: 2.2em; color: var(--ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 500; line-height: 1.55; }
.entry__content a { color: var(--green); }
.entry__content blockquote { margin-inline: 0; padding: 12px 22px; border-left: 2px solid var(--gold); background: var(--surface); }
.entry__content img { height: auto; }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { padding: 10px; border: 1px solid var(--line); }
.entry__content .alignwide { width: min(100% + 100px, calc(100vw - 48px)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.entry__tags a { padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; text-decoration: none; }
.entry__footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-navigation { max-width: 860px; margin: 35px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.post-navigation a { color: var(--green); }

.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.page-numbers { display: inline-grid; min-width: 42px; min-height: 42px; place-items: center; padding: 4px 10px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--green); border-color: var(--green); }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 28px auto 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); }
.search-submit { min-height: 46px; padding: 8px 18px; border: 1px solid var(--green); color: #fff; background: var(--green); cursor: pointer; }
.not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found > p:not(.eyebrow) { color: var(--muted); }
.not-found .button { margin-top: 16px; }

.site-footer { color: #e3e9e5; background: var(--green-deep); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 28px; padding-block: 38px; }
.site-footer__brand .eyebrow { margin-bottom: 6px; color: #d5bd94; }
.site-footer__brand p:last-child { margin: 0; color: #fff; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 17px; }
.site-footer .footer-menu { justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .footer-menu a { color: #d7dfda; font-size: 11px; text-decoration: none; }
.rss-link { color: #fff; font-size: 12px; text-decoration: none; }
.rss-link span { color: #d5bd94; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.16); color: #b8c3bc; font-size: 10px; }
.site-footer__bottom .wrap { display: flex; justify-content: space-between; gap: 18px; padding-block: 13px; }
.site-footer__bottom a { color: inherit; text-decoration: none; }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px; }
  .site-brand, .site-brand__link, .site-brand img, .custom-logo { width: 180px; }
  .primary-nav .menu { gap: 14px; }
  .primary-nav a { font-size: 11px; }
  .header-shop { padding-inline: 12px; font-size: 11px; }
  .hero__copy { padding: 42px; }
  .why__inner { gap: 34px; }
  .why__points article { padding-inline: 14px; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .site-header__inner { min-height: 72px; grid-template-columns: 1fr auto; gap: 16px; }
  .site-brand, .site-brand__link, .site-brand img, .custom-logo { width: 164px; }
  .primary-nav, .header-shop { display: none; }
  .mobile-menu { display: block; position: relative; justify-self: end; }
  .mobile-menu summary { display: grid; min-width: 54px; min-height: 44px; place-items: center; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 32px)); padding: 14px 18px 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .mobile-menu .menu { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
  .mobile-menu .menu a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; text-decoration: none; }
  .mobile-menu__shop { display: flex; align-items: center; min-height: 46px; margin-top: 12px; padding-inline: 12px; color: #fff; background: var(--green); font-size: 12px; text-decoration: none; }
  .hero { grid-template-columns: 1fr; margin-top: 18px; }
  .hero__media { order: -1; min-height: 255px; height: 255px; }
  .hero__media img { min-height: 255px; height: 255px; object-position: right center; }
  .hero__copy { padding: 30px 24px 32px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero__lead { margin: 16px 0 20px; font-size: 13px; }
  .hero__facts { gap: 6px 12px; font-size: 10px; }
  .section-space { padding-block: 58px; }
  .mobile-only { display: initial; }
  .section-heading--split { grid-template-columns: 1fr; gap: 10px; }
  .section-heading--split > p { max-width: none; }
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasion-link { min-height: 148px; padding: 16px; }
  .occasion-link:nth-child(2) { border-right: 0; }
  .occasion-link:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .occasion-link strong { font-size: 15px; }
  .why__inner { grid-template-columns: 1fr; gap: 28px; }
  .why__points { grid-template-columns: 1fr; }
  .why__points article, .why__points article:first-child { padding: 16px 0; border-top: 1px solid #d2d3cb; border-left: 0; }
  .why__points article:first-child { border-top: 0; }
  .why__points h3 { margin: 7px 0; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post-card__body { padding: 15px; }
  .post-card h3 { font-size: 15px; }
  .post-card__body > p:not(.post-card__meta) { font-size: 11px; }
  .about__inner { grid-template-columns: 1fr; gap: 18px; }
  .story-links { grid-template-columns: 1fr; }
  .story-links > a, .story-links > a:first-child, .story-links > a:last-child { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-links > a:last-child { border-bottom: 0; }
  .shop-cta__inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .site-footer__inner { grid-template-columns: 1fr auto; gap: 20px; }
  .site-footer__inner nav { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .footer-menu { justify-content: flex-start; }
  .rss-link { justify-self: end; }
  .entry__content { font-size: 15px; }
  .entry__content .alignwide { width: 100%; margin-inline: 0; transform: none; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 28px); }
  .site-header__inner { min-height: 66px; }
  .site-brand, .site-brand__link, .site-brand img, .custom-logo { width: 150px; }
  .hero__media, .hero__media img { min-height: 225px; height: 225px; }
  .hero__copy { padding-inline: 20px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-link, .occasion-link:nth-child(2) { min-height: 122px; border-right: 0; border-bottom: 1px solid var(--line); }
  .occasion-link:last-child { border-bottom: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card__image { aspect-ratio: 1.7 / 1; }
  .site-footer__bottom .wrap { align-items: flex-start; flex-direction: column; gap: 5px; }
  .search-form { flex-direction: column; }
}

@media (min-width: 481px) and (max-width: 600px) {
  .hero__media img { transform: scale(1.5); transform-origin: right center; }
}

@media (min-width: 601px) and (max-width: 760px) {
  .hero__media img { transform: scale(2); transform-origin: right center; }
}

@media (max-width: 480px) {
  .hero__media img { transform: scale(1.4); transform-origin: right center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Compact article cards: keep the latest articles visible without oversized blocks. */
.post-card__image { aspect-ratio: 1.95 / 1; }
.post-card__body { padding: 14px 16px 16px; }
.post-card h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
.post-card__body > p:not(.post-card__meta) { font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card__more { margin-top: 10px; }
@media (max-width: 720px) {
  .post-card__image { aspect-ratio: 1.9 / 1; }
  .post-card__body { padding: 12px 14px 14px; }
  .post-card h3 { font-size: 15px; line-height: 1.45; }
  .post-card__body > p:not(.post-card__meta) { -webkit-line-clamp: 2; }
}

/* The image link is no longer the full card wrapper. */
.post-card__link { height: auto; }
