/**
 * AWLL Topics Archive & Single Styles
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since AWLL 1.3
 */

:root {
	--awll-topic-bg: linear-gradient(180deg, rgba(231, 245, 244, 0.85) 0%, rgba(255, 255, 255, 1) 55%);
	--awll-topic-card-bg: rgba(255, 255, 255, 0.96);
	--awll-topic-border: rgba(31, 58, 64, 0.12);
	--awll-topic-shadow: 0 18px 36px rgba(31, 58, 64, 0.12);
	--awll-topic-shadow-hover: 0 24px 48px rgba(31, 58, 64, 0.16);
	--awll-topic-tab-bg: rgba(255, 255, 255, 0.65);
	--awll-topic-tab-active: var(--awll-primary, #5AB5B2);
	--awll-topic-tab-border: rgba(90, 181, 178, 0.35);
	--awll-topic-text: #3B4E53;
	--awll-topic-heading: #1F3A40;
}

body.post-type-archive-awll_topic,
body.single-awll_topic {
	background: var(--awll-topic-bg);
	color: var(--awll-topic-text);
}

body.post-type-archive-awll_topic .site-content,
body.single-awll_topic .site-content {
	padding: 30px;
}

.awll-topics-main .container {
	width: min(1140px, calc(100% - 48px));
	margin: 0 auto;
}

.l-pageTitle {
	margin-bottom: clamp(36px, 8vw, 72px);
}

.c-ttl01 {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	font-size: clamp(2.6rem, 4vw, 3.2rem);
	color: var(--awll-topic-heading);
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0;
}

.c-ttl01 .en {
	display: block;
}

.c-ttl01 .ja {
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 500;
	letter-spacing: 0.2em;
	color: rgba(31, 58, 64, 0.6);
}

.c-ttl01__lead {
	margin: clamp(18px, 3vw, 26px) 0 0;
	font-size: 1.05rem;
	line-height: 1.8;
	max-width: 640px;
	color: rgba(31, 58, 64, 0.75);
}

.c-tab {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 24px;
	padding: clamp(24px, 4vw, 42px) clamp(20px, 4vw, 42px);
	box-shadow: 0 20px 44px rgba(31, 58, 64, 0.12);
	border: 1px solid rgba(31, 58, 64, 0.08);
}

.c-tabLinks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: clamp(28px, 5vw, 40px);
}

.c-tabLink {
	border: 1px solid var(--awll-topic-tab-border);
	background: var(--awll-topic-tab-bg);
	color: var(--awll-topic-heading);
	padding: 10px 24px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border 0.25s ease, transform 0.25s ease;
}

.c-tabLink:focus-visible {
	outline: 3px solid rgba(90, 181, 178, 0.6);
	outline-offset: 3px;
}

.c-tabLink.c-tabLink--active {
	background: var(--awll-topic-tab-active);
	color: var(--awll-white, #ffffff);
	border-color: transparent;
	transform: translateY(-2px);
}

.c-tabContent {
	display: none;
}

.c-tabContent--active {
	display: block;
}

.c-list01 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(28px, 4vw, 36px);
}

.c-list01__item {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	background: var(--awll-topic-card-bg);
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--awll-topic-border);
	box-shadow: var(--awll-topic-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 100%;
}

.c-list01__item:hover,
.c-list01__item:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--awll-topic-shadow-hover);
}

.c-list01__item .image {
	position: relative;
	padding-top: 62%;
	background: rgba(90, 181, 178, 0.12);
	overflow: hidden;
}

.c-list01__thumbImage,
.c-list01__thumbPlaceholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-list01__thumbPlaceholder {
	background: linear-gradient(135deg, rgba(90, 181, 178, 0.35) 0%, rgba(31, 58, 64, 0.25) 100%);
}

.c-list01__item .content {
	padding: clamp(22px, 3.5vw, 32px) clamp(20px, 3vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-cat {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.c-cat__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	background: rgba(31, 58, 64, 0.72);
	color: var(--awll-white, #ffffff);
}

.c-cat__item--global {
	background: #404040;
}

.c-cat__item--pressrelease {
	background: #097c25;
}

.c-cat__item--media {
	background: #004986;
}

.c-cat__item--event {
	background: #6a005f;
}

.c-cat__item--service {
	background: #c00000;
}

.c-list01__date {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: rgba(31, 58, 64, 0.65);
}

.c-list01__item .ttl {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--awll-topic-heading);
}

.c-list01__excerpt {
	font-size: 0.95rem;
	line-height: 1.8;
	color: rgba(59, 78, 83, 0.88);
	margin: 0;
}

.c-tabEmptyMessage {
	margin-top: clamp(32px, 6vw, 48px);
	text-align: center;
	font-size: 1rem;
	color: rgba(31, 58, 64, 0.7);
}

.awll-topics-pagination {
	display: flex;
	justify-content: center;
	margin-top: clamp(40px, 6vw, 60px);
}

.awll-topics-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 4px;
	border-radius: 50%;
	background: rgba(90, 181, 178, 0.12);
	color: var(--awll-topic-heading);
	font-weight: 600;
	transition: background 0.25s ease, color 0.25s ease;
}

.awll-topics-pagination .page-numbers.current,
.awll-topics-pagination .page-numbers:hover {
	background: var(--awll-primary, #5AB5B2);
	color: var(--awll-white, #ffffff);
}

.awll-topics-pagination .prev,
.awll-topics-pagination .next {
	width: auto;
	padding: 0 18px;
	border-radius: 999px;
}

.awll-topics-empty {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 24px;
	padding: clamp(42px, 8vw, 68px);
	text-align: center;
	box-shadow: 0 22px 44px rgba(31, 58, 64, 0.14);
	border: 1px solid rgba(31, 58, 64, 0.08);
}

.awll-topics-empty__title {
	margin: 0 0 18px;
	font-size: clamp(1.6rem, 3vw, 2rem);
	color: var(--awll-topic-heading);
}

.awll-topics-empty__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(59, 78, 83, 0.8);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.awll-topic-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(24px, 4vw, 36px);
	font-size: 0.85rem;
	color: rgba(31, 58, 64, 0.65);
}

.awll-topic-breadcrumb a {
	color: var(--awll-primary, #5AB5B2);
	text-decoration: none;
	transition: color 0.2s ease;
}

.awll-topic-breadcrumb a:hover {
	color: var(--awll-accent-warm, #F2A541);
	text-decoration: underline;
}

.awll-topic-breadcrumb__separator {
	color: rgba(31, 58, 64, 0.35);
	font-size: 1rem;
}

.awll-topic-breadcrumb__current {
	color: rgba(31, 58, 64, 0.85);
	font-weight: 600;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ==========================================================================
   Content Shell
   ========================================================================== */
.awll-topic-shell {
	background: rgba(255, 255, 255, 0.98);
	border-radius: 28px;
	box-shadow: 0 32px 72px rgba(31, 58, 64, 0.18);
	border: 1px solid rgba(90, 181, 178, 0.12);
	overflow: hidden;
}

.awll-topic-shell__container {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(40px, 7vw, 72px) clamp(28px, 6vw, 60px);
}

/* ==========================================================================
   Summary Card with Key Points
   ========================================================================== */
.awll-topic-summary {
	background: linear-gradient(135deg, rgba(90, 181, 178, 0.06) 0%, rgba(90, 181, 178, 0.03) 100%);
	border-left: 5px solid var(--awll-primary, #5AB5B2);
	border-radius: 12px;
	padding: clamp(24px, 5vw, 36px);
	margin-bottom: clamp(36px, 7vw, 56px);
}

.awll-topic-summary__title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: 0 0 18px;
	letter-spacing: 0.02em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.awll-topic-summary__title::before {
	content: '✓';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--awll-primary, #5AB5B2);
	color: #ffffff;
	border-radius: 50%;
	font-size: 1rem;
	font-weight: 700;
}

.awll-topic-summary__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.awll-topic-summary__list li {
	position: relative;
	padding-left: 28px;
	line-height: 1.7;
	color: rgba(31, 58, 64, 0.88);
	font-weight: 500;
}

.awll-topic-summary__list li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--awll-primary, #5AB5B2);
	font-size: 1rem;
	font-weight: 700;
}

/* ==========================================================================
   Single Article Container (legacy, if still used)
   ========================================================================== */
.awll-topic-single {
	width: min(860px, calc(100% - clamp(32px, 8vw, 80px)));
	margin: 0 auto;
	background: var(--awll-topic-card-bg);
	border-radius: 24px;
	padding: clamp(34px, 6vw, 60px);
	box-shadow: 0 26px 48px rgba(31, 58, 64, 0.16);
	border: 1px solid var(--awll-topic-border);
}

.awll-topic-article {
	/* Container for the article within the shell */
}

/* ==========================================================================
   Hero Block with Full-Bleed Image
   ========================================================================== */
.awll-topic-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-bottom: clamp(48px, 8vw, 80px);
	overflow: hidden;
}

.awll-topic-hero__image {
	position: relative;
	width: 100%;
	height: clamp(360px, 50vw, 520px);
	overflow: hidden;
}

.awll-topic-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.awll-topic-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(31, 58, 64, 0.25) 0%,
		rgba(31, 58, 64, 0.72) 100%
	);
	pointer-events: none;
}

.awll-topic-hero__content {
	position: relative;
	margin-top: clamp(-120px, -15vw, -80px);
	padding: 0 clamp(20px, 4vw, 48px);
	z-index: 10;
}

.awll-topic-hero__container {
	max-width: 1140px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 20px;
	padding: clamp(32px, 6vw, 56px);
	box-shadow: 0 28px 64px rgba(31, 58, 64, 0.22);
	border: 1px solid rgba(90, 181, 178, 0.15);
}

.awll-topic-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.awll-topic-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awll-topic-badge--global {
	background: #404040;
	color: #ffffff;
}

.awll-topic-badge--pressrelease {
	background: #097c25;
	color: #ffffff;
}

.awll-topic-badge--media {
	background: #004986;
	color: #ffffff;
}

.awll-topic-badge--event {
	background: #6a005f;
	color: #ffffff;
}

.awll-topic-badge--service {
	background: #c00000;
	color: #ffffff;
}

.awll-topic-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(31, 58, 64, 0.25);
}

.awll-topic-hero__title {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	margin: 0 0 18px;
	line-height: 1.25;
	color: var(--awll-topic-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.awll-topic-hero__excerpt {
	font-size: 1.15rem;
	line-height: 1.8;
	color: rgba(31, 58, 64, 0.78);
	margin: 0 0 24px;
	font-weight: 500;
}

.awll-topic-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.awll-topic-meta__date {
	color: rgba(31, 58, 64, 0.65);
}

.awll-topic-meta__updated {
	color: rgba(90, 181, 178, 0.9);
	font-size: 0.85rem;
	padding: 5px 14px;
	background: rgba(90, 181, 178, 0.15);
	border-radius: 999px;
}

.awll-topic-meta__readtime {
	color: rgba(31, 58, 64, 0.65);
	padding: 5px 14px;
	background: rgba(31, 58, 64, 0.08);
	border-radius: 999px;
}

/* ==========================================================================
   Featured Image
   ========================================================================== */
.awll-topic-featured {
	margin: 0 0 clamp(32px, 6vw, 48px);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(31, 58, 64, 0.14);
}

.awll-topic-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.awll-topic-featured__caption {
	padding: 14px 18px;
	background: rgba(31, 58, 64, 0.04);
	font-size: 0.85rem;
	line-height: 1.6;
	color: rgba(31, 58, 64, 0.72);
	font-style: italic;
	text-align: center;
	border-top: 1px solid rgba(31, 58, 64, 0.08);
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.awll-topic-toc {
	background: linear-gradient(135deg, rgba(90, 181, 178, 0.08) 0%, rgba(90, 181, 178, 0.04) 100%);
	border-left: 4px solid var(--awll-primary, #5AB5B2);
	border-radius: 12px;
	padding: clamp(20px, 4vw, 28px);
	margin-bottom: clamp(32px, 6vw, 48px);
}

.awll-topic-toc__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: 0 0 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.awll-topic-toc__list {
	list-style: none;
	counter-reset: toc-counter;
	padding: 0;
	margin: 0;
}

.awll-topic-toc__item {
	counter-increment: toc-counter;
	margin-bottom: 10px;
}

.awll-topic-toc__item:last-child {
	margin-bottom: 0;
}

.awll-topic-toc__item a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: rgba(31, 58, 64, 0.85);
	text-decoration: none;
	font-weight: 500;
	line-height: 1.6;
	transition: color 0.2s ease, transform 0.2s ease;
	padding-left: 8px;
}

.awll-topic-toc__item a::before {
	content: counter(toc-counter) ".";
	color: var(--awll-primary, #5AB5B2);
	font-weight: 700;
	min-width: 24px;
}

.awll-topic-toc__item a:hover {
	color: var(--awll-primary, #5AB5B2);
	transform: translateX(4px);
}

/* ==========================================================================
   Article Content
   ========================================================================== */
.awll-topic-content {
	font-size: 1.05rem;
	line-height: 2;
	color: rgba(31, 44, 48, 0.92);
}

.awll-topic-content > *:first-child {
	margin-top: 0;
}

.awll-topic-content > *:last-child {
	margin-bottom: 0;
}

.awll-topic-content p {
	margin-bottom: 1.8em;
}

.awll-topic-content h2 {
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: clamp(48px, 8vw, 64px) 0 clamp(20px, 4vw, 28px);
	line-height: 1.4;
	letter-spacing: -0.01em;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(90, 181, 178, 0.25);
	scroll-margin-top: 100px;
}

.awll-topic-content h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.6rem);
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: clamp(36px, 6vw, 48px) 0 clamp(16px, 3vw, 22px);
	line-height: 1.5;
}

.awll-topic-content h4 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: clamp(28px, 5vw, 36px) 0 clamp(14px, 2.5vw, 18px);
	line-height: 1.6;
}

.awll-topic-content a {
	color: var(--awll-primary, #5AB5B2);
	text-decoration: underline;
	transition: color 0.2s ease;
}

.awll-topic-content a:hover {
	color: var(--awll-accent-warm, #F2A541);
}

.awll-topic-content ul,
.awll-topic-content ol {
	margin: 1.6em 0;
	padding-left: 2em;
}

.awll-topic-content li {
	margin-bottom: 0.8em;
	line-height: 1.9;
}

.awll-topic-content blockquote {
	margin: clamp(28px, 5vw, 40px) 0;
	padding: clamp(20px, 4vw, 28px) clamp(24px, 5vw, 36px);
	background: rgba(90, 181, 178, 0.06);
	border-left: 4px solid var(--awll-primary, #5AB5B2);
	border-radius: 8px;
	font-style: italic;
	color: rgba(31, 58, 64, 0.85);
}

.awll-topic-content blockquote p:last-child {
	margin-bottom: 0;
}

.awll-topic-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: clamp(24px, 5vw, 36px) 0;
}

.awll-topic-content figure {
	margin: clamp(28px, 5vw, 44px) 0;
}

.awll-topic-content figcaption {
	margin-top: 12px;
	font-size: 0.9rem;
	color: rgba(31, 58, 64, 0.68);
	text-align: center;
	font-style: italic;
}

.awll-topic-content code {
	background: rgba(31, 58, 64, 0.08);
	padding: 2px 8px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
	color: rgba(31, 58, 64, 0.95);
}

.awll-topic-content pre {
	background: rgba(31, 58, 64, 0.95);
	color: #f4f8f8;
	padding: clamp(18px, 4vw, 24px);
	border-radius: 12px;
	overflow-x: auto;
	margin: clamp(24px, 5vw, 36px) 0;
}

.awll-topic-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.awll-topic-pagination {
	margin-top: clamp(32px, 6vw, 48px);
	padding-top: clamp(24px, 4vw, 32px);
	border-top: 1px solid rgba(90, 181, 178, 0.2);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-weight: 600;
}

.awll-topic-pagination a {
	color: var(--awll-primary, #5AB5B2);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
	background: rgba(90, 181, 178, 0.1);
	transition: background 0.2s ease;
}

.awll-topic-pagination a:hover {
	background: rgba(90, 181, 178, 0.2);
}

/* ==========================================================================
   Share Buttons
   ========================================================================== */
.awll-topic-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: clamp(44px, 7vw, 64px);
	padding: clamp(24px, 5vw, 34px);
	background: linear-gradient(135deg, rgba(90, 181, 178, 0.06) 0%, rgba(90, 181, 178, 0.02) 100%);
	border-radius: 18px;
	border: 1px solid rgba(90, 181, 178, 0.15);
	list-style: none;
}

.awll-topic-share__label {
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(31, 58, 64, 0.75);
	letter-spacing: 0.05em;
	margin: 0;
}

.awll-topic-share__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	text-decoration: none;
}

.awll-topic-share__button--twitter {
	background: #000000;
	color: #ffffff;
}

.awll-topic-share__button--twitter:hover,
.awll-topic-share__button--twitter:focus {
	background: #333333;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.awll-topic-share__button--facebook {
	background: #1877f2;
	color: #ffffff;
}

.awll-topic-share__button--facebook:hover,
.awll-topic-share__button--facebook:focus {
	background: #0d65d9;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(24, 119, 242, 0.35);
}

.awll-topic-share__button--linkedin {
	background: #0a66c2;
	color: #ffffff;
}

.awll-topic-share__button--linkedin:hover,
.awll-topic-share__button--linkedin:focus {
	background: #004182;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(10, 102, 194, 0.35);
}

.awll-topic-share__button--copy {
	background: rgba(31, 58, 64, 0.15);
	color: rgba(31, 58, 64, 0.85);
}

.awll-topic-share__button--copy:hover,
.awll-topic-share__button--copy:focus {
	background: rgba(31, 58, 64, 0.25);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(31, 58, 64, 0.2);
}

.awll-topic-share__cta {
	margin-left: auto;
}

.awll-topic-share__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 26px;
	border-radius: 999px;
	background: var(--awll-primary, #5AB5B2);
	color: var(--awll-white, #ffffff);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 6px 16px rgba(90, 181, 178, 0.3);
}

.awll-topic-share__contact:hover,
.awll-topic-share__contact:focus {
	background: var(--awll-accent-warm, #F2A541);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(242, 165, 65, 0.35);
	color: var(--awll-white, #ffffff);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ==========================================================================
   Card-style Navigation (Prev/Next)
   ========================================================================== */
.awll-topic-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: clamp(56px, 9vw, 80px);
	padding-top: clamp(48px, 8vw, 72px);
	border-top: 2px solid rgba(90, 181, 178, 0.15);
}

.awll-topic-nav__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(20px, 4vw, 28px);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 100%);
	border: 2px solid rgba(90, 181, 178, 0.2);
	border-radius: 18px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	box-shadow: 0 8px 20px rgba(31, 58, 64, 0.1);
	position: relative;
	overflow: hidden;
}

.awll-topic-nav__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--awll-primary, #5AB5B2) 0%, rgba(90, 181, 178, 0.3) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.awll-topic-nav__card:hover::before {
	transform: scaleX(1);
}

.awll-topic-nav__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(31, 58, 64, 0.16);
	border-color: var(--awll-primary, #5AB5B2);
}

.awll-topic-nav__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(90, 181, 178, 0.8);
	margin-bottom: 4px;
}

.awll-topic-nav__content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.awll-topic-nav__title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--awll-topic-heading);
	margin: 0;
}

/* ==========================================================================
   Related Topics
   ========================================================================== */
.awll-topic-related {
	margin-top: clamp(60px, 11vw, 96px);
	padding-top: clamp(52px, 9vw, 80px);
	border-top: 3px solid rgba(90, 181, 178, 0.2);
}

.awll-topic-related__title {
	font-size: clamp(1.9rem, 3.8vw, 2.6rem);
	font-weight: 700;
	color: var(--awll-topic-heading);
	margin: 0 0 clamp(32px, 6vw, 48px);
	text-align: center;
	letter-spacing: 0.02em;
	position: relative;
	padding-bottom: 16px;
}

.awll-topic-related__title::after {
	content: '';
	display: block;
	width: 64px;
	height: 4px;
	background: var(--awll-primary, #5AB5B2);
	margin: 16px auto 0;
	border-radius: 999px;
}

.awll-topic-related__list {
	/* Reuses .c-list01 grid styles from archive */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.awll-topic-footer {
	display: flex;
	justify-content: center;
	margin-top: clamp(40px, 7vw, 60px);
	padding-top: clamp(32px, 6vw, 48px);
	border-top: 1px solid rgba(90, 181, 178, 0.2);
}

.awll-topic-footer__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 28px;
	border-radius: 999px;
	background: var(--awll-primary, #5AB5B2);
	color: var(--awll-white, #ffffff);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 6px 16px rgba(90, 181, 178, 0.3);
}

.awll-topic-footer__back::before {
	content: '‹';
	font-size: 1.6rem;
	transform: translateY(-1px);
}

.awll-topic-footer__back:hover,
.awll-topic-footer__back:focus {
	background: var(--awll-accent-warm, #F2A541);
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(242, 165, 65, 0.35);
	color: var(--awll-white, #ffffff);
}

@media (max-width: 960px) {
	.awll-topics-main .container {
		width: min(1024px, calc(100% - 40px));
	}

	.c-list01 {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	.c-tab {
		padding: clamp(18px, 6vw, 28px);
	}

	.c-tabLinks {
		gap: 10px;
	}

	.c-tabLink {
		flex: 1 1 calc(50% - 10px);
		justify-content: center;
		font-size: 0.85rem;
		padding: 10px 0;
	}

	.c-list01 {
		grid-template-columns: 1fr;
	}

	/* Single topic mobile styles */
	body.single-awll_topic .site-content {
		padding: 30px;
	}

	/* Hero section mobile */
	.awll-topic-hero__image {
		height: clamp(280px, 45vw, 380px);
	}

	.awll-topic-hero__content {
		margin-top: clamp(-80px, -12vw, -60px);
		padding: 0 clamp(16px, 4vw, 24px);
	}

	.awll-topic-hero__container {
		padding: clamp(24px, 5vw, 36px);
		border-radius: 16px;
	}

	.awll-topic-hero__badges {
		gap: 8px;
		margin-bottom: 16px;
	}

	.awll-topic-badge {
		padding: 6px 14px;
		font-size: 0.7rem;
	}

	.awll-topic-hero__title {
		font-size: clamp(1.8rem, 6vw, 2.4rem);
		margin-bottom: 14px;
		line-height: 1.3;
	}

	.awll-topic-hero__excerpt {
		font-size: 1rem;
		line-height: 1.7;
		margin-bottom: 18px;
	}

	.awll-topic-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		font-size: 0.85rem;
	}

	/* Content shell mobile */
	.awll-topic-shell {
		border-radius: 20px;
	}

	.awll-topic-shell__container {
		padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 32px);
	}

	/* Breadcrumb mobile */
	.awll-topic-breadcrumb {
		font-size: 0.75rem;
		gap: 6px;
		margin-bottom: 20px;
	}

	.awll-topic-breadcrumb__current {
		max-width: 180px;
	}

	/* Summary card mobile */
	.awll-topic-summary {
		padding: clamp(20px, 5vw, 28px);
		margin-bottom: clamp(28px, 6vw, 40px);
		border-radius: 10px;
	}

	.awll-topic-summary__title {
		font-size: 1.15rem;
		margin-bottom: 14px;
	}

	.awll-topic-summary__list {
		gap: 12px;
	}

	.awll-topic-summary__list li {
		font-size: 0.95rem;
		padding-left: 24px;
	}

	/* Article content mobile */
	.awll-topic-content {
		font-size: 1rem;
		line-height: 1.9;
	}

	.awll-topic-content h2 {
		font-size: 1.5rem;
		margin-top: 36px;
		margin-bottom: 16px;
		scroll-margin-top: 80px;
	}

	.awll-topic-content h3 {
		font-size: 1.25rem;
		margin-top: 28px;
		margin-bottom: 14px;
	}

	.awll-topic-content h4 {
		font-size: 1.1rem;
	}

	/* Share buttons mobile */
	.awll-topic-share {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 20px;
		margin-top: clamp(36px, 6vw, 48px);
	}

	.awll-topic-share__label {
		font-size: 0.9rem;
	}

	.awll-topic-share li {
		display: flex;
		justify-content: center;
	}

	.awll-topic-share__button {
		width: 48px;
		height: 48px;
	}

	.awll-topic-share__cta {
		margin-left: 0;
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.awll-topic-share__contact {
		width: 100%;
		justify-content: center;
	}

	/* Navigation cards mobile */
	.awll-topic-nav {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: clamp(44px, 8vw, 64px);
		padding-top: clamp(36px, 7vw, 56px);
	}

	.awll-topic-nav__card {
		padding: clamp(16px, 4vw, 22px);
		gap: 12px;
	}

	.awll-topic-nav__label {
		font-size: 0.7rem;
	}

	.awll-topic-nav__title {
		font-size: 1rem;
	}

	/* Related topics mobile */
	.awll-topic-related {
		margin-top: clamp(48px, 9vw, 72px);
		padding-top: clamp(40px, 7vw, 60px);
	}

	.awll-topic-related__title {
		font-size: clamp(1.6rem, 5vw, 2rem);
		margin-bottom: clamp(24px, 5vw, 36px);
	}

	/* Footer mobile */
	.awll-topic-footer {
		margin-top: clamp(36px, 6vw, 52px);
		padding-top: clamp(28px, 5vw, 40px);
	}

	.awll-topic-footer__back {
		padding: 10px 24px;
		font-size: 0.85rem;
	}

	/* TOC mobile */
	.awll-topic-toc {
		padding: 18px;
	}

	.awll-topic-toc__title {
		font-size: 1rem;
	}

	.awll-topic-toc__item a {
		font-size: 0.9rem;
	}
}

@media (max-width: 520px) {
	.c-ttl01 {
		font-size: 2.1rem;
	}

	.c-tabLink {
		flex: 1 1 100%;
	}

	.c-list01__item .ttl {
		font-size: 1.1rem;
	}

	.c-list01__excerpt {
		font-size: 0.9rem;
	}
}
