/* Zwembad Arnhem — violet secondary accent (approximately 20% of the visible design)
   Preserve existing deep navy, pool teal, and white as primary colors.
   Accessible dark-violet foreground on lavender surfaces. */
:root{
 --za-purple:#65359e;
 --za-purple-dark:#4c247c;
 --za-purple-mid:#8657c6;
 --za-purple-light:#eee3ff;
 --za-purple-pale:#f8f4ff;
 --za-purple-edge:#d9c5f6;
}
/* Homepage: just a purple accent in the typographic hierarchy, not a new main palette */
.hero h1 em{color:#e1c9ff!important}
.hero>.wrap:before{
 background:
  radial-gradient(circle at 10% 15%,rgba(193,148,255,.14) 0 2px,transparent 3px),
  radial-gradient(circle at 96% 90%,rgba(167,122,233,.19) 0 6%,transparent 39%);
 background-size:28px 28px,auto;
}
.hero .actions .btn.alt{
 background:rgba(142,93,194,.23)!important;
 color:#f6e9ff!important;
 border-color:#bd9ce7!important;
}
.hero .actions .btn.alt:hover{
 background:rgba(142,93,194,.38)!important;
}
.hero-note{border-top:4px solid #b88ae7}
.hero-note a{color:var(--za-purple)}
/* Distinctive subtle lilac tint on the third regional navigation tile */
.local-intent-grid a:nth-child(3){
 background:linear-gradient(145deg,#fff,#f4eaff);
 border-color:var(--za-purple-edge);
}
.local-intent-grid a:nth-child(3)>span,
.local-intent-grid a:nth-child(3)>b{color:var(--za-purple)}
.local-intent-grid a:nth-child(3):hover{box-shadow:0 22px 40px #4c247c1b}
/* One of four journey buttons purple, not all four */
.za-option:nth-child(3){border-color:#dac8f3;background:#fbf8ff}
.za-option:nth-child(3) .za-num{color:var(--za-purple)}
.za-option:nth-child(3):hover{border-color:#a47ad8}
.za-option:nth-child(3)[aria-pressed=true]{
 background:#efe3ff;
 border-color:#9561d0;
 box-shadow:inset 0 0 0 1px #9561d0;
}
.za-option:nth-child(3)[aria-pressed=true] strong{color:var(--za-purple-dark)}
.za-answer{
 background:linear-gradient(135deg,#25274f 0%,#53368a 55%,#0a5965 100%);
 box-shadow:0 20px 44px rgba(45,31,95,.18);
}
.za-answer .eyebrow{color:#e6cbff}
.za-answer a{background:#ead9ff;color:#422466}
.za-answer a:hover{background:#fff;color:var(--za-purple-dark)}
/* A faint lavender accent in just one feature surface */
.za-feature{
 background:linear-gradient(120deg,#f3f7f4 0%,#f8f5ff 38%,#eaf6f4 100%);
}
.za-feature-points li:nth-child(2):before{background:#e7d7ff;color:var(--za-purple)}
.za-feature-copy .btn{background:var(--za-purple);color:#fff!important}
.za-feature-copy .btn:hover{background:var(--za-purple-dark)}
/* One of three follow-up cards */
.za-journey-grid>a:nth-child(2){
 background:linear-gradient(155deg,#fff 18%,#f7f0ff 100%);
 border-color:#dfd0f7;
}
.za-journey-grid>a:nth-child(2) .za-num,
.za-journey-grid>a:nth-child(2) b{color:var(--za-purple)}
/* Violet appears on select pool cards and categories, while most stay turquoise. */
.cards>.card:nth-child(3n) .tag{
 background:#eee2ff;
 color:var(--za-purple-dark);
}
.cards>.card:nth-child(3n):hover{border-color:#ad85e3}
.cards>.card:nth-child(3n) .cardbody>a:last-child{color:var(--za-purple)}
/* Selected pool-finder chip; one neutral panel remains teal */
.finder-quick button:nth-child(4):not([aria-pressed=true]){border-color:#d9c8f0;color:var(--za-purple)}
.finder-quick button:nth-child(4):hover{background:#f3eaff}
.finder-quick button:nth-child(4)[aria-pressed=true]{background:var(--za-purple);border-color:var(--za-purple);color:#fff}
/* Active selected theme in the local filters without changing every CTA */
.finder-panel{background:linear-gradient(145deg,#eaf7f4 0%,#f8f6ff 61%,#f8fcfb 100%)}
.finder-panel:focus-within{border-color:#cdb7ee}
/* Third links in local content and selected callouts */
.local-area-links a:nth-child(3),
.local-related a:nth-child(3),
.facts-well-links a:nth-child(2){
 background:var(--za-purple-light);
 color:var(--za-purple-dark);
 border-color:var(--za-purple-edge);
}
.local-area-links a:nth-child(3):hover,
.local-related a:nth-child(3):hover,
.facts-well-links a:nth-child(2):hover{background:#e2cafa}
/* Subpages: a very gentle violet tint, preserving mostly blue-green. */
.subhero{
 background:linear-gradient(120deg,#e8f6f2 0%,#f5f5ff 72%,#eef8f5 100%);
}
.subhero .eyebrow{color:var(--za-purple)}
/* 1 in 3 informational cards gets a purple accent rather than repainting the whole section */
.facts-well-grid article:nth-child(3n){
 border-color:#dacaf2;
 background:linear-gradient(150deg,#fff,#faf6ff);
}
.facts-well-grid article:nth-child(3n) h3{color:var(--za-purple-dark)}
/* Interactive focus and accessibility */
.za-option:nth-child(3):focus-visible,
.finder-quick button:nth-child(4):focus-visible,
.local-intent-grid a:nth-child(3):focus-visible{
 outline:3px solid #8b53c2;
 outline-offset:3px;
}
@media(max-width:650px){
 .hero-note{border-top-width:3px}
 .za-answer{background:linear-gradient(130deg,#302a62,#573990 60%,#0c5965)}
}
@media(prefers-reduced-motion:reduce){
 .za-option:nth-child(3),.local-intent-grid a:nth-child(3){transition:none!important}
}


/* V2: Purple is distributed across ALL pages, rather than only homepage.
   Approximate design balance: 80% base navy/teal/white, 20% violet/lavender accents.
   Use violet consistently in section accents, cards, tabs and supporting navigation. */

/* Global header: retain a mostly white header with a subtle sitewide violet edge. */
.header{border-bottom:2px solid #e8dcfa}
.nav nav a[aria-current="page"]{
 color:var(--za-purple)!important;
 text-decoration:underline;
 text-decoration-color:#ad82db;
 text-decoration-thickness:2px;
 text-underline-offset:8px;
}
.nav nav a:not(.btn):hover{color:var(--za-purple)}
.brandwords small{color:#78659c}

/* Every fourth ordinary section receives a soft lavender wash.
   It repeats on location pages, lessons, price guides and the knowledge base. */
main>section.section:nth-of-type(4n + 2):not(.editorial-hero),
main>section.section:nth-of-type(4n + 2):not(.editorial-hero) .sectionhead{
 background:linear-gradient(120deg,#f8f3ff 0%,#f6f8fb 34%,#f0f8f6 100%);
}
main>section.section:nth-of-type(4n + 2):not(.editorial-hero) .sectionhead{
 background:transparent;
}
main>section.section:nth-of-type(4n + 2) .eyebrow,
main>section.section:nth-of-type(4n + 2) .sectionhead .eyebrow{color:var(--za-purple)}

/* Recurring card patterns: selective violet, rather than painting all the cards. */
.guide-grid>.guide-card:nth-child(3n),
.depth-grid>.reading-block:nth-child(3n),
.cards>.card:nth-child(3n),
.quick>a:nth-child(4n){
 border:1px solid #dfcff7;
 background:linear-gradient(145deg,#fff 25%,#f8f3ff);
}
.guide-grid>.guide-card:nth-child(3n) .guide-meta,
.guide-grid>.guide-card:nth-child(3n) h3 a,
.depth-grid>.reading-block:nth-child(3n) h3,
.quick>a:nth-child(4n) .quick-label,
.quick>a:nth-child(4n) .arrow{
 color:var(--za-purple-dark);
}
.guide-grid>.guide-card:nth-child(3n):hover,
.depth-grid>.reading-block:nth-child(3n):hover,
.quick>a:nth-child(4n):hover{border-color:#b495e4}
.quick>a:nth-child(4n) .qi{background:#eee0ff;color:var(--za-purple)}
.quick>a:nth-child(4n) .qi svg{color:var(--za-purple)}

/* Shared heading eyebrow highlights, regardless of content type. */
section.section:nth-of-type(4n + 2) .eyebrow,
section.za-deep .eyebrow,
section.facts-well .eyebrow{color:var(--za-purple)}
.sectionhead h2::selection{background:#e3caff;color:#38224a}

/* Deep-dives are present on virtually all long-form pages.
   Keep mostly teal, then add a lavender tint occupying the left part. */
.za-deep{
 background:linear-gradient(108deg,#f6f0ff 0%,#f5f7fb 22%,#f1f8f5 68%,#f4faf8 100%);
 border-top:1px solid #e4d7f5;
}
.za-deep-copy:nth-child(even){border-color:#e1d3f4}
.za-deep-copy:nth-child(even) h3{color:var(--za-purple-dark)}
.za-deep-links a:nth-child(2n){background:#eee3ff;color:var(--za-purple-dark)}
.za-deep-links a:nth-child(2n):hover{background:#ddc4fa}

/* Location profile layouts — these did not receive much violet in V1. */
.local-seo{
 background:linear-gradient(112deg,#f9f5ff 0%,#f2f9f8 38%,#f1f8f8 100%);
 border-top-color:#e5d9f2;
}
.local-seo-heading .eyebrow,
.local-seo-heading h2::first-letter{color:var(--za-purple-dark)}
.local-fact:nth-child(2),
.local-fact:nth-child(4){
 border-color:#e5d7f6;
 background:linear-gradient(145deg,#fff,#faf6ff);
}
.local-fact:nth-child(2) strong{color:var(--za-purple)}
.local-seo-copy h3:nth-of-type(2){color:var(--za-purple-dark)}
.local-seo-aside{border-color:#e6d8f4}
.local-source-links a:nth-child(2){
 background:#f1e7ff;
 border-color:#ddc6fa;
 color:var(--za-purple-dark);
}
.local-source-links a:nth-child(2):hover{background:#e9d9ff}
.local-faq-panel{border-color:#e6dbf2}
.local-faq:nth-of-type(3n) summary{color:var(--za-purple-dark)}
.local-faq summary:hover{color:var(--za-purple)}
.local-related{
 background:linear-gradient(100deg,#e5f4f0 0%,#f3e9ff 100%);
}
.local-related a:nth-child(2n){border-color:#dfcdf6;color:var(--za-purple-dark)}

/* New region and comparison pages. */
.local-area-tip{
 border-color:#e2d5f4;
 background:linear-gradient(135deg,#fff 30%,#f8f2ff);
}
.local-area-tip h3{color:var(--za-purple-dark)}
.local-side-links a:nth-child(2n){
 background:#f2e8ff;
 color:var(--za-purple-dark);
}
.local-side-links a:nth-child(2n) span{color:#75608f}
.local-area-faq details:nth-of-type(3n) summary{color:var(--za-purple-dark)}
.local-area-links{
 background:linear-gradient(130deg,#0a3448 0%,#203858 40%,#50367f 100%);
}
.local-area-links a:nth-child(2n){background:#eadbff;color:#47276d}
.local-intent-hub{border-bottom-color:#e8ddf1}

/* Knowledge base and how-to article reading flow. */
.article-guide .prose blockquote,
.editorial-body .prose blockquote{
 border-left:4px solid #8e60c9;
 background:#f7f1ff;
}
.editorial-body .faq-box,
.homefaq{border-color:#e7dcf1}
.editorial-body .faq-box details:nth-of-type(3n) summary,
.homefaq details:nth-of-type(3n) summary{color:var(--za-purple)}
.editorial-body .profile-aside .panel:nth-child(even){border-color:#e2d0f5;background:#fcfaff}
.editorial-body .content-toc a:nth-of-type(4n),
.content-toc a:nth-of-type(4n){color:var(--za-purple)}

/* Pricing, opening hours and comparison blocks across site. */
.price-cards>.price-card:nth-child(2){
 border-color:#d8bff5;
 background:linear-gradient(145deg,#fff 35%,#f4eaff);
}
.price-cards>.price-card:nth-child(2) h3,
.price-cards>.price-card:nth-child(2) strong{color:var(--za-purple-dark)}
.tablewrap table thead th:nth-child(2n){
 background:#efe4ff;
 color:var(--za-purple-dark);
}
.tablewrap table tbody tr:hover{background:#faf6ff}
.notice:nth-of-type(even){border-left-color:var(--za-purple);background:#f8f3ff}

/* Reusable section for well-researched advice: lavender edges, not entirely purple. */
.facts-well{
 background:linear-gradient(112deg,#f6f0ff 0%,#f3f9f6 37%,#f8fcfb 100%);
}
.facts-well-grid article:nth-child(3n + 2){border-color:#e2d3f5}
.facts-well-grid article:nth-child(3n + 2) h3{color:var(--za-purple-dark)}
.facts-well-links a:nth-child(2n){
 background:#f1e6ff;
 color:var(--za-purple-dark);
 border-color:#e0c9fa;
}

/* Sitewide controls: violet for secondary contexts only. */
.linkchips a:nth-child(3n),
.finder-regions a:nth-child(3n){
 background:#f0e5ff;
 color:var(--za-purple-dark);
 border-color:#dfcef6;
}
.linkchips a:nth-child(3n):hover,
.finder-regions a:nth-child(3n):hover{background:#e5d4fa}
.finder-status #pool-reset{color:var(--za-purple)}
.finder-empty{border-color:#d8c2f4}
.finder-empty .btn{background:var(--za-purple);color:#fff!important}
.finder-empty .btn:hover{background:var(--za-purple-dark)}
.tag:nth-of-type(3n){color:var(--za-purple-dark);background:#eee2ff}

/* Small but coherent accent in the footer on each page. */
.footer{border-top:3px solid #8a5bc3}
.footer .fine .website-credit a{
 color:#e6cfff;
 text-decoration:underline;
 text-decoration-color:#af82dd;
 text-underline-offset:3px;
}
.footer .fine .website-credit a:hover{color:#fff}
.footer h3:nth-of-type(3n){color:#ead4ff}
/* Preserve accessibility; avoid violet text on dark purple with insufficient contrast. */
a:focus-visible,button:focus-visible,.btn:focus-visible{
 outline-color:#a576d6;
}
@media(max-width:650px){
 .local-seo{background:linear-gradient(145deg,#faf6ff 0%,#f1f8f8 65%)}
 .za-deep{background:linear-gradient(115deg,#f8f3ff,#f1f8f7)}
 .facts-well{background:linear-gradient(115deg,#f8f3ff,#f1f9f8)}
 .local-area-links{background:linear-gradient(130deg,#0a3448,#563a85)}
}

