/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
@media only screen 
and (max-width : 320px) {
    #gehan, #hassy { display: none !important;}
    #content {
        width: 100%;
        margin: 0 20px;
        padding: 20px;
    }
    
    .new-release {
        padding: 20px;
        margin: 10px 0;
    }
    
    .new-release h2 {
        font-size: 20px;
    }
    
    .new-release h3 {
        font-size: 16px;
    }
}

/* Fallback: Hide faces on narrow screens regardless of detection */
@media only screen and (max-width: 768px) {
    #gehan, #hassy {
        display: none !important;
    }
}

/* Mobile Device Styles (User Agent Detection) - Simple: Just hide faces */
body.mobile #gehan, 
body.mobile #hassy {
    display: none !important;
}
    
    .social {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

/* Modern scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: rgba(255, 255, 255, 0.2);
    text-shadow: none;
    color: #ffffff;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    text-shadow: none;
    color: #ffffff;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    background-attachment: fixed;
    font: normal normal 16px/1.6 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e8e8e8;
    padding-top: 40px;
    min-height: 100vh;
    transition: all 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.005) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: subtleGlow 8s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

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

#logo {
    display: block;
    opacity: 0;
    width: clamp(150px, 20vw, 198px);
    height: clamp(120px, 16vw, 158px);
    margin: 0 auto;
    text-indent: -9999px;
    background: transparent url('../img/logo.png') no-repeat;
    background-size: contain;
    margin-bottom: clamp(30px, 6vw, 50px);
    margin-top: clamp(30px, 8vw, 50px);
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

#logo:hover {
    filter: drop-shadow(0 6px 25px rgba(255, 255, 255, 0.15));
    transform: translateY(-2px);
}

#content {
    width: 480px;
    max-width: 90vw;
    margin: 0 auto;
    opacity: 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 1.2s ease;
}

#gehan, #hassy {
    position: absolute;
    display: block;
    opacity: 0;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

#gehan:hover, #hassy:hover {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6)) brightness(1.1);
    transform: translateY(-2px);
}

#gehan {
    left: 0;
    top: 37px;
}

#hassy {
    right: 0;
    top: 10px;
}

.intro {
    text-align: justify;
    padding-top: 13px;
    padding-bottom: 20px;
    line-height: 1.7;
    color: #d0d0d0;
}

.intro p {
    margin-bottom: 1.2em;
    transition: color 0.3s ease;
}

.intro p:hover {
    color: #ffffff;
}

/* Social Section */
.social-section {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    text-align: center;
}

.social-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.social {
    text-align: center;
}

.social .link {
    display: inline-block;
    width: 70px;
    color: #e0e0e0;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding-top: 53px;
    line-height: 11px;
    opacity: 0.8;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding-bottom: 15px;
}



/* New Image-based Social Media Icons */
.social .facebook {
    background: url('../img/facebook.png') no-repeat center 10px;
    background-size: 32px 32px;
}

.social .spotify {
    background: url('../img/spotify.png') no-repeat center 10px;
    background-size: 32px 32px;
}

.social .youtube {
    background: url('../img/youtube.png') no-repeat center 10px;
    background-size: 32px 32px;
}

.social .apple-music {
    background: url('../img/applemusic.png') no-repeat center 10px;
    background-size: 32px 32px;
}

.social .soundcloud {
    background: url('../img/soundcloud.png') no-repeat center 10px;
    background-size: 32px 32px;
}

/* Clean highlight hover effect for social icons */
.social .link:hover {
    opacity: 1;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

h2.countdown {
    margin: 0.83em 0;
    font-weight: normal;
    text-align: center;
    padding: 35px 0;
    line-height: 42px;
    font-size: 30px;
}

/* Latest Release Hero Section */
.latest-release-hero {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.latest-release-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.3; transform: rotate(0deg); }
    100% { opacity: 0.7; transform: rotate(360deg); }
}

/* Release Badge */
.release-badge {
    display: inline-block;
    position: relative;
    margin-bottom: 25px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.badge-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Song Title Container */
.song-title-container {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.title-highlight {
    color: #ffffff;
    position: relative;
}

.featuring {
    color: #888;
    font-weight: 400;
    font-size: 24px;
    font-style: italic;
}

.artist-highlight {
    color: #ffffff;
    font-weight: 800;
}

.sinhala-title-enhanced {
    color: #b8b8b8;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Noto Sans Sinhala', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Album Art Container */
.album-art-container {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.art-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: artGlow 4s ease-in-out infinite alternate;
}

@keyframes artGlow {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

.album-artwork {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}







/* Embedded Players Section */
.embedded-players {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.embedded-players h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.player-container {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.player-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.player-container h6 {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.platform-title-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.player-container:hover .platform-title-icon {
    filter: brightness(1.1);
}

.player-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Apple Music Note Styling */
.apple-note {
    text-align: center;
}

.apple-note p {
    margin: 0;
    color: #b0b0b0;
    font-size: 14px;
}

.apple-note a {
    color: #fa233b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.apple-note a:hover {
    color: #fb5c74;
    text-decoration: underline;
}

/* YouTube Music Link Styling */
.youtube-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.youtube-link:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* YouTube Music Note */
.youtube-music-note {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.youtube-music-note a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
}

.youtube-music-note a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* Enhanced Streaming Section */
.streaming-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.streaming-section h5 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.streaming-section h6 {
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.platform-link {
    flex: 0 0 calc(33.333% - 10px);
    max-width: 160px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 90px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.platform-link.featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.platform-link.featured:hover::before {
    left: 100%;
}

.platform-link:not(.disabled):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.platform-link.featured:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.platform-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #999;
}

.platform-link .platform-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.platform-link.featured .platform-icon {
    width: 32px;
    height: 32px;
    filter: brightness(1);
}

.platform-link:not(.disabled):hover .platform-icon {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.platform-link span {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 4px;
}

.platform-link small {
    font-size: 11px;
    color: #aaa;
    font-weight: 400;
    opacity: 0.8;
}

.platform-link.featured small {
    color: #ccc;
    font-weight: 500;
}

/* Coming Soon Grid Styling */
.coming-soon-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.coming-soon-grid .platform-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    min-height: 75px;
    padding: 15px 10px;
}

/* Removed mobile-specific platform grid styling - using desktop layout */
    
    .platform-link .platform-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 6px;
    }
    
    /* Responsive Latest Release Hero */
    .latest-release-hero {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .main-title {
        font-size: 18px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .featuring {
        font-size: 16px;
    }
    
    .sinhala-title-enhanced {
        font-size: 14px;
    }
    
    .release-badge {
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .badge-text {
        font-size: 12px;
    }
}

/* Coming Soon Notes Styling */
.coming-soon-note {
    text-align: center;
}

.coming-soon {
    margin: 0;
    color: #888;
    font-size: 14px;
    font-style: italic;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Music Video Section */
.music-video-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.music-video-section h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.video-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

.video-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.video-container iframe {
    width: 100%;
    height: 253px;
    border-radius: 10px;
    border: none;
}

/* Removed mobile-specific video styling - using desktop layout */

.video-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    position: relative;
}

.play-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-icon {
    color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.video-placeholder h6 {
    color: #e0e0e0;
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

.video-placeholder .coming-soon {
    font-size: 16px;
    color: #999;
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 10px;
}

/* Removed mobile-specific latest release styling - using desktop layout */
    
    .player-container {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .player-container h6 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .embedded-players h5, .music-video-section h5 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .video-placeholder {
        padding: 30px 15px;
    }
    
    .play-icon {
        font-size: 36px;
    }
    
    .video-placeholder h6 {
        font-size: 16px;
    }
    
    .video-placeholder .coming-soon {
        font-size: 14px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */




@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.site-footer p {
    color: #888;
    font-size: 13px;
    margin: 0;
    opacity: 0.7;
    font-weight: 400;
}

/* Removed all small mobile specific styling - using desktop layout */

/* Removed mobile-specific footer styling - using desktop layout */
