/*
Theme Name: Piston Child
Theme URI: https://example.com/
Description: Child theme for Piston
Author: Reliant System
Author URI: https://example.com/
Template: piston
Version: 1.0.0
Text Domain: piston-child
*/


/* ===== Page container ===== */
.page-template-template-gcr-sponsorship .gcr-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:clamp(16px, 2vw, 28px);
}
.page-template-template-gcr-sponsorship .gcr-intro{ margin-bottom:18px; }
.page-template-template-gcr-sponsorship .gcr-intro h1{ margin:0 0 .25em; }

/* ===== Grid of cards ===== */
.page-template-template-gcr-sponsorship .gcr-tier-grid{
  display:grid;
  gap:26px;
}
@media (min-width:900px){
  .page-template-template-gcr-sponsorship .gcr-tier-grid{
    grid-template-columns:1fr 1fr; /* 2-up desktop */
  }
}

/* ===== Card ===== */
.page-template-template-gcr-sponsorship .gcr-card{
  --tier-accent:#4c78ff; /* fallback; PHP sets this inline per tier */
  background: color-mix(in srgb, var(--tier-accent) 12%, #fff);
  border:1px solid color-mix(in srgb, var(--tier-accent) 22%, #0000);
  border-radius:18px;
  padding:20px 22px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.page-template-template-gcr-sponsorship .gcr-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.10);
}

/* ===== Card header ===== */
.page-template-template-gcr-sponsorship .gcr-card__hdr{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:10px;
}
.page-template-template-gcr-sponsorship .gcr-card__title{
  margin:0; font-weight:700; font-size:clamp(22px,2.1vw,28px);
}
.page-template-template-gcr-sponsorship .gcr-card__price{
  white-space:nowrap; font-weight:700; font-size:.95rem;
  background:#fff;
  border:2px solid color-mix(in srgb, var(--tier-accent) 40%, #0000);
  border-radius:999px; padding:.35em .75em;
}

/* ===== Description ===== */
.page-template-template-gcr-sponsorship .gcr-card__desc{
  opacity:.92; margin:.25rem 0 .5rem;
}

/* ===== Benefits — CHECKMARKS ONLY (no conflicting bullet resets) ===== */
.page-template-template-gcr-sponsorship .gcr-card .gcr-tier-benefits{
  list-style:none !important;
  padding:0 !important;
  margin:.5rem 0 0 0 !important;
}

.page-template-template-gcr-sponsorship .gcr-card .gcr-tier-benefits li{
  position:relative;
  padding-left:1.6em;
  margin:.35em 0;
}
.page-template-template-gcr-sponsorship .gcr-card .gcr-tier-benefits li::before{
  content:"✔";
  position:absolute; left:0; top:0;
  line-height:1.2; font-weight:800;
  color:var(--tier-accent);
}

/* ===== CTA ===== */
.page-template-template-gcr-sponsorship .gcr-cta{
  margin-top:32px;
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:24px;
}
.page-template-template-gcr-sponsorship .gcr-cta-contacts{
  list-style:disc !important;
  margin:.5rem 0 0 1.25rem !important;
  padding-left:1.25rem !important;
}

/* ===== Optional entrance animation (no JS required) ===== */
@media (prefers-reduced-motion:no-preference){
  .page-template-template-gcr-sponsorship .gcr-card{
    opacity:0; transform:translateY(10px);
    animation:gcrFadeUp .6s ease forwards;
  }
  .page-template-template-gcr-sponsorship .gcr-card:nth-child(2){ animation-delay:.06s; }
  .page-template-template-gcr-sponsorship .gcr-card:nth-child(3){ animation-delay:.12s; }
  .page-template-template-gcr-sponsorship .gcr-card:nth-child(4){ animation-delay:.18s; }
  @keyframes gcrFadeUp{ to{ opacity:1; transform:none; } }
}

/* ===== Legacy band block compatibility (ensure never hidden) =====
   If any older markup with .gcr-tier-band remains, keep it visible.
*/
.gcr-tier-band{ opacity:1 !important; transform:none !important; }


/* ==== ADDED on  9/17/2025 0947 ==== */


/* ===== Sponsorship Program — Pricing Cards (unscoped) ===== */
.gcr-wrap{ max-width:1100px; margin:0 auto; padding:clamp(16px,2vw,28px); }
.gcr-intro{ margin-bottom:18px; }
.gcr-intro h1{ margin:0 0 .25em; }

/* grid */
.gcr-tier-grid{ display:grid; gap:26px; }
@media (min-width:900px){ .gcr-tier-grid{ grid-template-columns:1fr 1fr; } }

/* card */
.gcr-card{
  --tier-accent:#4c78ff;              /* PHP sets this inline per tier */
  background: color-mix(in srgb, var(--tier-accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--tier-accent) 22%, #0000);
  border-radius:18px;
  padding:20px 22px;
  box-shadow:0 8px 24px rgba(0,0,0,.36);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gcr-card:hover{ transform: translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.10); }

/* header */
.gcr-card__hdr{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.gcr-card__title{ margin:0; font-weight:700; font-size:clamp(22px,2.1vw,28px); }
.gcr-card__price{
  white-space:nowrap; font-weight:700; font-size:.95rem; background:#fff;
  border:2px solid color-mix(in srgb, var(--tier-accent) 40%, #0000);
  border-radius:999px; padding:.35em .75em;
}

/* description */
.gcr-card__desc{ opacity:.92; margin:.25rem 0 .5rem; }

/* benefits → CHECKMARKS */
.gcr-card .gcr-tier-benefits{ list-style:none !important; padding:0 !important; margin:.5rem 0 0 0 !important; }
.gcr-card .gcr-tier-benefits li{ position:relative; padding-left:1.6em; margin:.35em 0; }
.gcr-card .gcr-tier-benefits li::before{
  content:"✔"; position:absolute; left:0; top:0; line-height:1.2; font-weight:800; color:var(--tier-accent);
}

/* CTA */
.gcr-cta{ margin-top:32px; border-top:1px solid rgba(0,0,0,.08); padding-top:24px; }
.gcr-cta-contacts{ list-style:disc !important; margin:.5rem 0 0 1.25rem !important; padding-left:1.25rem !important; }

/* safety: never hide legacy band blocks */
.gcr-tier-band, .gcr-tier-band.reveal { opacity:1 !important; transform:none !important; }

/* safety: cards visible even if animations disabled elsewhere */
.gcr-card{ opacity:1 !important; transform:none !important; animation:none !important; }



/* ===== ADDED 9/18/2025 ==== */
/* Partner (Sponsors) page link colors */
.page-template-template-gcr-sponsor a {
  color: #0645AD;              /* normal link blue, adjust as needed */
  text-decoration: underline;
}

.page-template-template-gcr-sponsor a:hover {
  color: #000;                 /* darker on hover */
  text-decoration: none;
}



/* ==== ADDEDED 9/19/2025 ==== */

/* ===== Partners (Sponsors) page – readable link colors ===== */
.gcr-sponsors-page a,
.gcr-sponsors-page .entry-content a,
.gcr-sponsors-page .gcr-card a,
.gcr-sponsors-page .gcr-sponsor-grid a {
  color: #0645AD !important;                /* pick your brand color if you prefer */
  text-decoration: underline;
}

.gcr-sponsors-page a:hover,
.gcr-sponsors-page .entry-content a:hover,
.gcr-sponsors-page .gcr-card a:hover,
.gcr-sponsors-page .gcr-sponsor-grid a:hover {
  color: #000 !important;                    /* hover color */
  text-decoration: none;
}

/* Optional: visited color so it’s not white */
.gcr-sponsors-page a:visited { color: #5A3DAD !important; }

/* If any parent theme rule is forcing white inside dark sections, this defeats it */
.gcr-sponsors-page .has-dark-background a,
.gcr-sponsors-page .site-content a {
  color: #0645AD !important;
}



/* ==== ADDED 9/19/2025 0913 ==== */
/* Override Intro Content links on Sponsors page */
.gcr-sponsors-page-intro a {
  color: #0645AD !important;    /* change to your brand color if preferred */
  text-decoration: underline;
}
.gcr-sponsors-page-intro a:hover {
  color: #000 !important;
  text-decoration: none;
}
.gcr-sponsors-page-intro a:visited {
  color: #5A3DAD !important;
}






/* ==== ADDED 9/19/2025 0930 ==== */
/* Partners (Sponsors) – Intro block */
.gcr-sponsors-intro{
  color:#1a1a1a;
  font-size:16px;
  line-height:1.6;
  margin:12px 0 20px;
}

/*
 * .gcr-sponsors-intro p{ margin:0 0 .75rem; }
*/

.gcr-sponsors-intro a{
  color:#0645AD;            /* brand/link color */
  text-decoration:underline;
}
.gcr-sponsors-intro a:hover{
  color:#000;
  text-decoration:none;
}
.gcr-sponsors-intro a:visited{ color:#5A3DAD; } /* optional */

/* ==== ADDED 9/23/2025 ==== */
/* Partners (Sponsors) - center + tidy intro */

.gcr-sponsors-page-intro{
  max-width: 1200px;
  margin: 0 auto 20px;               /* centers the block */
  padding: 0 clamp(18px, 2vw, 28px); /* same horizontal padding as the cards */
  color: #1a1a1a;
  font-size: 16px;                   /* you had 72px by mistake */
  line-height: 1.6;
}
.gcr-sponsors-page-intro p{ margin: 0 0 .75rem; }

.gcr-sponsors-page-intro a{
  color:#0645AD; text-decoration:underline;
}
.gcr-sponsors-page-intro a:hover{
  color:#000; text-decoration:none;
}




/* ==== 09/23/2025 ==== */

/* Sponsors page - Intro block layout + link color */
.gcr-sponsors-page-intro{
  max-width: 1100px;
  margin: 0 auto 20px;                  /* centers the intro */
  padding: 0 clamp(16px, 2vw, 28px);
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

.gcr-sponsors-page-intro p{ margin: 0 0 .75rem; }

.gcr-sponsors-page-intro a{
  color: #0645AD !important;
  text-decoration: underline;
}
.gcr-sponsors-page-intro a:hover{
  color: #000 !important;
  text-decoration: none;
}



/* Force link color in Sponsors intro and cards */
.gcr-sponsors-page-intro a,
.gcr-card__link,
.gcr-card__meta a {
  color: #0645AD !important;   /* or your brand color */
  text-decoration: underline;
}

.gcr-sponsors-page-intro a:hover,
.gcr-card__link:hover,
.gcr-card__meta a:hover {
  color: #000 !important;
  text-decoration: none;
}



/* ==== ADDED 9/26/2025 0759 ==== */
/* ==== Sponsors intro: readable link colors (final override) ==== */
.site-main.gcr-sponsors .gcr-intro a {
  color: #0645AD !important;          /* readable blue */
  text-decoration: underline;
}
.site-main.gcr-sponsors .gcr-intro a:hover {
  color: #000 !important;
  text-decoration: none;
}
.site-main.gcr-sponsors .gcr-intro a:visited {
  color: #5A3DAD !important;
}

/* (Optional cleanup) These selectors don’t match your markup; safe to remove:
   .page-template-template-gcr-sponsor a { … }      // typo: “sponsor” vs “sponsorship”
   .gcr-sponsors-page-intro { … }                   // class not present in template
*/






/* ==== ADDED 9/30/2025 ==== */


/* Contact template: cancel the overlap and sit below the hero */
.iletisim-icon-alani,
.iletisim-icon-alani .tablo {
  margin-top: 0 !important;
  top: auto !important;
  transform: none !important;    /* cancels translateY pull-up */
  position: static !important;
  z-index: auto !important;
}

/* give a little breathing room under the banner */
.iletisim-icon-alani { padding-top: 48px; }  /* tweak to taste */


.team-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

