/*
Theme Name: Reebok Blog
Theme URI: https://connect.reebok.com
Author: Reebok Connect Team
Author URI: https://connect.reebok.com
Description: A clean, minimal blog theme for Reebok.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reebok-blog
*/

/* ========== FONTS ========== */
@font-face {
	font-family: "Neue Plak";
	src: url("assets/fonts/neue-plak/Neue Plak Light.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Neue Plak";
	src: url("assets/fonts/neue-plak/Neue Plak Regular.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Neue Plak";
	src: url("assets/fonts/neue-plak/Neue Plak Extended SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Neue Plak";
	src: url("assets/fonts/neue-plak/Neue Plak Extended Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans/PublicSans-Light.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans/PublicSans-Regular.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans/PublicSans-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans/PublicSans-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: "Neue Plak", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #151515;
	background: #fff;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

ul, ol {
	list-style: none;
}

.hidden {
  display: none !important;
}

/* ========== HEADER ========== */
.site-header {
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 40px;
  flex: 1;
}

.site-logo img {
	width: 100px;
	height: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 32px;
  margin: auto;
}

.main-nav a {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: opacity 0.2s;
}

.main-nav a:hover {
	opacity: 0.6;
}
.main-nav li {
  list-style-type: none;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	transition: opacity 0.2s;
}

.header-icon:hover {
	opacity: 0.6;
}

.header-icon svg {
	width: 20px;
	height: 20px;
}

.btn-contact {
  font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 10px;
  color: #fff;
  background-color: #E41D1B;
  border-color: #E41D1B;
	border-radius: 99px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.btn-contact:hover {
  background-color: #c21917;
  border-color: #c21917;
}

/* ========== MAIN CONTENT ========== */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 40px 80px;
  position: relative;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
	margin-bottom: 10px;
}

.breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	font-size: 13px;
	color: #777;
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: #ccc;
}

.breadcrumbs__item a {
	color: #555;
	text-decoration: none;
}

.breadcrumbs__item a:hover {
	color: #E41D1B;
	text-decoration: underline;
}

.breadcrumbs__item--current {
	color: #151515;
	font-weight: 600;
}

/* ========== BLOG LISTING ========== */
.blog-title {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 36px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 40px;
}

.blog-listing {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.blog-card {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.blog-card__thumbnail {
  flex-shrink: 0;
  width: 35%;
  height: auto;
  overflow: hidden;
  background: #e9e9e9;
  min-height: 200px;
}

.blog-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.blog-card__title {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

.blog-card__title a {
	color: inherit;
	text-decoration: none;
}

.blog-card__title a:hover {
	opacity: 0.7;
}

.blog-card__infos {
  margin-bottom: 4px;
}

.blog-card__date {
	font-size: 14px;
	color: #777;
  margin-right: 5px;
}

.blog-card__author {
	font-size: 14px;
	color: #777;
}

.blog-card__author a {
	color: #151515;
	font-weight: 500;
	text-decoration: none;
}

.blog-card__author a:hover {
	text-decoration: underline;
}

.blog-card__excerpt {
	font-size: 14px;
  font-weight: 500;
	line-height: 1.6;
	color: #444;
}

.blog-card__read-more {
	display: inline-block;
	margin-top: 12px;
	padding: 14px 28px;
	background: #151515;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: capitalize;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: background 0.2s;
	align-self: flex-start;
}

.blog-card__read-more:hover {
	background: #333;
}

/* ========== PAGINATION ========== */
.blog-pagination {
	margin-top: 60px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid #e5e5e5;
	color: #151515;
	transition: background 0.2s, color 0.2s;
}

.blog-pagination a:hover {
	background: #151515;
	color: #fff;
}

.blog-pagination .current {
	background: #151515;
	color: #fff;
	border-color: #151515;
}

/* ========== SINGLE POST ========== */
.single-post-content {
	max-width: none;
	margin: 0;
}

/* Hero image — full width, edge-to-edge */
.single-post__hero {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	max-height: 350px;
	overflow: hidden;
	background: #e9e9e9;
}

.single-post__hero img {
	width: 100%;
	height: 100%;
	max-height: 350px;
	object-fit: cover;
	display: block;
}

/* Inner content — narrow centered column */
.single-post__inner {
	max-width: 780px;
	margin: 0 auto;
	padding-top: 40px;
}

.single-post__title {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 36px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.15;
	margin-bottom: 16px;
	color: #151515;
}

.single-post__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 14px;
	color: #777;
	margin-bottom: 36px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e5e5;
}

.single-post__author-inline a {
	color: #151515;
	font-weight: 600;
	text-decoration: none;
}

.single-post__author-inline a:hover {
	text-decoration: underline;
}

.single-post__date {
	color: #888;
}

.single-post__body {
	font-size: 20px;
	line-height: 1.75;
	color: #333;
}

.single-post__body p {
	margin-bottom: 20px;
}

.single-post__body h2,
.single-post__body h3,
.single-post__body h4 {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-weight: 700;
	color: #151515;
	margin-top: 32px;
	margin-bottom: 12px;
}

.single-post__body h2 {
	font-size: 22px;
}

.single-post__body h3 {
	font-size: 18px;
}

.single-post__body h4 {
	font-size: 16px;
}

.single-post__body a {
	color: #151515;
	text-decoration: underline;
	font-weight: 500;
}

.single-post__body a:hover {
	opacity: 0.7;
}

.single-post__body ul,
.single-post__body ol {
	margin-bottom: 20px;
	padding-left: 24px;
}

.single-post__body ul {
	list-style: disc;
}

.single-post__body ol {
	list-style: decimal;
}

.single-post__body li {
	margin-bottom: 8px;
}

.single-post__body blockquote {
	border-left: 3px solid #151515;
	padding: 16px 24px;
	margin: 24px 0;
	font-style: italic;
	color: #555;
}

.single-post__body img {
	margin: 24px 0;
}

.single-post__body strong {
	font-weight: 700;
	color: #151515;
}

/* Author box */
.single-post__author {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.single-post__author-avatar {
	flex-shrink: 0;
}

.single-post__author-avatar img {
	border-radius: 50%;
	display: block;
	width: 64px;
	height: 64px;
}

.single-post__author-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #777;
	margin-bottom: 2px;
}

.single-post__author-name {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #151515;
	text-decoration: none;
}

.single-post__author-name:hover {
	text-decoration: underline;
}

.single-post__author-bio {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

/* ========== FOOTER ========== */
.site-footer {
	border-top: 1px solid #e5e5e5;
	background: #fff;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 40px 32px;
}

/* Social row */
.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
}

.footer-social__label {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #151515;
}

.footer-social__links {
	display: flex;
	gap: 16px;
}

.footer-social__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #151515;
	transition: opacity 0.2s;
}

.footer-social__links a:hover {
	opacity: 0.6;
}

/* Footer columns */
.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 40px;
}

.footer-column__title {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #151515;
	margin-bottom: 16px;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column li {
	margin-bottom: 10px;
}

.footer-column a {
	font-size: 15px;
	color: #151515;
	transition: color 0.2s;
}

.footer-column a:hover {
	text-decoration: underline;
}

/* Copyright */
.footer-bottom {
	border-top: 1px solid #e5e5e5;
	padding-top: 24px;
	text-align: center;
	font-size: 13px;
	color: #888;
}

/* ========== HAMBURGER BUTTON ========== */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.hamburger__line {
	display: block;
	width: 100%;
	height: 2px;
	background: #151515;
	border-radius: 1px;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
	position: fixed;
	top: 0;
	left: -320px;
	width: 320px;
	max-width: 85vw;
	height: 100%;
	background: #fff;
	z-index: 200;
	transition: left 0.3s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.mobile-menu.is-open {
	left: 0;
}

.mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e5e5;
}

.mobile-menu__close {
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #151515;
}

.mobile-menu__close svg {
	width: 24px;
	height: 24px;
}

.mobile-menu__nav {
	flex: 1;
	padding: 16px 0;
}

.mobile-menu__nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-menu__nav li {
	border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__nav a {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	display: block;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #151515;
	transition: background 0.2s;
}

.mobile-menu__nav a:hover {
	background: #f5f5f5;
}

.mobile-menu__actions {
	padding: 16px 20px 24px;
}

.btn-contact--full {
	display: block;
	text-align: center;
	width: 100%;
}

.mobile-menu__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 199;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu__overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
	.header-inner {
		padding: 0 20px;
		height: 60px;
		gap: 16px;
	}

	.main-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.site-main {
		padding: 10px 20px 60px;
	}

	.blog-title {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.blog-card {
		flex-direction: column;
		gap: 16px;
	}

	.blog-card__thumbnail {
		width: 100%;
		height: auto;
	}

	.single-post__title {
		font-size: 24px;
	}

	.single-post__hero {
		max-height: 300px;
	}

	.single-post__hero img {
		max-height: 300px;
	}

	.single-post__inner {
		padding-top: 24px;
	}

	.single-post__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.blog-card__title {
		font-size: 20px;
	}

	/* Footer responsive */
	.footer-inner {
		padding: 32px 20px 24px;
	}

	.footer-social {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 32px;
		padding-bottom: 24px;
	}

	.footer-columns {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 32px;
	}
}

@media (max-width: 480px) {
	.header-right {
		gap: 8px;
	}

	.blog-card__thumbnail {
		height: auto;
	}
}

/* ========== 404 PAGE ========== */
.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 60px 20px 80px;
}

.error-404__illustration {
	max-width: 700px;
	width: 100%;
	margin-bottom: 40px;
}

.error-404__illustration img {
	width: 100%;
	height: auto;
}

.error-404__title {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
}

.error-404__description {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
	max-width: 600px;
	margin-bottom: 32px;
}

.error-404__button {
	display: inline-block;
	padding: 16px 40px;
	background: #1a1a1a;
	color: #fff;
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}

.error-404__button:hover {
	background: #333;
}

@media (max-width: 768px) {
	.error-404 {
		padding: 40px 20px 60px;
	}

	.error-404__title {
		font-size: 26px;
	}

	.error-404__description {
		font-size: 14px;
	}
}

/* ========== AUTHOR PAGE ========== */
.author-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 40px 60px;
}

.author-page__header {
	text-align: center;
	margin-bottom: 48px;
}

.author-page__avatar {
	margin-bottom: 16px;
}

.author-page__avatar img {
	border-radius: 50%;
	width: 120px;
	height: 120px;
	display: inline-block;
}

.author-page__name {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #151515;
	margin: 0 0 12px;
}

.author-page__bio {
	max-width: 600px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

.author-page__posts-heading {
	font-family: "Neue Plak", "Public Sans", sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #151515;
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
}

.author-page__no-posts {
	font-size: 16px;
	color: #777;
	text-align: center;
}

@media (max-width: 768px) {
	.author-page {
		padding: 32px 20px 40px;
	}

	.author-page__name {
		font-size: 24px;
	}

	.author-page__bio {
		font-size: 14px;
	}

	.author-page__posts-heading {
		font-size: 18px;
	}
}
