/* Modern Australian News Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Crimson+Text:wght@400;600&display=swap');

/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Australian News Color Palette */
    --primary-blue: #e63946;
    --dark-blue: #c1121f;
    --light-blue: #fef2f2;
    --navy: #1a1a2e;
    --charcoal: #2c3e50;
    --slate: #34495e;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --border-grey: #dee2e6;
    --text-dark: #212529;
    --text-light: #495057;
    --accent-red: #dc3545;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Crimson Text', Georgia, serif;
    
    /* Spacing */
    --container-max: 1200px;
    --container-padding: 20px;
    --section-spacing: 3rem;
    --element-spacing: 1.5rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Base Typography */
html {
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-grey);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Top Bar */
.header-topbar {
    background: #1a1a2e;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}

.header-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-sep {
    opacity: 0.3;
}

.topbar-location {
    opacity: 0.85;
}

.topbar-ad-label {
    background: rgba(255,255,255,0.12);
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75);
}

/* Main Header */
.header-main {
    border-bottom: 3px solid #e63946;
}

.header-main .container {
    padding-top: 0;
    padding-bottom: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 52px;
}

.brand-section {
    flex-shrink: 0;
}

.site-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.site-name-accent {
    color: #e63946;
    font-weight: 800;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
    display: none;
}

.header-nav a {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    color: #4a4a5a;
    text-decoration: none;
    padding: 16px 14px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.header-nav a:hover {
    color: #e63946;
}

.header-nav a.nav-active {
    color: #e63946;
    font-weight: 600;
    border-bottom-color: #e63946;
}

/* Header Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        min-height: auto;
    }

    .brand-section {
        padding: 10px 0 4px;
    }

    .site-name {
        font-size: 1.2rem;
    }

    .header-nav {
        width: 100%;
        gap: 0;
        padding-bottom: 0;
    }

    .header-nav a {
        font-size: 0.75rem;
        padding: 10px 10px;
    }

    .header-nav a:first-child {
        padding-left: 0;
    }

    .topbar-ad-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 1.1rem;
    }

    .header-nav a {
        font-size: 0.7rem;
        padding: 8px 8px;
    }
}

/* Main Content Layout */
.wrapper {
    /*min-height: 100vh;*/
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    display: flex;
    gap: 2rem;
    max-width: var(--container-max);
    margin: 2rem auto;
    padding: 0 var(--container-padding);
}

.content main {
    flex: 1;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.content aside {
    width: 300px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0;
    height: fit-content;
    /*position: sticky;*/
    top: 120px;
    overflow: hidden;
}

/* Aside Styles */
.aside-section {
    padding: 1.25rem;
}

.aside-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.aside-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #e63946;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aside-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.aside-card {
    margin-bottom: 1rem;
}

.aside-card .image {
    margin: 0 0 0.5rem;
    border-radius: 6px;
    overflow: hidden;
}

.aside-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 0;
}

.aside-divider {
    height: 1px;
    background: var(--border-grey);
    margin: 1.25rem 0;
}

.aside-testimonial {
    margin-bottom: 1rem;
}

.aside-testimonial .image {
    margin: 0 0 0.5rem;
    border-radius: 6px;
    overflow: hidden;
}

.aside-testimonial-meta {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
}

.aside-testimonial-meta span {
    color: var(--medium-grey);
    font-weight: 400;
}

.aside-testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

.content aside a.button {
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    margin: 0.75rem 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    text-align: center;
}

/* Article Category Tag */
.article-category {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 700;
    color: #e63946;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Typography */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 0 0 1rem;
    padding: 0;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.8vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a2e;
    margin: 2.5rem 0 1.2rem;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

h2 span {
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    font-size: 0.75em;
    font-weight: 700;
    padding: 0.5em 0.5em;
    border-radius: 50%;
    min-width: 1.8em;
    height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.25);
    border: 2px solid rgba(230, 57, 70, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

h2 span:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

h2 span::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(193, 18, 31, 0.1));
    z-index: -1;
}

h2:not(:has(span)) {
    font-size: clamp(1.4rem, 3.4vw, 1.9rem);
    font-weight: 600;
    padding-left: 0;
    display: block;
    color: #1a1a2e;
}

@media (max-width: 768px) {
    h2 {
        flex-direction: row;
        gap: 0.8rem;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    h2 span {
        align-self: flex-start;
        margin-top: 0.2rem;
    }
    
    /* Enhanced mobile button styles */
    a.button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin: 1rem 0;
        max-width: 100%;
    }
    
    /* Better mobile typography */
    p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Improved image spacing */
    .image {
        margin: 1.5rem 0;
    }
    
    .image.vertical {
        max-width: 100%;
    }
}

p {
    margin-bottom: 1.4rem;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75;
    font-weight: 400;
}

main p {
   /* padding: 0 2rem;*/
}

p strong, p b {
    color: #1a1a2e;
    font-weight: 600;
}

/* Article Meta Information */
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.article-author {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.article-role {
    font-size: 0.85rem;
    color: #6b7280;
}

.article-meta-sep {
    color: #d1d5db;
    font-size: 0.85rem;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.article-time-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-date {
    font-size: 0.8rem;
    color: #6b7280;
}

.article-read-time {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Social Share Bar */
.share-bar {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.share-btn:hover {
    background: #f3f4f6;
    color: #111;
}

/* Content Styling */
.content main .container {
    padding: 0 2rem 2rem;
}

/* Image Styling */
.image {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.image.vertical {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.image img {
    width: 100%;
    height: auto;
    display: block;
}

.image .description {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

/* Screen Mockup Styles */
.screen {
    background: linear-gradient(145deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.screen * {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.phone-top {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.phone-top-time {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.phone-top-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Modern Mail Interface */
.mail-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    /*box-shadow: var(--shadow-lg);*/
    padding: 1.5rem;
    margin: 1rem;
    border: 1px solid rgba(230, 57, 70, 0.1);
    /*max-width: 400px;*/
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.mail-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.mail-control-panel,
.mail-title-wrapper,
.mail-sender,
.mail-text,
.mail-bottom-options {
    margin-bottom: 1.25rem;
}

.mail-control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-grey);
    margin-bottom: 1.5rem;
}

.mail-control-panel img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: var(--transition-fast);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.mail-control-panel img:hover {
    opacity: 1;
    background: rgba(230, 57, 70, 0.1);
}

.mail-title-wrapper {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-grey);
}

.mail-title {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.mail-title .inbox {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.mail-sender {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-grey);
}

.mail-sender-logo {
    background: #4285F4;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 1.25rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /*box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);*/
    flex-shrink: 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: none;
}

.mail-sender-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.mail-sender-logo p {
    margin: 0;
    line-height: 1;
}

.mail-sender-description {
    flex: 1;
}

.mail-sender-text p {
    margin: 0.25rem 0;
    color: var(--text-dark);
}

.mail-sender-text-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.3;
}

.mail-sender-text-recipient {
    font-size: 0.875rem;
    color: var(--medium-grey);
    font-weight: 400;
}

.mail-sender-options {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.mail-sender-options img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.mail-sender-options img:hover {
    opacity: 1;
    background: rgba(230, 57, 70, 0.1);
}

.mail-text {
    padding: 1.5rem 0;
    line-height: 1.6;
}

.mail-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.mail-text p:first-child {
    margin-top: 0;
    font-weight: 500;
    color: var(--navy);
}

.mail-text p:last-child {
    margin-bottom: 0;
}

.mail-bottom-options {
    display: flex;
    gap: 1rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border-grey);
    margin-bottom: 0;
}

.mail-bottom-options-reply,
.mail-bottom-forward {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(230, 57, 70, 0.05);
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.mail-bottom-options-reply:hover,
.mail-bottom-forward:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Disable all interactive elements in mail-wrapper */
.mail-wrapper .mail-control-panel img,
.mail-wrapper .mail-sender-options img,
.mail-wrapper .mail-bottom-options-reply,
.mail-wrapper .mail-bottom-forward {
    pointer-events: none !important;
    cursor: not-allowed !important;
    opacity: 0.4 !important;
}

.mail-wrapper .mail-control-panel img:hover,
.mail-wrapper .mail-sender-options img:hover,
.mail-wrapper .mail-bottom-options-reply:hover,
.mail-wrapper .mail-bottom-forward:hover {
    opacity: 0.4 !important;
    background: transparent !important;
    border-color: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.mail-bottom-options img {
    width: 16px;
    height: 16px;
}

/* Lists */
.list {
    margin: 1.5rem 0;
}

.list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}

.list li .check {
    width: 24px;
    height: 24px;
    background: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.list li .check::before {
    content: '✓';
}

.list li .list-num {
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Special Content Blocks */
.doctor-speech {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #3b82f6;
    padding: 2rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.doctor-speech::before {
    content: '💊';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #ffffffb8;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.note {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border: 1px solid var(--warning-orange);
    border-left: 4px solid var(--warning-orange);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.quote-block {
    margin: 2rem 0;
    text-align: center;
}

.quote {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    font-style: italic;
    font-size: 1.2rem;
    color: #374151;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.quote::before,
.quote::after {
    font-size: 2.5rem;
    color: #e63946;
    opacity: 0.4;
    position: absolute;
    font-family: Georgia, serif;
    font-weight: bold;
}

.quote::before {
    content: '"';
    top: 1rem;
    left: 1.5rem;
}

.quote::after {
    content: '"';
    bottom: 1rem;
    right: 1.5rem;
}

.quote-author {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--medium-grey);
}

/* Buttons */
a.button {
    display: inline-block;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    margin: 1.5rem 0;
    max-width: 400px;
    width: 100%;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    min-height: 56px;
}

a.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

a.button:hover::before {
    left: 100%;
}

a.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, #c1121f 0%, #a4161a 100%);
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border: 2px solid rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin: 2rem 20px;
    text-align: center;
}

.cta-block-inner {
    max-width: 400px;
    margin: 0 auto;
}

.cta-block-discount {
    display: inline-block;
    background: #e63946;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.cta-block-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cta-block-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-block a.button {
    margin: 0 auto;
    display: block;
}

/* Comments Section */
.comments-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

h2.comments-title {
    color: var(--navy);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.comment {
    margin-bottom: 2rem;
    position: relative;
}

.comment-flex {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.comment-flex.answer {
    margin-top: 1rem;
    margin-left: 3rem;
    padding-left: 1rem;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-info .name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.comment-text .text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.comment-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--medium-grey);
}

.comment-footer .like,
.comment-footer .reply {
    color: var(--primary-blue);
    cursor: pointer;
    font-weight: 500;
}

.comment-footer .like:hover,
.comment-footer .reply:hover {
    text-decoration: underline;
}

.likes-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
    }

    .content {
        flex-direction: column;
        gap: 1rem;
        margin: 0 auto;
        padding: 0;
    }

    .content main {
        border-radius: 0;
    }

    .content aside {
        width: 100%;
        position: static;
    }

    h1 {
        padding: 1.25rem 0 0.75rem 0;
        font-size: clamp(2rem, 7vw, 2.4rem);
        line-height: 1.35;
    }

    .article-time {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .article-time .date,
    .article-time .views {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .socials {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .socials .author {
        flex: 1;
        min-width: 150px;
    }

    .socials .author p {
        font-size: 0.8rem;
    }

    .socials .author p:last-child {
        font-size: 0.7rem;
    }

    .share-bar {
        gap: 0.4rem;
    }

    .share-bar a {
        width: 34px;
        height: 34px;
        min-height: 34px;
        min-width: 34px;
    }

    .share-bar a svg {
        width: 16px;
        height: 16px;
    }

    .content main .container {
        padding: 0 1rem 1rem;
    }

    .phone-top {
        display: flex;
    }

    .comment-flex.answer {
        margin-left: 1rem;
    }

    /* Enhanced mobile optimizations */
    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .image .description {
        font-size: 1rem;
    }

    /* Prevent horizontal overflow */
    * {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Improved quote blocks for mobile */
    .quote-block {
        margin: 1rem 0;
        padding: 0.5rem;
    }

    .quote {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Better button spacing and sizing */
    a.button {
        display: block;
        text-align: center;
        margin: 1.5rem auto;
        padding: 1.1rem 1.5rem;
        font-size: 1.05rem;
        min-height: 52px;
    }

    /* Mail Interface Mobile */
    .mail-wrapper {
        margin: 0.5rem;
        max-width: 100%;
        padding: 1.25rem;
    }

    .mail-control-panel {
        padding: 0.5rem 0;
    }

    .mail-control-panel img {
        width: 20px;
        height: 20px;
    }

    .mail-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .mail-title .inbox {
        font-size: 0.65rem;
        padding: 0.2em 0.6em;
        margin-left: 0 !important;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }

    .mail-sender {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .mail-sender-logo {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
        box-shadow: 0 2px 6px rgba(66, 133, 244, 0.25);
    }

    .mail-sender-logo:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(66, 133, 244, 0.35);
    }

    .mail-sender-text-name {
        font-size: 0.95rem;
    }

    .mail-sender-text-recipient {
        font-size: 0.8rem;
    }

    .mail-sender-options img {
        width: 18px;
        height: 18px;
    }

    .mail-text {
        padding: 1.25rem 0;
    }

    .mail-text p {
        font-size: 0.9rem;
        margin: 0.875rem 0;
    }

    .mail-bottom-options {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .mail-bottom-options-reply,
    .mail-bottom-forward {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .mail-bottom-options img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    /* Ultra-mobile optimizations */
    :root {
        --container-padding: 12px;
    }

    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
        padding: 1rem 0 0.5rem;
        line-height: 1.3;
        margin-bottom: 0;
    }

    h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding: 0;
    }

    .article-time {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .article-time .date,
    .article-time .views {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }

    .socials {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.6rem 0;
    }

    .socials .author {
        min-width: auto;
    }

    .socials .author p {
        font-size: 0.75rem;
    }

    .socials .author p:last-child {
        font-size: 0.65rem;
    }

    .share-bar {
        gap: 0.35rem;
    }

    .share-bar a {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .share-bar a svg {
        width: 15px;
        height: 15px;
    }

    .quote {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }

    .quote-block {
        margin: 0.75rem 0;
    }

    .screen {
        padding: 0.75rem;
        margin: 1rem 0;
    }

    /* Ultra-mobile buttons */
    a.button {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        margin: 1rem auto;
        min-height: 50px;
    }

    /* Better spacing for very small screens */
    .content {
        margin: 0.5rem auto;
        padding: 0;
    }

    .content main .container {
        padding: 0 0.75rem 0.75rem;
    }

    /* Mail Interface Ultra Mobile */
    .mail-wrapper {
        margin: 0.25rem;
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .mail-wrapper::before {
        height: 2px;
    }

    .mail-control-panel {
        padding: 0.375rem 0;
        margin-bottom: 1rem;
    }

    .mail-control-panel img {
        width: 18px;
        height: 18px;
        padding: 0.2rem;
    }

    .mail-title-wrapper {
        padding: 0.75rem 0;
    }

    .mail-title {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    .mail-title .inbox {
        font-size: 0.6rem;
        padding: 0.15em 0.5em;
        margin-left: 0 !important;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        border-radius: 15px;
    }

    .mail-sender {
        gap: 0.625rem;
        padding: 0.625rem 0;
    }

    .mail-sender-logo {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        box-shadow: 0 1px 4px rgba(66, 133, 244, 0.2);
    }

    .mail-sender-logo:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    }

    .mail-sender-text-name {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .mail-sender-text-recipient {
        font-size: 0.75rem;
    }

    .mail-sender-options {
        gap: 0.25rem;
    }

    .mail-sender-options img {
        width: 16px;
        height: 16px;
        padding: 0.2rem;
    }

    .mail-text {
        padding: 1rem 0;
    }

    .mail-text p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0.75rem 0;
    }

    .mail-bottom-options {
        gap: 0.5rem;
        padding: 0.75rem 0 0;
    }

    .mail-bottom-options-reply,
    .mail-bottom-forward {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: var(--radius-sm);
        min-width: 100px;
    }

    .mail-bottom-options img {
        width: 12px;
        height: 12px;
    }
}