/*!
Theme Name: Altoaffi Theme
Theme URI: http://pryvus.com/
Author: Pryvus
Author URI: http://pryvus.com/
Description: Custom light theme
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cassite-theme
*/

/* =======================
   Reset & Base styles
======================= */
* {
  padding: 0;
  margin: 0;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* body {
  font-family: var(--coming-soon-font, "Poppins", sans-serif);
  margin: 0;
  color: #fff;
  background: #070920;
} */
body {
  font-family: var(--coming-soon-font, "Poppins", sans-serif);
  margin: 0;
  color: black;
  background: #ffffff;
}

a, a:link, a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

.entry-content p {
  padding-bottom: 30px;
}

.entry-content h2 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.container__page {
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
}

.content__wrap {
  padding-bottom: 64px;

  .wp-block-list {
    list-style: disc !important;
    padding: 10px;
  }

  p {
    padding: 12px 0;
  }
}

.wp-block-heading {
  font-size: 20px !important;
  font-weight: 900;
}

.menu_page_title {
  padding: 24px 0 !important;
  margin-bottom: 24px;
  border-bottom: 1px solid #44403f;
  font-size: 32px !important;
}

@media (max-width: 1024px) {
  .container__page {
    padding: 15px;
  }
}

aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

address {
  font-style: normal;
}

/* =======================
   Layout
======================= */
.site-main > .container {
  padding: 33px 0 0;
  color: var(--text-color);
  h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 24px;
  }
  a {
    color: var(--text-color);
    text-decoration: underline;
  }
  ul {
    padding-left: 20px;
    margin-bottom: 10px;
    li {
      list-style: disc;
      margin-bottom: 5px;
    }
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 1200px;
    max-width: 98vw;
  }

  .container-page {
    width: 1165px;
    max-width: 98vw;
    margin: 0 auto;
    padding: 20px 0;
  }
}

.header.altoaffi__wrapper {
  background: #d21f26;          
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.header.altoaffi__wrapper a {
  color: black;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;         
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.header-container .logo p {
  font-size: 16px;
}

.header-container .logo p  a {
  color: #fbbf24;
  text-decoration: underline;
  font-weight: 600;
}
/* 
.header__menu_list {
  display: flex;
  justify-content: center;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.header__menu_list .header-nav .header-nav__menu {
  display: flex;
  gap: 20px;
  color: #070920;
} */

.header-nav__menu {
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.logo img {
  height: 32px;               
  width: 32px;
  object-fit: contain;
  display: block;
}

.header__disclaimer {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

.header__disclaimer a {
  color: #ffd54a;
  text-decoration: underline;
  font-weight: 600;
}

.header__logos {
  display: flex;
  align-items: center;
  column-gap: 18px;
  flex-shrink: 0;
}

.altoaffi__header_logo img {
  height: 30px;                
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    row-gap: 10px;
    text-align: center;
  }

  .logo {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .header-container .logo p {
    font-size: 14px;
  }

  .header-container {
    padding: 10px 24px;
  }


  .header__logos {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .header__disclaimer {
    max-width: 100%;
  }
}


.altoaffi__hero {
  padding: 60px 0;
  text-align: center;
}

.altoaffi__hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.altoaffi__hero_title,
.altoaffi__hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 16px;
  text-align: center;
}

.altoaffi__hero_title .blue,
.altoaffi__hero h1 .blue {
  color: #2563eb;
}

.altoaffi__hero_content p,
.altoaffi__hero_content {
  font-size: 18px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 750px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .altoaffi__hero h1 {
      font-size: 32px;
  }
  .altoaffi__hero_content p {
      font-size: 16px;
  }
}

.brands-list-block {
  padding: 56px 0;
  background: #f3f4f6;
}

.save__brands-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  column-gap: 32px;
  row-gap: 18px;
}

.sitecas__brand-card {
  min-height: 455px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px 30px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-around;
  transition: transform 0.3s 
  ease, box-shadow 0.3s 
  ease;
}
.sitecas__brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


.brand-col--logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.brand-col--offer {
  margin-bottom: 18px;
}

.brand-col--offer .header__disclaimer:first-child {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.brand-col--offer .header__disclaimer:last-child {
  font-size: 16px;
  color: #6b7280; 
}

.brand-col--rating {
  margin-bottom: 18px;
}

.brand-col--rating .header__disclaimer {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.rating__stars {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.rating__stars .star img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.brand-col--btn {
  width: 100%;
  margin-top: 8px;
}

.save__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #16a34a, #059669); 
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.organization-col--btn {
  width: 100%;
  margin-top: 8px;
}

.org__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 12px;
  border: none;
  background: #2563eb; 
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.save__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.45);
  filter: brightness(1.05);
}

.brand__disclaimer {
  font-size: 11px;
  line-height: 1.4;
  color: #6b7280;
  max-width: 360px;
  margin: 0 auto;           
}

.sitecas__brand-card,
.brand__disclaimer {
  width: 100%;
}


@media (max-width: 1024px) {
  .brands-list-block {
    padding: 40px 0;
  }
}

@media (max-width: 640px) {
  .sitecas__brand-card {
    padding: 24px 18px 26px;
  }

  .brand-col--offer .header__disclaimer:first-child {
    font-size: 18px;
  }

  .brand-col--rating .header__disclaimer {
    font-size: 24px;
  }

  .save__btn {
    width: 100%;
  }
}


.altoaffi__content_block {
  padding: 60px 0;
  background: #f8fafc;

}

.altoaffi__content {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.integrations__item {
  background: #ffffff;
  padding: 48px 56px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
  margin-bottom: 10px;
}

.integrations__item h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 24px;
}

.integrations__item h1 span {
  color: #2563eb;
}

.integrations__item p {
  font-size: 18px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .integrations__item {
      padding: 32px 24px;
      border-radius: 20px;
  }

  .integrations__item h1 {
      font-size: 28px;
  }

  .integrations__item p {
      font-size: 16px;
  }
}


.altoaffi__faq_block {
  padding: 60px 0;
  background: #f8fafc;
}

.altoaffi__faq_block .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq__title {
  text-align: center;
  margin-bottom: 32px;
}

.faq__title h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}

.faq__title h1 span {
  color: #2563eb;
}

.faq__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__section .integrations__item {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  padding: 24px 24px 0px 24px;
    cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.faq__section .integrations__item:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.faq__section .integrations__item h3 {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  padding-right: 24px;
}

.faq__section .integrations__item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 600;
  color: #2563eb;
}

.faq__section .integrations__item.is-open h3::after {
  content: "×";
}

.faq__section .integrations__item p {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0px 0 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.faq__section .integrations__item.is-open p {
  max-height: 500px;
  opacity: 1;
}

@media (max-width: 768px) {
  .altoaffi__faq_block {
      padding: 40px 0;
  }

  .faq__title h1 {
      font-size: 28px;
  }

  .faq__section .integrations__item {
      padding: 16px 18px;
  }
}

.support__organization_block {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.altoaffi__organization_list {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.altoaffi__organization_card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 32px 40px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.organization-col--logo {
  background: #dadbde;
  border-radius: 18px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 100px;
}

.organization-col--logo img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.organization-col--offer p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
}

.organization-col--offer .header__disclaimer:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.organization-col--offer .header__disclaimer:last-child {
  font-size: 16px;
  line-height: 1.65;
  color: #6b7280;
}

.organization__contnt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.organization__contnt p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #2563eb;
}

.organization__contnt svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #2563eb;
}

.organization__url a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.organization__url a:hover {
  text-decoration: underline;
}

.organization-col--btn {
  margin-top: 24px;
}

.save__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  background: #059669;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.save__btn:hover {
  background: #046c4b;
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.support__content {
  margin-top: 60px;
  padding: 40px;
  border-radius: 16px;
  color: #828384;
  font-size: 16px;
  line-height: 1.7;
  border-left: 4px solid #2563eb;
}

.support__content h1 {
    color: #000;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
}

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

@media (max-width: 768px) {
  .altoaffi__organization_list {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .altoaffi__organization_card {
      padding: 24px 20px 30px;
  }
}

.site-footer {
  background-color: #1f2937;
  color: #e5e7eb;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer__top {
  margin-bottom: 40px;
}

.footer__main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logos {
  display: flex;
  gap: 16px;
}

.footer_logos img {
  height: 40px;
  width: auto;
}

.sitecas__footer_content {
  font-size: 16px;
  line-height: 1.5;
  color: #e5e7eb;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer__bottom {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.sitecas__footer_copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.85rem;
}

.footer__bottom ul {
  display: flex;
  gap: 24px;
}

.footer__bottom ul li {
  list-style: none;
}

.footer__bottom ul li a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 16px;
}

.footer__bottom ul li a:hover {
  color: #2563eb;
}

.main_link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  transition: opacity 0.3s 
ease;
  padding-bottom: 40px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .footer__main {
      flex-direction: column;
      align-items: center;
  }

  .footer__logos {
      margin-bottom: 24px;
  }

  .footer__bottom ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .sitecas__footer_content {
      text-align: center;
      font-size: 14px;
  }
  .footer__logos {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
}
