/* ═══════════════════════════════════════════════════════════
   VISUAL CONFIG — Change these variables to restyle the site
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Brand colors */
  --color-primary: #f20a51;
  --color-primary-dark: #c10841;
  --color-primary-border: #ff0068;
  --color-accent: #6b15a1;
  --color-text: #293a46;
  --color-text-muted: #666;
  --color-bg: #ffffff;
  --color-border: #dcdfe4;
  --color-panel-bg: #f5f5f5;
  --color-link-hover: #c10841;

  /* Typography */
  --font-family: "Roboto", Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Layout */
  --container-sm: 710px;
  --container-md: 890px;
  --container-lg: 960px;
  --container-padding: 16px;
  --navbar-height: 66px;
  --hero-padding: 30px 0;
  --section-padding: 30px 0;
  --search-max-width: 600px;
  --search-input-height: 60px;
  --border-radius: 4px;
}

/* ── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 10px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.site-main {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus,
a:hover,
p a {
  color: var(--color-link-hover);
  text-decoration: none;
}

body h4 a,
body p a {
  color: var(--color-accent);
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5 {
  color: inherit;
  font-family: inherit;
  font-weight: var(--font-weight-light);
  line-height: 1.4;
  margin: 10px 0;
}

h1 { font-size: 21px; font-weight: var(--font-weight-light); }
h2 { font-size: 18px; }
h3 { font-size: 21px; margin-bottom: 12px; }
h4 { font-size: 16px; }
h5 { font-size: 17px; margin: 6px 0 8px; font-weight: var(--font-weight-normal); }

p { margin: 0 0 11px; }
p:empty { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ── Grid (Bootstrap-like) ──────────────────────────────── */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
  max-width: var(--container-lg);
}

.row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.row::before,
.row::after {
  content: " ";
  display: table;
}

.row::after { clear: both; }

.col-xs-12,
.col-xs-6,
.col-sm-4,
.col-sm-5,
.col-sm-7,
.col-sm-12,
.col-md-12 {
  position: relative;
  min-height: 1px;
  width: 100%;
  float: none;
  padding-left: 0;
  padding-right: 0;
}

.col-xs-6 { width: 50%; float: left; }

@media (min-width: 768px) {
  .container {
    max-width: var(--container-sm);
    padding-left: 15px;
    padding-right: 15px;
  }

  .col-sm-4,
  .col-sm-5,
  .col-sm-7,
  .col-sm-12,
  .col-md-12 {
    float: left;
  }

  .col-sm-4 { width: 33.33333333%; }
  .col-sm-5 { width: 41.66666667%; }
  .col-sm-7 { width: 58.33333333%; }
  .col-sm-12,
  .col-md-12 { width: 100%; }

  .hidden-xs { display: inline !important; }
  h1 { font-size: 38px; }
  h2, h3 { font-size: 26px; }
  h4 { font-size: 18px; }
}

@media (min-width: 992px) {
  .container { max-width: var(--container-md); }
}

@media (max-width: 767px) {
  .hidden-xs { display: none !important; }
  .col-xs-6 { width: 100%; float: none; }
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  min-height: var(--navbar-height);
  position: relative;
}

.navbar-header {
  text-align: left;
  position: relative;
  min-height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: inline-block;
  float: none;
  font-size: 16px;
  height: auto;
  margin: 0;
  padding: 0;
  flex: 1;
}

.navbar-brand a {
  display: inline-block;
  height: 46px;
  line-height: 46px;
  vertical-align: middle;
}

.navbar-brand img {
  display: inline-block;
  vertical-align: top;
}

.navbar-brand #logo-name {
  display: inline-block;
  font-size: 23px;
  font-weight: var(--font-weight-bold);
  line-height: 46px;
  padding-left: 5px;
}

.navbar-toggle {
  position: relative;
  right: auto;
  top: auto;
  float: none;
  flex-shrink: 0;
  margin: 0;
  padding: 9px 10px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--border-radius);
  color: var(--color-text);
  cursor: pointer;
}

.navbar-toggle:hover {
  background: #f9f9f9;
  border-color: var(--color-primary-dark);
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary-dark);
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-collapse {
  display: none;
  overflow-x: visible;
  padding: 0 15px;
  border-top: 1px solid transparent;
}

.navbar-collapse.is-open {
  display: block;
}

.nav {
  list-style: none;
  margin: 12px -15px;
  padding-left: 0;
}

.nav > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  position: relative;
}

.nav > li > a:hover {
  background: #eee;
  text-decoration: none;
}

.navbar-right {
  float: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 160px;
  margin: 2px 0 0;
  padding: 5px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover {
  background: #f5f5f5;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

@media (min-width: 768px) {
  .navbar-toggle { display: none; }
  .navbar-collapse { display: block !important; border-top: 0; }
  .navbar-tall { height: var(--navbar-height); }
  .navbar-tall .navbar-header,
  .navbar-tall .navbar-nav { line-height: var(--navbar-height); text-align: left; }
  .navbar-nav { float: left; margin: 0; }
  .navbar-nav > li { float: left; }
  .navbar-nav > li > a { padding: 24px 15px; display: inline-block; }
  .navbar-right { float: right !important; margin-right: -15px; }
  .navbar > .container .navbar-brand { margin-left: 0; }
}

@media (max-width: 767px) {
  .navbar-nav > li > a {
    margin-right: 0;
    text-align: left;
  }
}

/* ── Panel & Hero ───────────────────────────────────────── */
.panel {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 22px;
}

.panel-default { border-color: #ddd; }

.panel-body { padding: 15px; }

.m-b-0 { margin-bottom: 0 !important; }
.m-b-md { margin-bottom: 22px !important; }
.m-t { margin-top: 15px !important; }

.hero {
  border-bottom: 1px solid var(--color-border);
  padding: var(--hero-padding);
  position: relative;
  text-align: center;
  width: 100%;
}

.hero-homepage.hero {
  border-bottom: 0;
  overflow: hidden;
}

.hero-header {
  font-size: clamp(22px, 5vw, 30px);
  margin-top: 0;
  padding: 0 8px;
  line-height: 1.3;
}

/* ── Search Form ────────────────────────────────────────── */
#search-form {
  margin: 24px auto 10px;
  max-width: var(--search-max-width);
  position: relative;
  width: 100%;
  padding: 0 4px;
}

#search-form #txt-url {
  width: 100%;
  height: var(--search-input-height);
  padding: 0 60px 0 14px;
  font-size: 16px;
  border: 5px solid var(--color-primary-border);
  border-radius: var(--border-radius);
  background: #fff;
  color: #555;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
}

#search-form #txt-url:focus {
  border-color: var(--color-accent);
  outline: 0;
}

#search-form #txt-url::placeholder {
  color: #999;
}

#search-form #btn-submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: var(--search-input-height);
  padding: 10px;
  border: 1px solid var(--color-primary-border);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

#search-form #btn-submit:hover {
  background: var(--color-primary-dark);
}

#search-form #btn-submit:focus {
  outline: 0;
}

#search-form #btn-submit:disabled,
#search-form #btn-submit.is-processing {
  background: #555;
  border-color: #555;
  cursor: not-allowed;
}

#search-form #btn-submit:disabled:hover,
#search-form #btn-submit.is-processing:hover {
  background: #555;
}

#search-form .loading-text {
  display: none;
  margin-top: 12px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

#search-form #btn-submit svg {
  vertical-align: middle;
}

#search-form p.small {
  color: var(--color-text-muted);
  font-size: 13px;
  padding: 6px;
}

#search-form p.small a.active,
a.active {
  color: var(--color-link-hover);
}

@media (min-width: 768px) {
  #search-form #txt-url { padding-right: 130px; }
  #search-form #btn-submit { width: 120px; }
}

/* ── Content Sections ───────────────────────────────────── */
.row-padded {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.row-bordered {
  position: relative;
}

.row-bordered::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  margin-left: -40%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0, transparent 75%);
}

.row-centered {
  display: block;
}

.homepage-grid {
  text-align: center;
}

.homepage-grid .text-left {
  text-align: left;
}

.featured {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.featured > .col-xs-12,
.featured > .col-sm-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
}

.featured .text-left {
  text-align: center;
}

.homepage-grid h3 {
  font-size: 22px;
}

.featured h3,
.featured h3 strong {
  color: var(--color-link-hover);
}

.featured h3 {
  margin-bottom: 8px;
}

.featured svg {
  color: var(--color-text);
}

/* ── FAQ (Schema.org FAQPage) ────────────────────────────── */
.faq .panel-heading {
  background: var(--color-panel-bg);
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 1px 15px;
  cursor: pointer;
}

.faq .panel-body {
  padding: 10px 15px;
}

.faq .qa-name {
  margin: 10px 0;
  font-size: 18px;
  cursor: pointer;
}

.faq .collapse-panel.is-open {
  display: none;
}

.faq .collapse-panel.is-open {
  display: block;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  padding: 20px 0;
  text-align: center;
  position: relative;
}

.footer p {
  margin-bottom: 5px;
}

.footer p:last-of-type {
  margin-bottom: 20px;
}

.footer a:hover {
  text-decoration: underline;
}

ul.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0 !important;
  list-style: none;
  margin: 0 0 10px;
}

ul.foot li {
  list-style-type: none;
  margin-left: 25px;
}

@media (min-width: 768px) {
  .footer { padding: 60px 0; }
}

@media (max-width: 768px) {
  :root {
    --hero-padding: 16px 0;
    --section-padding: 20px 0;
    --search-input-height: 52px;
    --container-padding: 12px;
  }

  ul.foot { flex-direction: column; align-items: center; }
  ul.foot li { margin: 0 0 10px; }
  .hero-header { padding-top: 8px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  .container > .panel {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .panel-body { padding: 12px; }
  #search-form { margin: 16px auto 8px; }
  #search-form p.small { font-size: 11px; padding: 4px 2px; }
  #search-form #txt-url {
    height: var(--search-input-height);
    padding-right: 56px;
    font-size: 15px;
    border-width: 3px;
  }
  #search-form #btn-submit {
    width: 52px;
    height: var(--search-input-height);
    min-width: 44px;
    min-height: 44px;
  }
  .homepage-grid .text-left,
  #howto-section,
  #features-section {
    text-align: left;
    padding-bottom: 16px;
  }
  .featured > .col-xs-12,
  .featured > .col-sm-4 {
    width: 100%;
    padding: 24px 8px;
    border-bottom: 1px solid var(--color-border);
  }
  .featured > .col-xs-12:last-child,
  .featured > .col-sm-4:last-child {
    border-bottom: 0;
  }
  .faq .qa-name { font-size: 16px; }
  .navbar-nav > li > a {
    margin-right: 0;
    text-align: left;
    padding: 12px 15px;
    min-height: 44px;
  }
  .footer { padding: 30px 0; }
}

@media (max-width: 350px) {
  #search-form #txt-url {
    padding-right: 48px;
  }
  #search-form #btn-submit {
    width: 46px;
  }
}

/* Static pages (About, Contact, Terms, Privacy) */
.p-l-md {
  padding-left: 22.5px !important;
}

.p-r-md {
  padding-right: 22.5px !important;
}

#page-main ul {
  margin-bottom: 11px;
  padding-left: 20px;
}

#page-main h4 {
  font-size: 16px;
  margin: 10px 0;
}
