
/*
Theme: TechyToMore
Description: Responsive technology news theme
*/

/* =========================
   GLOBAL DESIGN
========================= */

:root {
    --bg: #080e19;
    --surface: #101a2a;
    --surface-light: #162338;
    --border: #26364d;
    --text: #edf3fc;
    --muted: #9aaac0;
    --blue: #55a5ff;
    --blue-dark: #2878d8;
    --gold: #c6a56b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--blue);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

::selection {
    background: var(--blue);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(8, 14, 25, .96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(14px);
}

.nav-flex {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.4px;
    white-space: nowrap;
}

.logo span {
    color: var(--blue);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 27px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
}

.menu a {
    color: #c6d2e2;
    transition: color .2s ease;
}

.menu a:hover {
    color: var(--blue);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, .9fr);
    gap: 25px;
    margin-top: 34px;
}

.hero-main {
    position: relative;
    height: 510px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

.hero-main > a {
    display: block;
    height: 100%;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hero-main:hover img {
    transform: scale(1.035);
}

.hero-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px;
    color: #fff;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(5, 10, 19, .55) 35%,
        rgba(5, 10, 19, .96) 100%
    );
}

.badge {
    display: inline-block;
    background: var(--blue-dark);
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h2 {
    margin-top: 13px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.8px;
}

.hero-text h2 a {
    color: #fff;
}

.hero-text h2 a:hover {
    color: #b8d9ff;
}

/* =========================
   TRENDING NOW
========================= */

.trending {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.trending h3 {
    display: inline-block;
    border-bottom: 2px solid var(--blue) !important;
    padding-bottom: 9px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.t-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.t-item:last-child {
    border-bottom: none;
}

.t-item > span {
    color: var(--gold);
    font-size: 18px;
    font-weight: 800;
    min-width: 18px;
}

.t-item img {
    width: 76px;
    height: 66px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
}

.t-item div {
    min-width: 0;
}

.t-item a {
    color: #e5edf8;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.t-item a:hover {
    color: var(--blue);
}

/* =========================
   LATEST NEWS
========================= */

.container > h1 {
    color: #fff;
    font-size: 22px !important;
    font-weight: 850;
    letter-spacing: -.4px;
    border-left: 4px solid var(--blue);
    padding-left: 13px;
    margin-top: 42px !important;
    margin-bottom: 18px !important;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 45px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #42658d;
}

.card > a {
    display: block;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    transition: transform .4s ease;
}

.card:hover img {
    transform: scale(1.04);
}

.card-body {
    padding: 19px;
}

.card-body h3 {
    color: var(--text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
}

.card-body h3 a {
    color: var(--text);
}

.card-body h3 a:hover {
    color: var(--blue);
}

.card-body small {
    display: inline-block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #060b14;
    color: #b7c4d6;
    padding: 55px 0 0;
    margin-top: 65px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
}

.footer-col h3 {
    font-size: 22px;
}

.footer-col h4 {
    font-size: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--muted);
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 22px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   GENERAL TYPOGRAPHY
========================= */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-flex {
        gap: 18px;
    }

    .menu {
        gap: 12px 17px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-main {
        height: 450px;
    }

    .trending {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
    }

    .trending h3 {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-flex {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo {
        font-size: 27px;
    }

    .menu {
        width: 100%;
        gap: 11px 17px;
        font-size: 11px;
    }

    .hero {
        gap: 17px;
        margin-top: 20px;
    }

    .hero-main {
        height: 350px;
        border-radius: 13px;
    }

    .hero-text {
        padding: 19px;
    }

    .hero-text h2 {
        font-size: 23px;
    }

    .trending {
        display: block;
        padding: 18px;
        border-radius: 13px;
    }

    .t-item {
        padding: 13px 0;
    }

    .t-item img {
        width: 68px;
        height: 58px;
    }

    .t-item a {
        font-size: 12px;
    }

    .container > h1 {
        font-size: 19px !important;
        margin-top: 30px !important;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-top: 15px;
    }

    .card {
        border-radius: 13px;
    }

    .card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .card-body {
        padding: 16px;
    }

    .card-body h3 {
        font-size: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .site-footer {
        margin-top: 40px;
        padding-top: 40px;
    }
}
.site-header,
.trending,
.card {
    background-color: #101a2a !important;
    color: #edf3fc !important;
}

.logo,
.menu a,
.card-body h3 a,
.trending h3 {
    color: #edf3fc !important;
}

/* =========================================
   ARTICLE PAGE - PREMIUM DARK DESIGN
========================================= */

.article-main {
    width: 100%;
    max-width: 940px;
    margin: 40px auto 70px;
    padding: 0 18px;
}

.article-card {
    background: #101a2a;
    color: #edf3fc;
    border: 1px solid #26364d;
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.article-title {
    color: #f4f7fc;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #9aaac0;
    font-size: 14px;
    margin-bottom: 28px;
}

.article-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-separator {
    color: #60738e;
}

.article-featured-image {
    margin: 25px 0 32px;
}

.article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.entry-content {
    color: #d6e0ef;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.entry-content p {
    margin: 0 0 23px;
}

.entry-content h2 {
    color: #f4f7fc;
    font-size: 28px;
    line-height: 1.3;
    margin: 38px 0 17px;
    font-weight: 750;
}

.entry-content h3 {
    color: #f0f5ff;
    font-size: 22px;
    line-height: 1.4;
    margin: 30px 0 14px;
}

.entry-content h4 {
    color: #f0f5ff;
    font-size: 19px;
    margin: 25px 0 12px;
}

.entry-content a {
    color: #69b2ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: #a2d0ff;
}

.entry-content ul,
.entry-content ol {
    padding-left: 27px;
    margin: 0 0 24px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    background: #162338;
    border-left: 4px solid #55a5ff;
    border-radius: 0 10px 10px 0;
    color: #cbd8e9;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.entry-content figure {
    margin: 28px 0;
}

.entry-content figcaption {
    color: #9aaac0;
    font-size: 13px;
    text-align: center;
    margin-top: 9px;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    display: block;
    overflow-x: auto;
}

.entry-content th,
.entry-content td {
    border: 1px solid #30415a;
    padding: 12px 14px;
    text-align: left;
}

.entry-content th {
    background: #1a2a41;
    color: #f4f7fc;
}

.entry-content td {
    color: #d6e0ef;
}

.entry-content code {
    background: #1b2a40;
    color: #9dccff;
    padding: 3px 6px;
    border-radius: 5px;
}

.entry-content pre {
    background: #0a1220;
    color: #d6e0ef;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}

.entry-content hr {
    border: 0;
    border-top: 1px solid #30415a;
    margin: 35px 0;
}

/* ARTICLE AUTHOR BOX */

.article-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 45px;
    padding: 24px;
    background: #162338;
    border: 1px solid #30415a;
    border-radius: 15px;
}

.author-box-avatar img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-content {
    min-width: 0;
}

.author-box-content h3 {
    color: #f4f7fc;
    font-size: 18px;
    margin: 0 0 8px;
}

.author-box-content p {
    color: #aab9cd;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 10px;
}

.author-box-content a {
    color: #69b2ff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.author-box-content a:hover {
    color: #a2d0ff;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
    .article-main {
        margin: 25px auto 45px;
        padding: 0 14px;
    }

    .article-card {
        padding: 28px 22px;
    }

    .article-title {
        font-size: 32px;
    }

    .entry-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .entry-content h2 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .article-card {
        padding: 23px 17px;
        border-radius: 13px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-author-box {
        align-items: flex-start;
        gap: 14px;
        padding: 17px;
    }

    .author-box-avatar img {
        width: 55px;
        height: 55px;
    }

    .entry-content h2 {
        font-size: 23px;
    }

    .entry-content h3 {
        font-size: 20px;
    }
}

/* HOMEPAGE HERO LAYOUT FIX */

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    gap: 25px;
    align-items: stretch;
    margin: 30px 0 40px;
    width: 100%;
}

.hero-main {
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.hero-main .hero-image {
    display: block;
    width: 100%;
}

.hero-main .hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 460px;
    object-fit: cover;
}

.trending {
    min-width: 0;
    width: 100%;
    margin: 0;
    align-self: stretch;
}

.trending .section-heading {
    margin: 0 0 18px;
}

.t-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    min-width: 0;
}

.trend-image {
    flex: 0 0 76px;
}

.trend-image img {
    display: block;
    width: 76px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
}

.trend-content {
    min-width: 0;
}

.trend-content a {
    display: block;
    color: #edf3fc;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.trend-content small {
    display: block;
    color: #9aaac0;
    margin-top: 6px;
    font-size: 12px;
}

.trend-number {
    color: #55a5ff;
    font-size: 18px;
    font-weight: 800;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-main .hero-image img {
        min-height: 280px;
        max-height: 400px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        gap: 22px;
        margin: 20px 0 30px;
    }

    .hero-main .hero-image img {
        min-height: 220px;
        max-height: 280px;
    }
}

/* =========================================
   LATEST NEWS - PREMIUM EDITORIAL CARDS
========================================= */

.latest-section {
    width: 100%;
    margin: 45px 0 65px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #26364d;
}

.section-heading {
    color: #edf3fc;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
}

.latest-section .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.latest-section .card {
    min-width: 0;
    overflow: hidden;
    background: #101a2a;
    border: 1px solid #26364d;
    border-radius: 15px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.latest-section .card:hover {
    transform: translateY(-5px);
    border-color: #397fca;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.latest-section .card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #162338;
}

.latest-section .card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.latest-section .card:hover .card-image img {
    transform: scale(1.04);
}

.latest-section .card-body {
    padding: 19px 20px 21px;
    background: transparent;
}

.latest-section .card-category {
    display: inline-block;
    color: #70b6ff;
    background: rgba(85, 165, 255, 0.10);
    border: 1px solid rgba(85, 165, 255, 0.22);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.latest-section .card-body h3 {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.latest-section .card-body h3 a {
    color: #edf3fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-section .card-body h3 a:hover {
    color: #69b2ff;
}

.latest-section .card-body small {
    display: block;
    color: #9aaac0;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid #26364d;
}

/* TABLET */

@media (max-width: 900px) {
    .latest-section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* MOBILE */

@media (max-width: 560px) {
    .latest-section {
        margin: 32px 0 45px;
    }

    .latest-section .grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .latest-section .card {
        border-radius: 12px;
    }

    .latest-section .card-body {
        padding: 16px;
    }

    .latest-section .card-body h3 {
        font-size: 17px;
    }

    .section-heading {
        font-size: 19px;
    }
}

/* =====================================
   TECHYTOMORE - PREMIUM HEADER
===================================== */

.site-header {
    position: relative;
    width: 100%;
    background: #0b1423 !important;
    border-bottom: 1px solid #26364d;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.site-header .nav-flex {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    color: #edf3fc !important;
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -1.2px;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .logo span {
    color: #55a5ff !important;
}

.site-header .menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.site-header .menu a {
    position: relative;
    display: inline-block;
    color: #c4d0e0 !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 32px 0;
    transition: color 0.2s ease;
}

.site-header .menu a:hover {
    color: #55a5ff !important;
}

.site-header .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: #55a5ff;
    transition: width 0.25s ease;
}

.site-header .menu a:hover::after {
    width: 100%;
}

/* TABLET */

@media (max-width: 900px) {
    .site-header .nav-flex {
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 18px;
        flex-direction: column;
        gap: 12px;
    }

    .site-header .menu {
        justify-content: center;
        gap: 22px;
    }

    .site-header .menu a {
        padding: 10px 0;
    }

    .site-header .menu a::after {
        bottom: 3px;
    }
}

/* MOBILE */

@media (max-width: 560px) {
    .site-header .logo {
        font-size: 26px;
    }

    .site-header .menu {
        width: 100%;
        justify-content: center;
        gap: 10px 18px;
    }

    .site-header .menu a {
        font-size: 10px;
        letter-spacing: 0.6px;
    }
}

/* =====================================
   TECHYTOMORE - PREMIUM FOOTER
===================================== */

.site-footer {
    width: 100%;
    background: #0b1423;
    color: #9aaac0;
    border-top: 1px solid #26364d;
    margin-top: 65px;
    padding: 55px 20px 22px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    color: #edf3fc;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -1px;
    text-decoration: none;
}

.footer-logo span {
    color: #55a5ff;
}

.footer-brand p {
    max-width: 320px;
    color: #9aaac0;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 14px;
}

.footer-links h3 {
    color: #edf3fc;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 5px 0 18px;
}

.footer-links a {
    display: block;
    width: fit-content;
    color: #9aaac0;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #55a5ff;
}

.footer-bottom {
    border-top: 1px solid #26364d;
    padding-top: 22px;
    color: #8191a7;
    font-size: 13px;
    text-align: center;
}

/* MOBILE */

@media (max-width: 600px) {
    .site-footer {
        margin-top: 40px;
        padding: 38px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 25px;
    }

    .footer-logo {
        font-size: 25px;
    }
}

/* =====================================
   TECHYTOMORE - INNER PAGES
===================================== */

.page-main {
    width: 100%;
    max-width: 950px;
    margin: 45px auto 65px;
    padding: 0 20px;
}

.page-card {
    background: #101a2a;
    border: 1px solid #26364d;
    border-radius: 16px;
    padding: 42px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    color: #edf3fc;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 18px;
}

.page-title-line {
    width: 65px;
    height: 4px;
    background: #55a5ff;
    border-radius: 5px;
}

.page-content {
    color: #c4d0e0;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #edf3fc;
    line-height: 1.4;
    margin: 30px 0 12px;
}

.page-content p {
    margin: 0 0 18px;
}

.page-content a {
    color: #70b6ff;
    text-decoration: none;
}

.page-content a:hover {
    color: #a4d2ff;
    text-decoration: underline;
}

.page-content ul,
.page-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 9px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* MOBILE */

@media (max-width: 600px) {
    .page-main {
        margin: 25px auto 40px;
        padding: 0 14px;
    }

    .page-card {
        padding: 24px 19px;
        border-radius: 12px;
    }

    .page-title {
        font-size: 29px;
    }

    .page-content {
        font-size: 15px;
    }
}

/* =====================================
   TECHYTOMORE - PREMIUM AUTHOR PAGE
===================================== */

.author-main {
    max-width: 950px;
    margin: 45px auto 65px;
    padding: 0 20px;
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #101a2a;
    border: 1px solid #26364d;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 42px;
}

.author-profile-avatar img {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #55a5ff;
}

.author-label {
    color: #55a5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.author-profile-content h1 {
    color: #edf3fc;
    font-size: 30px;
    line-height: 1.3;
    margin: 7px 0 10px;
}

.author-bio {
    color: #9aaac0;
    font-size: 15px;
    line-height: 1.8;
}

.author-bio p {
    margin: 0;
}

.author-posts .section-heading {
    color: #edf3fc;
    font-size: 21px;
    margin-bottom: 20px;
}

.author-post-item {
    background: #101a2a;
    border: 1px solid #26364d;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 13px;
    transition: border-color 0.2s ease;
}

.author-post-item:hover {
    border-color: #55a5ff;
}

.author-post-item h3 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.5;
}

.author-post-item h3 a {
    color: #edf3fc;
    text-decoration: none;
}

.author-post-item h3 a:hover {
    color: #55a5ff;
}

.author-post-item time {
    color: #8191a7;
    font-size: 13px;
}

.author-pagination {
    margin-top: 30px;
}

.author-no-posts {
    color: #9aaac0;
}

/* MOBILE */

@media (max-width: 600px) {
    .author-main {
        margin: 25px auto 40px;
        padding: 0 14px;
    }

    .author-profile {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 16px;
    }

    .author-profile-content h1 {
        font-size: 25px;
    }

    .author-post-item {
        padding: 17px;
    }
}
