/*
  SlashSEO Theme — "Onix Pulse"
  Visual DNA transferred from Onix Digital (templatemo 565)
  
  Palette: light neutral base + sky blue (#03a4ed) + coral (#ff695f)
  Typography: Geometric sans (system Poppins-like stack)
  Layout: spacious full-width sections, rounded elements, soft shadows
  Decorative: floating organic shapes via CSS, pill buttons, ghost labels
*/

/* =============================================
   RESET & BASE
   ============================================= */

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

html {
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #2a2a2a;
  background-color: #fff;
}

ul, ol { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

/* =============================================
   CSS VARIABLES — color palette from source
   ============================================= */

:root {
  --blue: #03a4ed;
  --coral: #ff695f;
  --coral-light: #ff9068;
  --dark: #2a2a2a;
  --gray: #7a7a7a;
  --gray-light: #afafaf;
  --bg-off: #fafafa;
  --bg-white: #fff;
  --border: #eee;
  --radius-pill: 23px;
  --radius-card: 20px;
  --radius-big: 45px;
  --shadow-soft: 0 0 15px rgba(0,0,0,0.05);
  --shadow-medium: 0 0 15px rgba(0,0,0,0.1);
  --section-pad: 100px;
  --container-width: 1140px;
  --coral-gradient: linear-gradient(105deg, #ff695f 0%, #ff9068 100%);
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* =============================================
   DECORATIVE BLOBS (transferred from source's PNG decorations)
   ============================================= */

.deco-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

.deco-blob--blue { background: var(--blue); }
.deco-blob--coral { background: var(--coral); }

/* =============================================
   TYPOGRAPHY — dual-accent headings (source DNA)
   ============================================= */

.section-heading {
  margin-bottom: 50px;
  position: relative;
}

.section-heading h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.25px;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

.section-heading h2 .accent-blue {
  color: var(--blue);
}

.section-heading h2 .accent-coral {
  color: var(--coral);
}

.section-heading .ghost-label {
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
  opacity: 0.12;
  display: block;
  margin-top: -8px;
}

/* =============================================
   BUTTONS — pill shape (source DNA)
   ============================================= */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.25px;
  transition: all .3s;
  border: none;
  cursor: pointer;
}

.btn--blue {
  background-color: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background-color: var(--coral);
  color: #fff;
}

.btn--coral {
  background-color: var(--coral);
  color: #fff;
}

.btn--coral:hover {
  background-color: var(--blue);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn--ghost:hover {
  background: var(--blue);
  color: #fff;
}

/* =============================================
   HEADER / NAV
   ============================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: rgba(255,255,255,0.97);
  height: 80px;
  transition: all .4s;
}

.site-header.scrolled {
  box-shadow: 0 0 10px rgba(0,0,0,0.12);
  height: 70px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-header .logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all .3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral);
}

.nav-links .btn {
  margin-left: 12px;
}

/* Hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: all .3s;
  border-radius: 2px;
}

.hamburger span:nth-child(2) { width: 75%; }

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,0.98);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    gap: 4px;
    z-index: 105;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 18px;
    padding: 12px 20px;
  }
}

/* =============================================
   HERO — editorial, left-aligned (source DNA: asymmetric hero)
   ============================================= */

.hero {
  padding: 180px 0 100px;
  position: relative;
  background-color: var(--bg-off);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.05;
}

.hero::after {
  content: '';
  position: absolute;
  right: 120px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.07;
}

.hero__inner {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero__label {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 46px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero__subtitle p { margin-bottom: 12px; }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

/* =============================================
   TOPICS — card grid with rounded cards & soft shadow (source DNA)
   ============================================= */

.topics {
  background: var(--bg-white);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.topic-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  z-index: 2;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  background: var(--coral-gradient);
  opacity: 0;
  transition: opacity .3s;
}

.topic-card:hover::before {
  opacity: 1;
}

.topic-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.topic-card .topic-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.topic-card .topic-desc p {
  font-size: 15px;
  color: var(--gray);
}

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

/* =============================================
   LATEST POSTS — asymmetric layout (source DNA: spacious with rounded images)
   ============================================= */

.latest-posts {
  background: var(--bg-off);
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.post-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.post-row__image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.post-row__body {
  padding: 32px 32px 32px 0;
}

.post-row__date {
  font-size: 13px;
  color: var(--coral);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.post-row__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.post-row__title a {
  color: var(--dark);
  transition: color .3s;
}

.post-row__title a:hover {
  color: var(--blue);
}

.post-row__excerpt {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

.post-row__excerpt p {
  font-size: 15px;
  color: var(--gray);
}

.post-row--no-img {
  grid-template-columns: 1fr;
}

.post-row--no-img .post-row__body {
  padding: 32px;
}

@media (max-width: 768px) {
  .post-row {
    grid-template-columns: 1fr;
  }
  .post-row__image {
    min-height: 180px;
  }
  .post-row__body {
    padding: 24px;
  }
}

/* =============================================
   FAQ — expandable panels, rounded (source DNA)
   ============================================= */

.faq {
  background: var(--bg-white);
}

.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow .3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  line-height: 1.5;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform .3s;
  width: 24px;
  text-align: center;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 28px 24px;
}

.faq-answer-inner {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.faq-answer-inner p {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--gray);
}

/* =============================================
   FOOTER — multi-column (source DNA)
   ============================================= */

.site-footer {
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 32px;
  width: auto;
}

.footer-brand .tagline {
  font-size: 15px;
  color: var(--gray-light);
  margin-bottom: 16px;
}

.footer-brand .email-link {
  font-size: 15px;
  color: var(--coral);
  font-weight: 500;
  transition: color .3s;
}

.footer-brand .email-link:hover {
  color: var(--blue);
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  color: var(--gray-light);
  transition: color .3s;
}

.footer-col ul li a:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-light);
  font-weight: 300;
}

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

/* =============================================
   PAGE TEMPLATE (about / static pages)
   ============================================= */

.page-hero {
  padding: 160px 0 60px;
  background: var(--bg-off);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.04;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  z-index: 2;
}

.page-content {
  padding: 60px 0 var(--section-pad);
}

.page-content .content-body {
  max-width: 780px;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.8;
}

.page-content .content-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
  color: var(--dark);
}

.page-content .content-body h3 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--dark);
}

.page-content .content-body p {
  margin-bottom: 16px;
}

.page-content .content-body ul,
.page-content .content-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
  list-style: disc;
}

.page-content .content-body ol {
  list-style: decimal;
}

.page-content .content-body a {
  color: var(--blue);
  border-bottom: 1px solid transparent;
}

.page-content .content-body a:hover {
  border-bottom-color: var(--blue);
}

.page-content .content-body blockquote {
  border-left: 4px solid var(--coral);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-off);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--gray);
  font-style: italic;
}

.page-content .content-body img {
  border-radius: var(--radius-card);
  margin: 24px 0;
}

/* =============================================
   BLOG INDEX
   ============================================= */

.blog-hero {
  padding: 160px 0 60px;
  background: var(--bg-off);
  position: relative;
}

.blog-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.05;
}

.blog-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  z-index: 2;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card__title a {
  color: var(--dark);
}

.blog-card__title a:hover {
  color: var(--blue);
}

.blog-card__excerpt {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.blog-card__excerpt p {
  font-size: 15px;
  color: var(--gray);
}

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

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: all .3s;
}

.pagination a:hover {
  background: var(--bg-off);
  color: var(--coral);
}

.pagination a.active,
.pagination .current {
  background: var(--coral);
  color: #fff;
}

.pagination .prev-next {
  font-weight: 600;
  color: var(--blue);
}

.pagination .prev-next:hover {
  color: var(--coral);
  background: var(--bg-off);
}

/* =============================================
   POST SINGLE
   ============================================= */

.post-hero {
  padding: 160px 0 50px;
  background: var(--bg-off);
  position: relative;
}

.post-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.04;
}

.post-hero__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.post-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  max-width: 780px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.post-excerpt-block {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 780px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.post-excerpt-block p {
  font-size: 18px;
  color: var(--gray);
}

.post-cover {
  margin-top: -20px;
  position: relative;
  z-index: 3;
}

.post-cover img {
  width: 100%;
  max-width: 780px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-medium);
}

.post-content {
  padding: 50px 0 var(--section-pad);
}

.post-content .content-body {
  max-width: 780px;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.8;
}

.post-content .content-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.post-content .content-body h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.post-content .content-body p {
  margin-bottom: 16px;
}

.post-content .content-body ul,
.post-content .content-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
  list-style: disc;
}

.post-content .content-body ol {
  list-style: decimal;
}

.post-content .content-body a {
  color: var(--blue);
  border-bottom: 1px solid transparent;
}

.post-content .content-body a:hover {
  border-bottom-color: var(--blue);
}

.post-content .content-body blockquote {
  border-left: 4px solid var(--coral);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-off);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--gray);
  font-style: italic;
}

.post-content .content-body img {
  border-radius: var(--radius-card);
  margin: 24px 0;
}

/* =============================================
   SKIP LINK
   ============================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  z-index: 200;
  font-size: 14px;
  transition: top .3s;
}

.skip-link:focus {
  top: 8px;
}

/* =============================================
   FOCUS STYLES
   ============================================= */

*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* =============================================
   RESPONSIVE FINE-TUNING
   ============================================= */

@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }
  .hero__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }
  .hero {
    padding: 140px 0 60px;
  }
  .hero__title {
    font-size: 30px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .page-hero h1,
  .blog-hero h1,
  .post-hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .container {
    padding: 0 16px;
  }
}
