/**
Theme Name: Parhaat kasinobonukset
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parhaat-kasinobonukset
Template: astra
*/

/* (jos tämä oli debug, nyt siistitty) */
.casino-offer-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
}

/* =====================================================
   CC TOC – FINAL, CLEAN & CORRECT
   ===================================================== */

/* Wrapper */
#cc-site-toc{
  position: fixed !important;
  top: 110px !important;
  right: 16px !important;
  z-index: 999999 !important;

  display: block !important;
  width: auto !important;
}

/* Piilotus */
#cc-site-toc[hidden]{
  display: none !important;
}

/* TOGGLE BUTTON */
#cc-site-toc .cc-site-toc__toggle{
  appearance: none !important;
  border: 0 !important;
  cursor: pointer !important;

  background: linear-gradient(135deg,#1f3c88,#274caa) !important;
  color: #ffffff !important;

  padding: 12px 18px !important;
  border-radius: 999px !important;

  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow: 0 10px 24px rgba(31,60,136,.25) !important;
}

/* Hover */
#cc-site-toc .cc-site-toc__toggle:hover{
  background: linear-gradient(135deg,#274caa,#2f5edb) !important;
}

/* PANEL – Aukeaa ALASPÄIN */
#cc-site-toc .cc-site-toc__panel{
  position: absolute !important;
  top: calc(100% + 12px) !important; /* TÄRKEÄ: alas */
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;

  width: min(90vw, 320px) !important;
  max-height: 60vh !important;
  overflow-y: auto !important;

  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 14px !important;

  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
}

/* Panel hidden */
#cc-site-toc .cc-site-toc__panel[hidden]{
  display: none !important;
}

/* LIST */
#cc-site-toc .cc-toc-list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ITEMS */
#cc-site-toc .cc-toc-item{
  margin: 6px 0 !important;
}

/* LINKS */
#cc-site-toc .cc-toc-link{
  display: block !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;

  text-decoration: none !important;
  color: #1f3c88 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
}

/* Hover */
#cc-site-toc .cc-toc-link:hover{
  background: #eef4ff !important;
}

/* H3 indent */
#cc-site-toc .cc-toc-item--h3 .cc-toc-link{
  padding-left: 26px !important;
  font-size: 13px !important;
  opacity: .85 !important;
}

/* Active */
#cc-site-toc .cc-toc-link.is-active{
  background: #e3ecff !important;
  font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 782px){
  #cc-site-toc{
    top: 90px !important;
    right: 12px !important;
  }

  #cc-site-toc .cc-site-toc__panel{
    width: min(92vw, 340px) !important;
  }
}

/* =========================
   CC FAQ – Accordion boxes
   (useampi auki sallittu)
   ========================= */

.cc-faq{
  margin: 32px 0;
}

.cc-faq__title{
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.15;
}

.cc-faq__items{
  display: grid;
  gap: 12px;
}

/* jokainen boxi */
.cc-faq__item{
  background: #f5f7fb;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* kysymysrivi */
.cc-faq__q{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 16px 16px;
  cursor: pointer;

  font-weight: 800;
  color: #0b1b34;
}

.cc-faq__q::-webkit-details-marker{ display:none; }

/* ikoni oikealle: + / − (teeman sinisellä) */
.cc-faq__icon{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(13,110,253,.12);
  position: relative;
}

.cc-faq__icon::before,
.cc-faq__icon::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #0d6efd;
  transform: translate(-50%,-50%);
  border-radius: 2px;
}

.cc-faq__icon::after{
  width: 2px;
  height: 18px;
}

.cc-faq__item[open] .cc-faq__icon{
  background: rgba(13,110,253,.18);
}

.cc-faq__item[open] .cc-faq__icon::after{
  display: none; /* miinus */
}

/* vastaus */
.cc-faq__a{
  padding: 0 16px 16px;
  color: rgba(11,27,52,.85);
  line-height: 1.6;
}

/* erotin viiva kun auki */
.cc-faq__item[open] .cc-faq__a{
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 14px;
}

/* hover / focus */
.cc-faq__item:hover{
  border-color: rgba(13,110,253,.22);
}

.cc-faq__q:focus{
  outline: none;
}

.cc-faq__q:focus-visible{
  outline: 3px solid rgba(13,110,253,.25);
  outline-offset: 2px;
  border-radius: 14px;
}

/* mobiili vähän tiiviimmäksi */
@media (max-width: 782px){
  .cc-faq__q{ padding: 14px; }
  .cc-faq__a{ padding: 0 14px 14px; }
  .cc-faq__icon{ width: 38px; height: 38px; border-radius: 12px; }
}

/* =========================
   Section headers – brand line
   ========================= */

.cc-review-section > h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cc-review-section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #0d6efd,
    #4dabf7
  );
}

/* =========================
   Fact icons (brand aligned)
   ========================= */

.cc-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cc-fact::before {
  content: "\f112"; /* dashicons-shield */
  font-family: dashicons;
  font-size: 18px;
  line-height: 1;
  color: #0d6efd;
  margin-top: 3px;
}

/* eri ikonit tietyille faktoille */
.cc-fact-k:contains("Lisenssi")::before {
  content: "\f112";
}

.cc-fact-k:contains("Kotiutus")::before {
  content: "\f469";
}

.cc-fact-k:contains("Minimitalletus")::before {
  content: "\f524";
}

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }
}