/*!
Theme Name: Neo Senior Theme
Theme URI: https://neo-senior.com/
Author: kk-vc
Author URI: https://neo-senior.com/
Description: WordPress theme for neo-senior.com webinar portal. Based on Underscores.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: neo-senior-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments

This theme, like WordPress, is licensed under the GPL.
Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Neo Senior Theme - Custom
--------------------------------------------------------------*/
:root {
  --color-red: #d12131;
  --color-red-dark:#a81a27;
  --color-black: #1a1a1a;
  --color-gray: #666666;
  --color-light: #f5f5f5;
  --color-border: #e0e0e0;
  --color-white: #ffffff;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --max-width: 960px;
  --section-gap: 80px;
}

body {
  font-family: var(--font-base);
  color: var(--color-black);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.8;
}

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

a {
  color: var(--color-red);
}

a:hover {
  color: var(--color-red-dark);
  text-decoration: none;
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 32px;
}
.section-heading::before {
  content: "";
  display: block;
  width: 4px;
  height: 18px;
  background: var(--color-red);
  flex-shrink: 0;
}

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-branding a {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-black);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-branding a span {
  color: var(--color-red);
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.main-navigation a:hover {
  color: var(--color-red);
}
.main-navigation .btn-nav {
  background: var(--color-red);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
}
.main-navigation .btn-nav:hover {
  background: var(--color-red-dark);
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}
.btn-outline:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-red);
}
.btn-white:hover {
  background: var(--color-light);
  color: var(--color-red);
}

.hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-red);
}

.hero p {
  font-size: 17px;
  color: #cccccc;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-section {
  padding: var(--section-gap) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--color-light);
  padding: 36px 28px;
  border-radius: 8px;
}

.feature-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.8;
}

.cta-banner {
  background: var(--color-red);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 16px;
  margin-bottom: 36px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.recruit-hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px 0;
}
.recruit-hero h1 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}
.recruit-hero h1 em {
  font-style: normal;
  color: var(--color-red);
}
.recruit-hero p {
  font-size: 17px;
  color: #cccccc;
  max-width: 560px;
}

.merit-section {
  padding: var(--section-gap) 0;
}

.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .merit-grid {
    grid-template-columns: 1fr;
  }
}

.merit-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
}

.merit-card-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 12px;
}

.merit-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.merit-card p {
  font-size: 14px;
  color: var(--color-gray);
}

.steps-section {
  padding: var(--section-gap) 0;
  background: var(--color-light);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.step-body p {
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
}

.contact-section {
  padding: var(--section-gap) 0;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 20px;
}
.contact-form-wrap input[type=text],
.contact-form-wrap input[type=email],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font-base);
}
.contact-form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form-wrap input[type=submit] {
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form-wrap input[type=submit]:hover {
  background: var(--color-red-dark);
}

.site-footer {
  background: var(--color-black);
  color: #999999;
  padding: 48px 0 24px;
  font-size: 13px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333333;
}

.footer-brand a {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
}
.footer-brand a span {
  color: var(--color-red);
}

.footer-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #999999;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copy {
  text-align: center;
  padding-top: 24px;
  color: #666666;
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 0 16px;
  }
  .main-navigation {
    display: none;
  }
  .hero {
    padding: 60px 0;
  }
  .recruit-hero {
    padding: 60px 0;
  }
  .site-footer .container {
    flex-direction: column;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 12px;
  }
}
.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  padding: 3px 10px;
  margin-bottom: 12px;
}
.label-tag--gray {
  color: var(--color-gray);
  border-color: var(--color-border);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.badge--free {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge--paid {
  background: #fff3e0;
  color: #e65100;
}
.badge--closed {
  background: #f5f5f5;
  color: #999999;
}
.badge--seats {
  background: #fce4ec;
  color: #c62828;
}

.content-section {
  padding: var(--section-gap) 0;
}
.content-section--gray {
  background: var(--color-light);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-red);
  text-decoration: none;
}
.section-more:hover {
  color: var(--color-red-dark);
}

.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
}
.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.card__thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-light);
}
.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card__thumb:hover img {
  transform: scale(1.04);
}
.card__thumb--circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 24px auto 0;
  aspect-ratio: 1;
}
.card__thumb--circle img {
  border-radius: 50%;
}
.card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__thumb-placeholder--lg {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}
.card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__body--center {
  text-align: center;
}
.card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.card__date {
  font-size: 12px;
  color: var(--color-gray);
  margin-bottom: 8px;
}
.card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}
.card__title a {
  color: var(--color-black);
  text-decoration: none;
}
.card__title a:hover {
  color: var(--color-red);
}
.card__excerpt {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}
.card__meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}
.card--webinar:hover {
  border-top: 3px solid var(--color-red);
}
.card--lecturer {
  text-align: center;
}
.card--lecturer .card__title {
  font-size: 14px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  height: 400px;
  user-select: none;
}
@media (max-width: 768px) {
  .hero-slider {
    height: 380px;
  }
}
@media (max-width: 480px) {
  .hero-slider {
    height: 340px;
  }
}

.hero-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hero-slide {
  flex-shrink: 0;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  background: #111;
}
.hero-slide__body {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 44px;
  background: #111;
}
.hero-slide__body--full {
  flex: none;
  width: 100%;
}
.hero-slide__visual {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hero-slide__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 60px;
  background: linear-gradient(to right, #111, transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .hero-slide {
    flex-direction: column-reverse;
  }
  .hero-slide__body {
    flex: 1;
    padding: 20px 22px;
    justify-content: flex-start;
  }
  .hero-slide__visual {
    flex: 0 0 150px;
  }
  .hero-slide__visual::before {
    display: none;
  }
}
.hero-slide__date {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-slide__title {
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 14px;
}
.hero-slide__title a {
  color: inherit;
  text-decoration: none;
}
.hero-slide__title a:hover {
  color: #ddd;
}
.hero-slide__title em {
  font-style: normal;
  color: var(--color-red);
}
.hero-slide__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-slide__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-slide__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.label-tag--white {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.btn-ghost {
  display: inline-block;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s;
}
.slider-dot.is-active, .slider-dot:hover {
  background: var(--color-red);
  transform: scale(1.5);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.slider-arrow:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}
.slider-arrow--prev {
  left: 12px;
}
.slider-arrow--next {
  right: 12px;
}
@media (max-width: 480px) {
  .slider-arrow {
    display: none;
  }
}

.slider-counter {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  z-index: 20;
}

.featured-webinar {
  background: linear-gradient(135deg, var(--color-black) 60%, #2d2d2d 100%);
  color: var(--color-white);
  padding: 80px 0;
}
.featured-webinar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .featured-webinar__inner {
    grid-template-columns: 1fr;
  }
}
.featured-webinar__date {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.featured-webinar__title {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 24px;
}
.featured-webinar__title a {
  color: var(--color-white);
  text-decoration: none;
}
.featured-webinar__title a:hover {
  color: #dddddd;
}
.featured-webinar__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.featured-webinar__thumb {
  border-radius: 8px;
  overflow: hidden;
}
.featured-webinar__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.featured-webinar .btn-outline {
  color: var(--color-white);
  border-color: var(--color-white);
}
.featured-webinar .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.site-hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
}
.site-hero h1 {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.site-hero h1 em {
  font-style: normal;
  color: var(--color-red);
}
.site-hero p {
  font-size: 17px;
  color: #cccccc;
  max-width: 560px;
  margin: 0 auto 40px;
}

.archive-hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px 0;
}
.archive-hero h1 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.archive-hero p {
  font-size: 15px;
  color: #cccccc;
  margin: 0;
}

.single-hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 64px 0;
}
.single-hero--light {
  background: var(--color-light);
  color: var(--color-black);
}
.single-hero--light .single-hero__date {
  color: var(--color-gray);
}
.single-hero--light .single-hero__title {
  color: var(--color-black);
}
.single-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.single-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .single-hero__inner {
    grid-template-columns: 1fr;
  }
}
.single-hero__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.single-hero__title {
  font-size: clamp(20px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}
.single-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-hero__thumb {
  border-radius: 8px;
  overflow: hidden;
}
.single-hero__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-body {
  padding: var(--section-gap) 0;
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: flex-start;
}
.single-layout--article {
  grid-template-columns: 760px;
  justify-content: center;
}
@media (max-width: 960px) {
  .single-layout--article {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
}

.single-eyecatch {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.single-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  font-size: 16px;
  line-height: 1.9;
}
.entry-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-red);
}
.entry-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.entry-content p {
  margin-bottom: 20px;
}
.entry-content ul, .entry-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.entry-content ul li, .entry-content ol li {
  margin-bottom: 6px;
}
.entry-content img {
  border-radius: 4px;
  margin: 24px 0;
}

.entry-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.btn-back {
  font-size: 13px;
  color: var(--color-gray);
  text-decoration: none;
  font-weight: 600;
}
.btn-back:hover {
  color: var(--color-red);
}

.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
}
.sidebar-widget__title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-red);
  color: var(--color-black);
}
.sidebar-widget--register {
  border-top: 4px solid var(--color-red);
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: 13px;
  align-items: baseline;
}
.info-list dt {
  color: var(--color-gray);
  font-weight: 600;
  white-space: nowrap;
}
.info-list dd {
  color: var(--color-black);
  margin: 0;
  font-weight: 500;
}

.lecturer-profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: var(--section-gap) 0;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .lecturer-profile {
    grid-template-columns: 1fr;
  }
}
.lecturer-profile__photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
.lecturer-profile__name {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
}

.pagination-wrap {
  margin-top: 48px;
  text-align: center;
}
.pagination-wrap .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-black);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pagination-wrap .page-numbers.current, .pagination-wrap .page-numbers:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.pagination-wrap .page-numbers.prev, .pagination-wrap .page-numbers.next {
  width: auto;
  padding: 0 14px;
  font-size: 13px;
}

.no-content {
  text-align: center;
  color: var(--color-gray);
  padding: 40px 0;
  font-size: 15px;
}
