/*
 Theme Name: GeneratePress – Centrumcare
 Theme URI: https://www.centrumcare.be
 Description: Minimal child theme for GeneratePress with AVA colors and block patterns.
 Author: You
 Template: generatepress
 Version: 1.0.0
*/

/* ===== Brand tokens ===== */
:root {
    --club-blue: #0065b1; /* Primary */
    --club-blue-dark: #004c85; /* Hover/active */
    --club-blue-100: #d9e8f3; /* Tint/bg */
    --text: #111827; /* Body text */
    --muted: #6b7280; /* Secondary text */
    --surface: #f3f4f6; /* Section background */
    --white: #fff;
    --red: #ad480a;
    --red-dark: #8d4315;
}

@font-face {
    font-family: "Ropa Sans Regular";
    src: url("./fonts/ropa-sans.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base */

body {
    color: #373737;
    height: 100%;
    font-size: 13px;
    line-height: 1.625;
    background-color: #f7f8f9;
}

.inside-header.grid-container {
    margin-bottom: 0 !important;
    max-width: 1000px !important;
    padding: 0 !important;
    padding-top: 20px !important;
    background-color: white;
}

h1 {
    font-size: 22px;
}

.entry-header h1.entry-title {
    font-family: "Ropa Sans Regular", sans-serif !important;
}

h2,
h3,
h4 {
    font-size: 20px;
}

a {
    color: var(--club-blue);
}
a:hover {
    color: var(--club-blue-dark);
}

.entry-content img {
    max-width: 100% !important;
}

.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) {
    margin-top: 1.5em;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {
    background: #eee;
    border-color: #bbb;
}

.one-container .site-content {
    padding: 25px 0 25px 0;
    margin: auto;
}

@media (min-width: 769px) {
    .one-container .site-content .content-area {
        padding-right: 30px;
    }
}

.wp-block-image {
    margin: auto !important;
}
/* Buttons (core + GenerateBlocks button lookalikes) */
.wp-block-button__link,
.button,
.gb-button {
    background: var(--club-blue);
    color: var(--white);
    border-radius: 9999px;
    padding: 12px 20px;
    font-weight: 600;
}
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--club-blue);
    border: 2px solid currentColor;
}
.wp-block-button__link:hover,
.button:hover,
.gb-button:hover {
    background: var(--club-blue-dark);
    color: var(--white);
}
.wp-block-list {
    margin-top: 12px !important;
}
/* Sections & cards */
.section {
    padding: clamp(48px, 6vw, 96px) 0;
    background: var(--surface);
}
.section--plain {
    background: transparent;
}
.card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

/* Hero */
.hero {
    background: var(--club-blue-100);
    border-radius: 20px;
    padding: clamp(32px, 5vw, 64px);
}

/* Next-match strip */
.next-match {
    background: var(--club-blue);
    color: var(--white);
    border-radius: 16px;
    padding: 18px 22px;
}
.next-match a {
    color: var(--white);
    text-decoration: underline;
}
.next-match .btn {
    background: var(--white);
    color: var(--club-blue);
    padding: 8px 14px;
    border-radius: 9999px;
    font-weight: 700;
}
.next-match .btn:hover {
    background: #eef5ff;
}

/* Media ratios */
.ratio-16x9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* mobile */
@media (max-width: 768px) {
    .one-container .site-content {
        box-sizing: border-box;
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header .header-image {
        width: 120px;
    }
    .separate-containers .site-main {
        margin-top: unset;
    }
    .sponsor {
        flex: 0 0 48%;
    }
}

/* =========================================  */
/* ------------- Main Menu -------------- */
/* =========================================  */

.site-header {
    background: #fafafa;
    border-top: 2px solid #bbb;
}

.site-logo img {
    padding-left: 20px !important;
}

.site-header .inside-header {
    display: block;
}

.site-branding {
    padding: 15px 0;
}

.main-navigation:not(.slideout-navigation) {
    background: #0099cc !important;
    clear: both;
    width: 100%;
    margin: 0;
}

.inside-navigation {
    padding: 0 !important;
    margin: 0 auto;
    max-width: 1000px;
}

.main-nav > ul > li > a,
.main-nav > ul > li.menu-item-has-children > a {
    color: #eee !important;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 24px !important;
    padding: 0 18px !important;
    border-left: 1px solid white !important;
    transition: background 0.2s ease;
}

.main-nav > ul > li:first-child > a {
    border-left: none !important;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus,
.main-nav > ul li:hover > a {
    background: #f9f9f9 !important;
    background: linear-gradient(#f9f9f9, #e5e5e5) !important;
    color: #373737 !important;
}

.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
    font-weight: bold !important;
}

.main-navigation .sub-menu {
    background: #f0f0f0 !important;
    border: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    margin-top: 0 !important;
}

.main-navigation .sub-menu li a {
    color: #444 !important;
    font-weight: normal !important;
    font-size: 12px !important;
    line-height: 1.6em !important;
    padding: 6px 15px !important;
    border-bottom: 1px dotted #ddd !important;
    width: 180px;
    white-space: nowrap;
}

.main-navigation .sub-menu li:last-child a {
    border-bottom: none !important;
}

.main-navigation .sub-menu li:hover > a,
.main-navigation .sub-menu li:hover {
    background: #e5e5e5 !important;
    color: #373737 !important;
}

.dropdown-menu-toggle {
    color: #eee !important;
    opacity: 0.7;
}

.dropdown-menu-toggle:hover {
    color: #fff !important;
}

.menu-toggle,
.main-navigation .menu-toggle {
    color: #eee !important;
}

.menu-toggle .gp-icon {
    fill: currentColor;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 1024px) {
    .main-navigation.toggled .main-nav {
        background: #0099cc !important;
    }

    .main-navigation.toggled ul ul {
        background: #f0f0f0 !important;
    }
}

@import url("https://fonts.googleapis.com/css?family=Ropa+Sans");

.main-navigation,
.main-navigation a {
    font-family: "Ropa Sans", Arial, sans-serif !important;
}

.inside-header .logo-address {
    margin-top: -7px;
    margin-left: 95px;
}
.inside-header .logo-address * {
    font-size: 12px;
    line-height: 15px;
    font-family: "Ropa Sans Regular", sans-serif !important;
}

@media (max-width: 768px) {
    .inside-header .logo-address {
        margin-top: -3px;
        margin-left: 30px;
    }
}

/* =========================================  */
/* ------------- Staff page ---------------- */
/* =========================================  */

.person .photo {
    border: 2px solid rgb(205, 205, 205);
    padding: 5px;
    padding-bottom: 0px !important;
    display: inline-block;
    margin-bottom: 15px;
}

.person .photo:hover {
    background-color: rgb(226, 226, 226);
}

.person .description {
    margin-top: 20px;
}

.inside-article .entry-title {
    font-weight: bold;
}

.person .description h2 {
    font-weight: bold;
}
.person .consultations h2 {
    font-weight: bold;
}

.entry-content table,
.comment-content table {
    border-bottom: 1px solid #ddd;

    margin: 0 0 1.625em;

    width: 100%;
}

.entry-content th,
.comment-content th {
    color: #666;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.1em;

    line-height: 2.6em;

    text-transform: uppercase;

    padding: 6px 10px 6px 10px;
}

.entry-content td,
.comment-content td {
    padding: 6px 10px 6px 10px;
}

table.wp-table {
    border-collapse: separate;

    border-spacing: 0;

    border: none;

    width: 75%;
}

table.wideTable {
    border-collapse: separate;

    border-spacing: 0;

    border: none;

    width: 100%;
}

.leftCell {
    width: 20%;

    vertical-align: middle;

    background-color: #bfbfbf;

    height: 38px;
}

.topCell {
    border-bottom: 1px dotted #5b595b;
}

.bottomCell {
    border-bottom: 1px solid #5b595b;
}

.firstCell {
    border-top: 1px solid #5b595b;
}

/* ================================ */
/* ------------- Side Menu -------- */
/* ================================ */

.centrum-side-navigation {
    padding-bottom: 10px;
    border-bottom: 4px solid rgb(234, 234, 234);
    line-height: 20px;
}
.centrum-side-navigation .widget.widget_nav_menu {
    padding-left: 0 !important;
}
.centrum-side-navigation ul.menu {
    padding-left: 10px !important;
}

.centrum-side-navigation .widgettitle,
.centrum-side-navigation .wp-block-heading {
    color: #0099cc;
    font-size: 16px;
    font-weight: bold;
    line-height: 2.6em;
    margin-bottom: 5px !important;
}

.centrum-side-navigation a {
    color: rgb(107 107 107);
    font-weight: bold;
}
.centrum-side-navigation a:hover {
    color: #373737;
}

.centrum-side-navigation li a {
    text-decoration: none;
    color: rgb(107 107 107);
    font-weight: bold;
    font-size: 14px;
}
.centrum-side-navigation li a::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 7px;
    width: 5px;
    height: 15px;
    background-image: url(images/bullet-light.gif);
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.centrum-side-navigation li a:hover::before {
    background-image: url(images/bullet-dark.gif);
}

.centrum-side-navigation li a:hover {
    color: #373737;
}

.inside-left-sidebar .widget {
    padding: 5px 30px !important;
}

/* =============================== */
/* ----------- Footer -------------*/
/* =============================== */
.site-footer {
    border-top: 2px solid #0099cc;
    height: 25px;
}
