/*
Theme Name: Sam Schenkels (Elementor)
Template: hello-elementor
Description: Child-thema van Hello Elementor met de stijl van Sam Schenkels: kleuren, lettertypes, blogoverzicht en videokaarten. Pagina's bouw je met Elementor.
Author: Sam Schenkels
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: samschenkels-elementor
*/

:root { --sam-ink: #4A4038; --sam-accent: #8C6B5D; --sam-base: #F1F0EC; --sam-sand: #E9E6DF; --sam-dark: #3A332D;
  --sam-serif: 'Cormorant Garamond', Georgia, serif; --sam-sans: 'Josefin Sans', system-ui, sans-serif; }

/* basis voor alles buiten Elementor (blog, berichten, archief) */
body { background: var(--sam-base); color: var(--sam-ink); font-family: var(--sam-sans); font-weight: 300; font-size: 18px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-family: var(--sam-serif); font-weight: 500; line-height: 1.05; color: var(--sam-ink); }
a { color: var(--sam-ink); } a:hover { color: var(--sam-accent); }
strong { font-weight: 600; }

/* Hello-header en -footer */
.site-header .site-title a, .site-header .site-branding a { font-family: var(--sam-serif); font-size: 30px; font-weight: 500; color: var(--sam-ink); text-decoration: none; }
.site-header .site-navigation a, .site-navigation ul.menu li a { font-family: var(--sam-sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--sam-ink); }
.site-footer { border-top: 1px solid #D9D4CB; font-size: 15px; }

/* afbeeldingen uit de templates */
.sam-img img { width: 100%; object-fit: cover; }
.sam-ratio-34 img { aspect-ratio: 3 / 4; }
.sam-ratio-portrait img { aspect-ratio: 3 / 4.3; }

/* videokaarten */
.sam-video-row > .e-con, .sam-video-row > .elementor-element { flex: 1 1 160px; min-width: 0; }
.sam-video-row-8 > .e-con, .sam-video-row-8 > .elementor-element { flex: 1 1 200px; }
.sam-video .elementor-wrapper, .sam-video .elementor-custom-embed-image-overlay, .sam-video video { border-radius: 24px; overflow: hidden; background: #DAD5CC; }
@media (max-width: 767px) {
  .sam-video-row { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sam-video-row > .e-con, .sam-video-row > .elementor-element { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ontdek-tegels */
.sam-tiles > .e-con, .sam-tiles > .elementor-element { flex: 1 1 150px; }
.sam-tile a { text-decoration: none; }

/* lijsten */
.sam-plain { list-style: none; margin: 0; padding: 0; } .sam-plain li { margin: 10px 0; font-weight: 400; }
.sam-services { margin: 0 0 12px; padding-left: 22px; } .sam-services li { margin: 6px 0; }
.sam-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 44px; }
.sam-brands li { font-family: var(--sam-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.sam-cv-years { color: var(--sam-accent); font-size: 15px; margin: 24px 0 0; }
.sam-cv-role { font-family: var(--sam-serif); font-weight: 600; font-size: 30px; line-height: 1.2; margin: 0; }
.sam-cv-place { margin: 2px 0 0; }
.sam-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sam-skills li { padding: 6px 18px; border: 1px solid var(--sam-ink); border-radius: 999px; font-size: 16px; }

/* [sam_blog] shortcode */
.sam-blog-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; margin-bottom: 64px; }
.sam-blog-featured img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 48px; display: block; }
.sam-blog-featured h3 { font-size: clamp(40px, 4.5vw, 64px); margin: 8px 0 16px; }
.sam-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px 40px; }
.sam-blog-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 36px; display: block; }
.sam-blog-grid h3 { font-size: 30px; font-weight: 600; line-height: 1.15; margin: 6px 0 0; }
.sam-blog a { text-decoration: none; }
.sam-kicker { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sam-accent); margin: 14px 0 0; }
.sam-noimg { aspect-ratio: 4 / 3; border-radius: 36px; background: #DAD5CC; }

/* blogberichten en archief (Hello) */
.single .page-content img, .archive .post img, .blog .post img { border-radius: 36px; }
.single .entry-title, .page-header .entry-title { font-size: clamp(48px, 6vw, 88px); }
.single blockquote { border: 0; text-align: center; font-family: var(--sam-serif); font-style: italic; font-size: 40px; line-height: 1.2; }
