/*
Theme Name: Tema 7 desenvolvido por Trek Mobi Connect
Theme URI: https://trekmobi.com
Author: Trek Mobi Connect
Description: Tema 07
Version: 0.1.0
Text Domain: tema-07
*/

/* ============================================
   RESET GLOBAL
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}

body {
	font-family: var(--t7-font-family);
	font-size: 16px;
	line-height: 1.6;
	color: var(--t7-text);
	background-color: var(--t7-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.admin-bar {
	margin-top: 0 !important;
}

#page,
.site {
	margin: 0;
	padding: 0;
	width: 100%;
}

main {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* ============================================
   VARIÁVEIS CSS
   ============================================ */

:root {
	/* Tipografia */
	--t7-font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Cores Primárias — Identidade Dirrix */
	--t7-primary: #334d50;
	--t7-primary-dark: #1c2d30;
	--t7-primary-darkest: #1c2d30;
	--t7-btn-primary: #cbcaa5;
	--t7-btn-primary-text: #334d50;

	/* Texto */
	--t7-text: #000000;
	--t7-text-body: #595959;
	--t7-text-on-dark: #ffffff;
	--t7-text-on-dark-muted: #ebebeb;
	--t7-text-info: #b2e2ff;

	/* Fundos */
	--t7-bg: #ffffff;
	--t7-bg-alt: #f7f7f7;

	/* UI */
	--t7-border: #e0e0e0;
	--t7-category-active-bg: #e5eced;
	--t7-category-active-stroke: #334d50;

	/* Border Radius */
	--t7-radius-pill: 100px;
	--t7-radius-image: 4px;
	--t7-radius-card: 12px;
	--t7-radius-container: 16px;

	/* Layout */
	--t7-container-max: 1400px;
	--t7-container-narrow: 1323px;
}

/* ============================================
   TIPOGRAFIA GLOBAL
   ============================================ */

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

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	line-height: 1.2;
	color: var(--t7-text);
}

p {
	line-height: 1.6;
}

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

ul, ol {
	list-style: none;
}

button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

/* ============================================
   HEADER
   ============================================ */

.t7-header {
	width: 100%;
	background: var(--t7-bg);
}

.t7-header__container {
	max-width: var(--t7-container-max);
	margin: 0 auto;
	padding: 5px 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.t7-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 12px;
}

.t7-header__hamburger,
.t7-header__search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	color: var(--t7-text);
}

.t7-header__hamburger svg,
.t7-header__search-icon svg {
	width: 24px;
	height: 24px;
}

.t7-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.t7-header__logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.t7-header__logo img {
	max-height: 32px;
	width: auto;
}

.t7-header__logo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 136px;
	height: 32px;
	background: var(--t7-bg-alt);
	border: 1px solid var(--t7-text);
	border-radius: var(--t7-radius-image);
}

.t7-header__logo-placeholder span {
	font-family: 'Work Sans', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--t7-text);
}

.t7-header__divider {
	width: 100%;
	height: 1px;
	background: var(--t7-border);
}

/* Search form */
.t7-header__search-form {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
}

.t7-header__search-form--open {
	display: flex;
}

.t7-header__search-input {
	flex: 1;
	padding: 8px 16px;
	border: 1px solid var(--t7-border);
	border-radius: var(--t7-radius-pill);
	font-family: var(--t7-font-family);
	font-size: 14px;
	outline: none;
}

.t7-header__search-input:focus {
	border-color: var(--t7-primary);
}

.t7-header__search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--t7-text);
	border-radius: 50%;
	color: var(--t7-text-on-dark);
}

.t7-header__search-submit svg {
	width: 16px;
	height: 16px;
}

/* Navigation */
.t7-header__nav {
	width: 100%;
}

.t7-header__nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	padding: 0 12px;
}

.t7-header__nav-list li {
	list-style: none;
}

.t7-header__nav-list li a {
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 16px;
	color: var(--t7-text);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	transition: background 0.2s, color 0.2s;
}

.t7-header__nav-list li a:hover {
	text-decoration: none;
	background: var(--t7-bg-alt);
}

.t7-header__nav-list li.current-menu-item a,
.t7-header__nav-list li.current_page_item a {
	background: var(--t7-category-active-bg);
	border: 1px solid var(--t7-category-active-stroke);
}

/* ============================================
   HERO SECTION
   ============================================ */

.t7-hero {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 24px 0;
}

.t7-hero__container {
	max-width: var(--t7-container-max);
	width: 100%;
	display: flex;
	gap: 16px;
	justify-content: center;
	padding: 0 12px;
}

/* Side columns (left & right) */
.t7-hero__left,
.t7-hero__right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 32px;
	justify-content: center;
	padding: 40px 12px;
	border-radius: 8px;
}

/* Text-only post item */
.t7-hero-text-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.t7-hero-text-item__meta {
	display: flex;
	align-items: center;
	gap: 24px;
}

.t7-hero-text-item__category {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 12px;
	color: var(--t7-primary);
	text-transform: uppercase;
	text-decoration: none;
}

.t7-hero-text-item__category:hover {
	text-decoration: underline;
}

.t7-hero-text-item__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--t7-primary);
	flex-shrink: 0;
}

.t7-hero-text-item__date {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 12px;
	color: var(--t7-primary);
}

.t7-hero-text-item__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
	color: var(--t7-text);
	overflow: hidden;
	text-overflow: ellipsis;
}

.t7-hero-text-item__title a {
	color: inherit;
	text-decoration: none;
}

.t7-hero-text-item__title a:hover {
	text-decoration: underline;
}

.t7-hero-text-item__excerpt {
	font-family: var(--t7-font-family);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--t7-text-body);
	overflow: hidden;
	text-overflow: ellipsis;
}

.t7-hero-text-item__divider {
	width: 100%;
	height: 1px;
	background: var(--t7-border);
}

/* Center featured post */
.t7-hero__center {
	width: 688px;
	flex-shrink: 0;
	background: var(--t7-bg-alt);
	border-radius: var(--t7-radius-container);
	padding: 12px;
	display: flex;
	flex-direction: column;
}

.t7-hero-featured__image-wrap {
	flex: 1;
	position: relative;
	border-radius: var(--t7-radius-card);
	overflow: hidden;
	min-height: 350px;
}

.t7-hero-featured__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.t7-hero-featured__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	gap: 24px;
	background: var(--t7-primary-dark);
	color: var(--t7-text-on-dark);
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	z-index: 2;
}

.t7-hero-featured__badge-category {
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--t7-text-on-dark);
}

.t7-hero-featured__badge-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--t7-text-on-dark);
	flex-shrink: 0;
}

.t7-hero-featured__badge-date {
	font-size: 12px;
	font-weight: 400;
	color: var(--t7-text-on-dark);
}

.t7-hero-featured__content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.t7-hero-featured__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 40px;
	line-height: 1.2;
	color: var(--t7-text);
}

.t7-hero-featured__title a {
	color: inherit;
	text-decoration: none;
}

.t7-hero-featured__title a:hover {
	text-decoration: underline;
}

.t7-hero-featured__excerpt {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: var(--t7-text-body);
}

/* ============================================
   LATEST POSTS (Nossos Últimos Posts)
   ============================================ */

.t7-latest {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 44px 0;
}

.t7-latest__container {
	max-width: var(--t7-container-max);
	width: 100%;
	background: var(--t7-bg-alt);
	border-radius: var(--t7-radius-container);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.t7-latest__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.t7-latest__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 32px;
	line-height: 1.2;
	color: var(--t7-text);
	flex: 1;
}

.t7-latest__arrows {
	display: flex;
	gap: 12px;
	align-items: center;
}

.t7-latest__arrow {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--t7-text);
	border-radius: 50%;
	color: var(--t7-text-on-dark);
	transition: opacity 0.2s;
	padding: 8px;
}

.t7-latest__arrow:hover {
	opacity: 0.8;
}

.t7-latest__arrow svg {
	width: 24px;
	height: 24px;
}

.t7-latest__grid {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.t7-latest__grid::-webkit-scrollbar {
	display: none;
}

/* Post card */
.t7-latest-card {
	flex: 1;
	min-width: 250px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.t7-latest-card__image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 323 / 195;
	border-radius: var(--t7-radius-card);
	overflow: hidden;
}

.t7-latest-card__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.t7-latest-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--t7-primary-dark);
	color: var(--t7-text-on-dark);
	padding: 4px 16px;
	border-radius: var(--t7-radius-pill);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
}

.t7-latest-card__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
}

.t7-latest-card__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
	color: var(--t7-text);
	overflow: hidden;
}

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

.t7-latest-card__title a:hover {
	text-decoration: underline;
}

.t7-latest-card__excerpt {
	font-family: var(--t7-font-family);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--t7-text-body);
	overflow: hidden;
}

/* ============================================
   NAVIGATE BY TOPIC (Navegue por Tópico)
   ============================================ */

.t7-topics {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 44px 0;
}

.t7-topics__container {
	max-width: var(--t7-container-narrow);
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0 12px;
}

.t7-topics__top {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.t7-topics__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.t7-topics__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 32px;
	line-height: 1.2;
	color: var(--t7-text);
}

.t7-topics__btn-more {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border: 1px solid var(--t7-text);
	border-radius: var(--t7-radius-pill);
	background: transparent;
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 16px;
	color: var(--t7-text);
	text-decoration: none;
	transition: background 0.2s;
}

.t7-topics__btn-more:hover {
	background: var(--t7-bg-alt);
	text-decoration: none;
}

.t7-topics__btn-more svg {
	width: 24px;
	height: 24px;
}

/* Category filter pills */
.t7-topics__filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.t7-topics__pill {
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	border: 1px solid transparent;
	background: transparent;
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 16px;
	color: var(--t7-text);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.t7-topics__pill:hover {
	background: var(--t7-bg-alt);
}

.t7-topics__pill--active {
	background: var(--t7-category-active-bg);
	border-color: var(--t7-category-active-stroke);
}

.t7-topics__pill--active:hover {
	background: var(--t7-category-active-bg);
}

/* Post rows */
.t7-topics__posts {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.t7-topics-row {
	display: flex;
	align-items: center;
	gap: 40px;
}

.t7-topics-row__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.t7-topics-row__meta {
	display: flex;
	align-items: center;
	gap: 24px;
}

.t7-topics-row__category {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 12px;
	color: var(--t7-primary);
	text-transform: uppercase;
	text-decoration: none;
}

.t7-topics-row__category:hover {
	text-decoration: underline;
}

.t7-topics-row__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--t7-primary);
	flex-shrink: 0;
}

.t7-topics-row__date {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 12px;
	color: var(--t7-primary);
}

.t7-topics-row__title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
	color: var(--t7-text);
}

.t7-topics-row__title a {
	color: inherit;
	text-decoration: none;
}

.t7-topics-row__title a:hover {
	text-decoration: underline;
}

.t7-topics-row__excerpt {
	font-family: var(--t7-font-family);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--t7-text-body);
}

.t7-topics-row__image {
	width: 298px;
	height: 180px;
	flex-shrink: 0;
	border-radius: var(--t7-radius-card);
	overflow: hidden;
}

.t7-topics-row__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.t7-topics-row__divider {
	width: 100%;
	height: 1px;
	background: var(--t7-border);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.t7-newsletter {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 44px 0;
}

.t7-newsletter__container {
	max-width: var(--t7-container-max);
	width: 100%;
	background: var(--t7-primary-darkest);
	border-radius: 8px;
	padding: 60px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.t7-newsletter__title {
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 32px;
	line-height: 1.3;
	color: var(--t7-text-on-dark);
}

.t7-newsletter__subtitle {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.4;
	color: var(--t7-text-on-dark-muted);
}

.t7-newsletter__form {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--t7-primary-dark);
	border-radius: 1000px;
	padding: 8px;
}

.t7-newsletter__input {
	background: transparent;
	border: none;
	padding: 8px 12px;
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 16px;
	color: var(--t7-text-on-dark);
	outline: none;
	min-width: 240px;
}

.t7-newsletter__input::placeholder {
	color: var(--t7-text-on-dark);
	opacity: 0.8;
}

.t7-newsletter__btn {
	background: var(--t7-btn-primary);
	color: var(--t7-btn-primary-text);
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 16px;
	border: 1px solid var(--t7-btn-primary);
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.t7-newsletter__btn:hover {
	opacity: 0.9;
}

.t7-newsletter__privacy {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 16px;
	color: var(--t7-text-info);
}

.t7-newsletter__privacy svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.t7-newsletter__privacy a {
	color: var(--t7-text-info);
	text-decoration: underline;
}

.t7-newsletter__msg {
	display: none;
	font-family: var(--t7-font-family);
	font-size: 14px;
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	margin-top: 8px;
}

.t7-newsletter__msg--success {
	background: var(--t7-category-active-bg);
	color: var(--t7-primary-dark);
}

.t7-newsletter__msg--error {
	background: #ffe4e4;
	color: #c00;
}

/* ============================================
   FOOTER
   ============================================ */

.t7-footer {
	width: 100%;
	display: flex;
	justify-content: center;
}

.t7-footer__container {
	max-width: var(--t7-container-max);
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 16px 24px;
}

.t7-footer__divider-top {
	width: 100%;
	height: 1px;
	background: var(--t7-text-body);
}

.t7-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 40px 0;
}

/* Brand column */
.t7-footer__brand {
	width: 200px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.t7-footer__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
	background: var(--t7-bg-alt);
	border: 1px solid var(--t7-text);
	border-radius: var(--t7-radius-image);
}

.t7-footer__logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.t7-footer__logo img {
	max-height: 60px;
	width: auto;
}

.t7-footer__logo-text {
	font-family: 'Work Sans', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--t7-text);
}

.t7-footer__description {
	font-family: var(--t7-font-family);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--t7-text-body);
}

/* Vertical divider */
.t7-footer__divider-vertical {
	width: 1px;
	align-self: stretch;
	background: var(--t7-text-body);
	flex-shrink: 0;
}

/* Links wrapper */
.t7-footer__links-wrapper {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 104px;
	justify-content: center;
	padding: 20px 12px;
}

.t7-footer__links-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0 12px;
}

.t7-footer__links-title {
	font-family: var(--t7-font-family);
	font-weight: 500;
	font-size: 12px;
	color: var(--t7-text);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.t7-footer__links-list {
	display: flex;
	gap: 32px;
	align-items: center;
	flex-wrap: wrap;
}

.t7-footer__links-list li {
	list-style: none;
}

.t7-footer__links-list li a {
	font-family: var(--t7-font-family);
	font-weight: 600;
	font-size: 16px;
	color: var(--t7-text);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: var(--t7-radius-pill);
	transition: background 0.2s;
}

.t7-footer__links-list li a:hover {
	background: var(--t7-bg-alt);
	text-decoration: none;
}

/* Bottom divider & copyright */
.t7-footer__divider-bottom {
	width: 100%;
	height: 1px;
	background: var(--t7-text-body);
}

.t7-footer__copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	height: 96px;
}

.t7-footer__copyright-left,
.t7-footer__copyright-center,
.t7-footer__copyright-right {
	font-family: var(--t7-font-family);
	font-weight: 400;
	font-size: 16px;
	color: var(--t7-text-body);
	text-align: center;
}

.t7-footer__copyright-left {
	width: 140px;
}

.t7-footer__copyright-right {
	width: 140px;
	display: flex;
	justify-content: flex-end;
}

.t7-footer__copyright-right img {
	max-height: 40px;
	width: auto;
}

/* ============================================
   CATEGORY PAGE — Hero
   ============================================ */

.t7-cat-hero {
	padding: 40px 0 0;
}

.t7-cat-hero__container {
	max-width: 1216px;
	margin: 0 auto;
	padding: 0 24px;
}

.t7-cat-hero__title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--t7-text);
	margin-bottom: 32px;
}

.t7-cat-hero__grid {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.t7-cat-hero__featured {
	width: 688px;
	flex-shrink: 0;
}

.t7-cat-hero__side {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ============================================
   CATEGORY PAGE — Post List
   ============================================ */

.t7-cat-list {
	padding: 48px 0 0;
}

.t7-cat-list__container {
	max-width: 1216px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================
   CATEGORY PAGE — Pagination
   ============================================ */

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

.t7-pagination__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--t7-text);
	color: var(--t7-text-on-dark);
	text-decoration: none;
	transition: opacity 0.2s;
	border: none;
	cursor: pointer;
}

.t7-pagination__arrow:hover {
	opacity: 0.8;
}

.t7-pagination__arrow--disabled {
	background-color: var(--t7-border);
	color: #999;
	pointer-events: none;
	cursor: default;
}

.t7-pagination__arrow svg {
	width: 20px;
	height: 20px;
}

.t7-pagination__numbers {
	display: flex;
	align-items: center;
	gap: 4px;
}

.t7-pagination__number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	color: var(--t7-text-body);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
	padding: 0 8px;
}

.t7-pagination__number:hover {
	background-color: var(--t7-bg-alt);
	color: var(--t7-text);
}

.t7-pagination__number--active {
	background-color: var(--t7-text);
	color: var(--t7-text-on-dark);
	pointer-events: none;
}

.t7-pagination__ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 40px;
	font-size: 16px;
	color: var(--t7-text-body);
	letter-spacing: 2px;
}

/* ============================================
   SEARCH PAGE — Hero
   ============================================ */

.t7-search-hero {
	padding: 44px 0 0;
}

.t7-search-hero__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.t7-search-hero__title {
	font-size: 38px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--t7-text);
	margin-bottom: 12px;
	text-align: center;
}

.t7-search-hero__form {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 688px;
	max-width: 100%;
	background-color: #ebebeb;
	border: 1px solid var(--t7-border);
	border-radius: 20px;
	padding: 8px 12px;
	margin-bottom: 24px;
}

.t7-search-hero__input {
	flex: 1;
	border: none;
	background: transparent;
	font-family: var(--t7-font-family);
	font-size: 16px;
	font-weight: 400;
	color: var(--t7-text);
	outline: none;
}

.t7-search-hero__input::placeholder {
	color: #808080;
}

.t7-search-hero__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--t7-text-body);
	padding: 0;
	flex-shrink: 0;
}

.t7-search-hero__btn:hover {
	color: var(--t7-text);
}

.t7-search-hero__btn svg {
	width: 24px;
	height: 24px;
}

/* ============================================
   SEARCH PAGE — Results
   ============================================ */

.t7-search-results {
	padding: 16px 0 0;
}

.t7-search-results__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================
   SINGLE POST — Hero
   ============================================ */

.t7-single-hero {
	padding: 44px 0;
}

.t7-single-hero__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.t7-single-hero__top {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.t7-single-hero__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.t7-single-hero__meta {
	display: flex;
	align-items: center;
	gap: 24px;
}

.t7-single-hero__category {
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--t7-primary);
	text-decoration: none;
	letter-spacing: 0.5px;
}

.t7-single-hero__category:hover {
	text-decoration: underline;
}

.t7-single-hero__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--t7-primary);
	flex-shrink: 0;
}

.t7-single-hero__date {
	font-size: 12px;
	font-weight: 400;
	color: var(--t7-primary);
}

.t7-single-hero__title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--t7-text);
}

.t7-single-hero__excerpt {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--t7-text-body);
}

/* Divider vertical entre info e share */
.t7-single-hero__divider {
	width: 1px;
	align-self: stretch;
	background-color: var(--t7-border);
	margin: 0 40px;
	flex-shrink: 0;
}

/* Share buttons */
.t7-single-hero__share {
	width: 244px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.t7-single-hero__share-label {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--t7-text);
	letter-spacing: 0.5px;
}

.t7-single-hero__share-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.t7-share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--t7-text);
	color: var(--t7-text-on-dark);
	text-decoration: none;
	transition: opacity 0.2s;
}

.t7-share-btn:hover {
	opacity: 0.8;
}

.t7-share-btn svg {
	flex-shrink: 0;
}

/* Imagem destaque */
.t7-single-hero__image {
	width: 100%;
	height: 600px;
	border-radius: 12px;
	overflow: hidden;
	background-color: var(--t7-bg-alt);
}

.t7-single-hero__image img,
.t7-single-hero__image svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ============================================
   SINGLE POST — Content (the_content)
   ============================================ */

.t7-single-content {
	padding: 40px 0;
}

.t7-single-content__container {
	max-width: 688px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Estilos para o conteúdo do post (the_content) */
.t7-single-content__container h2 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--t7-text-body);
	margin: 32px 0 16px;
}

.t7-single-content__container h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--t7-text);
	margin: 28px 0 12px;
}

.t7-single-content__container h4 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--t7-text);
	margin: 24px 0 12px;
}

.t7-single-content__container p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--t7-text-body);
	margin-bottom: 16px;
}

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

.t7-single-content__container a:hover {
	color: var(--t7-primary-dark);
}

.t7-single-content__container img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 16px 0;
	display: block;
}

.t7-single-content__container ul,
.t7-single-content__container ol {
	margin: 16px 0;
	padding-left: 24px;
	color: var(--t7-text-body);
	font-size: 16px;
	line-height: 1.7;
}

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

.t7-single-content__container blockquote {
	margin: 24px 0;
	padding: 16px 24px;
	border-left: 4px solid var(--t7-primary);
	background-color: var(--t7-bg-alt);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: var(--t7-text-body);
}

.t7-single-content__container blockquote p {
	margin-bottom: 0;
}

.t7-single-content__container figure {
	margin: 24px 0;
}

.t7-single-content__container figcaption {
	font-size: 14px;
	color: var(--t7-text-body);
	text-align: center;
	margin-top: 8px;
}

.t7-single-content__container .wp-block-separator,
.t7-single-content__container hr {
	border: none;
	border-top: 1px solid var(--t7-border);
	margin: 32px 0;
}

/* ADS placeholder no conteúdo */
.t7-single-content__container .t7-ads-placeholder,
.t7-single-content__container .wp-block-group.is-style-ads {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	background-color: var(--t7-bg-alt);
	margin: 32px 0;
	border-radius: 0;
	font-family: 'Work Sans', sans-serif;
	font-size: 48px;
	font-weight: 600;
	color: var(--t7-text-body);
}

/* ============================================
   SINGLE POST — Author Section
   ============================================ */

.t7-single-author-section {
	padding: 0;
}

.t7-single-author-section__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 60px 24px;
	display: flex;
	align-items: flex-start;
	gap: 0;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

.t7-single-author {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 32px;
}

.t7-single-author__avatar-wrap {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	background-color: var(--t7-bg-alt);
}

.t7-single-author__avatar-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.t7-single-author__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.t7-single-author__label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--t7-primary);
	letter-spacing: 0.5px;
}

.t7-single-author__name {
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--t7-text);
}

.t7-single-author__bio {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--t7-text-body);
}

/* Divider vertical entre autor e share */
.t7-single-author-section__divider {
	width: 1px;
	align-self: stretch;
	background-color: var(--t7-border);
	margin: 0 40px;
	flex-shrink: 0;
}

/* ============================================
   SINGLE POST — Related Posts
   ============================================ */

.t7-related {
	padding: 44px 0;
}

.t7-related__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px;
	background-color: var(--t7-bg-alt);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.t7-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.t7-related__title {
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--t7-text);
}

.t7-related__arrows {
	display: flex;
	gap: 12px;
	align-items: center;
}

.t7-related__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--t7-text);
	color: var(--t7-text-on-dark);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.t7-related__arrow:hover {
	opacity: 0.8;
}

.t7-related__grid {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.t7-related__grid::-webkit-scrollbar {
	display: none;
}

/* Related post card */
.t7-related-card {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.t7-related-card__image {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 323 / 195;
}

.t7-related-card__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.t7-related-card__image img,
.t7-related-card__image svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.t7-related-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background-color: var(--t7-primary-dark);
	color: var(--t7-text-on-dark);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 4px 16px;
	border-radius: 100px;
}

.t7-related-card__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
}

.t7-related-card__title {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--t7-text);
	overflow: hidden;
	text-overflow: ellipsis;
}

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

.t7-related-card__title a:hover {
	text-decoration: underline;
}

.t7-related-card__excerpt {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--t7-text-body);
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ============================================
   CONTACT PAGE — Layout
   ============================================ */

.t7-contact {
	padding: 44px 0;
}

.t7-contact__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.t7-contact__title {
	font-size: 38px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--t7-text);
}

.t7-contact__grid {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.t7-contact__text {
	width: 692px;
	flex-shrink: 0;
}

.t7-contact__text p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--t7-text-body);
	margin-bottom: 16px;
}

.t7-contact__text p:last-child {
	margin-bottom: 0;
}

.t7-contact__divider {
	width: 1px;
	align-self: stretch;
	background-color: var(--t7-border);
	margin: 0 38px;
	flex-shrink: 0;
}

.t7-contact__form-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.t7-contact__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
}

.t7-contact__input {
	width: 100%;
	border: 1px solid var(--t7-border);
	border-radius: 12px;
	padding: 16px;
	font-family: var(--t7-font-family);
	font-size: 16px;
	font-weight: 400;
	color: var(--t7-text);
	background: transparent;
	outline: none;
	transition: border-color 0.2s;
}

.t7-contact__input:focus {
	border-color: var(--t7-primary);
}

.t7-contact__input::placeholder {
	color: #808080;
}

.t7-contact__textarea {
	flex: 1;
	min-height: 140px;
	resize: vertical;
}

.t7-contact__submit {
	align-self: flex-start;
	background-color: var(--t7-btn-primary);
	color: var(--t7-btn-primary-text);
	border: 1px solid var(--t7-btn-primary);
	border-radius: 100px;
	padding: 8px 16px;
	font-family: var(--t7-font-family);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s;
	text-transform: uppercase;
}

.t7-contact__submit:hover {
	opacity: 0.85;
}

.t7-contact__msg {
	display: none;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.t7-contact__msg--success {
	background-color: #e4ffe6;
	color: #076034;
}

.t7-contact__msg--error {
	background-color: #ffe4e4;
	color: #c00;
}

/* ============================================
   DEFAULT PAGE — Termos, Privacidade, Quem Somos
   ============================================ */

.t7-page {
	padding: 44px 0 64px;
}

.t7-page__container {
	max-width: 688px;
	margin: 0 auto;
	padding: 0 24px;
}

.t7-page__title {
	font-size: 38px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--t7-text);
	margin-bottom: 32px;
}

/* ---- Content area ---- */

.t7-page__content {
	color: var(--t7-text-body);
}

.t7-page__content p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--t7-text-body);
	margin-bottom: 20px;
}

.t7-page__content p:last-child {
	margin-bottom: 0;
}

.t7-page__content h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--t7-text);
	margin-top: 40px;
	margin-bottom: 16px;
}

.t7-page__content h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--t7-text);
	margin-top: 32px;
	margin-bottom: 12px;
}

.t7-page__content h4 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--t7-text);
	margin-top: 24px;
	margin-bottom: 12px;
}

/* Ordered lists — section numbering style from Figma */
.t7-page__content ol {
	list-style: none;
	counter-reset: page-section;
	padding: 0;
	margin: 0;
}

.t7-page__content ol > li {
	counter-increment: page-section;
	padding-top: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--t7-border);
}

.t7-page__content ol > li:first-child {
	padding-top: 0;
}

.t7-page__content ol > li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.t7-page__content ol > li > strong,
.t7-page__content ol > li > b {
	display: block;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--t7-text);
	margin-bottom: 12px;
}

.t7-page__content ol > li > strong::before,
.t7-page__content ol > li > b::before {
	content: counter(page-section) ". ";
}

/* Unordered lists */
.t7-page__content ul {
	padding-left: 24px;
	margin-bottom: 20px;
}

.t7-page__content ul li {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--t7-text-body);
	margin-bottom: 8px;
}

.t7-page__content ul li:last-child {
	margin-bottom: 0;
}

/* Links */
.t7-page__content a {
	color: var(--t7-primary);
	text-decoration: underline;
	transition: color 0.2s;
}

.t7-page__content a:hover {
	color: var(--t7-primary-dark);
}

/* Blockquote */
.t7-page__content blockquote {
	border-left: 4px solid var(--t7-primary);
	padding: 16px 24px;
	margin: 24px 0;
	background-color: var(--t7-bg-alt);
	border-radius: 0 8px 8px 0;
}

.t7-page__content blockquote p {
	font-size: 16px;
	font-style: italic;
	margin-bottom: 0;
}

/* Images */
.t7-page__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--t7-radius-image);
	margin: 24px 0;
}

/* Dividers — <hr> */
.t7-page__content hr {
	border: none;
	border-top: 1px solid var(--t7-border);
	margin: 32px 0;
}

/* Tables */
.t7-page__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 16px;
}

.t7-page__content table th,
.t7-page__content table td {
	padding: 12px 16px;
	border: 1px solid var(--t7-border);
	text-align: left;
}

.t7-page__content table th {
	background-color: var(--t7-bg-alt);
	font-weight: 600;
	color: var(--t7-text);
}

.t7-page__content table td {
	color: var(--t7-text-body);
}

/* ============================================
   PAGES WITHOUT NAV — Header
   ============================================ */

body.category .t7-header__nav,
body.category .t7-header__divider,
body.search-results .t7-header__nav,
body.search-results .t7-header__divider,
body.single-post .t7-header__nav,
body.single-post .t7-header__divider,
body.page-template-page-contact .t7-header__nav,
body.page-template-page-contact .t7-header__divider,
body.page:not(.home) .t7-header__nav,
body.page:not(.home) .t7-header__divider {
	display: none;
}

/* ============================================
   RESPONSIVE — 1280px
   ============================================ */

@media (max-width: 1280px) {
	.t7-hero__container {
		padding: 0 24px;
	}

	.t7-hero__center {
		width: 500px;
	}

	.t7-hero-featured__title {
		font-size: 32px;
	}

	.t7-topics__container {
		padding: 0 24px;
	}

	.t7-latest__container {
		margin: 0 24px;
		width: auto;
	}

	.t7-newsletter__container {
		margin: 0 24px;
		width: auto;
	}

	/* Category page */
	.t7-cat-hero__featured {
		width: 500px;
	}

	/* Single post */
	.t7-single-hero__title {
		font-size: 38px;
	}

	.t7-single-hero__image {
		height: 480px;
	}

	.t7-related__container {
		margin: 0 24px;
		width: auto;
	}

	/* Contact page */
	.t7-contact__text {
		width: 500px;
	}

	/* Default page */
	.t7-page__title {
		font-size: 34px;
	}
}

/* ============================================
   RESPONSIVE — 992px (Tablet)
   ============================================ */

@media (max-width: 992px) {
	/* Hero 992px */
	.t7-hero__container {
		flex-direction: column;
		align-items: center;
	}

	.t7-hero__center {
		width: 100%;
		order: -1;
	}

	.t7-hero__left {
		width: 100%;
		padding: 20px 12px;
	}

	/* Right column hidden at tablet — mobile only shows featured + left items */
	.t7-hero__right {
		display: none;
	}

	.t7-hero-featured__title {
		font-size: 28px;
	}

	/* Latest 992px */
	.t7-latest-card {
		min-width: 280px;
	}

	/* Topics 992px — compact rows */
	.t7-topics-row {
		gap: 14px;
	}

	.t7-topics-row__image {
		width: 50%;
		height: 131px;
		order: -1;
		border-radius: 12px;
	}

	.t7-topics-row__title {
		font-size: 20px;
	}

	/* Footer 992px */
	.t7-footer__top {
		flex-direction: column;
		gap: 32px;
	}

	.t7-footer__brand {
		width: 100%;
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}

	.t7-footer__logo {
		width: 200px;
		flex-shrink: 0;
	}

	.t7-footer__divider-vertical {
		display: none;
	}

	.t7-footer__links-wrapper {
		gap: 40px;
		padding: 0;
	}

	/* Category page 992px */
	.t7-cat-hero__grid {
		flex-direction: column;
	}

	.t7-cat-hero__featured {
		width: 100%;
	}

	.t7-cat-hero__title {
		font-size: 30px;
	}

	/* Category list rows — compact side-by-side */
	.t7-cat-list .t7-topics-row {
		gap: 14px;
	}

	.t7-cat-list .t7-topics-row__image {
		width: 50%;
		height: 131px;
		order: -1;
		border-radius: 12px;
	}

	.t7-cat-list .t7-topics-row__title {
		font-size: 20px;
	}

	/* Search page */
	.t7-search-hero__title {
		font-size: 32px;
	}

	.t7-search-hero__form {
		width: 100%;
	}

	/* Single post */
	.t7-single-hero__top {
		flex-direction: column;
		gap: 32px;
	}

	.t7-single-hero__divider {
		display: none;
	}

	.t7-single-hero__share {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.t7-single-hero__share-buttons {
		gap: 12px;
		justify-content: flex-start;
	}

	.t7-single-hero__title {
		font-size: 34px;
	}

	.t7-single-hero__image {
		height: 400px;
	}

	.t7-single-author-section__container {
		flex-direction: column;
		gap: 32px;
	}

	.t7-single-author-section__divider {
		display: none;
	}

	.t7-single-author__name {
		font-size: 32px;
	}

	.t7-related-card {
		min-width: 260px;
		flex: 0 0 260px;
	}

	.t7-related__title {
		font-size: 28px;
	}

	/* Contact page */
	.t7-contact__grid {
		flex-direction: column;
		gap: 32px;
	}

	.t7-contact__divider {
		display: none;
	}

	.t7-contact__text {
		width: 100%;
	}

	.t7-contact__title {
		font-size: 32px;
	}

	/* Default page */
	.t7-page__container {
		max-width: 100%;
	}

	.t7-page__title {
		font-size: 30px;
	}

	.t7-page__content h2 {
		font-size: 22px;
	}

	.t7-page__content ol > li > strong,
	.t7-page__content ol > li > b {
		font-size: 22px;
	}
}

/* ============================================
   RESPONSIVE — 768px (Mobile)
   ============================================ */

@media (max-width: 768px) {
	/* Header mobile nav */
	.t7-header__nav {
		display: none;
	}

	.t7-header__nav--open {
		display: block;
	}

	.t7-header__nav-list {
		flex-direction: column;
		gap: 8px;
		padding: 16px 0;
	}

	.t7-header__nav-list li a {
		display: block;
		text-align: center;
		padding: 12px 16px;
	}

	/* ---- HERO MOBILE ---- */
	.t7-hero {
		padding: 20px 0;
	}

	.t7-hero__container {
		flex-direction: column;
		align-items: center;
		gap: 32px;
		padding: 0 24px;
	}

	/* Featured post on top */
	.t7-hero__center {
		width: 100%;
		order: -1;
	}

	.t7-hero-featured__image-wrap {
		min-height: 263px;
	}

	.t7-hero-featured__content {
		padding: 24px;
	}

	.t7-hero-featured__title {
		font-size: 32px;
	}

	/* Left column below with 3 text items */
	.t7-hero__left {
		width: 100%;
		padding: 0 12px;
		gap: 32px;
	}

	/* Right column hidden on mobile */
	.t7-hero__right {
		display: none;
	}

	/* ---- LATEST POSTS MOBILE (Slide) ---- */
	.t7-latest {
		padding: 32px 0;
	}

	.t7-latest__container {
		padding: 32px 16px;
		gap: 32px;
	}

	.t7-latest__header {
		justify-content: center;
	}

	.t7-latest__title {
		font-size: 32px;
		text-align: center;
	}

	/* Hide arrows on mobile — swipe to scroll */
	.t7-latest__arrows {
		display: none;
	}

	.t7-latest__grid {
		gap: 16px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.t7-latest-card {
		min-width: 322px;
		flex: 0 0 322px;
		scroll-snap-align: center;
	}

	/* ---- TOPICS MOBILE ---- */
	.t7-topics {
		padding: 32px 0;
	}

	.t7-topics__title {
		font-size: 32px;
	}

	.t7-topics__header {
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
	}

	.t7-topics__filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
		gap: 10px;
	}

	.t7-topics__filters::-webkit-scrollbar {
		display: none;
	}

	/* Topic rows: image LEFT + text RIGHT (side by side) */
	.t7-topics-row {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		height: 131px;
	}

	.t7-topics-row__image {
		width: 50%;
		height: 100%;
		flex-shrink: 0;
		order: -1;
		border-radius: 12px;
	}

	.t7-topics-row__content {
		width: 50%;
		flex: 1;
		gap: 8px;
	}

	.t7-topics-row__title {
		font-size: 18px;
	}

	.t7-topics-row__meta {
		gap: 8px;
		justify-content: space-between;
	}

	.t7-topics-row__excerpt {
		font-size: 16px;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.t7-topics__posts {
		gap: 16px;
	}

	/* ---- NEWSLETTER MOBILE ---- */
	.t7-newsletter {
		padding: 32px 24px;
	}

	.t7-newsletter__container {
		padding: 60px 32px;
		border-radius: 8px;
		max-width: 360px;
	}

	.t7-newsletter__title {
		font-size: 24px;
	}

	.t7-newsletter__form {
		flex-direction: row;
		width: auto;
		border-radius: 1000px;
		gap: 12px;
	}

	.t7-newsletter__input {
		min-width: unset;
		flex: 1;
	}

	.t7-newsletter__privacy {
		font-size: 16px;
	}

	/* ---- FOOTER MOBILE ---- */
	.t7-footer__top {
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding: 40px 0;
	}

	.t7-footer__brand {
		width: 200px;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
	}

	.t7-footer__logo {
		width: 200px;
	}

	.t7-footer__description {
		text-align: center;
	}

	.t7-footer__divider-vertical {
		display: block;
		width: 100%;
		height: 1px;
		align-self: auto;
		margin: 40px 0;
	}

	.t7-footer__links-wrapper {
		flex-direction: column;
		align-items: center;
		gap: 104px;
		padding: 20px 12px;
	}

	.t7-footer__links-section {
		align-items: center;
		text-align: center;
	}

	.t7-footer__links-list {
		flex-direction: column;
		gap: 32px;
		align-items: center;
	}

	.t7-footer__copyright {
		flex-direction: column;
		gap: 8px;
		height: auto;
		padding: 32px 0;
		align-items: center;
	}

	.t7-footer__copyright-left,
	.t7-footer__copyright-center,
	.t7-footer__copyright-right {
		width: auto;
	}

	/* ---- CATEGORY PAGE MOBILE ---- */
	.t7-cat-hero {
		padding: 20px 0 0;
	}

	.t7-cat-hero__container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.t7-cat-hero__title {
		font-size: 24px;
		font-weight: 500;
		text-align: center;
		margin-bottom: 24px;
	}

	.t7-cat-hero__grid {
		flex-direction: column;
		gap: 32px;
		width: 100%;
	}

	/* Featured card mobile — bg alt wrapper (same as front-page hero center) */
	.t7-cat-hero__featured {
		width: 100%;
		background: var(--t7-bg-alt);
		border-radius: 16px;
		padding: 12px;
	}

	.t7-cat-hero__featured .t7-hero-featured__image-wrap {
		min-height: 263px;
	}

	.t7-cat-hero__featured .t7-hero-featured__content {
		padding: 24px;
	}

	.t7-cat-hero__featured .t7-hero-featured__title {
		font-size: 32px;
	}

	/* Side text items below */
	.t7-cat-hero__side {
		padding: 0 12px;
		gap: 32px;
	}

	.t7-cat-hero__side .t7-hero-text-item__title {
		font-size: 24px;
	}

	/* Category list mobile — compact rows with dividers */
	.t7-cat-list {
		padding: 32px 0 0;
	}

	.t7-cat-list__container {
		padding: 0 24px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	/* Rows side-by-side: image LEFT + text RIGHT */
	.t7-cat-list .t7-topics-row {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		height: 131px;
	}

	.t7-cat-list .t7-topics-row__image {
		width: 50%;
		height: 100%;
		flex-shrink: 0;
		order: -1;
		border-radius: 12px;
	}

	.t7-cat-list .t7-topics-row__content {
		width: 50%;
		flex: 1;
		gap: 8px;
	}

	.t7-cat-list .t7-topics-row__title {
		font-size: 18px;
	}

	.t7-cat-list .t7-topics-row__meta {
		gap: 8px;
		justify-content: space-between;
	}

	.t7-cat-list .t7-topics-row__excerpt {
		font-size: 16px;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* Dividers between rows — visible and spaced */
	.t7-cat-list .t7-topics-row__divider {
		width: 100%;
		height: 1px;
		background: var(--t7-border);
		flex-shrink: 0;
	}

	/* Pagination mobile */
	.t7-pagination {
		margin-top: 16px;
		padding-bottom: 32px;
	}

	.t7-pagination__number {
		min-width: 36px;
		height: 36px;
		font-size: 14px;
	}

	.t7-pagination__arrow {
		width: 36px;
		height: 36px;
	}

	/* Search page */
	.t7-search-hero__title {
		font-size: 28px;
	}

	.t7-search-hero__form {
		width: 100%;
	}

	/* ---- SINGLE POST MOBILE ---- */
	.t7-single-hero {
		padding: 0px 0;
	}

	.t7-single-hero__container {
		gap: 32px;
	}

	/* Center the info section */
	.t7-single-hero__info {
		align-items: center;
		text-align: center;
	}

	/* Hide date and dot on mobile */
	.t7-single-hero__dot,
	.t7-single-hero__date {
		display: none;
	}

	/* Title centered, 24px */
	.t7-single-hero__title {
		font-size: 24px;
		text-align: center;
	}

	/* Hide excerpt on mobile */
	.t7-single-hero__excerpt {
		display: none;
	}

	/* Hide featured image on mobile */
	.t7-single-hero__image {
		display: none;
	}

	/* Hide share in hero top on mobile */
	.t7-single-hero__top > .t7-single-hero__share {
		display: none;
	}
	
	.t7-single-content {
	  padding: 0px 0 !important;
	}

	/* Content */
	.t7-single-content__container h2 {
		font-size: 24px;
	}

	/* Author section — stacked vertical */
	.t7-single-author-section__container {
		max-width: 360px;
		margin: 0 auto;
		padding: 32px 0;
		flex-direction: column;
		gap: 32px;
	}

	.t7-single-author {
		flex-direction: column;
		gap: 32px;
	}

	.t7-single-author__avatar-wrap {
		width: 120px;
		height: 120px;
	}

	.t7-single-author__name {
		font-size: 40px;
	}

	/* Show divider as horizontal between author and share */
	.t7-single-author-section__divider {
		display: block;
		width: 100%;
		height: 1px;
		margin: 0;
		background-color: var(--t7-border);
	}

	/* Share label green in author section */
	.t7-single-author-section .t7-single-hero__share-label {
		color: var(--t7-primary);
	}

	/* Share in author section — column layout */
	.t7-single-author-section .t7-single-hero__share {
		width: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.t7-single-author-section .t7-single-hero__share-buttons {
		gap: 16px;
	}

	/* ---- RELATED POSTS MOBILE (Slide) ---- */
	.t7-related__arrows {
		display: none;
	}

	.t7-related__header {
		justify-content: center;
	}

	.t7-related__title {
		font-size: 32px;
		text-align: center;
	}

	.t7-related__container {
		padding: 32px 16px;
	}

	.t7-related__grid {
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.t7-related-card {
		min-width: 322px;
		flex: 0 0 322px;
		scroll-snap-align: center;
	}

	/* Contact page */
	.t7-contact__title {
		font-size: 28px;
	}

	.t7-contact__textarea {
		min-height: 120px;
	}

	.t7-contact__submit {
		width: 100%;
		text-align: center;
	}

	/* Default page */
	.t7-page__title {
		font-size: 26px;
	}

	.t7-page__content h2 {
		font-size: 20px;
		margin-top: 32px;
	}

	.t7-page__content ol > li > strong,
	.t7-page__content ol > li > b {
		font-size: 20px;
	}

	.t7-page__content ol > li {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.t7-page {
		padding: 32px 0 48px;
	}
}

/* ============================================
   RESPONSIVE — 480px (Small phone)
   ============================================ */

@media (max-width: 480px) {
	/* ---- HERO 480px ---- */
	.t7-hero__container {
		padding: 0 16px;
	}

	.t7-hero-featured__title {
		font-size: 26px;
	}

	.t7-hero-featured__content {
		padding: 16px;
	}

	.t7-hero-featured__image-wrap {
		min-height: 200px;
	}

	.t7-hero-text-item__title {
		font-size: 20px;
	}

	.t7-hero-text-item__excerpt {
		font-size: 14px;
	}

	/* ---- LATEST 480px ---- */
	.t7-latest__title {
		font-size: 24px;
	}

	.t7-latest-card {
		min-width: 280px;
		flex: 0 0 280px;
	}

	.t7-latest-card__title {
		font-size: 20px;
	}

	/* ---- TOPICS 480px ---- */
	.t7-topics__title {
		font-size: 24px;
	}

	.t7-topics-row {
		height: auto;
		min-height: 110px;
	}

	.t7-topics-row__title {
		font-size: 16px;
	}

	.t7-topics-row__excerpt {
		font-size: 14px;
		-webkit-line-clamp: 2;
	}

	.t7-topics__btn-more span {
		font-size: 14px;
	}

	.t7-topics__filters {
		gap: 8px;
	}

	.t7-topics__pill {
		padding: 6px 12px;
		font-size: 14px;
	}

	/* ---- NEWSLETTER 480px ---- */
	.t7-newsletter__container {
		padding: 40px 20px;
	}

	.t7-newsletter__title {
		font-size: 20px;
	}

	.t7-newsletter__subtitle {
		font-size: 16px;
	}

	.t7-newsletter__form {
		flex-direction: column;
		border-radius: 16px;
		gap: 8px;
	}

	.t7-newsletter__input {
		width: 100%;
		text-align: center;
	}

	.t7-newsletter__btn {
		width: 100%;
	}

	.t7-newsletter__privacy {
		font-size: 14px;
	}

	/* ---- CATEGORY PAGE 480px ---- */
	.t7-cat-hero__title {
		font-size: 20px;
	}

	.t7-cat-hero__featured .t7-hero-featured__title {
		font-size: 26px;
	}

	.t7-cat-hero__featured .t7-hero-featured__content {
		padding: 0 16px 16px;
	}

	.t7-cat-hero__featured .t7-hero-featured__image-wrap {
		min-height: 200px;
	}

	.t7-cat-hero__side .t7-hero-text-item__title {
		font-size: 20px;
	}

	.t7-cat-hero__side .t7-hero-text-item__excerpt {
		font-size: 14px;
	}

	.t7-cat-list .t7-topics-row {
		height: auto;
		min-height: 110px;
	}

	.t7-cat-list .t7-topics-row__title {
		font-size: 16px;
	}

	.t7-cat-list .t7-topics-row__excerpt {
		font-size: 14px;
		-webkit-line-clamp: 2;
	}

	.t7-pagination {
		gap: 4px;
	}

	.t7-pagination__number {
		min-width: 32px;
		height: 32px;
		font-size: 13px;
		padding: 0 4px;
	}

	.t7-pagination__arrow {
		width: 32px;
		height: 32px;
	}

	.t7-pagination__arrow svg {
		width: 16px;
		height: 16px;
	}

	.t7-pagination__ellipsis {
		min-width: 24px;
	}

	/* Search page */
	.t7-search-hero__title {
		font-size: 24px;
	}

	.t7-search-hero {
		padding: 24px 0 0;
	}

	/* Single post */
	.t7-single-hero__title {
		font-size: 22px;
	}

	.t7-share-btn {
		width: 36px;
		height: 36px;
	}

	.t7-single-content__container h2 {
		font-size: 20px;
	}

	.t7-single-content__container p {
		font-size: 15px;
	}

	.t7-single-author-section__container {
		max-width: 100%;
		padding: 32px 16px;
	}

	.t7-single-author__name {
		font-size: 32px;
	}

	.t7-related-card {
		min-width: 280px;
		flex: 0 0 280px;
	}

	.t7-related-card__title {
		font-size: 20px;
	}

	.t7-related-card__excerpt {
		font-size: 14px;
	}

	/* Contact page */
	.t7-contact__title {
		font-size: 24px;
	}

	.t7-contact__submit {
		font-size: 18px;
	}

	/* Default page */
	.t7-page__title {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.t7-page__content h2 {
		font-size: 18px;
	}

	.t7-page__content h3 {
		font-size: 17px;
	}

	.t7-page__content p {
		font-size: 15px;
	}

	.t7-page__content ol > li > strong,
	.t7-page__content ol > li > b {
		font-size: 18px;
	}

	.t7-page__content ul li {
		font-size: 15px;
	}

	.t7-page {
		padding: 24px 0 40px;
	}
}
