/*
Theme Name: Petzen Child
Theme URI: https://pvdestreekvliegers.nl/wp-content/themes/petzen-child/
Description: Petzen Child Theme
Author: Richard Dankelman
Author URI: http://pvdestreekvliegers.nl
Template: petzen
Version: 1.2.1
*/

/* Add your custom styles here */

/* === Uitslagen template: basis spacing/typografie === */
.uitslag-template .box-heading {
  margin-bottom: 18px;
}

.uitslag-template .service-detail {
  margin-top: 10px;
}

/* Underlined ornament net als vroeger */
.uitslag-template .service-detail > div:first-child {
  margin: 10px 0 18px 0;
}

/* === Winnaars grid === */
.uitslag-template .winnaars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin-top: 10px;
}

.uitslag-template .winnaar-card {
  text-align: center;
}

.uitslag-template .winnaar-card img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  display: inline-block;
  margin-bottom: 10px;
}

.uitslag-template .winnaar-card .sub-title {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
  opacity: .85;
}

.uitslag-template .winnaar-card h3 {
  margin: 0;
}

/* D-divisie onderaan (zelfde look) */
.uitslag-template .winnaars-d {
  margin-top: 16px;
  max-width: 360px;
}

/* responsive */
@media (max-width: 900px){
  .uitslag-template .winnaars-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .uitslag-template .winnaars-grid { grid-template-columns: 1fr; }
  .uitslag-template .winnaars-d { max-width: 100%; }
}

/* Toggle styling (Elementor-like) */
.uitslag-template .elementor-toggle-item{
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.uitslag-template .elementor-tab-title{
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #fff;
}

.uitslag-template .elementor-tab-content{
  padding: 14px 16px;
  background: #fff;
}

.uitslag-template iframe.pdfjs-viewer{
  width: 100% !important;
  height: 850px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.uitslagen-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.uitslag-card {
    height: 100%;
}

.uitslag-card-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.uitslag-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.uitslag-card-content {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.uitslag-card-title {
    margin: 0 0 14px 0;
    font-size: 22px;
    line-height: 1.3;
}

.uitslag-card-title a {
    color: #393D72;
    text-decoration: none;
}

.uitslag-card-category {
    margin-bottom: 12px;
    color: #00A2E2;
    font-weight: 600;
}

.uitslag-card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #555;
    flex-grow: 1;
}

.uitslag-card-readmore a {
    color: #393D72;
    font-weight: 600;
    text-decoration: none;
}

.uitslag-card-readmore a:hover,
.uitslag-card-title a:hover {
    color: #00A2E2;
}

.single-uitslagen h1 {
    margin-top: 40px;
}

.sv-elementor-toggle .elementor-toggle-item{
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.sv-elementor-toggle .elementor-tab-title{
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #393D72 !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

.sv-elementor-toggle .elementor-tab-title .elementor-toggle-title{
  font-weight: 700 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.sv-elementor-toggle .elementor-toggle-icon{
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 12px !important;
}

.sv-elementor-toggle .toggle-icon{
  width: 18px;
  height: 18px;
  fill: #393D72 !important;
}

.sv-elementor-toggle .elementor-tab-title:hover,
.sv-elementor-toggle .elementor-tab-title:hover .elementor-toggle-title{
  color: #00A2E2 !important;
}

.sv-elementor-toggle .elementor-tab-title:hover .toggle-icon{
  fill: #00A2E2 !important;
}

.sv-elementor-toggle .elementor-tab-title[aria-expanded="true"]{
  color: #00A2E2 !important;
  background: rgba(0,162,226,0.06) !important;
}

.sv-elementor-toggle .elementor-tab-title[aria-expanded="true"] .toggle-icon{
  fill: #00A2E2 !important;
}

.sv-elementor-toggle .elementor-tab-content{
  padding: 14px 16px;
}

.tab-modern .kampioenschappen-grid-simple {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.kamp-header {
  text-align: center;
}

.kamp-subtitle {
  color: #00A2E2;
  font-size: 22px;
  margin-bottom: 6px;
}

.kamp-title {
  font-size: 36px;
  color: #393D72;
  margin-bottom: 12px;
}

.uitslag-ornament {
  display: block;
  margin-bottom: 30px;
}

.kamp-rij {
  padding: 40px 40px;
  text-align: center;
}

.kamp-rij-kop {
  padding: 40px 40px;
  font-size: 26px;
  color: #393D72;
  margin-bottom: 20px;
  font-weight: 700;
}

.kamp-rij-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 30px;
  justify-items: center;
}

.kamp-rij + .kamp-rij {
  margin-top: 20px;
}

.kamp-rij:nth-of-type(even) {
  background: #f8fbff;
  padding: 25px;
  border-radius: 12px;
}

.kamp-persoon-foto {
  transition: transform 0.2s ease;
}

.kamp-persoon:hover .kamp-persoon-foto {
  transform: scale(1.05);
}

.laadploegen-wrap {
    margin-top: 30px;
}

.laadploegen-title {
    margin: 0 0 20px 0;
    color: #393D72;
}

@media (max-width: 1100px) {
    .uitslagen-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .uitslagen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .uitslagen-grid {
        grid-template-columns: 1fr;
    }
}