/*
Theme Name: Mikrop Org
Description: Mikrop.Org renkleri ve sohbet düzeniyle WordPress teması.
Version: 1.5.0
Requires at least: 5.3
Requires PHP: 7.4
Text Domain: mikrop-org
*/
:root {
    --dark: #112536;
    --mint: #c3d7d0;
    --cream: #f1d0ab;
    --blue: #2d7288;
    --white: #f2f3f8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--dark); color: var(--mint); font: 400 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 20px; }
.wrap { width: calc(100% - 32px); max-width: 1110px; margin-left: auto; margin-right: auto; }
.site-header { min-height: 190px; padding: 28px 7px 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo, .custom-logo { width: 315px; }
.site-header nav, .site-header ul { display: flex; align-items: center; gap: 42px; }
.site-header ul { margin: 0; padding: 0; list-style: none; }
.connect, .to-top { background: var(--cream); color: var(--dark); border-radius: 24px; padding: 10px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: start; min-height: 615px; }
.hero-art { width: 510px; justify-self: center; }
.login { width: min(376px, 100%); margin: 42px 0 0 70px; text-align: center; }
.login h1 { font-size: 22px; margin-bottom: 32px; }
.login label { display: flex; align-items: center; gap: 10px; margin: 0 20px 10px 5px; }
.login input { width: 100%; min-width: 0; text-align: center; border: 0; border-radius: 0 0 23px 23px; background: var(--mint); color: var(--dark); padding: 11px; }
.login input::placeholder { color: var(--dark); opacity: 1; }
.hint { font-size: 14px; margin: 8px 0 18px; }
.login button { width: 100%; background: var(--mint); color: var(--dark); font-weight: 700; border: 0; border-radius: 40px; padding: 15px; margin-bottom: 9px; cursor: pointer; }
.login button:hover { background: var(--cream); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features div { background: var(--mint); color: var(--dark); border-radius: 48px; text-align: center; padding: 20px; min-height: 177px; }
.features h2 { color: #272e60; margin-bottom: 18px; }
.features p { font-size: 15px; }
.faq { padding-block: 33px 48px; background: #0e2030; }
.faq-body { max-width: 730px; }
.faq h2 { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.faq small { display: block; font-weight: 400; font-size: 15px; }
summary { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 19px; list-style: none; padding: 5px; }
summary::-webkit-details-marker { display: none; }
details p { background: var(--white); color: var(--dark); border-radius: 12px; padding: 10px; margin: 4px 0; }
.panel { background: var(--white); color: var(--dark); border-radius: 28px; padding: 18px; overflow-wrap: anywhere; }
.page-content { grid-column: 1 / -1; }
.page-content p, .listing p { margin: 12px 0; }
.listing .panel { margin-bottom: 20px; }
.to-top { position: fixed; right: 10px; bottom: 24px; text-decoration: none; }
@media (max-width: 700px) {
    .site-header { padding: 20px 0; min-height: auto; flex-wrap: wrap; }
    .logo, .custom-logo { width: 235px; }
    .site-header nav, .site-header ul { gap: 12px; flex-wrap: wrap; }
    .features div { min-height: auto; border-radius: 26px; }
    summary { font-size: 16px; }
}

.site-header { min-height: 118px; padding: 24px 0; }
.site-header .logo, .site-header .custom-logo { width: 245px; }
.site-header nav, .site-header ul { flex-wrap: wrap; gap: 12px 22px; }
.connect { padding-inline: 16px; font-size: 14px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover { color: #ff9ab7; }
.site-header nav .connect:hover { color: var(--dark); background: #ffddea; }
.hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(20px, 5vw, 64px);
    align-items: center;
    min-height: 0;
    padding: clamp(24px, 4vw, 48px);
    margin: 0 0 26px;
    background: #182f42;
    border: 1px solid #385165;
    border-radius: 32px;
}
.hero-visual { text-align: center; background: radial-gradient(ellipse at center, #6b344d 0%, transparent 70%); }
.hero-art { display: inline-block; width: min(100%, 405px); }
.login { width: 100%; max-width: 420px; margin: 0; padding: 0; text-align: left; justify-self: center; }
.login h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 44px); line-height: 1.12; color: var(--white); }
.hero-intro { margin-bottom: 24px; }
.login label { margin: 0; }
.login input { border-radius: 12px; text-align: left; padding: 13px 16px; }
.login button { background: #ff96b4; border-radius: 12px; }
.login button:hover { background: #ffd0dd; }
.login-rules { font-size: 13px; margin-top: 2px; }
.login-rules a { display: inline-block; color: #ffd0dd; }
.theme-icon {
    display: inline-grid;
    place-items: center;
    width: 1.8em;
    height: 1.8em;
    flex: 0 0 1.8em;
    color: #112536;
    background: #ffd0dd;
    border-radius: 50%;
    font-weight: 700;
    vertical-align: middle;
}
details[open] summary .theme-icon { transform: rotate(45deg); }
.site-intro { margin-block: 24px 36px; padding: 24px; border: 1px solid #385165; border-radius: 22px; }
.site-intro p { max-width: 72ch; margin: 8px 0; }
.site-intro a { color: #ffb7cb; }
.info-page { max-width: 860px; }
.info-page .panel { padding: 22px; padding: clamp(20px, 5vw, 48px); margin-bottom: 44px; }
.info-page h1 { font-size: 30px; font-size: clamp(28px, 5vw, 42px); }
.info-page h2 { margin-top: 24px; }
.info-page li { margin: 6px 0; }
:focus-visible { outline: 3px solid #d23467; outline-offset: 4px; }

@media (max-width: 850px) {
    .site-header { flex-wrap: wrap; }
}
@media (max-width: 700px) {
    .site-header .logo, .site-header .custom-logo { width: 199px; }
    .site-header nav, .site-header ul { gap: 10px 16px; }
    .hero { border-radius: 23px; padding: 24px 18px 14px; }
}

.latest-posts { margin-bottom: 36px; }
.latest-posts > h2 { color: var(--white); font-size: 28px; }
.latest-grid { display: grid; gap: 16px; }
.latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-intro { margin: 6px 0 16px; }
.latest-card {
    background: #182f42;
    border: 1px solid #385165;
    border-radius: 18px;
    overflow: hidden;
    word-wrap: break-word;
}
.latest-card-content { padding: 18px; }
.latest-card h3 { margin: 0 0 7px; line-height: 1.3; }
.latest-card h3 a { color: #ffd0dd; display: inline-flex; align-items: center; min-height: 44px; }
.latest-card p { font-size: 15px; }
.latest-card > img { display: block; width: 100%; max-height: 200px; object-fit: cover; }
.latest-card time { display: block; color: var(--mint); font-size: 13px; }
.info-page .page-lead { color: #203d4d; font-size: 18px; padding: 14px 16px; background: #deece7; border-radius: 12px; }
.front-content { margin-bottom: 30px; }
html { -webkit-text-size-adjust: 100%; }
.login input { font-size: 16px; min-height: 48px; }
.login button { min-height: 48px; }
.site-header nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.to-top { right: calc(10px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 850px) {
    .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    body {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .site-header { display: block; min-height: 0; }
    .features { grid-template-columns: minmax(0, 1fr); }
    .site-header nav, .site-header ul { column-gap: 0; row-gap: 0; }
    .site-header nav a { margin: 0 12px 0 0; }
    .site-header nav { margin-top: 8px; }
    .hero { display: block; }
    .login { margin: 0 auto; }
    .hero-visual { margin-top: 18px; }
    .hero-art { width: 245px; max-width: 100%; }
    .login h1 { font-size: 29px; font-size: clamp(26px, 7vw, 36px); }
}
@media (max-width: 560px) {
    .latest-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 701px) {
    .hero-visual { grid-column: 1; grid-row: 1; }
    .login { grid-column: 2; grid-row: 1; }
}

.blog-archive, .article-page { padding-bottom: 38px; }
.article-page { max-width: 810px; }
.blog-archive h1, .article-page h1 { font-size: 30px; font-size: clamp(28px, 5vw, 43px); line-height: 1.2; }
.blog-link { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0; color: #ffd0dd; }
.article-page .panel { padding: 20px; padding: clamp(20px, 5vw, 42px); }
.article-date { color: #42596b; font-size: 14px; }
.article-content { line-height: 1.75; }
.article-content h2, .article-content h3 { margin: 1.4em 0 .45em; line-height: 1.25; }
.article-content iframe, .article-content video { max-width: 100%; }
.article-content figure { max-width: 100%; margin: 1.25em 0; overflow-x: auto; }
.article-content pre { overflow: auto; }
.blog-pagination, .blog-archive .pagination, .article-page .post-navigation { margin-top: 22px; }
.blog-pagination .page-numbers, .blog-archive .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 11px;
    margin: 0 4px 4px 0;
    background: #182f42;
    border: 1px solid #385165;
    border-radius: 8px;
}
.page-numbers.current { font-weight: 700; color: #ffd0dd; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute; width: 1px; height: 1px; overflow: hidden; }

.conversation-starters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 22px;
    padding: clamp(22px, 4vw, 38px);
    margin-bottom: 36px;
    border: 1px solid #385165;
    border-radius: 22px;
    background: linear-gradient(125deg, #182f42, #322c46);
}
.conversation-starters h2 { margin-bottom: 8px; color: var(--white); font-size: 26px; line-height: 1.2; }
.conversation-starters ul { list-style: none; margin: 0; padding: 0; }
.conversation-starters li {
    margin: 8px 0;
    padding: 9px 13px;
    border-left: 3px solid #ff96b4;
    border-radius: 8px;
    background: #112536;
    color: var(--white);
}
.conversation-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 16px;
    padding: 8px 15px;
    border-radius: 12px;
    background: #ff96b4;
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}
.conversation-link:hover { background: #ffd0dd; }
@media (max-width: 700px) {
    .conversation-starters { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

.site-footer {
    padding: 38px 0 20px;
    border-top: 1px solid #385165;
    background: #0d1d2c;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 24px;
    overflow-wrap: break-word;
}
.footer-brand .logo { width: 225px; }
.footer-brand p { margin: 12px 0; max-width: 29ch; }
.footer-connect {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #ff96b4;
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}
.footer-connect:hover { background: #ffd0dd; }
.footer-grid h2 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.footer-links { display: grid; justify-items: start; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 16px;
    padding-right: 48px;
    border-top: 1px solid #385165;
    font-size: 14px;
}
.footer-bottom p { margin: 4px 12px 4px 0; }
.footer-bottom a { color: #ffb7cb; font-weight: 700; }
@media (max-width: 850px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-bottom { display: block; }
}
