/*
Theme Name: Ruiner Imkers
Theme URI: https://ruinerimkers.nl
Description: Eigen theme voor Imkersvereniging Ruinen e.o. One-pager met agenda, cursussen, voorlichting en zwerm-informatie, inclusief bijbehorende huisstijl.
Author: Ruiner Imkers
Version: 1.1
Requires at least: 6.0
*/

      :root {
        --fris: #0e9f6e;
        --fris-donker: #0b7a55;
        --heide: #8b5cf6;
        --heide-licht: #ede9fe;
        --tekst: #16302b;
 --licht-grijs: #5a6b66;
        --bg: #fdfaf2;
        --honing: #f2b02e;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        font-family: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
        color: var(--tekst);
        background: var(--bg);
        line-height: 1.7;
      }
      header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: rgba(253,250,242,.92);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: .8rem 2rem;
        border-bottom: 3px solid var(--honing);
        box-shadow: 0 1px 12px rgba(140,100,20,.12);
      }
      .logo {
        display: flex;
        align-items: center;
        gap: .55rem;
        font-weight: 800;
        font-size: 1.15rem;
        letter-spacing: -.01em;
      }
      .logo svg { flex: none; }
      nav a {
        color: var(--tekst);
        text-decoration: none;
        margin-left: 1.4rem;
        font-size: .92rem;
        font-weight: 600;
        transition: color .2s;
      }
      nav a:hover { color: #c07d10; }
      .hero {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        gap: clamp(1.6rem, 4vw, 3rem);
        align-items: center;
        max-width: 74rem;
        margin: 0 auto;
        padding: clamp(3rem, 6vw, 5.5rem) 1.4rem;
      }
      .hero h1 {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: clamp(2.9rem, 6vw, 4.6rem);
        line-height: .95;
        letter-spacing: -.05em;
        font-weight: 700;
        color: var(--tekst);
        margin-bottom: 1.1rem;
      }
      .hero h1 em { font-style: normal; color: #c07d10; }
      .hero .onderschrift {
        font-size: clamp(1.05rem, 2vw, 1.2rem);
        margin: 0 0 1.7rem;
        max-width: 30rem;
        color: var(--licht-grijs);
      }
      .hero-visual { position: relative; isolation: isolate; }
      .hero-visual::before {
        content: '';
        position: absolute;
        inset: 1rem -.8rem -.8rem 1rem;
        z-index: -1;
        border: 1px solid #d9c9a0;
        border-radius: 1.35rem 1.35rem 3.5rem 1.35rem;
      }
      .hero-visual img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.3;
        object-fit: cover;
        border-radius: 1.35rem 1.35rem 3.5rem 1.35rem;
      }
      .hero-visual .hex { position: absolute; width: 2.2rem; height: 1.9rem; pointer-events: none;
        clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
      .hero-visual .hex-one { right: 1.5rem; bottom: -1.8rem; background: #f2b02e; }
      .hero-visual .hex-two { right: -.1rem; bottom: -.9rem; background: #e59b27; opacity: .85; }
      .knop {
        display: inline-block;
        background: var(--honing);
        color: #263027;
        padding: .8rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: 800;
        transition: background .18s, color .18s, transform .15s;
      }
      .knop:hover { background: #ffd07a; transform: translateY(-2px); }
      .knop.sec {
        background: transparent;
        color: var(--tekst);
        border: 1.5px solid currentColor;
        box-shadow: none;
        margin-left: .5rem;
      }
      .knop.sec:hover { background: var(--tekst); color: #fff; transform: none; }
      section { padding: 4.5rem 1.4rem; }
      .wrap { max-width: 62rem; margin: 0 auto; }
      section:nth-of-type(even) { background: #f6f0e0; }
      .kicker {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        color: #c07d10;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .13em;
        font-size: .78rem;
        margin-bottom: .45rem;
      }
      .kicker::before {
        content: '';
        width: .7rem;
        height: .62rem;
        background: var(--honing);
        clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
      }
      h2 {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: clamp(1.9rem, 4vw, 2.9rem);
        font-weight: 700;
        line-height: 1.05;
        letter-spacing: -.04em;
        margin-bottom: 1.1rem;
      }
      .intro { max-width: 44rem; font-size: 1.05rem; color: var(--licht-grijs); }
      .kaarten {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
        gap: 1.1rem;
        margin-top: 2.2rem;
      }
      .kaart {
        background: #fff;
        border-radius: 1rem;
        padding: 1.5rem 1.3rem;
        box-shadow: 0 4px 18px rgba(140,100,20,.10);
        border: 1px solid #ece5d3;
        transition: transform .15s;
      }
      .kaart:hover { transform: translateY(-4px); }
      .kaart h3 {
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -.01em;
        color: var(--fris-donker);
        margin-bottom: .5rem;
      }
      .kaart p { font-size: .92rem; color: var(--licht-grijs); }
      table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 1.8rem;
        background: #fff;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 4px 18px rgba(140,100,20,.10);
      }
      th, td { padding: .8rem 1.1rem; text-align: left; }
      th { background: var(--heide-licht); color: var(--tekst); font-size: .85rem; }
      tr:not(:last-child) td { border-bottom: 1px solid #f0ead9; }
      td:first-child { font-weight: 700; color: var(--fris-donker); white-space: nowrap; }
      .voordelen {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
        gap: .8rem;
        margin-top: 1.5rem;
        list-style: none;
      }
      .voordelen li {
        background: #fff;
        border: 1px solid #ece5d3;
        border-radius: .8rem;
        padding: .9rem 1rem .9rem 2.4rem;
        font-size: .95rem;
        position: relative;
      }
      .voordelen li::before {
        content: "\2713";
        position: absolute;
        left: .9rem;
        color: var(--fris);
        font-weight: 800;
      }
      .cursussen-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
        gap: 1.4rem;
        margin-top: 2.2rem;
        align-items: start;
      }
      .cursus {
        background: #fff;
        border-radius: 1.1rem;
        padding: 1.8rem 1.5rem;
        box-shadow: 0 4px 18px rgba(140,100,20,.10);
        border-top: 5px solid var(--fris);
      }
      .cursus.plus { border-top-color: var(--heide); }
      .stap {
        display: inline-block;
        background: var(--fris);
        color: #fff;
        font-size: .78rem;
        font-weight: 800;
        border-radius: 999px;
        padding: .25rem .8rem;
        margin-bottom: .7rem;
      }
      .plus .stap { background: var(--heide); }
      .cursus h3 { font-size: 1.3rem; margin-bottom: .5rem; }
      .cursus p { font-size: .93rem; color: var(--licht-grijs); margin-bottom: .8rem; }
      .cursus ul { list-style: none; margin: .4rem 0 .9rem; }
      .cursus li {
        font-size: .9rem;
        padding: .25rem 0 .25rem 1.5rem;
        position: relative;
        color: var(--tekst);
      }
      .cursus li::before {
        content: "\25B8";
        position: absolute;
        left: .2rem;
        color: var(--fris);
      }
      .plus li::before { color: var(--heide); }
      .pijl-omlaag {
        text-align: center;
        font-size: 1.6rem;
        color: var(--heide);
        margin: .4rem 0;
      }
      .voorwaarde {
        margin-top: 1.6rem;
        background: #fff7ed;
        border: 1px solid #fdba74;
        border-radius: .8rem;
        padding: .9rem 1.1rem;
        font-size: .93rem;
      }
      section.agenda-bg { background: #17483e; }
      .agenda-bg .kicker { color: #ffd06a; }
      .agenda-bg .kicker::before { background: #ffd06a; }
      .agenda-bg h2 { color: #fff; }
      .agenda-bg .intro { color: #e0eee7; }
      .events { display: grid; gap: .75rem; margin-top: 1.8rem; }
      .event {
        display: grid;
        grid-template-columns: 4.2rem minmax(0, 1fr);
        gap: 1rem;
        border: 1px solid #648078;
        border-radius: 1rem;
        padding: 1rem;
        background: #24594d;
      }
      .event-date {
        align-self: start;
        background: var(--honing);
        color: #263027;
        text-align: center;
        border-radius: .68rem;
        padding: .45rem .12rem;
        line-height: 1.05;
      }
      .event-date strong { display: block; font-size: 1.7rem; }
      .event-date span { display: block; font-size: .82rem; font-weight: 700; margin-top: .12rem; }
      .event-body h3 { color: #fff; font-size: 1.1rem; margin-bottom: .2rem; }
      .event-meta { color: #f7d995; font-size: .92rem; }
      .vaste-onderdelen { margin-top: 1.2rem; padding: 1rem 1.2rem; border: 1px solid #648078; border-radius: 1rem; color: #eff7f2; font-size: .93rem; }
      .vaste-onderdelen strong { color: #ffd06a; }
      details.tech {
        background: #fff;
        border: 1px solid #ece5d3;
        border-radius: .9rem;
        padding: 0;
        box-shadow: 0 4px 18px rgba(140,100,20,.08);
      }
      details.tech summary {
        cursor: pointer;
        font-weight: 700;
        font-size: 1.02rem;
        padding: .95rem 1.2rem;
        list-style: none;
        color: var(--tekst);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      details.tech summary::-webkit-details-marker { display: none; }
      details.tech summary::after { content: "+"; color: var(--fris); font-weight: 800; font-size: 1.2rem; }
      details.tech[open] summary::after { content: "\2212"; }
      details.tech[open] summary { border-bottom: 1px solid #f0ead9; }
      details.tech .tech-body {
        padding: .9rem 1.2rem 1.1rem;
        font-size: .92rem;
        color: var(--licht-grijs);
      }
      details.tech .tech-body strong { color: var(--tekst); }
      .tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
        gap: .9rem;
        margin-top: 1.6rem;
      }
      .twwee-kolommen {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
        gap: 1.1rem;
        margin-top: 2rem;
      }
      .info-blok {
        background: #fff;
        border: 1px solid #ece5d3;
        border-radius: 1rem;
        padding: 1.4rem 1.3rem;
        box-shadow: 0 4px 18px rgba(140,100,20,.10);
      }
      .info-blok h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; color: var(--fris-donker); }
      .info-blok p, .info-blok li { font-size: .93rem; color: var(--licht-grijs); }
      .info-blok ul { padding-left: 1.1rem; margin-top: .4rem; }
      .zwerm-herkenning {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: .7rem;
        margin: 1.3rem 0;
      }
      .zwerm-herkenning div {
        background: #fff;
        border: 1px solid #ece5d3;
        border-radius: .7rem;
        padding: .7rem .9rem;
        font-size: .9rem;
      }
      .zwerm-herkenning strong { color: var(--fris-donker); }
      .cta-strook {
        margin-top: 2.2rem;
        text-align: center;
      }
      footer {
        background: var(--tekst);
        color: #cfe6da;
        text-align: center;
        padding: 2.2rem 1rem;
        font-size: .88rem;
      }
      footer a { color: #8ee0bd; text-decoration: none; }
      @media (max-width: 47rem) {
        .hero { grid-template-columns: minmax(0, 1fr); }
        .hero-visual { order: 2; }
      }
      footer a:hover { text-decoration: underline; }