/* Kwiaciarnia Rzym alpha.9 — autorski projekt lokalnej kwiaciarni. */
:root {
  --rzym-ink: #263326;
  --rzym-muted: #637064;
  --rzym-forest: #314b2f;
  --rzym-leaf: #708b32;
  --rzym-leaf-dark: #536b1f;
  --rzym-petal: #c55324;
  --rzym-petal-dark: #9e3b16;
  --rzym-cream: #fbf8f0;
  --rzym-sage: #edf1e2;
  --rzym-line: #dde3d7;
  --rzym-white: #fff;
  --rzym-shadow: 0 18px 60px rgb(35 53 34 / 10%);
}

body { background: #f2eee4; color: var(--rzym-ink); font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; padding: 0; }
.wp-site-blocks { width: min(100%, 1240px); margin: 0 auto; background: var(--rzym-white); min-height: 100vh; box-shadow: var(--rzym-shadow); }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { padding: clamp(28px, 5vw, 68px) clamp(20px, 4vw, 52px) 70px !important; }
.wp-site-blocks > main.rzym-home { padding-top: 0 !important; }
.wp-site-blocks > main > * { max-width: 1136px; }
.wp-site-blocks h1,.wp-site-blocks h2,.wp-site-blocks h3 { color: var(--rzym-forest); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.wp-site-blocks h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); margin: 0; }
.wp-site-blocks h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.wp-site-blocks h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.wp-site-blocks p { max-width: 72ch; }
.wp-site-blocks a { color: var(--rzym-leaf-dark); text-decoration-thickness: 1px; }
.wp-site-blocks a:hover { color: var(--rzym-petal-dark); }
.rzym-eyebrow { color: var(--rzym-petal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 .65rem; text-transform: uppercase; }
.rzym-lede { color: var(--rzym-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.rzym-section { padding-block: clamp(44px, 7vw, 86px); }
.rzym-section-head { margin-bottom: 30px; }
.rzym-section-head > * { margin-block: 0 .6rem; }

/* Header */
.rzym-header { max-width: none !important; border: 0; background: var(--rzym-white); }
.rzym-topbar { padding: 8px clamp(20px, 4vw, 52px); background: var(--rzym-forest); color: #fff; min-height: 42px; gap: 16px; }
.rzym-topbar p { margin: 0; font-size: .84rem; }
.rzym-topbar a { color: #fff; font-weight: 750; text-decoration: none; }
.rzym-topbar-note { opacity: .88; }
.rzym-brand { display: grid !important; grid-template-columns: 1fr auto 1fr; gap: 24px !important; align-items: center !important; padding: 18px clamp(20px, 4vw, 52px) 14px; }
.rzym-brand-copy { color: var(--rzym-muted); font-size: .86rem; line-height: 1.45; }
.rzym-brand-copy strong { display: block; color: var(--rzym-forest); font-size: .98rem; }
.rzym-brand figure { margin: 0 auto; text-align: center; }
.rzym-brand img { width: 310px; max-width: 64vw; height: auto; }
.rzym-brand-action { justify-self: end; text-align: right; }
.rzym-brand-action small { display: block; color: var(--rzym-muted); margin-bottom: 4px; }
.rzym-phone-button,.rzym-cta .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border-radius: 999px; background: var(--rzym-petal); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgb(197 83 36 / 22%); }
.rzym-phone-button:hover,.rzym-cta .wp-block-button__link:hover { background: var(--rzym-petal-dark); color: #fff; }
.rzym-nav { border-block: 1px solid var(--rzym-line); padding: 0 clamp(20px, 4vw, 52px); }
.rzym-nav .wp-block-navigation { width: 100%; justify-content: center; }
.rzym-nav .wp-block-navigation__container { justify-content: center; gap: 0; }
.rzym-nav .wp-block-navigation-item__content { color: var(--rzym-ink); font-size: .9rem; font-weight: 750; padding: 15px 17px; text-decoration: none; }
.rzym-nav .current-menu-item > .wp-block-navigation-item__content,.rzym-nav .wp-block-navigation-item__content:hover { color: var(--rzym-petal-dark); }
.wp-block-navigation__submenu-container { background: #fff; border: 1px solid var(--rzym-line) !important; border-radius: 10px; box-shadow: 0 14px 40px rgb(29 45 31 / 14%); min-width: 260px !important; overflow: hidden !important; }
.rzym-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 11px 15px; }

/* Home */
.rzym-hero { display: grid !important; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 570px; max-width: none !important; margin-inline: calc(clamp(20px, 4vw, 52px) * -1) !important; background: var(--rzym-cream); }
.rzym-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 90px); }
.rzym-hero-copy h1 { max-width: 11ch; }
.rzym-hero-copy .rzym-lede { margin: 24px 0 30px; }
.rzym-hero-media { min-height: 480px; margin: 0 !important; overflow: hidden; }
.rzym-hero-media img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; object-position: center; }
.rzym-actions { gap: 12px !important; }
.rzym-actions .wp-block-button__link { border-radius: 999px; min-height: 50px; padding: .78rem 1.35rem; font-weight: 800; }
.rzym-actions .is-style-fill .wp-block-button__link { background: var(--rzym-petal); }
.rzym-actions .is-style-outline .wp-block-button__link { color: var(--rzym-forest); border-color: var(--rzym-forest); background: transparent; }
.rzym-trust { display: grid !important; grid-template-columns: repeat(3, 1fr); max-width: 100% !important; background: var(--rzym-forest); color: #fff; padding: 22px clamp(20px, 4vw, 52px); gap: 18px; }
.rzym-trust p { margin: 0; text-align: center; font-size: .9rem; }
.rzym-trust strong { color: #fff; }
.rzym-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rzym-offers > * { margin: 0 !important; min-width: 0; }
.rzym-offers .rzym-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--rzym-line); border-radius: 18px; padding: 26px 22px; background: #fff; box-shadow: 0 8px 26px rgb(35 53 34 / 7%); transition: transform .2s ease, box-shadow .2s ease; }
.rzym-offers .rzym-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgb(35 53 34 / 13%); }
.rzym-offers h3 { margin: 16px 0 8px; }
.rzym-offers p { color: var(--rzym-muted); font-size: .94rem; margin: 0 0 18px; }
.rzym-offers .rzym-card > p:last-child { margin-top: auto; margin-bottom: 0; }
.rzym-offer-icon { margin: 0; }
.rzym-offer-icon img { width: 64px; height: 64px; object-fit: contain; }
.rzym-card-link { font-weight: 800; text-decoration: none; }
.rzym-steps { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rzym-step { border-top: 3px solid var(--rzym-leaf); padding: 22px 0 0; }
.rzym-step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rzym-sage); color: var(--rzym-forest); font-weight: 900; }
.rzym-step h3 { margin: 14px 0 8px; }
.rzym-step p { color: var(--rzym-muted); margin: 0; }
.rzym-showcase { background: var(--rzym-sage); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.rzym-gallery-links { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rzym-gallery-link { min-height: 230px; border-radius: 16px; overflow: hidden; position: relative; }
.rzym-gallery-link img { width: 100%; height: 230px; object-fit: cover; transition: transform .35s ease; }
.rzym-gallery-link:hover img { transform: scale(1.035); }
.rzym-gallery-link figcaption { position: absolute; inset: auto 0 0; padding: 42px 18px 16px; color: #fff; font-size: 1.1rem; font-weight: 800; background: linear-gradient(transparent, rgb(16 29 17 / 88%)); }
.rzym-home-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rzym-home-posts .wp-block-post { border: 1px solid var(--rzym-line); border-radius: 16px; overflow: hidden; background: #fff; }
.rzym-home-posts .wp-block-post-featured-image { margin: 0; }
.rzym-home-posts .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rzym-home-posts .wp-block-post-title,.rzym-home-posts .wp-block-post-excerpt,.rzym-home-posts .wp-block-post-date { margin-inline: 20px; }
.rzym-home-posts .wp-block-post-title a { color: var(--rzym-forest); text-decoration: none; }

/* Interior templates */
.rzym-page-hero { max-width: none !important; margin-inline: calc(clamp(20px, 4vw, 52px) * -1) !important; margin-top: calc(clamp(28px, 5vw, 68px) * -1) !important; margin-bottom: clamp(34px, 5vw, 60px) !important; padding: clamp(42px, 7vw, 78px) clamp(20px, 4vw, 52px); background: linear-gradient(120deg, var(--rzym-cream), var(--rzym-sage)); }
.rzym-page-hero h1 { max-width: 18ch; }
.rzym-page-hero .wp-block-post-title { margin: 0; }
.rzym-content { font-size: 1.04rem; }
.rzym-content > :where(p,ul,ol,blockquote) { max-width: 760px; }
.rzym-content img { border-radius: 12px; }
.rzym-content blockquote { border-left: 4px solid var(--rzym-leaf); margin-left: 0; padding: 8px 0 8px 22px; color: var(--rzym-muted); }
.rzym-card,.is-style-rzym-card { border: 1px solid var(--rzym-line); border-radius: 16px; padding: 24px; background: #fff; }
.rzym-content-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(240px, .8fr); gap: clamp(28px, 5vw, 58px); }
.rzym-content-layout > * { min-width: 0; margin-block-start: 0; }
.rzym-sidebar { border: 0; padding: 24px; border-radius: 16px; background: var(--rzym-cream); }
.rzym-sidebar h2 { font-size: 1.45rem; }
.rzym-sidebar .wp-block-latest-posts { padding: 0; list-style: none; }
.rzym-sidebar li { margin-bottom: 12px; }
.rzym-sidebar a { font-weight: 700; }
.rzym-blog-list .wp-block-post-template { display: grid; gap: 22px; }
.rzym-blog-list .wp-block-post { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--rzym-line); }
.rzym-blog-list .wp-block-post-featured-image { margin: 0; }
.rzym-blog-list .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.rzym-blog-list .wp-block-post-title { font-size: 1.65rem; margin-top: 0; }
.rzym-blog-list .wp-block-post-title a { color: var(--rzym-forest); text-decoration: none; }
.rzym-blog-list .wp-block-post-date { color: var(--rzym-muted); font-size: .85rem; }
.rzym-blog-list .wp-block-post-excerpt { grid-column: 2; }
.wp-block-query-pagination { margin-top: 32px; }
.wp-block-query-pagination a,.wp-block-query-pagination .current { display: inline-grid; place-items: center; min-width: 38px; min-height: 38px; border-radius: 50%; }
.wp-block-query-pagination .current { background: var(--rzym-forest); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .gallery-item { margin: 0; min-width: 0; overflow: hidden; border-radius: 12px; background: var(--rzym-sage); }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .gallery-caption { font-size: .84rem; padding: 10px; }
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-columns-4,.gallery-columns-5,.gallery-columns-6,.gallery-columns-7,.gallery-columns-8,.gallery-columns-9 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rzym-contact-layout { display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
.rzym-contact-card { border-radius: 20px; padding: clamp(26px, 4vw, 44px); background: var(--rzym-forest); color: #fff; }
.rzym-contact-card h2,.rzym-contact-card h3,.rzym-contact-card a { color: #fff; }
.rzym-contact-card .rzym-phone-big { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 900; text-decoration: none; }
.rzym-contact-details { border: 1px solid var(--rzym-line); border-radius: 20px; padding: clamp(26px, 4vw, 44px); }
.rzym-contact { margin-top: 40px; padding: clamp(24px, 4vw, 42px); border-radius: 18px; background: var(--rzym-cream); }
.rzym-contact input:not([type='hidden']),.rzym-contact textarea { border: 1px solid #aeb9a9; border-radius: 8px; padding: .85rem; }
.rzym-contact button { border-radius: 999px; background: var(--rzym-leaf-dark); padding: .85rem 1.25rem; }
.rzym-site-cta { margin-top: clamp(48px, 7vw, 86px) !important; padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--rzym-sage); }
.rzym-site-cta h2 { margin: 0; }
.rzym-site-cta p { color: var(--rzym-muted); }
.rzym-lightbox { width: min(96vw,1200px); max-height: 94vh; border: 0; border-radius: 14px; background: var(--rzym-cream); color: var(--rzym-ink); padding: 1rem; }
.rzym-lightbox::backdrop { background: #000c; }
.rzym-lightbox > img { display: block; margin: 1rem auto; max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; }
.rzym-lightbox-controls { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.rzym-lightbox button { padding: .7rem; font: inherit; cursor: pointer; }

/* Footer and mobile call action */
.rzym-footer { margin: 0 !important; padding: 54px clamp(20px, 4vw, 52px) 26px !important; background: #243724; border: 0; color: #e9eee6; }
.rzym-footer .wp-block-columns { gap: clamp(26px, 5vw, 70px); }
.rzym-footer h2 { color: #fff !important; font-family: Georgia, serif; font-size: 1.35rem !important; }
.rzym-footer a { color: #fff; }
.rzym-footer p { font-size: .93rem; }
.rzym-footer-small { border-top: 1px solid rgb(255 255 255 / 18%); margin-top: 30px; padding-top: 20px; color: #cfd8cd; font-size: .78rem; }
.rzym-mobile-call { display: none; }

@media (max-width: 900px) {
  .rzym-brand { grid-template-columns: 1fr auto; }
  .rzym-brand-copy { display: none; }
  .rzym-hero { grid-template-columns: 1fr; min-height: auto; }
  .rzym-hero-copy { order: 2; }
  .rzym-hero-media,.rzym-hero-media img { min-height: 420px; }
  .rzym-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rzym-home-posts .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
  .rzym-gallery-links { grid-template-columns: 1fr 1fr; }
  .rzym-content-layout { grid-template-columns: 1fr; }
  .rzym-sidebar { margin-top: 20px; }
}

@media (max-width: 700px) {
  body { font-size: 15px; background: #fff; }
  .wp-site-blocks { box-shadow: none; }
  .wp-site-blocks > main { padding-bottom: 96px !important; }
  .rzym-topbar { justify-content: center !important; text-align: center; }
  .rzym-topbar-note { display: none; }
  .rzym-brand { display: flex !important; justify-content: center !important; padding-block: 14px; }
  .rzym-brand-action { display: none; }
  .rzym-brand img { width: 260px; }
  .rzym-nav { padding: 9px 16px; }
  .rzym-nav .wp-block-navigation { justify-content: flex-end; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 28px 22px; background: var(--rzym-cream); }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.15rem; padding: 10px 0; }
  .rzym-hero { margin-inline: -20px !important; }
  .rzym-hero-media,.rzym-hero-media img { min-height: 310px; }
  .rzym-hero-copy { padding: 34px 22px 42px; }
  .rzym-hero-copy h1 { font-size: clamp(2.4rem, 13vw, 3.55rem); }
  .rzym-actions { align-items: stretch !important; flex-direction: column; }
  .rzym-actions .wp-block-button { width: 100%; }
  .rzym-actions .wp-block-button__link { width: 100%; }
  .rzym-trust { grid-template-columns: 1fr; gap: 8px; }
  .rzym-trust p { text-align: left; }
  .rzym-section { padding-block: 44px; }
  .rzym-offers,.rzym-steps,.rzym-gallery-links,.rzym-home-posts .wp-block-post-template,.rzym-contact-layout { grid-template-columns: 1fr; }
  .rzym-page-hero { margin-inline: -20px !important; margin-top: -28px !important; padding-inline: 20px; }
  .rzym-blog-list .wp-block-post { grid-template-columns: 104px 1fr; gap: 14px; }
  .rzym-blog-list .wp-block-post-title { font-size: 1.22rem; }
  .rzym-blog-list .wp-block-post-excerpt { grid-column: 1 / -1; }
  .gallery:not(.gallery-columns-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rzym-footer { padding-bottom: 92px !important; }
  .rzym-footer .wp-block-columns { display: block; }
  .rzym-footer .wp-block-column { margin-bottom: 30px; }
  .rzym-mobile-call { display: flex; position: fixed; z-index: 100; inset: auto 12px 12px; align-items: center; justify-content: center; min-height: 58px; border-radius: 999px; background: var(--rzym-petal); color: #fff !important; font-size: 1rem; font-weight: 900; text-decoration: none; box-shadow: 0 10px 30px rgb(50 31 20 / 35%); }
}
@media (max-width: 420px) { .rzym-offers { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr !important; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
