/**
 * IR Notes ACF Flexible Blocks - Exact 1:1 Styles (No Divi Dependencies)
 * Replicates http://irshare.local/ir-notes-es-275/ typography, spacings, and layout
 */

body .irn-page-section,
body .irn-page-section * {
	box-sizing: border-box;
}

body .irn-page-section {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	line-height: 28px !important;
	font-weight: 400;
	color: #000000;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 30px;
	padding-top: 34px;
	padding-right: 10px;
	padding-bottom: 45px;
	padding-left: 10px;
	width: 100%;
	background-color: #ffffff;
}

/* If rendered inside a constrained wrapper row (e.g. max-width 1220px), remove extra left/right padding */
body .et_pb_row .irn-page-section {
	padding-left: 0;
	padding-right: 0;
}

/* ==========================================================================
   Base Typography & Links inside IR Notes
   ========================================================================== */
body .irn-page-section p {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	line-height: 28px !important;
	font-weight: 400;
	color: #000000;
	margin: 0 !important;
	padding-bottom: 1em !important;
}

body .irn-page-section p:last-child {
	padding-bottom: 0 !important;
}

body .irn-page-section a {
	color: #c53940;
	text-decoration: underline;
}

body .irn-page-section ul {
	list-style-type: square !important;
	padding: 0 0 1em 1em !important;
	margin: 0 !important;
	line-height: 26px !important;
}

body .irn-page-section ul li {
	list-style-type: square !important;
	margin-block: 8px !important;
	line-height: 28px !important;
	color: #000000;
}

body .irn-page-section ul li::marker {
	color: #B31C18 !important;
}

.irn-clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* ==========================================================================
   Top Heading Row ("Es noticia" / "In the spotlight")
   ========================================================================== */
body .irn-page-section .irn-top-heading-row {
	width: 100%;
	max-width: 1220px;
	margin-bottom: -16px !important;
	padding: 0 !important;
}

body .irn-page-section .irn-top-heading-col {
	width: 100%;
}

body .irn-page-section h4.irn-top-heading-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	line-height: 1em !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* ==========================================================================
   Main 2-Column Row (Left Main + Right Sidebar)
   ========================================================================== */
body .irn-page-section .irn-main-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: 100%;
	max-width: 1220px;
	column-gap: 0%;
	row-gap: 40px;
	padding: 0;
}

/* Left Column: 79.1667% width, 32px right padding (matches 79.1667% vs 37.5% flex ratio = 67.857% : 32.143%) */
body .irn-page-section .irn-col-main {
	width: 79.1667%;
	padding-right: 32px;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	min-width: 0;
}

/* Right Column: 37.5% width */
body .irn-page-section .irn-col-aside {
	width: 37.5%;
	padding: 0;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	min-width: 0;
}

/* ==========================================================================
   Main Column: Section Containers & Banners
   ========================================================================== */
body .irn-page-section .irn-section-block {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: 100%;
}

body .irn-page-section .irn-section-banner {
	background-color: #ece5db;
	padding: 24px !important;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	column-gap: 20px;
	width: 100%;
}

body .irn-page-section .irn-banner-icon-wrap {
	width: 28px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

body .irn-page-section .irn-banner-icon {
	width: 28px;
	height: auto;
	display: block;
}

body .irn-page-section .irn-banner-title-wrap {
	flex: 1;
	min-width: 0;
}

body .irn-page-section h3.irn-banner-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 32px !important;
	line-height: 100% !important;
	font-weight: 700 !important;
	color: #000000 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   Main Column: 1. Lead Story ("Es noticia")
   ========================================================================== */
body .irn-page-section .irn-lead-story-inner {
	display: flex;
	flex-direction: column;
	row-gap: 24px;
	width: 100%;
}

body .irn-page-section .irn-lead-image-wrap {
	width: 100%;
	line-height: 0;
}

body .irn-page-section .irn-lead-img {
	width: 100%;
	height: auto;
	display: block;
}

body .irn-page-section .irn-lead-text h3 {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 24px !important;
	line-height: 38px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* Sub-feature box inside Lead Story */
body .irn-page-section .irn-sub-feature-box {
	margin-top: 0;
	margin-bottom: 0;
	overflow: hidden;
	clear: both;
}

body .irn-page-section .irn-sub-feature-figure {
	float: left;
	margin: 0 25px 15px 0 !important;
	max-width: 370px;
}

body .irn-page-section .irn-sub-feature-img {
	width: 100%;
	max-width: 370px;
	height: auto;
	border-radius: 4px;
	display: block;
}

body .irn-page-section .irn-sub-feature-caption {
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-style: italic;
	color: #666666;
	margin-top: 6px;
}

body .irn-page-section h3.irn-sub-feature-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 24px !important;
	line-height: 38px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	margin: 0 0 15px 0 !important;
	padding: 0 !important;
}

body .irn-page-section .irn-sub-feature-flag {
	width: 30px;
	height: auto;
	flex-shrink: 0;
	display: inline-block;
}

body .irn-page-section .irn-sub-feature-text,
body .irn-page-section .irn-sub-feature-text p {
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: #333333;
}

/* CTA Button */
body .irn-page-section .irn-btn-wrap {
	text-align: left;
}

body .irn-page-section a.irn-btn {
	background-color: #b11b15 !important;
	color: #ffffff !important;
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 119% !important;
	padding: 16px 40px !important;
	border-radius: 4px !important;
	border: 0 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	transition: background-color 0.2s ease;
}

body .irn-page-section a.irn-btn:hover {
	background-color: #8f1510 !important;
	color: #ffffff !important;
}

body .irn-page-section .irn-btn-arrow {
	display: inline-flex;
	align-items: center;
}

/* Inline Brand Divider Row (at end of Lead Story) */
body .irn-page-section .irn-brand-divider-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	padding: 0;
}

body .irn-page-section .irn-brand-divider-logo-col {
	width: calc(25% - 5.5% * 3 / 4);
	margin-right: 5.5%;
	flex-shrink: 0;
}

body .irn-page-section .irn-divider-logo {
	width: 100%;
	height: auto;
	display: block;
}

body .irn-page-section .irn-brand-divider-line-col {
	flex: 1;
	width: 100%;
	display: flex;
	align-items: center;
}

body .irn-page-section .irn-dotted-line {
	width: 100%;
	height: 23px;
	position: relative;
}

body .irn-page-section .irn-dotted-line::before {
	content: "";
	display: block;
	width: 100%;
	border-top: 4px dotted #b31c18;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

/* ==========================================================================
   Main Column: Floated Images & Text Headings
   ========================================================================== */
body .irn-page-section .irn-float-img-p {
	padding-bottom: 0 !important;
	margin: 0 !important;
}

body .irn-page-section .irn-float-left-img {
	float: left;
	margin: 0 20px 0 0 !important;
	max-width: 400px;
	width: 100%;
	height: auto;
}

body .irn-page-section .irn-inline-flag {
	display: inline !important;
	vertical-align: middle;
	width: 30px;
	height: auto;
}

/* 2. Social Developments ("Actualidad social europea") */
body .irn-page-section .irn-social-lead-block {
	margin-bottom: -20px !important;
}

body .irn-page-section .irn-social-developments .irn-text-inner h3 {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	line-height: 123% !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* 3. Eurotour & Business News ("Eurotour", "Noticias de las empresas") */
body .irn-page-section .irn-featured-card-item .irn-text-inner h3 {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 24px !important;
	line-height: 123% !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section #business_news .irn-featured-card-item .irn-text-inner h3 {
	font-size: 26px !important;
	line-height: 123% !important;
}

body .irn-page-section .irn-grid-heading-block .irn-text-inner h3 {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	line-height: 123% !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* 2-Column Row inside Main Column (Plain white background, 5.5% column gap) */
body .irn-page-section .irn-two-col-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	column-gap: 5.5%;
	width: 100%;
	padding: 0;
}

body .irn-page-section .irn-two-col-item {
	width: calc(50% - 2.75%);
	min-width: 0;
}

body .irn-page-section h5.irn-col-card-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	line-height: 1em !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* 4. Data & Reports ("Datos e informes") */
body .irn-page-section .irn-report-story-block {
	margin-bottom: -20px !important;
}

body .irn-page-section h3.irn-report-title,
body .irn-page-section h3.irn-stat-heading {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	line-height: 38px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section .irn-stat-heading-block {
	margin-bottom: -24px !important;
}

body .irn-page-section .irn-stat-box {
	background-color: #f9f6f2;
	padding: 24px 40px !important;
	border: 1px solid #b11b15;
	width: 100%;
}

body .irn-page-section h4.irn-stat-number {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 64px !important;
	line-height: 100% !important;
	font-weight: 700 !important;
	color: #b11b15 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section .irn-chart-image-wrap {
	margin-top: -30px !important;
	width: 100%;
	line-height: 0;
}

body .irn-page-section .irn-chart-img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   Right Sidebar (`.irn-col-aside`)
   ========================================================================== */

/* 1. Interview Block ("Tres preguntas para...") */
body .irn-page-section .irn-interview-block {
	display: flex;
	flex-direction: column;
	row-gap: 24px;
	width: 100%;
}

body .irn-page-section .irn-interview-header-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	column-gap: 20px;
	align-items: flex-start;
	width: 100%;
}

body .irn-page-section .irn-interview-quote-icon {
	flex-shrink: 0;
	line-height: 1;
	display: flex;
	align-items: center;
}

body .irn-page-section .irn-interview-title-col {
	flex: 1;
	min-width: 0;
}

body .irn-page-section h3.irn-interview-heading {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 28px !important;
	line-height: 38px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body .irn-page-section .irn-interview-profile-block {
	display: flex;
	flex-direction: column;
	row-gap: 0px;
	width: 100%;
}

body .irn-page-section .irn-interview-photo-wrap {
	width: 100%;
	line-height: 0;
}

body .irn-page-section .irn-interview-photo {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

body .irn-page-section .irn-interview-bio {
	padding-top: 24px !important;
	padding-bottom: 6px !important;
}

body .irn-page-section h4.irn-person-name {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	line-height: 100% !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section p.irn-person-role {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 18px !important;
	line-height: 133% !important;
	color: rgba(0, 0, 0, 0.5) !important;
	padding-bottom: 1em !important;
	margin: 0 !important;
}

body .irn-page-section .irn-interview-linkedin a {
	display: inline-block;
	line-height: 1;
	color: #000000;
	text-decoration: none;
}

body .irn-page-section .irn-interview-qa-container {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: 100%;
}

body .irn-page-section h5.irn-interview-summary {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 20px !important;
	line-height: 140% !important;
	font-weight: 600 !important;
	color: #b11b15 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section p.irn-interview-intro-quote {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 20px !important;
	line-height: 28px !important;
	color: #000000 !important;
	margin: 0 !important;
	padding-bottom: 0 !important;
}

body .irn-page-section h5.irn-qa-question {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	line-height: 140% !important;
	font-weight: 600 !important;
	color: #b11b15 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section .irn-qa-answer {
	padding-bottom: 1em;
}

body .irn-page-section .irn-qa-answer:last-child {
	padding-bottom: 0;
}

/* Sidebar Red Banners ("IR Dictionary", "Próximos eventos", "El equipo") */
body .irn-page-section .irn-sidebar-red-banner {
	background-color: #b11b15;
	padding: 23px 24px !important;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	column-gap: 20px;
	width: 100%;
}

body .irn-page-section .irn-sidebar-red-banner.irn-dict-banner {
	padding-right: 10px !important;
	column-gap: 15px;
}

body .irn-page-section .irn-sidebar-banner-icon-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

body .irn-page-section .irn-dict-banner-icon {
	width: 37px;
	height: auto;
	display: block;
}

body .irn-page-section .irn-sidebar-banner-title-wrap {
	flex: 1;
	min-width: 0;
}

body .irn-page-section h3.irn-sidebar-banner-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 32px !important;
	line-height: 1.2em !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* 2. IR Dictionary Block */
body .irn-page-section .irn-dictionary-block {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: 100%;
}

body .irn-page-section h3.irn-dict-term-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 24px !important;
	line-height: 38px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

/* 3. Events Calendar ("Próximos eventos") */
body .irn-page-section .irn-events-block {
	display: flex;
	flex-direction: column;
	row-gap: 0px;
	width: 100%;
}

body .irn-page-section .irn-events-list {
	background-color: #f9f6f2;
	padding: 32px 24px !important;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 32px;
	width: 100%;
}

body .irn-page-section .irn-event-item {
	display: flex;
	flex-direction: column;
	row-gap: 0px;
}

body .irn-page-section p.irn-event-meta {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: #000000 !important;
	padding: 0 !important;
	margin: 0 !important;
}

body .irn-page-section .irn-event-location {
	color: rgba(0, 0, 0, 0.5) !important;
	margin-left: 0;
}

body .irn-page-section h4.irn-event-title {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 20px !important;
	line-height: 130% !important;
	font-weight: 700 !important;
	color: #b11b15 !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
}

body .irn-page-section h4.irn-event-title a {
	color: #b11b15 !important;
	text-decoration: none;
}

body .irn-page-section h4.irn-event-title a:hover {
	text-decoration: underline;
}

body .irn-page-section .irn-event-desc,
body .irn-page-section .irn-event-desc p {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px !important;
	line-height: 140% !important;
	color: #000000 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 4. Team & Publisher Box ("El equipo") */
body .irn-page-section .irn-team-block {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: 100%;
}

body .irn-page-section .irn-publisher-box {
	background-color: #ece5db;
	padding: 40px 24px !important;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	width: 100%;
}

body .irn-page-section .irn-publisher-logo-wrap {
	width: 50%;
	line-height: 0;
}

body .irn-page-section .irn-publisher-logo {
	width: 100%;
	height: auto;
	display: block;
}

body .irn-page-section .irn-publisher-legal-text,
body .irn-page-section .irn-publisher-legal-text p {
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 20px !important;
	line-height: 160% !important;
	color: #000000 !important;
}

body .irn-page-section .irn-publisher-socials {
	display: flex;
	flex-direction: row;
	align-items: center;
	column-gap: 16px;
}

body .irn-page-section .irn-social-icon-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	color: #000000 !important;
	text-decoration: none !important;
}

/* ==========================================================================
   Bottom Full-Width Divider Row
   ========================================================================== */
body .irn-page-section .irn-bottom-divider-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	max-width: 1220px;
	padding: 0;
}

body .irn-page-section .irn-bottom-divider-logo-col {
	width: calc(20% - 5.5% * 4 / 5);
	margin-right: 5.5%;
	flex-shrink: 0;
}

body .irn-page-section .irn-bottom-divider-line-col {
	flex: 1;
	width: 100%;
	display: flex;
	align-items: center;
}

/* ==========================================================================
   Responsive Breakpoints (matching Divi <=980px and <=767px)
   ========================================================================== */
@media only screen and (max-width: 980px) {
	body .irn-page-section {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}

	body .irn-page-section h4.irn-top-heading-title {
		font-size: 24px !important;
	}

	body .irn-page-section h3.irn-banner-title,
	body .irn-page-section h3.irn-sidebar-banner-title,
	body .irn-page-section h3.irn-interview-heading,
	body .irn-page-section h4.irn-person-name,
	body .irn-page-section h5.irn-col-card-title {
		font-size: 24px !important;
	}

	body .irn-page-section .irn-banner-icon-wrap,
	body .irn-page-section .irn-banner-icon {
		width: 21px;
	}

	body .irn-page-section .irn-dict-banner-icon {
		width: 30px;
	}

	body .irn-page-section h5.irn-interview-summary,
	body .irn-page-section p.irn-interview-intro-quote {
		font-size: 18px !important;
	}

	body .irn-page-section h4.irn-stat-number {
		font-size: 40px !important;
	}

	body .irn-page-section .irn-publisher-legal-text,
	body .irn-page-section .irn-publisher-legal-text p {
		font-size: 16px !important;
	}

	body .irn-page-section .irn-two-col-row {
		flex-direction: column;
		row-gap: 30px;
	}

	body .irn-page-section .irn-two-col-item {
		width: 100%;
	}

	body .irn-page-section .irn-brand-divider-logo-col,
	body .irn-page-section .irn-bottom-divider-logo-col {
		display: none;
	}

	body .irn-page-section .irn-float-left-img {
		margin-bottom: 10px !important;
	}
}

@media only screen and (max-width: 767px) {
	body .irn-page-section .irn-main-row {
		flex-wrap: wrap;
		row-gap: 30px;
	}

	body .irn-page-section .irn-col-main {
		width: 100%;
		padding-right: 0px;
	}

	body .irn-page-section .irn-col-aside {
		width: 100%;
	}

	body .irn-page-section .irn-sub-feature-figure {
		float: none;
		margin: 0 0 15px 0 !important;
		max-width: 100%;
	}

	body .irn-page-section .irn-float-left-img {
		float: none;
		margin: 0 0 15px 0 !important;
		width: 100%;
		max-width: 100%;
	}
}
