/*!
Theme Name: chupapi
Theme URI: http://underscores.me/
Author: Lê Khôi
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chupapi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

chupapi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> 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;
}

/*--------------------------------------------------------------
# Custom Theme Layout
--------------------------------------------------------------*/
:root {
	--chupapi-color-primary: #e9653e;
	--chupapi-color-primary-light: #fff8f0;
	--chupapi-color-text: #2a2a2a;
	--chupapi-color-muted: #777777;
	--chupapi-color-bg: #f8f6f3;
	--chupapi-color-border: #e8e4df;
	--chupapi-color-footer-bg: #1c1c1c;
	--chupapi-color-footer-text: #cccccc;
	--chupapi-container: 1200px;
	--chupapi-container-wide: 1440px;
	--chupapi-transition: 0.2s ease-in-out;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--chupapi-color-bg);
	color: var(--chupapi-color-text);
	font-family: Meiryo, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	letter-spacing: 0.03em;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--chupapi-color-text);
	font-family: Meiryo, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

a,
a:visited {
	color: var(--chupapi-color-text);
	text-decoration: none;
	transition: color var(--chupapi-transition), opacity var(--chupapi-transition), background var(--chupapi-transition);
}

a:hover,
a:focus,
a:active {
	color: var(--chupapi-color-primary);
}

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

.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}

.site-main {
	flex: 1 0 auto;
}

.site-header {
	background: #ffffff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 36px;
	height: 70px;
	margin: 0 auto;
	max-width: var(--chupapi-container);
	padding: 0 24px;
}

.site-branding {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	min-width: 0;
}

.custom-logo-link {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
}

.custom-logo {
	height: auto;
	max-height: 42px;
	width: auto;
}

.site-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
	white-space: nowrap;
}

.site-title a {
	color: var(--chupapi-color-text);
}

.site-description {
	color: var(--chupapi-color-muted);
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
	max-width: 220px;
}

.site-header__navigation {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}

.menu-toggle {
	display: none;
}

.main-navigation ul,
.main-navigation.toggled ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	justify-content: flex-start;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	color: var(--chupapi-color-text);
	display: flex;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 8px 0;
	text-decoration: none;
	white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--chupapi-color-primary);
}

.main-navigation ul ul {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	display: block;
	left: -999em;
	min-width: 220px;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	z-index: 99999;
}

.main-navigation ul ul a {
	font-size: 13px;
	padding: 9px 16px;
	width: 220px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}

.home-page {
	background: var(--chupapi-color-bg);
}

.home-hero {
	background: var(--chupapi-color-bg);
	padding: 20px 0 24px;
	position: relative;
	width: 100%;
}

.home-hero__viewport {
	overflow: hidden;
	width: 100%;
}

.home-hero__track {
	display: flex;
	gap: 16px;
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.home-hero__slide {
	flex: 0 0 1100px;
	height: 576px;
	margin: 0;
	position: relative;
}

.home-hero__link {
	background: linear-gradient(135deg, #d0ceca 0%, #b8b0a8 100%);
	border-radius: 12px;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.home-hero__link img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	width: 100%;
}

.home-hero__link:hover img {
	transform: scale(1.1);
}

.home-hero__placeholder,
.post-card__placeholder {
	align-items: center;
	background: linear-gradient(135deg, #d0ceca 0%, #b8b0a8 100%);
	color: #ffffff;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.home-hero__overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
	inset: 0;
	position: absolute;
}

.home-hero__body {
	bottom: 18px;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	left: 18px;
	position: absolute;
	right: 18px;
}

.home-hero__category,
.post-card__category {
	align-self: flex-start;
	background: var(--chupapi-color-primary);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	margin: 0;
	padding: 4px 10px 2px;
	white-space: nowrap;
}

.home-hero__post-title {
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	margin-top: 6px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.home-hero__date {
	align-items: center;
	color: rgba(255, 255, 255, 0.75);
	display: flex;
	font-size: 11px;
	gap: 4px;
	margin-top: 4px;
}

.home-hero__date::before,
.post-card__date::before {
	content: "";
	background: currentColor;
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.home-hero__arrow {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--chupapi-color-border);
	border-radius: 50%;
	color: var(--chupapi-color-text);
	cursor: pointer;
	display: flex;
	font-size: 13px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background var(--chupapi-transition), border-color var(--chupapi-transition), color var(--chupapi-transition);
	width: 38px;
	z-index: 10;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus {
	background: var(--chupapi-color-primary-light);
	border-color: var(--chupapi-color-primary-light);
	color: var(--chupapi-color-primary);
}

.home-hero__arrow--prev {
	left: 12px;
}

.home-hero__arrow--next {
	right: 12px;
}

.latest-posts__inner {
	display: block;
	margin: 0 auto;
	max-width: var(--chupapi-container-wide);
	padding: 20px 24px 40px;
}

.section-heading {
	margin: 0 0 32px;
	text-align: center;
}

.section-heading__dots {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 8px;
}

.section-heading__dot {
	border: 1.5px solid var(--chupapi-color-primary);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.section-heading__dot--active {
	background: var(--chupapi-color-primary);
}

.section-heading__title {
	color: var(--chupapi-color-text);
	font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0 0 2px;
	text-transform: uppercase;
}

.section-heading__subtitle {
	color: var(--chupapi-color-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
}

.latest-posts__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-card {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: visible;
}

.post-card__thumbnail {
	aspect-ratio: 360 / 188;
	border-radius: 8px;
	display: block;
	overflow: hidden;
}

.post-card__thumbnail img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	width: 100%;
}

.post-card:hover .post-card__thumbnail img {
	transform: scale(1.1);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 10px 0 16px;
}

.post-card__meta {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.post-card__title {
	display: -webkit-box;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card__title a {
	color: var(--chupapi-color-text);
}

.post-card__title a:hover,
.post-card__title a:focus {
	color: var(--chupapi-color-primary);
}

.post-card__date {
	align-items: center;
	color: var(--chupapi-color-muted);
	display: flex;
	font-size: 11px;
	gap: 4px;
	margin: 0;
	white-space: nowrap;
}

.latest-posts__empty {
	color: var(--chupapi-color-muted);
	padding: 48px 0;
	text-align: center;
}

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

.home-pagination .page-numbers {
	align-items: center;
	background: #eeecea;
	border-radius: 50%;
	color: var(--chupapi-color-text);
	display: inline-flex;
	font-size: 14px;
	height: 36px;
	justify-content: center;
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
	transition: background var(--chupapi-transition), color var(--chupapi-transition);
	width: 36px;
}

.home-pagination a.page-numbers:hover,
.home-pagination a.page-numbers:focus {
	background: var(--chupapi-color-primary-light);
	color: var(--chupapi-color-primary);
}

.home-pagination .page-numbers.current {
	background: var(--chupapi-color-primary);
	color: #ffffff;
	font-weight: 700;
}

.home-pagination .page-numbers.next,
.home-pagination .page-numbers.prev {
	font-size: 10px;
}

.site-footer {
	background: var(--chupapi-color-footer-bg);
	margin-top: auto;
}

.site-footer__inner {
	margin: 0 auto;
	max-width: var(--chupapi-container);
	padding: 40px 24px 20px;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	justify-content: center;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.site-footer__menu li {
	display: inline-flex;
	padding: 0 12px;
}

.site-footer__menu li + li {
	border-left: 1px solid #444444;
}

.site-footer a,
.site-footer a:visited {
	color: var(--chupapi-color-footer-text);
	font-size: 13px;
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--chupapi-color-primary);
}

.site-footer__copyright {
	color: #666666;
	font-size: 12px;
	padding: 20px 0;
	text-align: center;
}

@media screen and (max-width: 1024px) {
	.site-header__inner {
		gap: 24px;
		padding: 0 16px;
	}

	.site-description {
		display: none;
	}

	.home-hero__slide {
		flex-basis: 750px;
		height: 422px;
	}

	.latest-posts__grid {
		gap: 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		height: auto;
		padding: 12px 16px 10px;
	}

	.site-title {
		font-size: 20px;
	}

	.custom-logo {
		max-height: 36px;
	}

	.site-header__navigation {
		margin-left: -16px;
		margin-right: -16px;
		overflow-x: auto;
		padding: 0 16px;
		width: calc(100% + 32px);
		-webkit-overflow-scrolling: touch;
	}

	.main-navigation ul,
	.main-navigation.toggled ul {
		flex-wrap: nowrap;
		gap: 18px;
		width: max-content;
	}

	.main-navigation a {
		font-size: 13px;
		padding: 6px 0;
	}

	.main-navigation ul ul {
		display: none;
	}

	.home-hero__arrow {
		display: none;
	}

	.latest-posts__inner {
		padding: 16px 16px 40px;
	}

	.section-heading__title {
		font-size: 26px;
	}

	.latest-posts__grid {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.site-footer__menu li {
		padding: 0 8px;
	}

	.site-footer a,
	.site-footer a:visited {
		font-size: 12px;
	}
}

@media screen and (max-width: 640px) {
	.home-hero {
		padding-top: 0;
	}

	.home-hero__track {
		gap: 0;
	}

	.home-hero__slide {
		flex-basis: 100vw;
		height: 240px;
	}

	.home-hero__link {
		border-radius: 0;
	}

	.home-hero__post-title {
		font-size: 12px;
	}
}

@media screen and (max-width: 480px) {
	.latest-posts__inner {
		padding: 12px 12px 32px;
	}

	.latest-posts__grid {
		gap: 12px;
	}

	.site-footer__inner {
		padding: 24px 16px 12px;
	}
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.single-page {
	background: var(--chupapi-color-bg);
}

.single-layout {
	display: flex;
	flex: 1;
	gap: 40px;
	margin: 0 auto;
	max-width: var(--chupapi-container-wide);
	padding: 16px 24px 40px;
	width: 100%;
}

.single-layout__main {
	flex: 1;
	min-width: 0;
}

.single-layout__sidebar {
	flex: 0 0 320px;
	padding-top: 40px;
	width: 320px;
}

.single-breadcrumb {
	color: var(--chupapi-color-muted);
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.single-breadcrumb a {
	color: var(--chupapi-color-primary);
	text-decoration: underline;
}

.single-article {
	background: #ffffff;
	border-radius: 8px;
	counter-reset: single-heading;
	line-height: 2;
	margin: 0;
	overflow-wrap: break-word;
	padding: 0 0 32px;
	word-break: break-word;
}

.single-article__thumbnail {
	aspect-ratio: 1100 / 576;
	border-radius: 8px 8px 0 0;
	margin: 0;
	overflow: hidden;
}

.single-article__thumbnail img {
	height: 100%;
	object-fit: cover;
	object-position: top;
	width: 100%;
}

.single-article__header {
	text-align: center;
}

.single-article__meta {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	padding: 28px 28px 8px;
}

.single-article__category {
	background: var(--chupapi-color-primary);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	padding: 4px 10px 2px;
	text-decoration: none;
	white-space: nowrap;
}

.single-article__category:visited,
.single-article__category:hover,
.single-article__category:focus {
	color: #ffffff;
}

.single-article__title {
	color: var(--chupapi-color-text);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	padding: 12px 28px 8px;
	text-align: center;
}

.single-article__time {
	color: var(--chupapi-color-muted);
	display: flex;
	font-size: 13px;
	justify-content: center;
	padding-bottom: 16px;
}

.single-article__date {
	align-items: center;
	display: flex;
	gap: 4px;
}

.single-article__date::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 6px;
	width: 6px;
}

.single-article__content h2 {
	border-bottom: 3px solid var(--chupapi-color-primary);
	color: var(--chupapi-color-text);
	counter-increment: single-heading;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	margin: 52px 28px 40px;
	padding: 46px 0 12px;
	position: relative;
	text-align: center;
}

.single-article__content h2::before {
	background-image:
		radial-gradient(circle, transparent 2px, var(--chupapi-color-primary) 2px, var(--chupapi-color-primary) 3px, transparent 3px),
		radial-gradient(circle, var(--chupapi-color-primary) 3px, transparent 3px),
		radial-gradient(circle, transparent 2px, var(--chupapi-color-primary) 2px, var(--chupapi-color-primary) 3px, transparent 3px);
	background-position: 0 0, 16px 0, 32px 0;
	background-repeat: no-repeat;
	background-size: 6px 6px;
	content: "";
	height: 6px;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 38px;
}

.single-article__content h2::after {
	color: var(--chupapi-color-text);
	content: counter(single-heading, decimal-leading-zero);
	font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 28px;
	font-weight: 400;
	left: 50%;
	line-height: 1;
	position: absolute;
	top: 14px;
	transform: translateX(-50%);
}

.single-article__content h3 {
	border-left: 4px solid var(--chupapi-color-primary);
	color: var(--chupapi-color-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	margin: 36px 28px 0;
	padding: 2px 0 0 14px;
}

.single-article__content p {
	font-size: 16px;
	line-height: 1.9;
	margin: 28px;
	text-align: left;
}

.single-article__content a {
	color: var(--chupapi-color-primary);
	text-decoration: underline;
}

.single-article__content strong {
	font-weight: 700;
}

.single-article__content > ul,
.single-article__content > ol {
	background: var(--chupapi-color-primary-light);
	border-radius: 6px;
	line-height: 1.9;
	margin: 28px;
	padding: 16px 20px 16px 36px;
	text-align: left;
}

.single-article__content li {
	margin-bottom: 6px;
}

.single-article__content .wp-block-image,
.single-article__content figure {
	margin: 28px;
	width: calc(100% - 56px);
}

.single-article__content .wp-block-image img,
.single-article__content figure img {
	width: 100%;
}

.single-article__content .wp-block-table {
	margin: 28px;
	overflow-x: auto;
	width: calc(100% - 56px);
}

.single-article__content table {
	border-collapse: collapse;
	font-size: 0.9em;
	width: 100%;
}

.single-article__content th,
.single-article__content td {
	border-bottom: 1px solid var(--chupapi-color-border);
	padding: 10px 14px;
	text-align: left;
}

.single-article__content thead {
	border-bottom: 2px solid var(--chupapi-color-primary);
}

.single-article__content thead th {
	background: var(--chupapi-color-primary-light);
}

.single-tags {
	background: none;
	border: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 16px 28px;
	padding: 0;
}

.single-tags__item {
	margin: 0;
}

.single-tags__link {
	background: var(--chupapi-color-primary);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	padding: 4px 10px 2px;
	text-decoration: none;
	white-space: nowrap;
}

.single-tags__link:visited,
.single-tags__link:hover,
.single-tags__link:focus {
	color: #ffffff;
	opacity: 0.85;
}

.single-contact {
	background: #fff3f6;
	margin: 28px 0;
	padding: 24px;
	text-align: center;
}

.single-contact__text {
	font-size: 15px;
	line-height: 1.8;
	margin: 0 0 8px;
}

.single-contact__button {
	background: var(--chupapi-color-primary);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	margin-top: 8px;
	padding: 12px 48px 10px;
	text-decoration: none;
}

.single-contact__button:visited,
.single-contact__button:hover,
.single-contact__button:focus {
	color: #ffffff;
	opacity: 0.85;
}

.related-posts {
	margin-top: 48px;
}

.related-posts__title {
	border-left: 4px solid var(--chupapi-color-primary);
	color: var(--chupapi-color-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 28px 16px;
	padding: 2px 0 0 14px;
}

.related-posts__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0 28px 28px;
	padding: 0;
}

.related-posts__item {
	line-height: 1.3;
	width: 150px;
}

.related-posts__link {
	color: var(--chupapi-color-text);
	display: block;
	font-size: 12px;
	text-decoration: none;
}

.related-posts__link:hover,
.related-posts__link:focus {
	color: var(--chupapi-color-primary);
}

.related-posts__link img,
.related-posts__placeholder {
	aspect-ratio: 150 / 84;
	border-radius: 4px;
	display: block;
	margin-bottom: 6px;
	object-fit: cover;
	width: 150px;
}

.related-posts__placeholder,
.sidebar-ranking__placeholder {
	align-items: center;
	background: linear-gradient(135deg, #d0ceca 0%, #b8b0a8 100%);
	color: #ffffff;
	display: flex;
	font-size: 11px;
	font-weight: 700;
	justify-content: center;
}

.single-search {
	align-items: center;
	background: #ffffff;
	border-radius: 8px;
	display: flex;
	margin-bottom: 20px;
	overflow: hidden;
}

.single-search__field {
	background: transparent;
	border: 0;
	color: var(--chupapi-color-text);
	flex: 1;
	font-size: 14px;
	min-width: 0;
	outline: 0;
	padding: 11px 12px;
}

.single-search__button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--chupapi-color-primary);
	cursor: pointer;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
	padding: 0 14px;
}

.single-search__icon {
	border: 2px solid currentColor;
	border-radius: 50%;
	display: block;
	height: 14px;
	position: relative;
	width: 14px;
}

.single-search__icon::after {
	background: currentColor;
	content: "";
	height: 2px;
	position: absolute;
	right: -7px;
	top: 10px;
	transform: rotate(45deg);
	width: 8px;
}

.sidebar-widget {
	background: #ffffff;
	border-radius: 8px;
	margin-bottom: 20px;
	padding: 20px;
}

.sidebar-widget__dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 8px;
}

.sidebar-widget__dot {
	border: 1.5px solid var(--chupapi-color-primary);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.sidebar-widget__dot--active {
	background: var(--chupapi-color-primary);
}

.sidebar-widget__title {
	color: var(--chupapi-color-text);
	font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0 0 4px;
	text-align: center;
	text-transform: uppercase;
}

.sidebar-widget__subtitle {
	color: var(--chupapi-color-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 8px;
	text-align: center;
}

.sidebar-category {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-category__item {
	border-bottom: 1px solid var(--chupapi-color-border);
}

.sidebar-category__item:last-child {
	border-bottom: 0;
}

.sidebar-category__link {
	align-items: center;
	color: var(--chupapi-color-text);
	display: flex;
	font-size: 13px;
	gap: 8px;
	padding: 9px 4px;
	text-decoration: none;
}

.sidebar-category__link::before {
	background: var(--chupapi-color-primary);
	border-radius: 50%;
	content: "";
	display: block;
	flex: 0 0 auto;
	height: 6px;
	width: 6px;
}

.sidebar-category__link:hover,
.sidebar-category__link:focus {
	color: var(--chupapi-color-primary);
}

.sidebar-profile {
	text-align: center;
}

.sidebar-profile__avatar {
	margin-bottom: 12px;
}

.sidebar-profile__avatar img {
	border-radius: 50%;
	height: 80px;
	margin: 0 auto;
	object-fit: cover;
	width: 80px;
}

.sidebar-profile__name {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 8px;
}

.sidebar-profile__text {
	color: var(--chupapi-color-muted);
	font-size: 13px;
	line-height: 1.7;
	text-align: left;
}

.sidebar-profile__text p {
	margin: 0 0 8px;
}

.sidebar-profile__text a {
	color: var(--chupapi-color-primary);
	text-decoration: underline;
}

.sidebar-ranking__item {
	margin: 0 0 16px;
	padding: 0 0 16px;
}

.sidebar-ranking__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.sidebar-ranking__thumbnail {
	display: block;
	margin-bottom: 8px;
}

.sidebar-ranking__thumbnail img,
.sidebar-ranking__placeholder {
	aspect-ratio: 360 / 188;
	border-radius: 4px;
	object-fit: cover;
	width: 100%;
}

.sidebar-ranking__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.sidebar-ranking__title a {
	color: var(--chupapi-color-text);
	text-decoration: none;
}

.sidebar-ranking__title a:hover,
.sidebar-ranking__title a:focus {
	color: var(--chupapi-color-primary);
}

@media screen and (max-width: 1024px) {
	.single-layout {
		flex-direction: column;
		padding: 16px 16px 40px;
	}

	.single-layout__sidebar {
		flex-basis: auto;
		padding-top: 0;
		width: 100%;
	}

	.single-article {
		border-radius: 0;
	}

	.single-article__title {
		font-size: 22px;
		padding: 8px 16px 12px;
	}

	.single-article__meta {
		padding: 28px 16px 8px;
	}

	.single-article__content h2 {
		font-size: 19px;
		margin: 40px 16px 24px;
	}

	.single-article__content h3 {
		margin: 28px 16px 8px;
	}

	.single-article__content p,
	.single-article__content > ul,
	.single-article__content > ol,
	.single-tags,
	.related-posts__title,
	.related-posts__list {
		margin-left: 16px;
		margin-right: 16px;
	}

	.single-article__content .wp-block-image,
	.single-article__content figure,
	.single-article__content .wp-block-table {
		margin: 16px;
		width: calc(100% - 32px);
	}

	.single-contact {
		margin: 20px 16px;
		padding: 16px;
	}
}

@media screen and (max-width: 768px) {
	.related-posts__item {
		width: calc(50% - 8px);
	}

	.related-posts__link img,
	.related-posts__placeholder {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	.single-layout {
		padding: 12px 12px 32px;
	}

	.related-posts__item {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Category Archive
--------------------------------------------------------------*/
.category-page {
	background: var(--chupapi-color-bg);
}

.category-layout {
	display: flex;
	flex: 1;
	gap: 40px;
	margin: 0 auto;
	max-width: var(--chupapi-container-wide);
	padding: 16px 24px 40px;
	width: 100%;
}

.category-layout__main {
	flex: 1;
	min-width: 0;
}

.category-layout__sidebar {
	flex: 0 0 320px;
	padding-top: 40px;
	width: 320px;
}

.category-breadcrumb {
	color: var(--chupapi-color-muted);
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.category-breadcrumb a {
	color: var(--chupapi-color-primary);
	text-decoration: underline;
}

.category-heading {
	margin: 0 0 24px;
	text-align: center;
}

.category-heading__dots {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 8px;
}

.category-heading__dot {
	border: 1.5px solid var(--chupapi-color-primary);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.category-heading__dot--active {
	background: var(--chupapi-color-primary);
}

.category-heading__label {
	color: var(--chupapi-color-text);
	font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0 0 2px;
	text-transform: uppercase;
}

.category-heading__title {
	color: var(--chupapi-color-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
	margin: 0;
}

.category-heading__description {
	color: var(--chupapi-color-muted);
	font-size: 13px;
	line-height: 1.8;
	margin: 12px auto 0;
	max-width: 720px;
}

.category-heading__description p {
	margin: 0;
}

.category-posts {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: visible;
}

.category-card__thumbnail {
	aspect-ratio: 360 / 188;
	border-radius: 8px;
	display: block;
	overflow: hidden;
}

.category-card__thumbnail img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	width: 100%;
}

.category-card:hover .category-card__thumbnail img {
	transform: scale(1.1);
}

.category-card__placeholder {
	align-items: center;
	background: linear-gradient(135deg, #d0ceca 0%, #b8b0a8 100%);
	color: #ffffff;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.category-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 10px 0 16px;
}

.category-card__meta {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.category-card__category {
	align-self: flex-start;
	background: var(--chupapi-color-primary);
	border-radius: 9999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	padding: 4px 10px 2px;
	white-space: nowrap;
}

.category-card__date {
	align-items: center;
	color: var(--chupapi-color-muted);
	display: flex;
	font-size: 11px;
	gap: 4px;
	margin: 0;
	white-space: nowrap;
}

.category-card__date::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 6px;
	width: 6px;
}

.category-card__title {
	display: -webkit-box;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.category-card__title a {
	color: var(--chupapi-color-text);
	text-decoration: none;
}

.category-card__title a:hover,
.category-card__title a:focus {
	color: var(--chupapi-color-primary);
}

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

.category-pagination .page-numbers {
	align-items: center;
	background: #eeecea;
	border-radius: 50%;
	color: var(--chupapi-color-text);
	display: inline-flex;
	font-size: 14px;
	height: 36px;
	justify-content: center;
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
	transition: background var(--chupapi-transition), color var(--chupapi-transition);
	width: 36px;
}

.category-pagination a.page-numbers:hover,
.category-pagination a.page-numbers:focus {
	background: var(--chupapi-color-primary-light);
	color: var(--chupapi-color-primary);
}

.category-pagination .page-numbers.current {
	background: var(--chupapi-color-primary);
	color: #ffffff;
	font-weight: 700;
}

.category-empty {
	background: #ffffff;
	border-radius: 8px;
	padding: 48px 24px;
	text-align: center;
}

.category-empty__title {
	font-size: 20px;
	line-height: 1.5;
	margin: 0 0 8px;
}

.category-empty__text {
	color: var(--chupapi-color-muted);
	font-size: 14px;
	margin: 0;
}

@media screen and (max-width: 1024px) {
	.category-layout {
		flex-direction: column;
		padding: 16px 16px 40px;
	}

	.category-layout__sidebar {
		flex-basis: auto;
		padding-top: 0;
		width: 100%;
	}

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

@media screen and (max-width: 768px) {
	.category-heading__label {
		font-size: 26px;
	}

	.category-posts {
		gap: 16px;
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 480px) {
	.category-layout {
		padding: 12px 12px 32px;
	}

	.category-posts {
		gap: 12px;
	}
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-page {
	background: var(--chupapi-color-bg);
}

.contact-layout {
	display: flex;
	flex: 1;
	gap: 40px;
	margin: 0 auto;
	max-width: var(--chupapi-container-wide);
	padding: 16px 24px 40px;
	width: 100%;
}

.contact-layout__main {
	flex: 1;
	min-width: 0;
}

.contact-layout__sidebar {
	flex: 0 0 320px;
	padding-top: 40px;
	width: 320px;
}

.contact-breadcrumb {
	color: var(--chupapi-color-muted);
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.contact-breadcrumb a {
	color: var(--chupapi-color-primary);
	text-decoration: underline;
}

.contact-heading {
	margin: -8px 0 24px;
	text-align: center;
}

.contact-heading__dots {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 8px;
}

.contact-heading__dot {
	border: 1.5px solid var(--chupapi-color-primary);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.contact-heading__dot--active {
	background: var(--chupapi-color-primary);
}

.contact-heading__title {
	color: var(--chupapi-color-text);
	font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

.contact-box {
	background: #ffffff;
	border-radius: 8px;
	line-height: 2;
	margin: 0;
	overflow-wrap: break-word;
	padding: 0 0 32px;
	word-break: break-word;
}

.contact-box__thumbnail {
	aspect-ratio: 1100 / 576;
	border-radius: 8px 8px 0 0;
	margin: -16px 0 0;
	overflow: hidden;
}

.contact-box__thumbnail img {
	height: 100%;
	object-fit: cover;
	object-position: top;
	width: 100%;
}

.contact-box__body {
	padding: 28px;
}

.contact-alert {
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 20px;
	padding: 14px 16px;
}

.contact-alert--success {
	background: #edf8f1;
	color: #266b3d;
}

.contact-alert--error {
	background: #fff3f6;
	color: #9f2b42;
}

.contact-alert ul {
	margin: 0;
	padding-left: 20px;
}

.contact-form {
	margin: 0;
}

.contact-form__field {
	font-size: 16px;
	line-height: 1.9;
	margin: 0 0 20px;
}

.contact-form__field--hidden {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.contact-form__label {
	color: var(--chupapi-color-text);
	display: block;
	font-weight: 400;
	margin: 0 0 8px;
}

.contact-form__badge {
	border-radius: 3px;
	color: #ffffff;
	display: inline-flex;
	font-size: 11px;
	letter-spacing: 0.1em;
	line-height: 1.4;
	margin-right: 8px;
	padding: 2px 6px;
}

.contact-form__badge--required {
	background: #ff1a00;
}

.contact-form__badge--optional {
	background: #999999;
}

.contact-form__input,
.contact-form__textarea {
	background: #ffffff;
	border: 1px solid var(--chupapi-color-border);
	border-radius: 6px;
	color: var(--chupapi-color-text);
	font-size: 15px;
	line-height: 1.6;
	outline: 0;
	padding: 10px 12px;
	width: 98%;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
	border-color: var(--chupapi-color-primary);
}

.contact-form__textarea {
	min-height: 220px;
	resize: vertical;
}

.contact-form__actions {
	text-align: center;
}

.contact-form__submit {
	background: var(--chupapi-color-primary);
	border: 0;
	border-radius: 25px;
	color: #ffffff;
	cursor: pointer;
	font-size: 16px;
	height: 50px;
	letter-spacing: 0.1em;
	line-height: 1;
	min-width: 180px;
	padding: 0 32px;
	transition: background var(--chupapi-transition), opacity var(--chupapi-transition);
}

.contact-form__submit:hover,
.contact-form__submit:focus {
	background: #d97f00;
	color: #ffffff;
}

@media screen and (max-width: 1024px) {
	.contact-layout {
		flex-direction: column;
		padding: 16px 16px 40px;
	}

	.contact-layout__sidebar {
		flex-basis: auto;
		padding-top: 0;
		width: 100%;
	}

	.contact-box {
		border-radius: 0;
	}

	.contact-box__body {
		padding: 20px 16px 32px;
	}
}

@media screen and (max-width: 768px) {
	.contact-heading__title {
		font-size: 26px;
	}

	.contact-form__input,
	.contact-form__textarea {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	.contact-layout {
		padding: 12px 12px 32px;
	}
}
