/*
Theme Name: Gottino News
Theme URI: https://gottinonews.com/
Author: Gottino News
Author URI: https://gottinonews.com/
Description: Gottino News e um tema editorial para publicacao de noticias, reportagens e conteudo multimidia, com layouts flexiveis para paginas iniciais, arquivos e artigos.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
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: gottinonews
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

* {
	box-sizing: border-box;
}

br {
	display: none !important;
}

body {
	font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.179), 1.125rem);
	letter-spacing: 0;
}

.wp-site-blocks {
	overflow-x: hidden;
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* ==========================================================================
   Gottino News Design System & Theme Colors
   ========================================================================== */
:root {
	--gn-primary: #ff724c;
	--gn-primary-dark: #e36644;
	--gn-primary-light: #fff2ee;
	--gn-primary-gradient: linear-gradient(135deg, #ff724c 0%, #ff5226 100%);
	--gn-insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	--gn-dark: #111827;
	--gn-gray-900: #111827;
	--gn-gray-700: #374151;
	--gn-gray-500: #6b7280;
	--gn-gray-400: #9ca3af;
	--gn-gray-200: #e5e7eb;
	--gn-gray-100: #f3f4f6;
	--gn-gray-50: #f9fafb;
	--gn-white: #ffffff;
	--gn-radius-sm: 8px;
	--gn-radius-md: 14px;
	--gn-radius-lg: 20px;
	--gn-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
	--gn-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
	--gn-shadow-lg: 0 16px 36px rgba(255, 114, 76, 0.16);
}

/* Site Title & Header Accents */
.wp-block-site-title a {
	color: var(--gn-dark);
	text-decoration: none !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}

.wp-block-site-title a:hover {
	color: var(--gn-primary);
}

.wp-block-navigation .wp-block-navigation-item__content {
	font-weight: 600;
	transition: color 0.2s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--gn-primary);
}

.gottinonews-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: var(--gn-primary-gradient);
	box-shadow: 0 4px 12px rgba(17, 24, 39, 0.16);
}

.gottinonews-site-header__inner {
	width: calc(100% - 2rem);
	max-width: 1280px;
	margin-inline: auto !important;
	padding-block: 0.75rem;
}

.gottinonews-site-header .wp-block-site-title a,
.gottinonews-site-header .wp-block-navigation-item__content,
.gottinonews-site-header .wp-block-navigation__responsive-container-open {
	color: var(--gn-white);
}

.gottinonews-site-header .wp-block-site-title a:hover,
.gottinonews-site-header .wp-block-navigation-item__content:hover {
	color: var(--gn-dark);
}

body.admin-bar .gottinonews-site-header {
	top: 32px;
}

/* ==========================================================================
   Gottino News Official Hero Profile
   ========================================================================== */
.gottinonews-hero-profile {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3rem 1rem 2rem;
	width: 100%;
	display: none;
}

.gottinonews-hero-profile__container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1280px;
}

.gottinonews-hero-profile__avatar-container {
	width: min(440px, 85vw);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(255, 114, 76, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
	border: 5px solid #fff;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
	background: #ff724c;
}

.gottinonews-hero-profile__avatar-container:hover {
	transform: scale(1.02);
	box-shadow: 0 20px 50px rgba(255, 114, 76, 0.32), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gottinonews-hero-profile__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Gottino News Instagram Feed Section
   ========================================================================== */
.gottinonews-instagram-feed {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	margin-block: var(--wp--preset--spacing--40);
	position: relative;
}

/* Header */
.gottinonews-instagram-feed__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--gn-gray-200);
	gap: 1.5rem;
	flex-wrap: wrap;
}

.gottinonews-instagram-feed__header-profile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.gottinonews-instagram-feed__profile-link {
	color: inherit;
	text-decoration: none;
}

.gottinonews-instagram-feed__profile-link:focus-visible,
.gottinonews-instagram-feed__avatar-wrap:focus-visible {
	outline: 3px solid var(--gn-white);
	outline-offset: 3px;
}

.gottinonews-instagram-feed__avatar-wrap {
	position: relative;
	width: 90px;
	height: 90px;
	padding: 3px;
	border-radius: 50%;
	/* background-color: #fff; */
	/* box-shadow: 0 4px 12px rgb(255 255 255); */
	flex-shrink: 0;
	box-sizing: border-box;
	border: 2px solid #fff;
}

.gottinonews-instagram-feed__header br,
.gottinonews-instagram-feed__avatar-wrap br,
.gottinonews-instagram-feed__profile-link br,
.gottinonews-instagram-feed__profile-btn br {
	display: none !important;
}

.gottinonews-instagram-feed__header p {
	margin: 0;
	display: none !important;
}

.gottinonews-instagram-feed__header p:empty {
	display: none !important;
}

.gottinonews-instagram-feed__avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #fff;
}

.gottinonews-instagram-modal__avatar-wrap {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid var(--gn-primary-light);
}

.gottinonews-instagram-modal__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gottinonews-instagram-feed__badge {
	display: inline-block;
	background-color: var(--gn-primary-light);
	color: var(--gn-primary);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.2rem 0.65rem;
	border-radius: 9999px;
	margin-bottom: 0.25rem;
}

.gottinonews-instagram-feed__title {
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 800;
	margin: 0;
	color: var(--gn-white);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
	line-height: 1.2;
}

.gottinonews-instagram-feed__verified {
	flex-shrink: 0;
	display: none;
}

.gottinonews-instagram-feed__profile-btn {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	color: var(--gn-primary);
	border: 1.5px solid var(--gn-primary);
	padding: 0.6rem 1.25rem;
	font-size: 0.88rem;
	font-weight: 700;
	border-radius: 9999px;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: var(--gn-shadow-sm);
}

.gottinonews-instagram-feed__profile-btn:hover {
	background: var(--gn-primary);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 114, 76, 0.3);
}

.gottinonews-instagram-feed__profile-btn svg {
	transition: transform 0.2s ease;
}

.gottinonews-instagram-feed__profile-btn:hover svg {
	transform: translateX(3px);
}

/* ==========================================================================
   Feed Grid & Cards
   ========================================================================== */
.gottinonews-instagram-feed__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	margin-top: 1.5rem;
}

@media (min-width: 1280px) {
	.gottinonews-instagram-feed__grid {
		grid-template-columns: repeat(var(--gn-feed-cols, 4), minmax(0, 1fr));
		gap: 0.85rem;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.gottinonews-instagram-feed__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (max-width: 767px) {
	.gottinonews-instagram-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.75rem;
	}
}

.gottinonews-instagram-feed__item {
	background: #fff;
	border-radius: var(--gn-radius-sm);
	overflow: hidden;
	border: 1px solid var(--gn-gray-200);
	box-shadow: var(--gn-shadow-sm);
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	position: relative;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gottinonews-instagram-feed__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(255, 114, 76, 0.16), 0 3px 8px rgba(0, 0, 0, 0.05);
	border-color: rgba(255, 114, 76, 0.4);
}

.gottinonews-instagram-feed__item--fade-in {
	animation: gnFadeIn 0.4s ease forwards;
}

@keyframes gnFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Card Image Wrap */
.gottinonews-instagram-feed__img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--gn-gray-100);
}

.gottinonews-instagram-feed__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gottinonews-instagram-feed__item:hover .gottinonews-instagram-feed__img-wrap img {
	transform: scale(1.08);
}

/* Video Badge */
.gottinonews-instagram-feed__video-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: rgba(17, 24, 39, 0.75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	padding: 0.25rem 0.5rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Overlay */
.gottinonews-instagram-feed__hover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.45);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 3;
}

.gottinonews-instagram-feed__hover-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transform: scale(0.85);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.gottinonews-instagram-feed__item:hover .gottinonews-instagram-feed__hover-overlay,
.gottinonews-instagram-feed__item:focus-visible .gottinonews-instagram-feed__hover-overlay {
	opacity: 1;
}

.gottinonews-instagram-feed__item:hover .gottinonews-instagram-feed__hover-icon {
	transform: scale(1);
}

/* Card Body & Caption */
.gottinonews-instagram-feed__card-body {
	padding: 0.75rem 0.85rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	background: #fff;
}

.gottinonews-instagram-feed__card-date {
	font-size: 0.7rem;
	color: var(--gn-gray-400);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 0.35rem;
}

.gottinonews-instagram-feed__caption {
	font-size: 1rem;
	line-height: 1.4;
	color: var(--gn-gray-700);
	margin: 0 0 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.gottinonews-instagram-feed__card-action {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--gn-primary);
	display: inline-flex;
	align-items: center;
	gap: 3px;
	transition: all 0.2s ease;
	margin-top: auto;
}

.gottinonews-instagram-feed__item:hover .gottinonews-instagram-feed__card-action {
	color: var(--gn-primary-dark);
	transform: translateX(3px);
}

/* ==========================================================================
   Load More Action
   ========================================================================== */
.gottinonews-instagram-feed__actions {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.gottinonews-instagram-feed__load-more {
	background: var(--gn-primary-gradient);
	color: #fff;
	border: none;
	padding: 0.85rem 2.25rem;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 6px 20px rgba(255, 114, 76, 0.35);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gottinonews-instagram-feed__load-more:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(255, 114, 76, 0.45);
	filter: brightness(1.05);
}

.gottinonews-instagram-feed__load-more:active {
	transform: translateY(0);
}

.gottinonews-instagram-feed__notice {
	border-radius: var(--gn-radius-sm);
	background: var(--gn-gray-50);
	border: 1px solid var(--gn-gray-200);
	padding: 1.5rem;
	text-align: center;
	color: var(--gn-gray-700);
}

/* ==========================================================================
   Instagram Modal / Lightbox Styles
   ========================================================================== */
.gottinonews-instagram-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

.gottinonews-instagram-modal.gottinonews-instagram-modal--active {
	display: flex;
	animation: gnModalFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gnModalFade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.gottinonews-instagram-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.gottinonews-instagram-modal__dialog {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 960px;
	max-height: 80vh;
	background: #fff;
	border-radius: var(--gn-radius-sm);
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.gottinonews-instagram-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 30;
	background: rgba(17, 24, 39, 0.6);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	backdrop-filter: blur(4px);
}

.gottinonews-instagram-modal__close:hover {
	background: var(--gn-primary);
	transform: scale(1.1);
}

.gottinonews-instagram-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	background: rgba(255, 255, 255, 0.9);
	color: var(--gn-dark);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(4px);
}

.gottinonews-instagram-modal__nav:hover {
	background: #fff;
	color: var(--gn-primary);
	transform: translateY(-50%) scale(1.12);
}

.gottinonews-instagram-modal__nav--prev {
	left: 14px;
}

.gottinonews-instagram-modal__nav--next {
	right: 14px;
}

.gottinonews-instagram-modal__body {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	height: 100%;
	max-height: 80vh;
	min-height: 0;
	overflow-y: auto;
}

.gottinonews-instagram-modal__media-container {
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.gottinonews-instagram-modal__media-wrap {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gottinonews-instagram-modal__img,
.gottinonews-instagram-modal__video {
	max-width: 100%;
	max-height: 80vh;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.gottinonews-instagram-modal__info {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--gn-dark);
	height: 80vh;
	overflow: hidden;
}

.gottinonews-instagram-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 1.35rem;
	border-bottom: 1px solid var(--gn-gray-200);
}

.gottinonews-instagram-modal__user-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.gottinonews-instagram-modal__avatar-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gn-primary-light);
	color: var(--gn-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gottinonews-instagram-modal__username {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gn-dark);
}

.gottinonews-instagram-modal__date {
	font-size: 0.75rem;
	color: var(--gn-gray-400);
	display: block;
	margin-top: 2px;
}

.gottinonews-instagram-modal__btn-follow {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--gn-primary);
	text-decoration: none !important;
	padding: 0.35rem 0.85rem;
	border-radius: 9999px;
	background: var(--gn-primary-light);
	transition: all 0.2s ease;
}

.gottinonews-instagram-modal__btn-follow:hover {
	background: var(--gn-primary);
	color: #fff;
}

.gottinonews-instagram-modal__caption-scroll {
	padding: 1.35rem;
	overflow-y: auto;
	flex: 1;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--gn-gray-700);
}

.cif-hashtag,
.cif-mention {
	color: var(--gn-primary);
	font-weight: 600;
}

.gottinonews-instagram-modal__footer {
	padding: 1.15rem 1.35rem;
	border-top: 1px solid var(--gn-gray-200);
	background: var(--gn-gray-50);
}

.gottinonews-instagram-modal__btn-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.75rem 1.25rem;
	background: var(--gn-primary-gradient);
	color: #fff;
	text-decoration: none !important;
	border-radius: var(--gn-radius-sm);
	font-size: 0.92rem;
	font-weight: 700;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(255, 114, 76, 0.25);
	box-sizing: border-box;
}

.gottinonews-instagram-modal__btn-link:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 114, 76, 0.35);
}

/* ==========================================================================
   Official Gottino News Footer (gottinonews.com.br Style)
   ========================================================================== */
.gottinonews-footer-bar {
	background: var(--gn-primary-gradient);
	width: 100%;
	padding: 1rem 0;
	color: #fff;
	font-family: 'Open Sans', var(--wp--preset--font-family--manrope, sans-serif);
}

.gottinonews-footer-bar__container {
	width: 100%;
	max-width: 1280px;
	padding: 0 1.25rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	gap: 1rem;
}

.gottinonews-footer-bar__copy {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	white-space: nowrap;
}

.gottinonews-footer-bar__social {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.gottinonews-footer-bar__social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	border: 0 solid #fff;
	/* box-shadow: 0 0 0 2px #e36644; */
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	text-decoration: none;
}

.gottinonews-footer-bar__social a:hover {
	transform: translateY(-3px) scale(1.08);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 2px #fff;
}

.gottinonews-footer-bar__social a.social--instagram {
	background: var(--gn-insta-gradient);
}

.gottinonews-footer-bar__social a.social--facebook {
	background-color: #38529a;
}

.gottinonews-footer-bar__social a.social--x {
	background-color: #000000;
}

.gottinonews-footer-bar__social a.social--youtube {
	background-color: #ff0000;
}

.gottinonews-footer-bar__social a.social--whatsapp {
	background-color: #15ac4d;
}

.gottinonews-footer-bar__credit {
	margin: 0;
	font-size: 1rem;
	white-space: nowrap;
}

.gottinonews-footer-bar__credit a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

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

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 900px) {
	.gottinonews-instagram-modal__dialog {
		height: 88vh;
		height: 88dvh;
	}

	.gottinonews-instagram-modal__body {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		height: 100%;
		min-height: 0;
		max-height: none;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.gottinonews-instagram-modal__media-container {
		flex: 0 0 min(42vh, 360px);
		min-height: 0;
	}

	.gottinonews-instagram-modal__info {
		flex: 0 0 auto;
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.gottinonews-instagram-modal__caption-scroll {
		max-height: none;
		flex: none;
		overflow: visible;
	}

	.gottinonews-instagram-modal__nav {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.gottinonews-instagram-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1rem;
	}

	.gottinonews-instagram-modal {
		padding: 0.75rem;
	}

	.gottinonews-footer-bar__container {
		flex-direction: column;
		text-align: center;
		padding: 1rem;
	}

	.gottinonews-footer-bar__copy,
	.gottinonews-footer-bar__credit {
		white-space: normal;
	}
}

@media (max-width: 480px) {
	.gottinonews-instagram-feed__grid {
		grid-template-columns: 1fr !important;
	}

	.gottinonews-instagram-modal {
		padding: 0.5rem;
	}

	.gottinonews-instagram-modal__dialog {
		height: calc(100vh - 1rem);
		height: calc(100dvh - 1rem);
		max-height: calc(100vh - 1rem);
		max-height: calc(100dvh - 1rem);
	}

	.gottinonews-instagram-modal__media-container {
		flex-basis: min(38vh, 320px);
	}

	.gottinonews-instagram-modal__header,
	.gottinonews-instagram-modal__caption-scroll,
	.gottinonews-instagram-modal__footer {
		padding: 1rem;
	}

	.gottinonews-instagram-modal__caption-scroll {
		max-height: none;
	}

	.gottinonews-instagram-feed__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.gottinonews-instagram-feed__profile-btn {
		width: 100%;
		justify-content: center;
		display: none !important;
	}
}

/* ==========================================================================
   Ocultar cabeçalho genérico e título "Home Page"
   ========================================================================== */
header.wp-block-template-part,
.wp-block-template-part[data-area="header"],
.page-title {
	display: none !important;
}

/* ==========================================================================
   Single post and related news
   ========================================================================== */
.gottinonews-single-post {
	padding-top: clamp(2rem, 5vw, 4.5rem);
}

.gottinonews-single-post__header {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.gottinonews-single-post__category {
	margin-bottom: 1rem;
	color: var(--gn-primary-dark);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gottinonews-single-post .wp-block-post-title {
	display: block !important;
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.gottinonews-single-post__excerpt {
	margin-top: 0;
	color: var(--gn-gray-700);
	font-size: clamp(1.125rem, 2vw, 1.4rem);
	line-height: 1.5;
}

.gottinonews-single-post__meta {
	margin-top: 1.25rem;
	color: var(--gn-gray-500);
	font-size: 0.9rem;
}

.gottinonews-single-post>.wp-block-post-featured-image {
	margin-top: 0;
	margin-bottom: clamp(2rem, 5vw, 4rem);
	overflow: hidden;
	border-radius: var(--gn-radius-md);
}

.gottinonews-single-post>.wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.gottinonews-single-post__content {
	margin-bottom: clamp(2rem, 5vw, 4rem);
	font-size: 1.125rem;
	line-height: 1.8;
}

.gottinonews-single-post__content>.wp-block-post-content>* {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.gottinonews-related-posts {
	margin-top: clamp(3rem, 7vw, 6rem);
	margin-bottom: clamp(3rem, 7vw, 6rem);
}

.gottinonews-related-posts>h2 {
	margin-bottom: 1.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.gottinonews-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.gottinonews-related-posts__item {
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--gn-gray-200);
	border-radius: var(--gn-radius-md);
	background: var(--gn-white);
	box-shadow: var(--gn-shadow-sm);
}

.gottinonews-related-posts__link {
	color: var(--gn-dark);
	text-decoration: none !important;
}

.gottinonews-related-posts__link:hover {
	color: var(--gn-primary-dark);
}

.gottinonews-related-posts__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 1rem;
	border-radius: var(--gn-radius-sm);
	object-fit: cover;
}

.gottinonews-related-posts__item h3 {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
}

.gottinonews-related-posts__item p {
	margin: 0.75rem 0;
	color: var(--gn-gray-700);
	font-size: 0.95rem;
	line-height: 1.5;
}

.gottinonews-related-posts__item time {
	color: var(--gn-gray-500);
	font-size: 0.8rem;
}

.gottinonews-instagram-feed__detail-link {
	position: absolute;
	z-index: 4;
	inset: 0;
	border-radius: inherit;
}

.gottinonews-instagram-feed__detail-link:focus-visible {
	outline: 3px solid var(--gn-primary);
	outline-offset: -3px;
}

.gottinonews-instagram-blog-heading {
	margin-block: clamp(2rem, 5vw, 3rem) 1.5rem;
}

.gottinonews-instagram-blog-heading p {
	margin: 0 0 0.5rem;
	color: var(--gn-primary-dark);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gottinonews-instagram-blog-heading h1 {
	margin: 0;
	color: var(--gn-dark);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
}

.gottinonews-instagram-blog-ad {
	width: 100%;
	max-width: 1035px;
	min-height: 200px;
	margin: 0 auto clamp(2rem, 4vw, 2.5rem);
}

.gottinonews-instagram-blog-page .gottinonews-instagram-feed {
	max-width: 1100px;
	margin: 0 auto;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-auto-rows: minmax(185px, auto);
	gap: 0.5rem;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	align-items: stretch;
	min-height: 185px;
	border-radius: 8px;
	box-shadow: 0 1px 5px rgba(17, 24, 39, 0.08);
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
	grid-column: 1;
	grid-row: span 2;
	display: block;
	min-height: 380px;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__img-wrap {
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap {
	position: absolute;
	inset: 0;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap::after {
	position: absolute;
	inset: 35% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
	content: "";
	pointer-events: none;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-body {
	justify-content: center;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 1rem;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-body {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem 1.25rem;
	background: transparent;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-date,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-action {
	color: #fff;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption {
	font-size: clamp(1.15rem, 2vw, 1rem);
	font-weight: 800;
	line-height: 1.25;
	-webkit-line-clamp: 3;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-date {
	margin-bottom: 0;
	font-size: 0.72rem;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__caption {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: clamp(0.9rem, 1.7vw, 1rem);
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-action {
	margin-top: 0;
	font-size: 0.75rem;
}

.gottinonews-instagram-detail {
	margin-block: clamp(2rem, 5vw, 2rem);
}

.gottinonews-instagram-detail__back {
	display: inline-block;
	margin-bottom: 1.5rem;
	color: var(--gn-primary-dark);
	font-weight: 700;
	text-decoration: none !important;
}

.gottinonews-instagram-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
	overflow: hidden;
	border: 1px solid var(--gn-gray-200);
	border-radius: var(--gn-radius-sm);
	background: var(--gn-white);
	box-shadow: var(--gn-shadow-md);
}

.gottinonews-instagram-detail__media {
	display: flex;
	min-height: 360px;
	align-items: center;
	justify-content: center;
	background: var(--gn-dark);
}

.gottinonews-instagram-detail__media img,
.gottinonews-instagram-detail__media video {
	display: block;
	width: 100%;
	max-height: 75vh;
	object-fit: contain;
}

.gottinonews-instagram-detail__info {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.gottinonews-instagram-detail__username {
	margin: 0 0 0.4rem;
	color: var(--gn-dark);
	font-size: 1.1rem;
	font-weight: 800;
}

.gottinonews-instagram-detail__info time,
.gottinonews-instagram-latest__item time {
	color: var(--gn-gray-500);
	font-size: 0.85rem;
}

.gottinonews-instagram-detail__caption {
	margin-block: 1.5rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.gottinonews-instagram-detail__external {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	background: var(--gn-primary-gradient);
	color: var(--gn-white);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none !important;
}

.gottinonews-instagram-latest {
	margin-block: clamp(3rem, 7vw, 2rem);
}

.gottinonews-instagram-latest>h2 {
	margin-bottom: 1.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.gottinonews-instagram-latest__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.gottinonews-instagram-latest__item {
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid var(--gn-gray-200);
	border-radius: var(--gn-radius-md);
	background: var(--gn-white);
	box-shadow: var(--gn-shadow-sm);
}

.gottinonews-instagram-latest__item a {
	color: var(--gn-dark);
	font-weight: 700;
	text-decoration: none !important;
}

.gottinonews-instagram-latest__item a:hover {
	color: var(--gn-primary-dark);
}

.gottinonews-instagram-latest__item img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 0.75rem;
	border-radius: var(--gn-radius-sm);
	object-fit: cover;
}

.gottinonews-instagram-latest__item span {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.gottinonews-instagram-latest__item time {
	display: block;
	margin-top: 0.5rem;
}

@media (max-width: 768px) {
	.gottinonews-related-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.gottinonews-instagram-detail__layout {
		grid-template-columns: 1fr;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item {
		min-height: 185px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		min-height: 320px;
	}

	.gottinonews-instagram-latest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.gottinonews-instagram-blog-ad {
		min-height: 120px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
		grid-template-columns: 1fr !important;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		grid-column: auto;
		grid-row: auto;
		min-height: 300px;
	}
}

@media (max-width: 520px) {
	.gottinonews-related-posts__grid {
		grid-template-columns: 1fr;
	}

	.gottinonews-instagram-detail__media {
		min-height: 240px;
	}

	.gottinonews-instagram-blog-ad {
		min-height: 90px;
		margin-bottom: 1.5rem;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item {
		grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
		min-height: 0;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		grid-column: auto;
		grid-row: auto;
		min-height: 240px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__img-wrap {
		min-height: 0;
		aspect-ratio: auto;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-body {
		padding: 1rem;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap {
		position: absolute;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-body {
		position: absolute;
		padding: 1rem;
	}
}

/* Instagram blog page layout */
.gottinonews-blog-header {
	position: relative;
	z-index: 10;
	background: #0c2e63;
	color: #fff;
}

.gottinonews-blog-header__inner {
	display: grid !important;
	width: min(100% - 2rem, 1035px);
	min-height: 76px;
	margin-inline: auto !important;
	padding-block: 0.5rem;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.gottinonews-blog-header__navigation {
	justify-self: start;
	color: #fff;
}

.gottinonews-blog-header__navigation .wp-block-navigation__responsive-container-open {
	padding: 0.45rem 0.75rem;
	border-radius: 6px;
	background: #fff;
	color: #0c2e63;
	font-size: 0.8rem;
	font-weight: 800;
}

.gottinonews-blog-header__navigation .wp-block-navigation__responsive-container-open::after {
	content: " MENU";
}

.gottinonews-blog-header__brand {
	justify-self: center;
	margin: 0;
	color: #fff;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.gottinonews-blog-header__brand a,
.gottinonews-blog-header__brand a:hover {
	color: inherit;
}

.gottinonews-blog-header__search {
	justify-self: end;
	margin: 0;
}

.gottinonews-blog-header__search .wp-block-search__button {
	padding: 0.5rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
}

.gottinonews-blog-header__search .wp-block-search__button svg {
	fill: currentColor;
}

.gottinonews-blog-ticker {
	overflow: hidden;
	background: #ffca05;
	color: #0c2e63;
}

.gottinonews-blog-ticker__inner {
	display: flex !important;
	width: min(100% - 2rem, 1035px);
	min-height: 30px;
	margin-inline: auto !important;
	gap: 1rem;
}

.gottinonews-blog-ticker__label {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gottinonews-blog-ticker__query {
	min-width: 0;
	overflow: hidden;
}

.gottinonews-blog-ticker__items {
	display: flex !important;
	width: max-content;
	margin: 0;
	padding: 0;
	gap: 1.5rem;
	list-style: none;
}

.gottinonews-blog-ticker__item {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 800;
}

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

.gottinonews-instagram-blog-page {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 14px max(1rem, calc((100% - 1100px) / 2)) 4rem;
	background: #f1f3f5;
}

.gottinonews-instagram-blog-heading {
	display: none;
}

.gottinonews-instagram-blog-ad {
	max-width: 1035px;
	min-height: 200px;
	margin-bottom: 36px;
}

.gottinonews-instagram-feed__header {
	position: sticky;
	top: 0;
	margin: 0;
	padding: 0.75rem 0;
	box-sizing: border-box;
	border-bottom: 1px solid var(--gn-gray-200);
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	z-index: 99;
}

.gottinonews-instagram-feed__header:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gn-primary-gradient);
	height: 100%;
	width: 100vw;
	z-index: -1;
}

.gottinonews-instagram-feed__badge {
	display: inline-block;
	color: var(--gn-primary-dark);
	background: var(--gn-white);
}

.gottinonews-instagram-feed__avatar-wrap {
	width: 72px;
	height: 72px;
}

.gottinonews-instagram-feed__title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	color: var(--gn-white);
}

.gottinonews-instagram-feed__profile-btn {
	border-color: var(--gn-white);
	background: var(--gn-white);
	color: var(--gn-primary-dark);
}

.gottinonews-instagram-feed__profile-btn:hover {
	background: var(--gn-primary);
	color: var(--gn-white);
}

.gottinonews-instagram-blog-page .gottinonews-instagram-feed {
	max-width: 1035px;
	margin: 0 auto;
}

.gottinonews-instagram-feed--blog {
	margin-block: 0;
}

@media (max-width: 768px) {
	.gottinonews-instagram-feed {
		margin-block: 0;
	}

	.gottinonews-instagram-feed__header {
		margin: 0;
	}
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.08fr);
	grid-auto-rows: minmax(185px, auto);
	gap: 6px;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item {
	min-height: 185px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
	grid-column: 1;
	grid-row: span 2;
	display: block;
	min-height: 380px;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__img-wrap {
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:not(:first-child) .gottinonews-instagram-feed__card-body {
	justify-content: flex-start;
	gap: 0.35rem;
	padding: 0.7rem 0.85rem;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:not(:first-child) .gottinonews-instagram-feed__caption {
	display: -webkit-box;
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	font-weight: 400;
	line-height: 1.4;
	-webkit-line-clamp: 3;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-date {
	color: #0c2e63;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap {
	position: absolute;
	inset: 0;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap::after {
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	content: "";
	pointer-events: none;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-body {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem;
	background: transparent;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-date,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-action {
	color: #fff;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption {
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	font-weight: 800;
	line-height: 1.25;
	-webkit-line-clamp: 3;
}

.gottinonews-blog-newsletter {
	padding: 1.75rem 1rem 2rem;
	background: #e7e7e7;
	color: #26364a;
}

.gottinonews-blog-newsletter__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 600;
}

.gottinonews-blog-newsletter__form {
	max-width: 810px;
	margin: 0 auto;
}

.gottinonews-blog-newsletter__form-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
}

.gottinonews-blog-newsletter__form-row input {
	width: 100%;
	min-height: 50px;
	padding: 0.65rem 0.8rem;
	border: 1px solid #aeb4bc;
	border-radius: 6px;
	background: #fff;
	opacity: 1;
}

.gottinonews-blog-newsletter__form-row button {
	min-width: 185px;
	padding: 0.65rem 1.5rem;
	border: 0;
	border-radius: 8px;
	background: #0c2e63;
	color: #fff;
	-webkit-text-fill-color: #fff;
	font-weight: 800;
	opacity: 1;
	cursor: not-allowed;
}

.gottinonews-blog-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 1rem;
	color: #252a31;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.5;
}

.gottinonews-blog-newsletter__consent input {
	flex: 0 0 auto;
	margin-top: 0.2rem;
}

.gottinonews-blog-footer {
	padding: 2rem max(1rem, calc((100% - 1035px) / 2)) 1rem;
	background: #0c2e63;
	color: #fff;
}

.gottinonews-blog-footer__columns {
	gap: clamp(1.5rem, 4vw, 4rem);
}

.gottinonews-blog-footer h3 {
	margin: 0 0 0.6rem;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gottinonews-blog-footer__brand a,
.gottinonews-blog-footer a {
	color: #fff;
}

.gottinonews-blog-footer__brand {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gottinonews-blog-footer__social {
	margin: 0;
	gap: 0.6rem;
}

.gottinonews-blog-footer__social .wp-social-link {
	padding: 0.35rem;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
}

.gottinonews-blog-footer__links {
	color: #fff;
}

.gottinonews-blog-footer__links .wp-block-navigation__container {
	align-items: flex-start;
	gap: 0.35rem;
}

.gottinonews-blog-footer__links .wp-block-navigation-item__content {
	color: #fff;
	font-size: 0.9rem;
	font-weight: 400;
}

.gottinonews-blog-footer__copyright {
	margin: 1.5rem 0 0;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.75rem;
}

@media (max-width: 768px) {
	body.admin-bar .gottinonews-site-header {
		top: 46px;
	}

	.gottinonews-instagram-blog-page {
		padding-inline: 1rem;
	}

	.gottinonews-instagram-blog-ad {
		min-height: 120px;
	}

	.gottinonews-blog-footer__columns {
		flex-wrap: wrap;
	}

	.gottinonews-blog-footer__columns>.wp-block-column {
		flex-basis: calc(50% - 1rem) !important;
	}

	.gottinonews-blog-newsletter__form-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.gottinonews-blog-newsletter__form-row button {
		min-height: 48px;
	}
}

@media (max-width: 767px) {
	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
		grid-template-columns: 1fr !important;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		grid-column: auto;
		grid-row: auto;
		min-height: 300px;
	}
}

@media (max-width: 520px) {
	.gottinonews-blog-header__inner {
		width: calc(100% - 1.5rem);
		min-height: 64px;
		grid-template-columns: auto 1fr auto;
		gap: 0.5rem;
	}

	.gottinonews-blog-header__brand {
		font-size: 1.1rem;
	}

	.gottinonews-blog-ticker__label {
		font-size: 0.7rem;
	}

	.gottinonews-blog-ticker__item {
		font-size: 0.7rem;
	}

	.gottinonews-instagram-blog-ad {
		min-height: 90px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item {
		grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
		min-height: 150px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		display: block;
		min-height: 240px;
	}

	.gottinonews-blog-footer__columns>.wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Instagram blog ad slots, featured card, and latest-post carousel */
.gottinonews-instagram-ad {
	width: 100%;
	min-height: 200px;
	margin: clamp(1.5rem, 3vw, 2.5rem) auto;
	margin-bottom: 0;
	background-color: #aeb4bc;
	display: none;
}

.gottinonews-instagram-detail+.gottinonews-instagram-ad {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap {
	position: relative;
	inset: auto;
	height: 100%;
	min-height: 0;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap::after {
	display: none;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-body {
	position: static;
	z-index: auto;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(0.85rem, 2vw, 1.5rem);
	background: #fff;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption {
	color: var(--gn-dark);
	font-size: clamp(0.95rem, 1.5vw, 1.25rem);
	line-height: 1.4;
	-webkit-line-clamp: 5;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-date,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-action {
	color: var(--gn-primary-dark);
}

.gottinonews-instagram-latest {
	margin-block: clamp(2rem, 4vw, 2rem);
}

.gottinonews-instagram-latest__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.gottinonews-instagram-latest>.gottinonews-instagram-latest__header>h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.gottinonews-instagram-latest>.gottinonews-instagram-latest__header p {
	display: none !important;
}

.gottinonews-instagram-latest__controls {
	display: flex;
	gap: 0.5rem;
}

.gottinonews-instagram-latest__control {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gn-gray-200);
	border-radius: 50%;
	background: #fff;
	color: var(--gn-dark);
	font-size: 1.25rem;
	cursor: pointer;
}

.gottinonews-instagram-latest__control:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.gottinonews-instagram-latest__control[hidden] {
	display: none;
}

.gottinonews-instagram-latest__grid {
	display: flex;
	overflow-x: auto;
	gap: 1rem;
	padding: 0 0 0.75rem;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.gottinonews-instagram-latest__item {
	display: flex;
	flex: 0 0 calc((100% - 3rem) / 4);
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	scroll-snap-align: start;
}

.gottinonews-instagram-latest__item>a {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	color: var(--gn-dark);
	text-decoration: none !important;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	-webkit-box-orient: initial;
	-webkit-line-clamp: initial;
	background: var(--gn-gray-100);
}

.gottinonews-instagram-latest__image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__video-badge {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.75);
	color: #fff;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__content {
	display: flex !important;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.35rem;
	padding: 0.75rem 0.85rem;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__content time {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--gn-gray-400);
	font-size: 0.7rem;
	font-weight: 500;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__caption {
	display: -webkit-box !important;
	overflow: hidden;
	color: var(--gn-gray-700);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gottinonews-instagram-latest__item .gottinonews-instagram-latest__action {
	display: inline-flex !important;
	align-items: center;
	gap: 0.25rem;
	margin-top: auto;
	padding-top: 0.5rem;
	color: var(--gn-primary);
	font-size: 0.75rem;
	font-weight: 700;
}

@media (max-width: 768px) {
	.gottinonews-instagram-ad {
		min-height: 120px;
	}

	.gottinonews-instagram-latest__item {
		flex-basis: calc((100% - 1rem) / 2);
	}
}

@media (max-width: 520px) {
	.gottinonews-instagram-ad {
		min-height: 90px;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: 240px;
	}

	.gottinonews-instagram-latest__item {
		flex-basis: min(72vw, 280px);
	}

	.gottinonews-instagram-latest__item .gottinonews-instagram-latest__image {
		aspect-ratio: 1 / 1;
	}
}

/* Match the Instagram feed card grid only on the Blog template. */
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child {
	display: flex;
	min-height: 0;
	flex-direction: column;
	grid-column: auto;
	grid-row: auto;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__img-wrap,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap {
	position: relative;
	inset: auto;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 1 / 1;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__img-wrap::after {
	display: none;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-body,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-body {
	position: static;
	z-index: auto;
	display: flex;
	flex: 1;
	align-items: stretch;
	justify-content: space-between;
	padding: 0.75rem 0.85rem;
	background: #fff;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__caption,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__caption {
	display: -webkit-box;
	margin: 0 0 0.5rem;
	overflow: hidden;
	color: var(--gn-gray-700);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-date,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-date {
	margin-bottom: 0.35rem;
	color: var(--gn-gray-400);
	font-size: 0.7rem;
	font-weight: 500;
}

.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__card-action,
.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__item:first-child .gottinonews-instagram-feed__card-action {
	margin-top: auto;
	color: var(--gn-primary);
	font-size: 0.75rem;
	font-weight: 700;
}

@media (max-width: 767px) {
	main.has-global-padding {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 479px) {
	.gottinonews-instagram-feed--blog .gottinonews-instagram-feed__grid {
		grid-template-columns: 1fr !important;
	}
}