/*
Theme Name: ViteSEO Windows Live Mail Tutorial Child Theme
Theme URI:
Author: ViteSEO
Author URI:
Description: Custom Child theme for Windows Live Mail Tutorial Website
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: viteseo-childtheme-ttf-windowslive
Tags:
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.wp-site-blocks > * { margin-block-start: 0 !important; }

:root {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --brand-primary: #3378FF;
  --brand-primary: #3378FF;
  --brand-primary-light: #e0eaff;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}
body {
  overflow-x: hidden;
}

.basic-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16rem 0 16rem;
  position: relative;
  overflow: hidden;
}

.basic-hero::before,
.basic-hero::after {
  content: '';
  position: absolute;
  width: 54rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.75;
  z-index: 0;
}

.basic-hero::before {
  left: -10%;
  top: -20%;
  background: radial-gradient(circle at 30% 30%, #3377ff63 0%, rgba(51, 120, 255, 0) 65%);
}

.basic-hero::after {
  right: -15%;
  top: -30%;
  filter: blur(22px);
  background: radial-gradient(circle at 70% 50%, #3377ff63 0%, rgba(159, 92, 255, 0) 70%);
}

.basic-hero > * {
  position: relative;
  z-index: 1;
}

.basic-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  color: black;
}

.basic-hero p {
  max-width: 72ch;
  text-align: center;
  margin-top: 1rem;
}

.faq-search {
  margin-top: 2rem;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-search__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.faq-search__container {
  width: 100%;
  background-color: #fff;
  padding: 0.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  border: 1px solid #f3f4f6;
  box-shadow: 0 0 12px 6px rgba(0, 0, 0, 0.08);
}

.faq-search__input {
  flex: 1;
  padding: 0.2rem 1.25rem;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: #374151;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.faq-search__input::placeholder {
  color: #6b7280;
}

.faq-search__button {
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.5rem;
  background-color: #3b82f6;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.faq-search__button:hover {
  background-color: #2563eb;
}

.hero-text-blue {
  color: var(--brand-primary);
}

.page-gradient-wrapper {
  min-height: 90vh;
}

.page-gradient-wrapper::before,
.page-gradient-wrapper::after {
  content: '';
  position: absolute;
  width: 64rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.75;
  z-index: 0;
}

.page-gradient-wrapper::before {
  left: -10%;
  top: -20%;
  background: radial-gradient(circle at 30% 30%, #3377ff63 0%, rgba(51, 120, 255, 0) 65%);
}

.page-gradient-wrapper::after {
  right: -15%;
  top: -30%;
  filter: blur(22px);
  background: radial-gradient(circle at 70% 50%, #3377ff63 0%, rgba(159, 92, 255, 0) 70%);
}


@media (min-width: 768px) {
  .error404 .page-gradient-wrapper {
    min-height: 90vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.error404 .hero-section {
  width: 100%;
  padding: 4rem 0;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon-content {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-hero {
  min-height: 75vh;
  padding: 4rem 0;
}

.thank-you-hero .hero-title {
  line-height: 1.1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--brand-primary);
}

.hero-title__pre {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0em;
  color: rgba(51, 120, 255, 0.9);
}

.hero-title__main {
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-primary);
}

.hero-title--nowrap {
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: black;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  border-radius: 12px;
  padding: 0.5rem 2rem;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.3);
}

.wp-block-button.btn-brand .wp-block-button__link,
.wp-block-button__link.btn-brand {
  background: var(--brand-primary);
  border-radius: 8px;
  border: 1px solid var(--brand-primary);
  color: #fff;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.3);
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.wp-block-button.btn-brand .wp-block-button__link:hover,
.wp-block-button.btn-brand .wp-block-button__link:focus,
.wp-block-button__link.btn-brand:hover,
.wp-block-button__link.btn-brand:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(15, 23, 42, 0.35);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.error404 .hero-title {
  font-size: 300px;
  font-weight: 700;
  letter-spacing: -25px;
  line-height: 0.75;
  padding: 0 0;
}

.error404 .hero-subtitle {
  color: var(--brand-primary);
  letter-spacing: 0em;
  font-weight: 700;
  font-size: 48px;
}

@media (max-width: 767px) {
  .page-gradient-wrapper {
    padding: 5rem 0 6rem;
  }

  .btn-brand {
    width: 100%;
  }

  .hero-lead {
    margin-bottom: 1.25rem;
  }
}

.coming-soon-form {
  margin: 1.25rem auto 0;
  max-width: min(540px, 90vw);
  border: 2px solid var(--brand-primary);
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(51, 120, 255, 0.12), rgba(255, 255, 255, 0.8));
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.coming-soon-form__controls {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.coming-soon-form__input {
  flex: 1;
  border: none;
  padding: 0.65rem 1.5rem;
  font-size: 1.05rem;
  color: var(--brand-primary);
  background-color: transparent !important;
  background-image: none !important;
}

.coming-soon-form__input::placeholder {
  color: var(--brand-primary);
  opacity: 1;
}

.coming-soon-form__input:focus-visible {
  outline: none;
}

.coming-soon-form__submit {
  border-radius: 16px;
  border: none;
  margin: 0;
  padding: 0.65rem 1.75rem;
  box-shadow: 0 15px 32px rgba(51, 120, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto !important;
}

.hero-text-gradient {
  background: linear-gradient(to bottom, #2A0F0F, #0F172A, #64748B);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.basic-hero .btn.btn--primary{
  background-color:#2E61C6 !important;
  border-color:#2E61C6 !important;
  color:#fff !important;
  border-radius: 12px !important;
  margin-top: 1rem;
}
.basic-hero .btn.btn--primary:hover{
  filter: brightness(0.95) !important;
}

.basic-hero .btn--primary:focus-visible {
  outline:2px solid #2E61C6 !important;
  outline-offset:2px !important;
}

.blog-layout {
  padding: clamp(3rem, 4vw, 4.5rem) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  background: transparent;
}

.meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta .separator {
  color: #6b7280;
}

.author-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.blog-layout .btn-primary {
  border-radius: 16px;
}

.top-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.featured-card .featured-image {
  width: 100%;
  height: 300px;
  background-color: #d1d5db;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.featured-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--brand-primary);
}

.featured-excerpt {
  color: #111827;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 90%;
}

.top-reads-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.read-card {
  display: flex;
  gap: 1rem;
}

.read-card-image {
  width: 100px;
  height: 100px;
  background-color: #d1d5db;
  border-radius: 8px;
  overflow: hidden;
}

.read-card-content h3 {
  font-size: 1.1rem;
  color: var(--brand-primary);
  margin: 0.25rem 0;
  line-height: 1.3;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn.active {
  background-color: var(--brand-primary);
  color: #fff;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #111827;
}

.sort-select {
  padding: 0.4rem 2rem 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid #9ca3af;
  background-color: transparent;
  font-size: 0.9rem;
  appearance: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

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

.grid-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card-image {
  width: 100%;
  height: 180px;
  background-color: #d1d5db;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.card-content h3 {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.author-avatar {
  width: 24px;
  height: 24px;
  background-color: #d1d5db;
  border-radius: 50%;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.card-excerpt {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 0.8rem;
  color: #6b7280;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: #111827;
  font-size: 0.9rem;
}

.page-arrow, .page-num {
  cursor: pointer;
}

.page-num.active {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #111827;
  border-radius: 4px;
  font-weight: 600;
}

.goto-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.goto-input {
  width: 50px;
  padding: 0.25rem;
  border-radius: 4px;
  border: 1px solid #111827;
  text-align: center;
}

.blog-divider {
  border: 0;
  border-top: 1px solid #d1d5db;
  margin: 3rem 0;
}

.blog-search {
  background-color: transparent;
  color: var(--brand-primary);
  border: none;
  padding: 0;
  margin-right: 1rem;
}
