@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELL child theme
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* Article heading readability */
.post_content h2 {
  color: #102033 !important;
  background-color: #e8fbf7 !important;
  border-top-color: #00897b !important;
}

/* KANPAINY home page */
.kp-home {
  --kp-navy: #102033;
  --kp-blue: #1e6fa8;
  --kp-sky: #e8f4fb;
  --kp-mint: #dff4ee;
  --kp-gold: #c89b35;
  --kp-ink: #263241;
  --kp-muted: #6f7b88;
  --kp-line: #dce6ee;
  --kp-soft: #f7fafc;
  --kp-radius: 8px;
  color: var(--kp-ink);
  font-family: inherit;
  line-height: 1.85;
}

#body_wrap.home #main_visual,
#body_wrap.home #post_slider,
.home #main_visual,
.home #post_slider,
#body_wrap.home #sidebar {
  display: none !important;
}

#body_wrap.home #content,
#body_wrap.home #main_content {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding-inline: 0 !important;
}

.kp-home * {
  box-sizing: border-box;
}

.kp-home a {
  color: inherit;
  text-decoration: none;
}

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

.kp-home__inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.kp-hero {
  position: relative;
  min-height: clamp(540px, 74vh, 780px);
  display: flex;
  align-items: center;
  margin: 0 calc(50% - 50vw) 64px;
  overflow: hidden;
  background: var(--kp-navy);
}

.kp-hero__image {
  position: absolute;
  inset: 0;
}

.kp-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  filter: saturate(1.08) contrast(1.05);
}

.kp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, .94), rgba(16, 32, 51, .66) 42%, rgba(16, 32, 51, .2)),
    radial-gradient(circle at 78% 24%, rgba(200, 155, 53, .24), transparent 32%);
}

.kp-hero__body {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 72px 0 92px;
  color: #fff;
}

.kp-kicker,
.kp-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--kp-gold);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.4;
}

.kp-kicker::before,
.kp-section__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.kp-hero__title {
  display: block;
  max-width: 820px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  font-weight: 800;
  line-height: 1.14;
}

.kp-hero__title::before,
.kp-hero__title::after,
.kp-home h2::before,
.kp-home h2::after {
  content: none !important;
}

.kp-hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.kp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.kp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.kp-button:hover {
  transform: translateY(-1px);
}

.kp-button--gold {
  background: var(--kp-gold);
  color: #101820 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

.kp-button--white {
  background: rgba(255, 255, 255, .95);
  color: var(--kp-navy) !important;
}

.kp-section {
  margin: 68px 0;
}

.kp-section__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.kp-section__head h2,
.kp-home h2 {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--kp-navy) !important;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.kp-section__head p:not(.kp-section__eyebrow) {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--kp-muted);
}

.kp-link {
  color: var(--kp-blue) !important;
  font-weight: 800;
  white-space: nowrap;
}

.kp-guide {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
}

.kp-guide__main,
.kp-guide__side,
.kp-card,
.kp-article,
.kp-service,
.kp-profile {
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 32, 51, .06);
}

.kp-guide__main {
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #fff 0%, #f4f9fc 100%);
}

.kp-guide__main h3,
.kp-home h3 {
  margin: 0 0 12px;
  color: var(--kp-navy);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.kp-guide__main p,
.kp-card p,
.kp-article p,
.kp-service p,
.kp-profile p {
  margin: 0;
  color: var(--kp-muted);
}

.kp-guide__steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.kp-guide__steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.kp-guide__num {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--kp-navy);
  color: #fff;
  font-weight: 800;
}

.kp-guide__side {
  padding: 24px;
}

.kp-guide__side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--kp-sky);
}

.kp-guide__side p {
  margin-top: 16px;
  font-size: .95rem;
}

.kp-audience-grid,
.kp-spot-grid,
.kp-category-grid,
.kp-article-grid,
.kp-service-grid,
.kp-basic-grid {
  display: grid;
  gap: 16px;
}

.kp-audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kp-spot-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.kp-article-grid,
.kp-service-grid,
.kp-basic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.kp-card--audience {
  min-height: 178px;
  background: linear-gradient(135deg, #fff, #f5fbff);
}

.kp-card--audience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--kp-blue), var(--kp-gold));
}

.kp-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--kp-gold);
  font-size: .82rem;
  font-weight: 800;
}

.kp-card h3 {
  margin-bottom: 10px;
}

.kp-spot {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--kp-radius);
  background: var(--kp-navy);
  box-shadow: 0 14px 30px rgba(16, 32, 51, .08);
}

.kp-spot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: .82;
  transition: transform .22s ease, opacity .22s ease;
}

.kp-spot:hover img {
  transform: scale(1.04);
  opacity: .92;
}

.kp-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 51, .05), rgba(16, 32, 51, .76));
}

.kp-spot span {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .32);
}

.kp-category-card {
  min-height: 190px;
  padding: 0;
}

.kp-category-card__media {
  position: relative;
  height: 96px;
  background: linear-gradient(135deg, var(--kp-navy), var(--kp-blue));
}

.kp-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}

.kp-category-card__body {
  padding: 16px;
}

.kp-category-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.kp-category-card p {
  font-size: .9rem;
  line-height: 1.65;
}

.kp-article {
  overflow: hidden;
}

.kp-article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--kp-sky);
}

.kp-article__body {
  padding: 20px;
}

.kp-article__meta {
  margin-bottom: 8px;
  color: var(--kp-gold);
  font-size: .82rem;
  font-weight: 800;
}

.kp-service {
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.kp-service h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-service h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--kp-gold);
}

.kp-latest {
  padding: 28px;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius);
  background: var(--kp-soft);
}

.kp-latest ul {
  margin-bottom: 0;
}

.kp-profile {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, #102033 0%, #1e6fa8 78%, #2f7f6f 100%);
  color: #fff;
}

.kp-profile h2,
.kp-profile h3,
.kp-profile p {
  color: #fff !important;
}

.kp-profile p {
  opacity: .9;
}

.kp-profile__photo {
  min-height: 230px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)),
    url("https://kanpainy.com/wp-content/uploads/2026/05/kanpainy-ny-rockefeller-center-unsplash-dana-andreea-gheorghe-1024x682.jpg") center / cover;
}

.kp-note {
  margin-top: 18px;
  color: var(--kp-muted);
  font-size: .92rem;
}

@media (max-width: 960px) {
  .kp-guide,
  .kp-profile {
    grid-template-columns: 1fr;
  }

  .kp-audience-grid,
  .kp-spot-grid,
  .kp-category-grid,
  .kp-article-grid,
  .kp-service-grid,
  .kp-basic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kp-section__head {
    display: block;
  }

  .kp-link {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .kp-hero {
    min-height: 620px;
    align-items: end;
  }

  .kp-hero::after {
    background: linear-gradient(180deg, rgba(16, 32, 51, .28), rgba(16, 32, 51, .96));
  }

  .kp-hero__body {
    padding-bottom: 56px;
  }

  .kp-hero__actions,
  .kp-button {
    width: 100%;
  }

  .kp-audience-grid,
  .kp-spot-grid,
  .kp-category-grid,
  .kp-article-grid,
  .kp-service-grid,
  .kp-basic-grid {
    grid-template-columns: 1fr;
  }

  .kp-section {
    margin: 48px 0;
  }

  .kp-category-card {
    min-height: auto;
  }
}
