/*
Theme Name: OverOnlineBetalen 2026
Theme URI: https://overonlinebetalen.nl/
Description: Child-thema van GeneratePress in de huisstijl van OverOnlineBetalen (2026).
Author: OverOnlineBetalen
Template: generatepress
Version: 1.0.5
Text Domain: oob-2026
*/

:root {
	--oob-accent: #C8005E;
	--oob-accent-dark: #8A0047;
	--oob-accent-soft: #FDF2F8;
	--oob-blue: #19528F;
	--oob-blue-soft: #E3ECF6;
	--oob-ink: #1C1E24;
	--oob-muted: #4A4F5A;
	--oob-subtle: #5A5F6B;
	--oob-line: #E6E6EC;
	--oob-bg: #F7F7F9;
	--oob-dark: #14161C;
	--oob-radius: 14px;
}

/* Basis */
body {
	font-family: Lato, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--oob-ink);
	background: var(--oob-bg);
	font-size: 17px;
	line-height: 1.6;
}
h1, h2, h3, h4 { font-family: Lato, system-ui, sans-serif; font-weight: 900; color: var(--oob-ink); line-height: 1.15; }
h1 { font-size: 44px; letter-spacing: -0.3px; }
h2 { font-size: 30px; margin-top: 1.6em; }
h3 { font-size: 22px; }
a { color: #B8005F; }
a:hover, a:focus { color: var(--oob-accent-dark); }
.entry-content p, .entry-content li { color: var(--oob-ink); }
.entry-content > p:first-child em { color: var(--oob-subtle); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--oob-line); }
.inside-header { padding-top: 14px; padding-bottom: 14px; }
.oob-wordmark { font-size: 24px; line-height: 1; text-decoration: none; color: var(--oob-ink); white-space: nowrap; }
.oob-wordmark:hover { color: var(--oob-ink); }
.oob-wordmark .o1 { font-weight: 400; }
.oob-wordmark .o2 { font-weight: 900; font-style: italic; color: var(--oob-accent); }
.oob-wordmark .o3 { font-weight: 900; }
.main-title { margin: 0; }
.main-navigation, .main-navigation ul ul { background: #fff; }
.main-navigation .main-nav ul li a { color: var(--oob-ink); font-weight: 700; font-size: 15px; padding-left: 12px; padding-right: 12px; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--oob-accent); background: transparent; }
.main-navigation .menu-bar-items { align-items: center; }
.oob-header-cta, .main-navigation .menu-bar-items a.oob-header-cta {
	display: inline-block; background: var(--oob-accent); color: #fff !important; font-weight: 700; font-size: 15px;
	line-height: 1.2; padding: 12px 18px !important; border-radius: 8px; text-decoration: none; margin-left: 8px;
}
.oob-header-cta:hover { background: var(--oob-accent-dark); }
.menu-toggle { color: var(--oob-ink); font-weight: 700; }

/* Layout */
.separate-containers .inside-article,
.separate-containers .sidebar .widget,
.one-container .container { border-radius: var(--oob-radius); }
.separate-containers .inside-article { border: 1px solid var(--oob-line); padding: 40px; }
.separate-containers .sidebar .widget { border: 1px solid var(--oob-line); padding: 24px; }
.site-footer .footer-widgets .widget { border: 0; padding: 0; background: transparent; }
.sidebar .widget .widget-title { font-size: 18px; font-weight: 900; text-transform: none; margin-bottom: 12px; }
.sidebar .widget ul { margin-left: 0; }

/* Tabellen in de content */
.entry-content table { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid var(--oob-line); border-radius: 12px; overflow: hidden; font-size: 16px; }
@media (max-width: 768px) { .entry-content table { display: block; overflow-x: auto; } }
.entry-content table thead th { background: #FAFAFC; color: var(--oob-subtle); font-size: 14px; text-align: left; }
.entry-content table th, .entry-content table td { padding: 12px 14px; border: 0; border-top: 1px solid #EEEEF2; vertical-align: top; }
.entry-content table thead th { border-top: 0; border-bottom: 1px solid var(--oob-line); }

/* Knoppen */
.oob-btn { display: inline-block; font-weight: 700; font-size: 17px; line-height: 1.2; padding: 15px 24px; border-radius: 8px; text-decoration: none; }
.oob-btn-accent { background: var(--oob-accent); color: #fff !important; }
.oob-btn-accent:hover { background: var(--oob-accent-dark); }
.oob-btn-light { background: #fff; color: var(--oob-blue) !important; }
.oob-btn-dark { background: #111114; color: #fff !important; }
.oob-btn-dark:hover { background: #000; }
.oob-btn-block { display: block; text-align: center; }

/* Homepage */
.oob-home .entry-content { margin-top: 0; }
.oob-full { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.oob-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.oob-hero { background: var(--oob-blue); color: #fff; }
.oob-hero .oob-wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.oob-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.oob-hero h1 { color: #fff; font-size: 52px; line-height: 1.08; margin: 0; }
.oob-hero p { color: #DCE6F2; font-size: 19px; line-height: 1.55; margin: 0; max-width: 560px; }
.oob-hero .oob-pill { align-self: flex-start; background: rgba(255,255,255,0.14); color: #fff; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.oob-hero .oob-pill:hover { background: rgba(255,255,255,0.24); color: #fff; }
.oob-hero .oob-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.oob-hero .oob-checked { font-size: 14px; color: #BFD0E4; }
.oob-favcard { flex: 1 1 340px; min-width: 0; background: #fff; color: var(--oob-ink); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(10,30,60,0.25); }
.oob-favcard .oob-kicker { display: flex; justify-content: space-between; font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--oob-accent); }
.oob-favcard .oob-kicker span + span { color: var(--oob-subtle); letter-spacing: 0; text-transform: none; font-weight: 700; }
.oob-favcard .oob-name { font-size: 34px; font-weight: 900; margin: 0; color: var(--oob-ink); }
.oob-favcard ul { margin: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.oob-favcard li { color: var(--oob-ink); }
.oob-favcard .oob-small { font-size: 14px; text-align: center; }

.oob-section { padding-top: 56px; padding-bottom: 8px; }
.oob-section h2 { margin: 0 0 8px; font-size: 32px; }
.oob-lead { margin: 0 0 28px; font-size: 17px; color: var(--oob-muted); }
.oob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.oob-tile { background: #fff; border: 1px solid var(--oob-line); border-radius: var(--oob-radius); padding: 24px; text-decoration: none; color: var(--oob-ink); display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.oob-tile:hover { border-color: #CFCFD8; box-shadow: 0 6px 18px rgba(20,22,28,0.08); color: var(--oob-ink); }
.oob-tile .oob-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.oob-tile .oob-t { font-size: 20px; font-weight: 900; }
.oob-tile .oob-d { font-size: 15px; line-height: 1.5; color: var(--oob-muted); }
.oob-tile .oob-more { font-size: 15px; font-weight: 700; color: #B8005F; }
.oob-ico-pink { background: #FBE6F1; } .oob-ico-blue { background: var(--oob-blue-soft); } .oob-ico-orange { background: #FDEBE4; } .oob-ico-green { background: #E6F4EE; }

.oob-panel { background: #fff; border: 1px solid var(--oob-line); border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.oob-panel-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.oob-panel-text h2 { margin: 0; font-size: 30px; }
.oob-panel-text p { margin: 0; color: var(--oob-muted); }
.oob-panel-table { flex: 2 1 480px; min-width: 0; overflow-x: auto; }
.oob-eyebrow { font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--oob-blue); }
.oob-fav-row { background: var(--oob-accent-soft); }
.oob-badge { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 900; color: #fff; background: var(--oob-accent); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

.oob-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.oob-stat { display: flex; flex-direction: column; gap: 6px; }
.oob-stat strong { font-size: 40px; font-weight: 900; color: var(--oob-blue); line-height: 1.1; }
.oob-stat span { color: var(--oob-muted); }

.oob-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.oob-card { background: #fff; border: 1px solid var(--oob-line); border-radius: var(--oob-radius); overflow: hidden; text-decoration: none; color: var(--oob-ink); display: flex; flex-direction: column; }
.oob-card:hover { color: var(--oob-ink); box-shadow: 0 6px 18px rgba(20,22,28,0.08); }
.oob-card .oob-visual { height: 140px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; }
.oob-card .oob-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.oob-card .oob-cat { font-size: 13px; font-weight: 700; color: var(--oob-subtle); }
.oob-card .oob-title { font-size: 19px; font-weight: 900; line-height: 1.3; }
.oob-bg-blue { background: var(--oob-blue); } .oob-bg-accent { background: var(--oob-accent); } .oob-bg-orange { background: #C2410C; }
.oob-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.oob-head-row h2 { margin: 0; }
.oob-last { padding-bottom: 72px; }

/* Footer */
.site-footer .footer-widgets { background: var(--oob-dark); color: #C9CCD4; }
.site-footer .footer-widgets .widget-title { color: #fff; font-size: 16px; font-weight: 900; text-transform: none; }
.site-footer .footer-widgets a { color: #C9CCD4; text-decoration: none; }
.site-footer .footer-widgets a:hover { color: #fff; }
.site-footer .footer-widgets ul li { margin-bottom: 8px; }
.site-footer .site-info { background: var(--oob-dark); color: #A3A7B2; border-top: 1px solid #2A2D36; font-size: 14px; }
.site-footer .site-info a { color: #C9CCD4; }
.oob-footer-brand .oob-wordmark { color: #fff; font-size: 22px; }
.oob-footer-brand .oob-wordmark .o2 { color: #FF5FA8; }
.oob-footer-brand p { margin-top: 12px; font-size: 15px; color: #C9CCD4; }

/* Mobiel */
@media (max-width: 768px) {
	h1 { font-size: 34px; }
	.oob-hero h1 { font-size: 36px; }
	.oob-hero .oob-wrap { padding-top: 48px; padding-bottom: 56px; }
	.separate-containers .inside-article { padding: 24px; }
	.oob-panel { padding: 22px; }
	.oob-header-cta { display: none; }
}

/* Homepage: geen horizontale scroll door volle-breedte blokken */
body.oob-home { overflow-x: hidden; }

/* ===== v1.0.2 ===== */
/* Mobiele header: CTA verbergen, logo en menuknop naast elkaar */
@media (max-width: 768px) {
	.main-navigation .menu-bar-items a.oob-header-cta, .oob-header-cta { display: none !important; }
	.inside-header { padding-top: 10px; padding-bottom: 10px; }
	.oob-wordmark { font-size: 21px; }
}
/* Knoppen en formulieren in huisstijl */
button:not(.menu-toggle), input[type="submit"], input[type="button"], .button, .search-form .search-submit, .comment-form .submit {
	background: var(--oob-accent); color: #fff; border: 0; border-radius: 8px; font-weight: 700;
}
button:not(.menu-toggle):hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover, .search-form .search-submit:hover, .comment-form .submit:hover {
	background: var(--oob-accent-dark); color: #fff;
}
input[type="search"], input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea, select {
	background: #fff; border: 1px solid var(--oob-line); border-radius: 8px; color: var(--oob-ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--oob-accent); outline: none; }
/* Oude, in de tekst vastgezette lettertypes negeren */
.entry-content [style*="font-family"], .entry-content font { font-family: inherit !important; }
.entry-content font { font-size: inherit !important; color: inherit; }
/* Video's en embeds schalen mee */
.entry-content iframe, .entry-content embed, .entry-content video, .entry-content object { max-width: 100%; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="youtu.be"], .entry-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Afbeeldingen nooit breder dan de kolom */
.entry-content img { max-width: 100%; height: auto; }

/* v1.0.3: oude logo, ingekleurd via een masker (bronbestand is wit) */
.oob-logo { display: inline-block; line-height: 0; text-decoration: none; }
.oob-logo-img {
	display: block; width: 224px; height: 23px; background-color: var(--oob-accent);
	-webkit-mask: url(/wp-content/uploads/2019/03/Logo-OverOnlineBetalen@2x.png) no-repeat left center / contain;
	mask: url(/wp-content/uploads/2019/03/Logo-OverOnlineBetalen@2x.png) no-repeat left center / contain;
}
.oob-logo:hover .oob-logo-img { background-color: var(--oob-accent-dark); }
@media (max-width: 768px) { .oob-logo-img { width: 213px; height: 22px; } }
@media (max-width: 380px) { .oob-logo-img { width: 180px; height: 19px; } }

/* v1.0.3: menubalk blijft bovenaan staan bij scrollen */
.site-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(28, 30, 36, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
html { scroll-padding-top: 100px; }
.main-navigation.toggled .main-nav > ul { max-height: calc(100vh - 90px); overflow-y: auto; }

/* v1.0.5: bredere menubalk zodat alle menu-items op één regel passen */
.site-header .inside-header.grid-container { max-width: 1340px; }
@media (min-width: 861px) {
	.site-header .inside-header { padding-left: 24px; padding-right: 24px; }
	.main-navigation .main-nav ul li a { padding-left: 10px; padding-right: 10px; font-size: 15px; }
	.oob-header-cta { margin-left: 8px !important; padding-left: 16px !important; padding-right: 16px !important; }
}
@media (min-width: 861px) and (max-width: 1339px) { .oob-header-cta { display: none !important; } }
@media (min-width: 861px) and (max-width: 1219px) {
	.site-header .inside-header { flex-direction: column; align-items: center; }
	.site-header .main-navigation { margin: 4px 0 0; }
}
@media (min-width: 861px) and (max-width: 1023px) {
	.main-navigation .main-nav ul li a { padding-left: 7px; padding-right: 7px; font-size: 14px; }
}
