/*--------------------------------------------------------------
# Ink Blogger theme (palette taken from the logo)
# cyan #3dd5f3 / ink navy #0c1420
--------------------------------------------------------------*/
:root {
  --ink-cyan: #3dd5f3;
  --ink-cyan-deep: #0b8fa8;   /* cyan for text on white (AA contrast) */
  --ink-cyan-soft: #e8f9fd;
  --ink-navy: #0c1420;
  --ink-navy-2: #14223a;
  --ink-text: #1d2733;
  --ink-muted: #5b6778;
  --ink-line: #e3eaf0;
  --ink-radius: 14px;

  --default-color: var(--ink-text);
  --default-color-rgb: 29, 39, 51;
  --heading-color: var(--ink-navy);
  --nav-dropdown-hover-color: var(--ink-cyan-deep);
}

body { color: var(--ink-text); }
body { font-family: var(--default-font); line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { color: var(--ink-navy); font-family: var(--heading-font); letter-spacing: -0.02em; }
a { color: var(--ink-cyan-deep); }
a:hover { color: var(--ink-navy); }

/* Buttons */
.ink-btn {
  display: inline-block; background: var(--ink-cyan); color: var(--ink-navy);
  font-weight: 700; padding: 12px 28px; border-radius: 10px; border: 0; transition: 0.25s;
}
.ink-btn:hover { background: #fff; color: var(--ink-navy); transform: translateY(-2px); }
.ink-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.ink-btn-outline:hover { border-color: var(--ink-cyan); color: var(--ink-cyan); background: transparent; }

/* Hero */
.ink-hero {
  background:
    radial-gradient(900px 380px at 85% 0%, rgba(61, 213, 243, 0.22), transparent 60%),
    linear-gradient(180deg, var(--ink-navy) 0%, var(--ink-navy-2) 100%);
  color: #c4ccd8; padding: 96px 0 90px;
}
.ink-hero .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-cyan); font-weight: 700; margin-bottom: 18px;
}
.ink-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 18px; }
.ink-hero h1 span { color: var(--ink-cyan); }
.ink-hero p.lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 30px; }
.ink-hero .hero-card {
  display: block; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(61, 213, 243, 0.25);
  border-radius: var(--ink-radius); overflow: hidden; transition: 0.3s;
}
.ink-hero .hero-card:hover { transform: translateY(-4px); border-color: var(--ink-cyan); }
.ink-hero .hero-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ink-hero .hero-card .body { padding: 18px 20px 22px; }
.ink-hero .hero-card .cat { color: var(--ink-cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ink-hero .hero-card h3 { color: #fff; font-size: 1.25rem; margin: 8px 0 0; }

/* Section heads */
.ink-section { padding: 70px 0; }
.ink-section.soft { background: var(--ink-cyan-soft); }
.ink-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ink-head h2 { font-size: 1.9rem; font-weight: 800; margin: 0; }
.ink-head h2::after { content: ""; display: block; width: 46px; height: 4px; background: var(--ink-cyan); border-radius: 4px; margin-top: 10px; }
.ink-head a { font-weight: 700; }

/* Category chips */
.ink-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ink-chip {
  display: inline-block; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--ink-line); color: var(--ink-navy); transition: 0.2s; cursor: pointer;
}
.ink-chip:hover, .ink-chip.active { background: var(--ink-navy); color: var(--ink-cyan); border-color: var(--ink-navy); }

/* Post cards */
.ink-card {
  background: #fff; border: 1px solid var(--ink-line); border-radius: var(--ink-radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: 0.3s;
}
.ink-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(12, 20, 32, 0.35); border-color: var(--ink-cyan); }
.ink-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-cyan-soft); }
.ink-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.ink-card:hover .thumb img { transform: scale(1.05); }
.ink-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ink-card .cat { color: var(--ink-cyan-deep); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ink-card h3 { font-size: 1.15rem; font-weight: 700; margin: 8px 0 10px; }
.ink-card h3 a { color: var(--ink-navy); }
.ink-card h3 a:hover { color: var(--ink-cyan-deep); }
.ink-card .excerpt { color: var(--ink-muted); font-size: 14px; margin-bottom: 14px; }
.ink-card .meta { margin-top: auto; font-size: 13px; color: var(--ink-muted); display: flex; gap: 14px; }
.ink-empty { text-align: center; color: var(--ink-muted); padding: 60px 0; }

/* Newsletter / CTA band */
.ink-cta { background: var(--ink-navy); color: #c4ccd8; padding: 60px 0; text-align: center; }
.ink-cta h2 { color: #fff; font-weight: 800; }
.ink-cta h2 span { color: var(--ink-cyan); }

/* Inner page titles */
.page-title { background: var(--ink-navy); }
.page-title .heading { background: transparent; padding: 70px 0 50px; }
.page-title .heading h1 { color: #fff; }
.page-title .breadcrumbs { background: rgba(255, 255, 255, 0.05); border: 0; }
.page-title .breadcrumbs ol li, .page-title .breadcrumbs ol li a { color: #c4ccd8; }
.page-title .breadcrumbs ol li.current { color: var(--ink-cyan); }
.page-title .breadcrumbs ol li + li::before { color: #8e99ab; }

/* Blog pages (template classes recoloured) */
.blog .posts-list article { border: 1px solid var(--ink-line); border-radius: var(--ink-radius); box-shadow: none; }
.blog .posts-list article:hover { border-color: var(--ink-cyan); }
.blog .posts-list article .post-category, .blog-details .article .meta-top a { color: var(--ink-cyan-deep); }
.blog-details .article .title { color: var(--ink-navy); }
.blog-details .article .content { font-size: 1.05rem; line-height: 1.8; }
.blog-details .article .content img { max-width: 100%; height: auto; border-radius: 10px; }
.blog-details .article .post-img img { border-radius: var(--ink-radius); width: 100%; }
.blog-details .sidebar { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--ink-radius); padding: 24px; }
.blog-details .sidebar .sidebar-title { border-bottom: 3px solid var(--ink-cyan); display: inline-block; padding-bottom: 6px; }

/* About */
.ink-about .lead-text { font-size: 1.2rem; color: var(--ink-muted); max-width: 760px; margin: 0 auto 40px; text-align: center; }
.ink-value { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--ink-radius); padding: 28px; height: 100%; }
.ink-value i { font-size: 28px; color: var(--ink-navy); background: var(--ink-cyan); width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ink-value h3 { font-size: 1.15rem; font-weight: 700; }
.ink-value p { color: var(--ink-muted); margin: 0; }

/* Contact */
.contact .info-item { border: 1px solid var(--ink-line); border-radius: var(--ink-radius); box-shadow: none; }
.contact .info-item i { color: var(--ink-navy); background: var(--ink-cyan); }
.contact .php-email-form button[type="submit"] { background: var(--ink-cyan); color: var(--ink-navy); font-weight: 700; border-radius: 10px; }
.contact .php-email-form button[type="submit"]:hover { background: var(--ink-navy); color: var(--ink-cyan); }
.contact .php-email-form .form-control:focus { border-color: var(--ink-cyan); box-shadow: 0 0 0 3px rgba(61, 213, 243, 0.25); }

/* Misc template accents */
.scroll-top { background: var(--ink-cyan); }
.scroll-top i { color: var(--ink-navy); }
#preloader:before, #preloader div { border-color: var(--ink-cyan) transparent var(--ink-cyan) transparent; }

@media (max-width: 767px) {
  .ink-hero { padding: 100px 0 60px; }
  .ink-section { padding: 50px 0; }
}

.contact .info-item i { border-radius: 12px; }

/* Simple hero (home) */
.ink-hero--simple { padding: 88px 0 80px; }
.ink-hero--simple h1 { max-width: 760px; }
.ink-hero--simple .lead { max-width: 600px; }

/* Category tiles */
.ink-cat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; height: 100%; min-height: 112px;
  padding: 20px 22px; background: #fff; border: 1px solid var(--ink-line); border-radius: var(--ink-radius);
  color: var(--ink-navy); transition: 0.25s;
}
.ink-cat .name { font-family: var(--heading-font); font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.ink-cat .count { font-size: 13px; color: var(--ink-muted); }
.ink-cat:hover { background: var(--ink-navy); border-color: var(--ink-navy); color: #fff; transform: translateY(-3px); }
.ink-cat:hover .count { color: var(--ink-cyan); }

/* Post page */
.blog-details .article .post-img img { aspect-ratio: 16 / 9; object-fit: cover; }
.blog-details .article .title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; }
.blog-details .article .content { max-width: 70ch; }
.blog-details .article .content h2, .blog-details .article .content h3 { font-weight: 700; margin: 2rem 0 0.75rem; }
.blog-details .article .content h2 { font-size: 1.5rem; }
.blog-details .article .content h3 { font-size: 1.25rem; }
.blog-details .article .content p { margin-bottom: 1.15rem; }
.blog-details .sidebar .post-item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.blog-details .sidebar .post-item img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.blog-details .sidebar .post-item h4 { font-size: 0.95rem; font-weight: 600; line-height: 1.35; margin: 0; }
.blog-details .sidebar .post-item h4 a { color: var(--ink-navy); }
.blog-details .sidebar .post-item time { font-size: 12px; color: var(--ink-muted); font-style: normal; padding: 0 !important; display: block; margin-bottom: 4px; }

/* Description under a page title (blog / category header) */
.page-title .ink-page-desc { max-width: 620px; margin: 12px auto 0; color: #c4ccd8; font-size: 1.05rem; line-height: 1.6; }

/* Contact page */
.ink-contact__title { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.ink-contact__lead { color: var(--ink-muted); max-width: 440px; margin-bottom: 28px; }
.ink-contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.ink-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.ink-contact__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--ink-navy); color: var(--ink-cyan); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.ink-contact__list strong { display: block; color: var(--ink-navy); font-weight: 700; margin-bottom: 2px; }
.ink-contact__list div > span { color: var(--ink-muted); }

.ink-form { background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; padding: 32px; box-shadow: 0 18px 40px -28px rgba(12, 20, 32, 0.35); }
.ink-form__label { display: block; font-size: 14px; font-weight: 600; color: #1d2733; margin-bottom: 6px; }
.ink-form .form-control { height: 48px; border: 1px solid #d5dde6; border-radius: 10px; padding: 0 14px; font-size: 15px; background: #fff; }
.ink-form textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; min-height: 140px; }
.ink-form .form-control:focus { border-color: var(--ink-cyan); box-shadow: 0 0 0 4px rgba(61, 213, 243, 0.22); outline: 0; }
.ink-form__submit { width: 100%; padding: 14px 28px; font-size: 16px; background: var(--ink-navy); color: var(--ink-cyan); }
.ink-form__submit:hover { background: var(--ink-cyan); color: var(--ink-navy); }
.ink-form .loading, .ink-form .error-message, .ink-form .sent-message { display: none; margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; }
.ink-form .loading { background: #eef2f6; color: var(--ink-muted); }
.ink-form .error-message { background: #fdecec; color: #b42323; }
.ink-form .sent-message { background: #e6f7ef; color: #0f6b4a; }

@media (max-width: 575px) { .ink-form { padding: 22px 18px; } }
